python-swiftclient package build failed

Bug #1438356 reported by Alfred Shen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
New
Undecided
Unassigned

Bug Description

When building rpm with python setup.py bdist_rpm, following error was thrown.

writing list of installed files to 'INSTALLED_FILES'
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /home/ashen/oslo/python-swiftclient-2.4.0/build/bdist.linux-x86_64/rpm/BUILD/python-swiftclient-2.4.0
/usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match.
find: 'debug': No such file or directory
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
Bytecompiling .py files below /home/ashen/oslo/python-swiftclient-2.4.0/build/bdist.linux-x86_64/rpm/BUILDROOT/python-swiftclient-2.4.0-1.x86_64/usr/lib/python2.7/ using /usr/bin/python2.7
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: python-swiftclient-2.4.0-1.noarch
error: File not found: /home/ashen/oslo/python-swiftclient-2.4.0/build/bdist.linux-x86_64/rpm/BUILDROOT/python-swiftclient-2.4.0-1.x86_64/usr/share/man/man1/swift.1

RPM build errors:
    File not found: /home/ashen/oslo/python-swiftclient-2.4.0/build/bdist.linux-x86_64/rpm/BUILDROOT/python-swiftclient-2.4.0-1.x86_64/usr/share/man/man1/swift.1
error: command 'rpmbuild' failed with exit status 1

The problem seemed to at the rpmbuild sequence where rm -fr ${BUILDROOT} remove the file swift.1.

Changed setup.cfg to comment out line "share/man/man1 = doc/manpages/swift.1" will get the rpm built as a temp work-around.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.