[opensuse-buildservice] Debian based distros and Ubuntu 9.10 in special
Hi, while debugging why Ubuntu 9.10 was not working in OBS, Michael and me changed some stuff, which affects all .deb based distros. The packages get not configured after installation anymore, but at once after the installation(aka unpack) of all packages. And this in two attempts, since usually some dependency cycles of the packages do not allow to configure all. On the way I had to adapt some of the older Ubuntu and Debian project configuration and you need a new "build" package from today out of the openSUSE:Tools project, if you want to reproduce this behaviour on local builds. Since this changes all package builds for all .deb distros, I would be happy when you report observations about behaviour changes. As a side effect (and after fixing some more stuff) the Ubuntu:9.10 project can be used now for package building as well :) bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi folks. I tried to build Ubuntu 9.10 locally and it failed with the following log: http://pastebin.be/22166 The problem seems to be that the entries in /etc/passwd & /etc/group are missing the "x" so "shadowconfig on" in the passwd postinst script doesn't run through which then triggers the cascade of failure. Thanks to bugfinder & darix I found out that one has to change the entries in /usr/bin/build (somewhere near line 1253) from echo 'abuild::399:399:Autobuild:/home/abuild:/bin/bash'
$BUILD_ROOT/etc/passwd
to echo 'abuild:x:399:399:Autobuild:/home/abuild:/bin/bash'
$BUILD_ROOT/etc/passwd
and echo 'abuild::399:' >>$BUILD_ROOT/etc/group to echo 'abuild:x:399:' >>$BUILD_ROOT/etc/group After that change 9.10 did build properly here but I have NO idea if that change harms other distros or not (so perhaps you need some if clause). So it build just fine and the packages look good but are not tested (I run no buntu). Since my bash scripting skills probably sucks as much as my understanding of the OBS internals you get no patch but merely a description of the fix ;D If you need something to test feel free to use securtiy:openvas:[UN]STABLE openvas-libraries which should build for all the debian based stuff. best, Stephan PS: fwiw, I have build-2009.11.25-61.1.noarch installed on openSUSE 11.2 x86_64 PPS: If you need some way to identify 9.10 see their /etc/lsb-release & /etc/issue files. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Donnerstag, 26. November 2009 02:13:08 schrieb Stephan Kleine:
this is misleading, because this entries get added after the shadowconfig was running. The real problem must be someting different. bye adrian
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Donnerstag, 26. November 2009 05:51:48 schrieb Adrian Schröter:
Okay, I had to revert this a bit. packages get also configured now at installation time, but also afterwards for pending one. At installation time it is needed, to allow some pre-in scripts to succeed. Afterwards is needed to let some post script running, which were not running before due to missing pre-reqs (for example due to a not fullfillable cycle in pre requires of packages). Ubuntu 9.10 seems anyway still working, after some more tweeking of project config. I hope this solves all problems ... -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Michal Marek
-
Stephan Kleine