Hi,
I was trying to build a Fedora 22 rpm for typhoon:
https://sites.google.com/site/typhoonweatherapp/home
modifying a python-based spec file of mine, but I have run into problems.
Here is the spec file:
$ fpaste typhoon.spec Uploading (1.1KiB)... http://ur1.ca/n3vhs -> http://paste.fedoraproject.org/243565/75271614
And here are the errors:
$ rpmbuild -bb typhoon.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t0ahW1 + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cn6iYb + umask 022 + cd /home/maitra/rpmbuild/BUILD + cd typhoon-0.8.9.4 + /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 warning: install_lib: 'build/lib' does not exist -- no Python modules to install
running install_scripts error: cannot copy tree 'build/scripts-2.7': not a directory error: Bad exit status from /var/tmp/rpm-tmp.cn6iYb (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.cn6iYb (%build)
Any suggestions on how to fix these?
Many thanks and best wishes, Ranjan