Hi again,

I had tried with python2 but also got errors (btw, PyPDF2 compiled fine without 
any errors on Python3):

Here is the file:

$ fpaste pdf-stapler.spec
Uploading (2.2KiB)...
http://ur1.ca/mlixm -> http://paste.fedoraproject.org/224663/43230299

$ rpmbuild -bb pdf-stapler.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XVICGK
+ umask 022
+ cd /home/maitra/rpmbuild/BUILD
+ cd /home/maitra/rpmbuild/BUILD
+ rm -rf stapler-0.3.0
+ /usr/bin/gzip -dc /home/maitra/rpmbuild/SOURCES/stapler-0.3.0.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd stapler-0.3.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ErjEEs
+ umask 022
+ cd /home/maitra/rpmbuild/BUILD
+ cd stapler-0.3.0
+ /usr/bin/python setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/staplelib
copying staplelib/commands.py -> build/lib/staplelib
copying staplelib/stapler.py -> build/lib/staplelib
copying staplelib/tests.py -> build/lib/staplelib
copying staplelib/iohelper.py -> build/lib/staplelib
copying staplelib/__init__.py -> build/lib/staplelib
running egg_info
writing requirements to stapler.egg-info/requires.txt
writing stapler.egg-info/PKG-INFO
writing top-level names to stapler.egg-info/top_level.txt
writing dependency_links to stapler.egg-info/dependency_links.txt
writing entry points to stapler.egg-info/entry_points.txt
reading manifest file 'stapler.egg-info/SOURCES.txt'
writing manifest file 'stapler.egg-info/SOURCES.txt'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kMtKab
+ umask 022
+ cd /home/maitra/rpmbuild/BUILD
+ '[' /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64 '!=' / ']'
+ rm -rf /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64
++ dirname /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64
+ mkdir -p /home/maitra/rpmbuild/BUILDROOT
+ mkdir /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64
+ cd stapler-0.3.0
+ /usr/bin/python setup.py install -O1 --skip-build --root 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64
running install
running install_lib
creating /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr
creating /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib
creating 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7
creating 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages
creating 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib
copying build/lib/staplelib/commands.py -> 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib
copying build/lib/staplelib/stapler.py -> 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib
copying build/lib/staplelib/tests.py -> 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib
copying build/lib/staplelib/iohelper.py -> 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib
copying build/lib/staplelib/__init__.py -> 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib
byte-compiling 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib/commands.py
 to commands.pyc
byte-compiling 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib/stapler.py
 to stapler.pyc
byte-compiling 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib/tests.py
 to tests.pyc
byte-compiling 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib/iohelper.py
 to iohelper.pyc
byte-compiling 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/staplelib/__init__.py
 to __init__.pyc
writing byte-compilation script '/tmp/tmpqmNIu4.py'
/usr/bin/python -O /tmp/tmpqmNIu4.py
removing /tmp/tmpqmNIu4.py
running install_egg_info
running egg_info
writing requirements to stapler.egg-info/requires.txt
writing stapler.egg-info/PKG-INFO
writing top-level names to stapler.egg-info/top_level.txt
writing dependency_links to stapler.egg-info/dependency_links.txt
writing entry points to stapler.egg-info/entry_points.txt
reading manifest file 'stapler.egg-info/SOURCES.txt'
writing manifest file 'stapler.egg-info/SOURCES.txt'
Copying stapler.egg-info to 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info
running install_scripts
Installing stapler script to 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/bin
+ install -m 755 -d 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64//usr/sbin
+ ln -s ../bin/eject 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64//usr/sbin
+ mv 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64//usr/bin/stapler
 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64//usr/bin/pdf-stapler
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz 
--dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 
/home/maitra/rpmbuild/BUILD/stapler-0.3.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/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
Bytecompiling .py files below 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python2.7
 using /usr/bin/python2.7
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: pdf-stapler-0.3.0-1.fc22.noarch
Provides: pdf-stapler = 0.3.0-1.fc22
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 
4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) 
<= 4.0-1
Requires: /usr/bin/python python(abi) = 2.7
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/PKG-INFO
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/SOURCES.txt
   
/usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/dependency_links.txt
   
/usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/entry_points.txt
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/not-zip-safe
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/requires.txt
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/top_level.txt
   /usr/sbin/eject


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/PKG-INFO
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/SOURCES.txt
   
/usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/dependency_links.txt
   
/usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/entry_points.txt
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/not-zip-safe
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/requires.txt
   /usr/lib/python2.7/site-packages/stapler-0.3.0-py2.7.egg-info/top_level.txt
   /usr/sbin/eject

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to