Re: rpmbuild error in F22 (looking for desktop file)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 14, 2015 at 9:25 PM, Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> wrote:
Hello,

I am trying to make a rpm out of the following application:

https://github.com/apandada1/typhoon

but my spec file, created from looking at the batti.spec file looks for a desktop file, rather than a desktop.in file. What I don't understand is where it figures out how to look for a desktop file. Any suggestions/help? I don't have a lot of experience with rpmbuild and spec files.

Here is the spec file:

$ fpaste typhoon.spec
Uploading (1.4KiB)...
http://ur1.ca/n4lhh -> http://paste.fedoraproject.org/244462/14369268

And here is the error that I am getting:

$rpmbuild -bb typhoon.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Mne9tW
+ 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.ZQvdSk
+ 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.

Here it looks like it's taking the desktop.in file and creating the desktop file but...

 
running build_icons
running build_help
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X1IL6J
+ 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 --skip-build --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 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/tmp7Rmg8v.py'
/usr/bin/python -O /tmp/tmp7Rmg8v.py
removing /tmp/tmp7Rmg8v.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
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

This above is the last successful output, not the problem...

 
("ERROR: Can't find", '/home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/applications/typhoon.desktop')
error: Bad exit status from /var/tmp/rpm-tmp.X1IL6J (%install)

I briefly looked at the setup.py and it seems to have a mechanism to take the desktop.in file and write it to a location (making the necessary substitutions in it) but during the actual install process it's not getting installed, I'm not familiar enough with python/setup.py installs to understand why.

Thanks,
Richard
-- 
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux