[Bug 650409] New: osc: sudo for su-wrapper fails
https://bugzilla.novell.com/show_bug.cgi?id=650409 https://bugzilla.novell.com/show_bug.cgi?id=650409#c0 Summary: osc: sudo for su-wrapper fails Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.0 Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: osc AssignedTo: adrian@novell.com ReportedBy: jengelh@medozas.de QAContact: adrian@novell.com Found By: Beta-Customer Blocker: --- When using su-wrapper = sudo sh -c in ~/.oscrc, the build strangely fails after the build-root was previously populated with no su wrapper defined. I added calling env at the top of /usr/bin/build because I already suspect this is an env issue. -- With su -- (Checkout of build.opensuse.org/home:jengelh:dev/zarafa) 22:03 nova:../home:jengelh:dev/zarafa > osc build --no-verify openSUSE_11.3 x86_64 Building zarafa.spec for openSUSE_11.3/x86_64 Getting buildinfo from server and store to /home/jengelh/obs/home:jengelh:dev/zarafa/.osc/_buildinfo-openSUSE_11.3-x86_64.xml Getting buildconfig from server and store to /home/jengelh/obs/home:jengelh:dev/zarafa/.osc/_buildconfig-openSUSE_11.3-x86_64 Updating cache of required packages 0.0% cache miss. 203/203 dependencies cached. home:jengelh:dev doesn't have a gpg key Skipping verification of package signatures Writing build configuration Running build su -c '"/usr/bin/build" --root="/var/tmp/build-root" --rpmlist="/tmp/rpmlist.OOcL70" --dist="/home/jengelh/obs/home:jengelh:dev/zarafa/.osc/_buildconfig-openSUSE_11.3-x86_64" --arch=x86_64 --norootforbuild --changelog --jobs 8 "/home/jengelh/obs/home:jengelh:dev/zarafa/zarafa.spec"' Password: # Dumping env COLORTERM=1 CPU=x86_64 CSHEDIT=emacs CVS_RSH=ssh DISPLAY=localhost:10.0 EDITOR=/usr/bin/mcedit FROM_HEADER= GREP_COLOR=36;7 G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 HISTSIZE=1000 HOME=/root HOST=nova HOSTNAME=nova HOSTTYPE=x86_64 INPUTRC=/etc/inputrc LANG=en_US.UTF-8 LC_COLLATE=POSIX LC_CTYPE=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=POSIX LC_NUMERIC=POSIX LC_PAPER=de_DE.UTF-8 LC_TIME=POSIX LESS=-Mi LESSCLOSE=lessclose.sh %s %s LESSKEY=/etc/lesskey.bin LESSOPEN=lessopen.sh %s LESS_ADVANCED_PREPROCESSOR=no LOGNAME=jengelh LS_COLORS=(long line) LS_OPTIONS=-NT0 --color=auto --group-dir MACHTYPE=x86_64-suse-linux MAIL=/var/mail/jengelh MANPATH=/usr/local/man:/usr/share/man MINICOM=-c on MORE=-sl NNTPSERVER=news OSTYPE=linux PAGER=less PATH=/home/jengelh/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:/opt/hxtools/bin PCREGREP_COLOR=36;7 PROFILEREAD=true PS1_ROOT=\A \h:$(hxpref_beautify_path) # PS1_USER=\A \h:$(hxpref_beautify_path) > PS1_XROOT=\[\e[1;30m\]\A \[\e[0;31m\]\h:$(hxpref_beautify_path) \[\e[1m\]#\[\e[0m\] PS1_XUSER=\[\e[1;30m\]\A \[\e[0;32m\]\h:$(hxpref_beautify_path) \[\e[0;1m\]>\[\e[0m\] PWD=/home/jengelh/obs/home:jengelh:dev/zarafa PYTHONSTARTUP=/etc/pythonstart QT_SYSTEM_DIR=/usr/share/desktop-data SHELL=/bin/bash SHLVL=5 SSH_CLIENT=134.76.2.91 54202 22 SSH_CONNECTION=134.76.2.91 54202 178.63.15.147 22 SSH_SENDS_LOCALE=yes SSH_TTY=/dev/pts/0 STY=6095.pts-0.nova TERM=screen USER=jengelh WINDOW=3 WINDOWMANAGER=/usr/bin/twm XAUTHLOCALHOSTNAME=nova XAUTHORITY=/root/.xauthYyvusA XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share XKEYSYMDB=/usr/share/X11/XKeysymDB XNLSPATH=/usr/share/X11/nls mc=() { . /usr/share/mc/bin/mc-wrapper.sh } _=/usr/bin/env # Dump done logging output to /var/tmp/build-root/.build.log... Memory limit set to 32978616KB Using BUILD_ROOT=/var/tmp/build-root Using BUILD_ARCH=x86_64:i686:i586:i486:i386 nova started "build zarafa.spec" at Sun Oct 31 21:03:26 UTC 2010. processing specfile /home/jengelh/obs/home:jengelh:dev/zarafa/zarafa.spec ... running changelog2spec --target rpm --file /home/jengelh/obs/home:jengelh:dev/zarafa/zarafa.spec init_buildsystem --cachedir /var/cache/build --rpmlist /tmp/rpmlist.OOcL70 /home/jengelh/obs/home:jengelh:dev/zarafa/zarafa.spec ... reordering...cycle: libcrack2 -> cracklib breaking dependency libcrack2 -> cracklib cycle: liblcms1 -> lcms breaking dependency liblcms1 -> lcms done [and so on, success] -- With sudo -- 22:04 nova:../home:jengelh:dev/zarafa > osc build --no-verify openSUSE_11.3 x86_64 Building zarafa.spec for openSUSE_11.3/x86_64 Getting buildinfo from server and store to /home/jengelh/obs/home:jengelh:dev/zarafa/.osc/_buildinfo-openSUSE_11.3-x86_64.xml Getting buildconfig from server and store to /home/jengelh/obs/home:jengelh:dev/zarafa/.osc/_buildconfig-openSUSE_11.3-x86_64 Updating cache of required packages 0.0% cache miss. 203/203 dependencies cached. home:jengelh:dev doesn't have a gpg key Skipping verification of package signatures Writing build configuration Running build sudo sh -c "/usr/bin/build" --root="/var/tmp/build-root" --rpmlist="/tmp/rpmlist.8Sz2Hj" --dist="/home/jengelh/obs/home:jengelh:dev/zarafa/.osc/_buildconfig-openSUSE_11.3-x86_64" --arch=x86_64 --norootforbuild --changelog --jobs 8 "/home/jengelh/obs/home:jengelh:dev/zarafa/zarafa.spec" # Dumping env COLORTERM=1 HOME=/root LANG=en_US.UTF-8 LC_COLLATE=POSIX LC_CTYPE=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=POSIX LC_NUMERIC=POSIX LC_PAPER=de_DE.UTF-8 LC_TIME=POSIX LOGNAME=root PATH=/usr/sbin:/bin:/usr/bin:/sbin PWD=/home/jengelh/obs/home:jengelh:dev/zarafa SHELL=/bin/bash SHLVL=2 SUDO_COMMAND=/usr/bin/sh -c /usr/bin/build --root=/var/tmp/build-root --rpmlist=/tmp/rpmlist.8Sz2Hj --dist=/home/jengelh/obs/home:jengelh:dev/zarafa/.osc/_buildconfig-openSUSE_11.3-x86_64 --arch=x86_64 --norootforbuild --changelog --jobs 8 /home/jengelh/obs/home:jengelh:dev/zarafa/zarafa.spec SUDO_GID=100 SUDO_UID=25121 SUDO_USER=jengelh TERM=screen USER=root USERNAME=root _=/usr/bin/env # Dump done logging output to /var/tmp/build-root/.build.log... Memory limit set to 32978616KB Using BUILD_ROOT=/var/tmp/build-root Using BUILD_ARCH=x86_64:i686:i586:i486:i386 nova started "build zarafa.spec" at Sun Oct 31 20:59:06 UTC 2010. processing specfile /home/jengelh/obs/home:jengelh:dev/zarafa/zarafa.spec ... init_buildsystem --cachedir /var/cache/build --repository zypp:// /home/jengelh/obs/home:jengelh:dev/zarafa/zarafa.spec ... expanding package dependencies... Warning: distribution not specified, assuming '11.3-x86_64' (see /usr/lib/build/configs). expansion error nothing provides libvmime_zarafa-devel The buildroot was: /var/tmp/build-root -- 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=650409
https://bugzilla.novell.com/show_bug.cgi?id=650409#c1
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=650409
https://bugzilla.novell.com/show_bug.cgi?id=650409#c
Jan Engelhardt
participants (1)
-
bugzilla_noreply@novell.com