oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
13 stars 2 forks source link

systemimager is not compiled on FC18 #615

Open dikim33 opened 7 years ago

dikim33 commented 7 years ago

Reported by dikim on 24 Apr 2013 14:24 UTC It seems that the systemimager build process still has a problem. I remember that it was built before.

rpmbuild -tb /root/rpmbuild/SOURCES/systemimager-4.3.0.tar.bz2  --target noarch

+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd systemimager-4.3.0
+ DOCDIR=/root/rpmbuild/BUILDROOT/systemimager-4.3.0-0.10.fc18.noarch/usr/share/doc/systemimager-client-4.3.0
+ export DOCDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/systemimager-4.3.0-0.10.fc18.noarch/usr/share/doc/systemimager-client-4.3.0
+ cp -pr CHANGE.LOG COPYING CREDITS README VERSION /root/rpmbuild/BUILDROOT/systemimager-4.3.0-0.10.fc18.noarch/usr/share/doc/systemimager-client-4.3.0
+ exit 0
Provides: systemimager-client = 4.3.0-0.10.fc18
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Processing files: systemimager-noarchboot-standard-4.3.0-0.10.fc18.noarch
error: Directory not found: /root/rpmbuild/BUILDROOT/systemimager-4.3.0-0.10.fc18.noarch/usr/share/systemimager/boot/noarch
error: Directory not found: /root/rpmbuild/BUILDROOT/systemimager-4.3.0-0.10.fc18.noarch/usr/share/systemimager/boot/noarch/standard
error: File not found: /root/rpmbuild/BUILDROOT/systemimager-4.3.0-0.10.fc18.noarch/usr/share/systemimager/boot/noarch/standard/config
error: File not found: /root/rpmbuild/BUILDROOT/systemimager-4.3.0-0.10.fc18.noarch/usr/share/systemimager/boot/noarch/standard/initrd.img
error: File not found: /root/rpmbuild/BUILDROOT/systemimager-4.3.0-0.10.fc18.noarch/usr/share/systemimager/boot/noarch/standard/kernel

Here is the suspected part in its spec file.

%dir %prefix/share/systemimager/boot/%{_build_arch}
%dir %prefix/share/systemimager/boot/%{_build_arch}/standard
%prefix/share/systemimager/boot/%{_build_arch}/standard/config
%prefix/share/systemimager/boot/%{_build_arch}/standard/initrd.img
%prefix/share/systemimager/boot/%{_build_arch}/standard/kernel

Mine has "x86_64" for %{_build_arch} and the spec file is expecting "noarch".

dikim33 commented 7 years ago

Modified by dikim on 24 Apr 2013 14:25 UTC