[Bug 652039] New: [patch] build has to --clean debian-bsaed build roots

https://bugzilla.novell.com/show_bug.cgi?id=652039 https://bugzilla.novell.com/show_bug.cgi?id=652039#c0 Summary: [patch] build has to --clean debian-bsaed build roots Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: build process AssignedTo: mls@novell.com ReportedBy: herzi@gnome-de.org QAContact: adrian@novell.com Found By: --- Blocker: --- Created an attachment (id=398962) --> (http://bugzilla.novell.com/attachment.cgi?id=398962) Proposed Patch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.11 (KHTML, like Gecko) Ubuntu/9.10 Chromium/9.0.566.0 Chrome/9.0.566.0 Safari/534.11 I think I provided this error on IRC in the past, but now I finally tracked down that issue to propose a fix. Reproducible: Always Steps to Reproduce: 1. osc co home:herzi:n1t1 glib2.0 # IIRC -- the project/package is correct 2. cd glib2.0 3. osc build --clean Debian_5.0 i586 # build with cleanup 4. watch a successful build 5. osc build Debian_5.0 i586 # trigger rebuild in existing chroot Actual Results: The build fails with this message: [...] configure all installed packages... removing nis flags from /var/tmp/build-root/etc/nsswitch.conf... now finalizing build dir... abuild user present in the buildroot (/var/tmp/build-root) but uid:gid does not match buildroot currently using: abuild:x:399:399:Autobuild:/home/abuild:/bin/bash build script attempting to use: abuild::399:399:... build aborting The buildroot was: /var/tmp/build-root Expected Results: Actually, the build should pass again. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 9.10 Release: 9.10 Codename: karmic $ cat /etc/apt/sources.list.d/00-opensuse-build-service.list deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_9.10/ / $ dpkg -l osc build Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten | Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konfiguration/ Halb installiert/Trigger erWartet/Trigger anhängig |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht) ||/ Name Version Beschreibung +++-=========================-=========================-================================================================== ii build 2010.07.28-1 A script to build SUSE Linux RPMs ii osc 0.129-1 openSUSE (buildsystem) commander -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=652039 https://bugzilla.novell.com/show_bug.cgi?id=652039#c1 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com, | |suse-tux@gmx.de --- Comment #1 from Ludwig Nussel <lnussel@novell.com> 2010-11-08 14:56:19 CET --- where does the 'x' in the second column come from? The build script adds a line without... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=652039 https://bugzilla.novell.com/show_bug.cgi?id=652039#c2 --- Comment #2 from Sven Herzberg <herzi@gnome-de.org> 2010-11-08 19:43:00 UTC --- IIRC, from a debian script to setup shadow password. I can investigate that… -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=652039 https://bugzilla.novell.com/show_bug.cgi?id=652039#c3 Sven Herzberg <herzi@gnome-de.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |herzi@gnome-de.org --- Comment #3 from Sven Herzberg <herzi@gnome-de.org> 2010-11-08 19:48:34 UTC --- dpkg calls /var/lib/dpkg/status/passwd.postinst which calls /sbin/shadowconfig on which calls /usr/sbin/pwconv # http://linux.about.com/library/cmd/blcmdl8_pwconv.htm And that turns the password fields into "x". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=652039 https://bugzilla.novell.com/show_bug.cgi?id=652039#c4 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #4 from Michael Schröder <mls@novell.com> 2010-11-10 14:21:14 UTC --- Thanks, fixed in current build. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com