Hi, Thanks (to Richard also)! > Do some trouble-shooting. As a first step, forget rpmbuild. Run the > same commands you run in %build and %install in your terminal. If > the commands fail, you need to fix the source code and cannot blame > rpmbuild or the spec file. I was not familiar with setup.py files so this has been a learning experience for me! So the build section builds fine with no issues. The install section installs without the error if I removed the --skip-build (so that is what I did in my new .spec file). > > Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X1IL6J > > [...] > > running install_egg_info > > Writing /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon-0.8.94-py2.7.egg-info > > ("ERROR: Can't find", '/home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/applications/typhoon.desktop') > > [...] > > You may need to debug install_egg_info for this piece of software. This > error is not a spec file error, because your spec %files section does not > refer to this .desktop file anywhere [yet]. If the file were installed > into the buildroot, you would see a different error (rpmbuild complaining > about installed files not present in %files section). So, now with this modified spec file, I am in this predicament now (files not packaged but installed) -- how do I get rid of this problem? Many thanks again and best wishes, Ranjan PS: Here is 1) the spec file and 2) the error messages: $ fpaste typhoon.spec Uploading (1.4KiB)... http://ur1.ca/n4ptz -> http://paste.fedoraproject.org/244574/43696498 $ rpmbuild -bb typhoon.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TXm6s4 + umask 022 + cd /home/maitra/rpmbuild/BUILD + cd /home/maitra/rpmbuild/BUILD + rm -rf typhoon-0.8.9.4 + /usr/bin/bzip2 -dc /home/maitra/rpmbuild/SOURCES/typhoon-0.8.9.4.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd typhoon-0.8.9.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf stapler.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3gtA9u + umask 022 + cd /home/maitra/rpmbuild/BUILD + cd typhoon-0.8.9.4 + /usr/bin/python setup.py build Unable to init server: Could not connect: Connection refused running build running build_py creating build creating build/lib creating build/lib/typhoon_lib copying typhoon_lib/Window.py -> build/lib/typhoon_lib copying typhoon_lib/helpers.py -> build/lib/typhoon_lib copying typhoon_lib/Builder.py -> build/lib/typhoon_lib copying typhoon_lib/typhoonconfig.py -> build/lib/typhoon_lib copying typhoon_lib/__init__.py -> build/lib/typhoon_lib creating build/lib/typhoon copying typhoon/TyphoonWindow.py -> build/lib/typhoon copying typhoon/__init__.py -> build/lib/typhoon running build_scripts creating build/scripts-2.7 copying and adjusting bin/typhoon -> build/scripts-2.7 changing mode of build/scripts-2.7/typhoon from 644 to 755 running build_i18n intltool-update -p -g typhoon intltool-merge -d po typhoon.desktop.in build/share/applications/typhoon.desktop Merging translations into build/share/applications/typhoon.desktop. running build_icons running build_help + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1FB1JW + umask 022 + cd /home/maitra/rpmbuild/BUILD + '[' /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64 '!=' / ']' + rm -rf /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64 ++ dirname /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64 + mkdir -p /home/maitra/rpmbuild/BUILDROOT + mkdir /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64 + cd typhoon-0.8.9.4 + rm -rf /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64 + /usr/bin/python setup.py install -O1 --root /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64 Unable to init server: Could not connect: Connection refused running install running build running build_py running build_scripts running build_i18n intltool-update -p -g typhoon running build_icons running build_help running install_lib creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64 creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7 creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib copying build/lib/typhoon_lib/Window.py -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib copying build/lib/typhoon_lib/helpers.py -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib copying build/lib/typhoon_lib/Builder.py -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib copying build/lib/typhoon_lib/typhoonconfig.py -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib copying build/lib/typhoon_lib/__init__.py -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon copying build/lib/typhoon/TyphoonWindow.py -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon copying build/lib/typhoon/__init__.py -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon byte-compiling /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib/Window.py to Window.pyc byte-compiling /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib/helpers.py to helpers.pyc byte-compiling /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib/Builder.py to Builder.pyc byte-compiling /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib/typhoonconfig.py to typhoonconfig.pyc byte-compiling /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon_lib/__init__.py to __init__.pyc byte-compiling /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon/TyphoonWindow.py to TyphoonWindow.pyc byte-compiling /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpPoFeiE.py' /usr/bin/python -O /tmp/tmpPoFeiE.py removing /tmp/tmpPoFeiE.py running install_scripts creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/bin copying build/scripts-2.7/typhoon -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/bin changing mode of /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/bin/typhoon to 755 running install_data creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/glib-2.0 creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/glib-2.0/schemas copying data/glib-2.0/schemas/net.launchpad.typhoon.gschema.xml -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/glib-2.0/schemas/ creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media copying data/media/app.html -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media/fonts copying data/media/fonts/climacons-webfont.woff -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media/fonts copying data/media/tick.svg -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/ui copying data/ui/TyphoonWindow.ui -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/ui copying data/media/fonts/climacons-webfont.ttf -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media/fonts copying data/media/manifest.json -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media copying data/ui/typhoon_window.xml -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/ui copying data/media/jquery.min.js -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media copying data/media/style.css -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media copying data/media/fonts/climacons-webfont.eot -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media/fonts copying data/media/settings.svg -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media copying data/media/fonts/climacons-webfont.svg -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media/fonts copying data/media/back.svg -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media copying data/media/typhoon.svg -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media copying data/media/fonts/Climacons.ttf -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media/fonts copying data/media/script.js -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media copying data/media/fonts/ubuntu.woff -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media/fonts copying data/media/sync.svg -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/typhoon/media creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/doc creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/doc/typhoon copying README.md -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/doc/typhoon creating /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/applications copying build/share/applications/typhoon.desktop -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/applications running install_egg_info Writing /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon-0.8.94-py2.7.egg-info + /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/typhoon-0.8.9.4 /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/typhoon-0.8.9.4-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: typhoon-0.8.9.4-1.fc22.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3H0RUp + umask 022 + cd /home/maitra/rpmbuild/BUILD + cd typhoon-0.8.9.4 + DOCDIR=/home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/doc/typhoon + export DOCDIR + /usr/bin/mkdir -p /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/doc/typhoon + cp -pr AUTHORS /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/doc/typhoon + cp -pr COPYING /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/doc/typhoon + exit 0 Provides: typhoon = 0.8.9.4-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/typhoon-0.8.9.4-1.fc22.x86_64 error: Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/typhoon_lib/Builder.py /usr/lib/python2.7/site-packages/typhoon_lib/Builder.pyc /usr/lib/python2.7/site-packages/typhoon_lib/Builder.pyo /usr/lib/python2.7/site-packages/typhoon_lib/Window.py /usr/lib/python2.7/site-packages/typhoon_lib/Window.pyc /usr/lib/python2.7/site-packages/typhoon_lib/Window.pyo /usr/lib/python2.7/site-packages/typhoon_lib/__init__.py /usr/lib/python2.7/site-packages/typhoon_lib/__init__.pyc /usr/lib/python2.7/site-packages/typhoon_lib/__init__.pyo /usr/lib/python2.7/site-packages/typhoon_lib/helpers.py /usr/lib/python2.7/site-packages/typhoon_lib/helpers.pyc /usr/lib/python2.7/site-packages/typhoon_lib/helpers.pyo /usr/lib/python2.7/site-packages/typhoon_lib/typhoonconfig.py /usr/lib/python2.7/site-packages/typhoon_lib/typhoonconfig.pyc /usr/lib/python2.7/site-packages/typhoon_lib/typhoonconfig.pyo /usr/share/applications/typhoon.desktop /usr/share/glib-2.0/schemas/net.launchpad.typhoon.gschema.xml /usr/share/typhoon/media/app.html /usr/share/typhoon/media/back.svg /usr/share/typhoon/media/fonts/Climacons.ttf /usr/share/typhoon/media/fonts/climacons-webfont.eot /usr/share/typhoon/media/fonts/climacons-webfont.svg /usr/share/typhoon/media/fonts/climacons-webfont.ttf /usr/share/typhoon/media/fonts/climacons-webfont.woff /usr/share/typhoon/media/fonts/ubuntu.woff /usr/share/typhoon/media/jquery.min.js /usr/share/typhoon/media/manifest.json /usr/share/typhoon/media/script.js /usr/share/typhoon/media/settings.svg /usr/share/typhoon/media/style.css /usr/share/typhoon/media/sync.svg /usr/share/typhoon/media/tick.svg /usr/share/typhoon/media/typhoon.svg /usr/share/typhoon/ui/TyphoonWindow.ui /usr/share/typhoon/ui/typhoon_window.xml RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/python2.7/site-packages/typhoon_lib/Builder.py /usr/lib/python2.7/site-packages/typhoon_lib/Builder.pyc /usr/lib/python2.7/site-packages/typhoon_lib/Builder.pyo /usr/lib/python2.7/site-packages/typhoon_lib/Window.py /usr/lib/python2.7/site-packages/typhoon_lib/Window.pyc /usr/lib/python2.7/site-packages/typhoon_lib/Window.pyo /usr/lib/python2.7/site-packages/typhoon_lib/__init__.py /usr/lib/python2.7/site-packages/typhoon_lib/__init__.pyc /usr/lib/python2.7/site-packages/typhoon_lib/__init__.pyo /usr/lib/python2.7/site-packages/typhoon_lib/helpers.py /usr/lib/python2.7/site-packages/typhoon_lib/helpers.pyc /usr/lib/python2.7/site-packages/typhoon_lib/helpers.pyo /usr/lib/python2.7/site-packages/typhoon_lib/typhoonconfig.py /usr/lib/python2.7/site-packages/typhoon_lib/typhoonconfig.pyc /usr/lib/python2.7/site-packages/typhoon_lib/typhoonconfig.pyo /usr/share/applications/typhoon.desktop /usr/share/glib-2.0/schemas/net.launchpad.typhoon.gschema.xml /usr/share/typhoon/media/app.html /usr/share/typhoon/media/back.svg /usr/share/typhoon/media/fonts/Climacons.ttf /usr/share/typhoon/media/fonts/climacons-webfont.eot /usr/share/typhoon/media/fonts/climacons-webfont.svg /usr/share/typhoon/media/fonts/climacons-webfont.ttf /usr/share/typhoon/media/fonts/climacons-webfont.woff /usr/share/typhoon/media/fonts/ubuntu.woff /usr/share/typhoon/media/jquery.min.js /usr/share/typhoon/media/manifest.json /usr/share/typhoon/media/script.js /usr/share/typhoon/media/settings.svg /usr/share/typhoon/media/style.css /usr/share/typhoon/media/sync.svg /usr/share/typhoon/media/tick.svg /usr/share/typhoon/media/typhoon.svg /usr/share/typhoon/ui/TyphoonWindow.ui /usr/share/typhoon/ui/typhoon_window.xml ____________________________________________________________ Can't remember your password? Do you need a strong and secure password? Use Password manager! It stores your passwords & protects your account. Check it out at http://mysecurelogon.com/manager -- 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