[Bug 650408] New: unable to build debian packages on fedora 12
osc build --clean --local-package Debian_5.0 i586
removing nis flags from [...]/etc/nsswitch.conf... now finalizing build dir... Password:
https://bugzilla.novell.com/show_bug.cgi?id=650408 https://bugzilla.novell.com/show_bug.cgi?id=650408#c0 Summary: unable to build debian packages on fedora 12 Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.0 Platform: i686 OS/Version: Linux Status: NEW Severity: Critical Priority: P5 - None Component: build process AssignedTo: mls@novell.com ReportedBy: herzi@gnome-de.org QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.12) Gecko/20100907 Fedora/3.5.12-1.fc12 Firefox/3.5.12 When trying to build debian packages, I get prompted for a password, which should not happen. 1. I call osc like this: 2. beesu (which is my preferred su-wrapper, even in ~/.oscrc) prompts me for my password, I'll enter it 3. the build script sets up the development chroot... 4. and then prompts me for a password, again ?!? 5. "ps ax" shows this line
[...] su -c dpkg-source -x /usr/src/packages/SOURCES/glib2.0_2.24.2-1.dsc /usr/src/packages/BUILD - abuild
According to grep, that should be triggered form here: # grep dpkg-source -r /usr/lib/build/ /usr/lib/build/build: chroot $BUILD_ROOT su -c "dpkg-source -x $DEB_SOURCEDIR/$DEB_DSCFILE $TOPDIR/BUILD" - $BUILD_USER My first guess was that this call simply doesn't work with debian systems on fedora, but apparently the following scenario works: a. cd /tmp b. mkdir chroot c. beesu debootstrap --arch=i386 lenny chroot http://ftp2.de.debian.org/debian d. beesu chroot chroot adduser --disabled-password --gecos not-important abuild e. beesu chroot chroot su -c "ls\\ -la" - abuild f. watch the content of the empty home folder of abuild So, I really think this is a fault in OSC/build. If you need more information, I'll happily provide it… Reproducible: Always Setting to critical as is renders osc for building .deb packages on Fedora pretty much useless… Feel free to reconsider the priority based on your superior experience with this bug tracker… -- 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=650408
https://bugzilla.novell.com/show_bug.cgi?id=650408#c
Marcus Rückert
https://bugzilla.novell.com/show_bug.cgi?id=650408
https://bugzilla.novell.com/show_bug.cgi?id=650408#c1
Sven Herzberg
https://bugzilla.novell.com/show_bug.cgi?id=650408
https://bugzilla.novell.com/show_bug.cgi?id=650408#c2
Sven Herzberg
https://bugzilla.novell.com/show_bug.cgi?id=650408
https://bugzilla.novell.com/show_bug.cgi?id=650408#c3
Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com