When trying to emerge sys-apps/util-linux-2.12r the root username has to be "root" for the install part in the Makefile. If this is not the default "root" the "make install" will fail... Reproducible: Always Steps to Reproduce: 1. rename root to "myroot" 2. emerge sys-apps/util-linux-2.12r Actual Results: make[1]: Leaving directory `/var/tmp/portage/util-linux-2.12r/work/util-linux-2.12r/misc-utils' make[1]: Entering directory `/var/tmp/portage/util-linux-2.12r/work/util-linux-2.12r/mount' install -d -m 755 /var/tmp/portage/util-linux-2.12r/image//bin /var/tmp/portage/util-linux-2.12r/image//sbin install -m 4711 -o root mount umount /var/tmp/portage/util-linux-2.12r/image//bin install: Ung
When trying to emerge sys-apps/util-linux-2.12r the root username has to be "root" for the install part in the Makefile. If this is not the default "root" the "make install" will fail... Reproducible: Always Steps to Reproduce: 1. rename root to "myroot" 2. emerge sys-apps/util-linux-2.12r Actual Results: make[1]: Leaving directory `/var/tmp/portage/util-linux-2.12r/work/util-linux-2.12r/misc-utils' make[1]: Entering directory `/var/tmp/portage/util-linux-2.12r/work/util-linux-2.12r/mount' install -d -m 755 /var/tmp/portage/util-linux-2.12r/image//bin /var/tmp/portage/util-linux-2.12r/image//sbin install -m 4711 -o root mount umount /var/tmp/portage/util-linux-2.12r/image//bin install: Ungültiger Anwender root make[1]: *** [install] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/util-linux-2.12r/work/util-linux-2.12r/mount' make: *** [install] Fehler 1 !!! ERROR: sys-apps/util-linux-2.12r failed. !!! Function src_install, Line 140, Exitcode 2 !!! install failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Some hardcoded "root"s that should be replaced by the real root name. So the install part of the emerge process runs fine. the root user can be determined in the ebuild by the following line: ROOTUSER=$(egetent passwd 0 | cut -d':' -f1) emerge info: Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20040808-r1,glibc-2.3.5-r1, 2.6.11-gentoo-r6-router i686) ================================================================= System uname: 2.6.11-gentoo-r6-router i686 Pentium III (Katmai) Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -pipe -march=pentium3 -mtune=pentium3 -funroll-loops -fomit-frame-pointer -mfpmath=sse -msse -mmmx" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=pentium3 -mtune=pentium3 -funroll-loops -fomit-frame-pointer -mfpmath=sse -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="de_DE.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl acpi acpi4linux alsa apache2 apm avi berkdb bzlib cli commercial crypt cups curl cvsgraph dba dedicated dga distcache divx4linux dlloader dnd drac eds emboss encode enscript esd fam fax flac foomaticdb gd gdbm gif gstreamer iconv imap imlib imlib2 insecure-drivers ipv6 ithreads java jce jikes jpeg jpeg2k largeterminal ldap libg++ libwww log4j mad maildir mikmod mldonkeypango mmx mp3 mpeg mpeg4 mplayer mpm-worker mysql nas ncurses nls nptl nptlonly ogg oggvorbis oss pam passfile pcre pdflib pear perl pic png posix python qemu-fast quicktime readline samba sasl sdl session sis slang slp spell sse ssl svg svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vhosts vorbis xerces xml2 xmms xprint xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
a ton of things have 'root' hardcoded and i dont see that changing util-linux is just the first thing that is going to fail