-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python setup.py bdist --format=rpm #767
Comments
The reason is the space you have space in file name: setuptools/script (dev).tmpl |
Setuptools does have spaces in some of the filenames in the package. I believe it generates everything properly. I'm a little surprised that rpm can't handle spaces properly. I'm pretty sure this issue would have been reported before if RPM had issues handling spaces in package filenames. If there's something Setuptools could do to better support RPM, we can consider that, but renaming the files will only be considered as a last resort. |
I was having issues getting an RPM to build. My error was Processing files: superset-0.20.1-1.noarch error: File must begin with "/": Lockup error: File must begin with "/": With error: File must begin with "/": Text.svg error: File must begin with "/": Lockup error: File must begin with "/": With error: File must begin with "/": [email protected] error: File must begin with "/": Lockup error: File must begin with "/": Without error: File must begin with "/": [email protected] error: File must begin with "/": Lockup error: File must begin with "/": Without error: File must begin with "/": [email protected] error: File must begin with "/": Mark.png error: File must begin with "/": [email protected] for ref pypa/setuptools#767 File renaming fixes this issue
I was having issues getting an RPM to build. My error was Processing files: superset-0.20.1-1.noarch error: File must begin with "/": Lockup error: File must begin with "/": With error: File must begin with "/": Text.svg error: File must begin with "/": Lockup error: File must begin with "/": With error: File must begin with "/": [email protected] error: File must begin with "/": Lockup error: File must begin with "/": Without error: File must begin with "/": [email protected] error: File must begin with "/": Lockup error: File must begin with "/": Without error: File must begin with "/": [email protected] error: File must begin with "/": Mark.png error: File must begin with "/": [email protected] for ref pypa/setuptools#767 File renaming fixes this issue
I was having issues getting an RPM to build. My error was Processing files: superset-0.20.1-1.noarch error: File must begin with "/": Lockup error: File must begin with "/": With error: File must begin with "/": Text.svg error: File must begin with "/": Lockup error: File must begin with "/": With error: File must begin with "/": [email protected] error: File must begin with "/": Lockup error: File must begin with "/": Without error: File must begin with "/": [email protected] error: File must begin with "/": Lockup error: File must begin with "/": Without error: File must begin with "/": [email protected] error: File must begin with "/": Mark.png error: File must begin with "/": [email protected] for ref pypa/setuptools#767 File renaming fixes this issue
I was having issues getting an RPM to build. My error was Processing files: superset-0.20.1-1.noarch error: File must begin with "/": Lockup error: File must begin with "/": With error: File must begin with "/": Text.svg error: File must begin with "/": Lockup error: File must begin with "/": With error: File must begin with "/": [email protected] error: File must begin with "/": Lockup error: File must begin with "/": Without error: File must begin with "/": [email protected] error: File must begin with "/": Lockup error: File must begin with "/": Without error: File must begin with "/": [email protected] error: File must begin with "/": Mark.png error: File must begin with "/": [email protected] for ref pypa/setuptools#767 File renaming fixes this issue
running install_scripts
Installing easy_install script to /home/builder/tmp/setuptools-26.0.0/build/bdist.linux-x86_64/rpm/BUILDROOT/setuptools-26.0.0-1.x86_64/usr/bin
Installing easy_install-2.7 script to /home/builder/tmp/setuptools-26.0.0/build/bdist.linux-x86_64/rpm/BUILDROOT/setuptools-26.0.0-1.x86_64/usr/bin
writing list of installed files to 'INSTALLED_FILES'
/usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match.
find: ‘debug’: No such file or directory
Bytecompiling .py files below /home/builder/tmp/setuptools-26.0.0/build/bdist.linux-x86_64/rpm/BUILDROOT/setuptools-26.0.0-1.x86_64/usr/lib/python2.7 using /usr/bin/python2.7
Processing files: setuptools-26.0.0-1.noarch
error: File must begin with "/": (dev).tmpl
RPM build errors:
File must begin with "/": (dev).tmpl
error: command 'rpmbuild' failed with exit status 1
The text was updated successfully, but these errors were encountered: