
Hi, all builds except Fedora:10 now seem to work. Fedora:10 builds now results in: ----------------------------------------------------------------- ----- building zlib.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl srcrep:6704b756bc258e856e39e93956c3fd42-zlib' /root/rpmbuild/SOURCES/zlib.spec error: failed to stat /root/rpmbuild/SOURCES/zlib.spec: Permission denied Next try. Martin Anas Nashif wrote:
Martin, See my previous posting about this. The build script does not support rpm v.4.6. This can be resolved easily with two line change:
--- build.old 2008-11-21 15:25:23.000000000 -0800 +++ build 2008-11-21 15:26:00.000000000 -0800 @@ -1003,7 +1003,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do # now clean up RPM building directories # rm -rf $BUILD_ROOT$TOPDIR - for i in BUILD RPMS/`arch` RPMS/i386 RPMS/noarch SOURCES SPECS SRPMS ; do + for i in BUILD RPMS/`arch` RPMS/i386 RPMS/noarch SOURCES SPECS SRPMS BUILDROOT ; do mkdir -p $BUILD_ROOT$TOPDIR/$i test $BUILD_USER = abuild && chown 99:99 $BUILD_ROOT$TOPDIR/$i done @@ -1089,7 +1089,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do fi rpmbuild=rpmbuild
- test -x $BUILD_ROOT/usr/lib/rpm/rpmi || rpmbuild=rpm + #test -x $BUILD_ROOT/usr/lib/rpm/rpmi || rpmbuild=rpm # su involves a shell which would require even more # complicated quoting to bypass than this toshellscript $rpmbuild \
Anas
Martin Mohring wrote:
Hi,
I can remember asking some people in the ml and on IRC channel if we can support: - Ubuntu:8.10 - Fedora:10 in the public build service. I have tried out both, to test the freshly included Download on Demand feature.
Results:
- Ubuntu:8.10 is working, with a modified meta prjconf. I can provide that if needed - Fedora:10 is not working. I put together a modified meta prjconf. I can provide that if needed
Error log of Fedora:10 builds:
----------------------------------------------------------------- ----- building zlib.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- + exec rpm -ba --define '_srcdefattr (-,root,root)' --define 'disturl srcrep:6704b756bc258e856e39e93956c3fd42-zlib' /root/rpmbuild/SOURCES/zlib.spec -ba: unknown option
Is that due to the new rpm-4.6.0-0.rc1.7 used in Fedora:10?
Martin
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org