Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Build failure for SuSe 9.1 PyQwt src rpm

open
nobody
None
5
2014-12-26
2004-10-11
Anonymous
No

PyQwt-4.0rc0.src.rpm
The install section of the rpm build failed with the following:
+ cp -a build/lib.linux-x86_64-2.3/qwt /var/tmp/PyQwt-4.0rc0-build//usr/lib/python2.3/site-packages
cp: cannot stat `build/lib.linux-x86_64-2.3/qwt': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.68072 (%install)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.68072 (%install)

The actual directory name for the copy should have read
build/lib.linux-i686-2.3/qwt

--Workaround--

I modified the spec file with the following and everything ran:
ORIG - cp -a build/lib.linux-%build_arch-2.3/qwt %{buildroot}/%{python_site}
MOD - cp -a build/lib.linux-i686-2.3/qwt %{buildroot}/%{python_site}

ORIG - cp -a build/lib.linux-%build_arch-2.3/iqt %{buildroot}/%{python_site}
MOD - cp -a build/lib.linux-i686-2.3/iqt %{buildroot}/%{python_site}

Discussion