Hi, I have been working on this again, but am unable to compile: Here is the file: $ fpaste pdf-stapler.spec Uploading (2.2KiB)... http://ur1.ca/ml5wc -> http://paste.fedoraproject.org/224474/43224459 Here are the errors I get: $ rpmbuild -bb pdf-stapler.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5e1XxN + 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.0eE4rq + umask 022 + cd /home/maitra/rpmbuild/BUILD + cd stapler-0.3.0 + /usr/bin/python3 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 entry points to stapler.egg-info/entry_points.txt writing dependency_links to stapler.egg-info/dependency_links.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.eg4I03 + 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/python3 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/python3.4 creating /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages creating /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib copying build/lib/staplelib/commands.py -> /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib copying build/lib/staplelib/stapler.py -> /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib copying build/lib/staplelib/tests.py -> /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib copying build/lib/staplelib/iohelper.py -> /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib copying build/lib/staplelib/__init__.py -> /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib byte-compiling /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib/commands.py to commands.cpython-34.pyc File "/usr/lib/python3.4/site-packages/staplelib/commands.py", line 33 print input['name'] ^ SyntaxError: Missing parentheses in call to 'print' byte-compiling /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib/stapler.py to stapler.cpython-34.pyc File "/usr/lib/python3.4/site-packages/staplelib/stapler.py", line 79 print "Mode: %s" % mode ^ SyntaxError: Missing parentheses in call to 'print' byte-compiling /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib/tests.py to tests.cpython-34.pyc byte-compiling /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib/iohelper.py to iohelper.cpython-34.pyc File "/usr/lib/python3.4/site-packages/staplelib/iohelper.py", line 36 print "The password did not match." ^ SyntaxError: Missing parentheses in call to 'print' byte-compiling /home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib/__init__.py to __init__.cpython-34.pyc writing byte-compilation script '/tmp/tmpzhfhibts.py' /usr/bin/python3 -O /tmp/tmpzhfhibts.py File "/usr/lib/python3.4/site-packages/staplelib/commands.py", line 33 print input['name'] ^ SyntaxError: Missing parentheses in call to 'print' File "/usr/lib/python3.4/site-packages/staplelib/stapler.py", line 79 print "Mode: %s" % mode ^ SyntaxError: Missing parentheses in call to 'print' File "/usr/lib/python3.4/site-packages/staplelib/iohelper.py", line 36 print "The password did not match." ^ SyntaxError: Missing parentheses in call to 'print' removing /tmp/tmpzhfhibts.py running install_egg_info running egg_info writing entry points to stapler.egg-info/entry_points.txt writing top-level names to stapler.egg-info/top_level.txt writing requirements to stapler.egg-info/requires.txt writing stapler.egg-info/PKG-INFO writing dependency_links to stapler.egg-info/dependency_links.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/python3.4/site-packages/stapler-0.3.0-py3.4.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/python3.4 using /usr/bin/python3.4 *** Error compiling '/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib/commands.py'... File "/usr/lib/python3.4/site-packages/staplelib/commands.py", line 33 print input['name'] ^ SyntaxError: Missing parentheses in call to 'print' *** Error compiling '/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib/iohelper.py'... File "/usr/lib/python3.4/site-packages/staplelib/iohelper.py", line 36 print "The password did not match." ^ SyntaxError: Missing parentheses in call to 'print' *** Error compiling '/home/maitra/rpmbuild/BUILDROOT/pdf-stapler-0.3.0-1.fc22.x86_64/usr/lib/python3.4/site-packages/staplelib/stapler.py'... File "/usr/lib/python3.4/site-packages/staplelib/stapler.py", line 79 print "Mode: %s" % mode ^ SyntaxError: Missing parentheses in call to 'print' error: Bad exit status from /var/tmp/rpm-tmp.eg4I03 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.eg4I03 (%install) WHat is wrong? Thanks, Ranjan ____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx 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