[opensuse-buildservice] Ubuntu:8.10 and Fedora:10 build targets

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

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:
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

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:
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Martin, been through this as well, If I remember correctly, I fixed that by changing the macro for topdir in the rpm package itsel, on obs this could be done elsewhere of course or the build script could be adapted to support the new rpm version: diff --git a/macros.in b/macros.in index 1498f06..9333312 100644 --- a/macros.in +++ b/macros.in @@ -229,7 +229,7 @@ package or when debugging this package.\ %_tmppath %{_var}/tmp # Path to top of build area. -%_topdir %(echo $HOME)/rpmbuild +%_topdir /usr/src/redhat # The path to the unzip executable (legacy, use %{__unzip} instead). %_unzipbin %{__unzip} Martin Mohring wrote:
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Hi, Ludwig Nussel, SUSE Maintainer of the build script provided me with a new patch for testing. You will soon get feedback if the issue is fixed then. Martin Anas Nashif wrote:
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Sat, Nov 29, 2008 at 07:43:40PM +0100, Martin Mohring wrote:
Thanks for your work on this. Will I need this modified meta prjconf in order to build packages based on Ubuntu:8.10? - Chris -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Donnerstag 11 Dezember 2008 23:01:10 Chris Frey wrote:
the project config is part of the Ubuntu:8.10 project already. -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, Dec 11, 2008 at 11:17:08PM +0100, Adrian Schr?ter wrote:
Ahh, I see. After some further poking around, it seems that the x86_64 binaries for Ubuntu 8.10 are not there. If I do: osc ls -b Ubuntu:8.10 -r standard -a i586 Lots of packages are displayed. But: osc ls -b Ubuntu:8.10 -r standard -a x86_64 Shows nothing. Thanks, - Chris -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Freitag 12 Dezember 2008 02:25:56 Chris Frey wrote:
erm, it does for me. The packages are there since some days. Can you try again ? Do you see some build failure regarding this ? If you can repeat this, please create a bugreport and add the output of osc -H ls -b Ubuntu:8.10 -r standard -a x86_64 thanks adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Fri, Dec 12, 2008 at 10:07:29AM +0100, Adrian Schr?ter wrote:
I tried again just now, and this time the packages appear.
Do you see some build failure regarding this ?
I did... one of my packages failed to build because it couldn't install things like autoconf, etc. This particular error is now gone.
If you can repeat this, please create a bugreport and add the output of
osc -H ls -b Ubuntu:8.10 -r standard -a x86_64
I assume it was just an intermittent thing, then. Thanks! - Chris -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Anas Nashif
-
Chris Frey
-
Martin Mohring