Updating cdemu with ~x86 keyword yields this after compiling: >>> Install cdemu-0.6_beta into /var/tmp/portage/cdemu-0.6_beta/image/ category app-cdr You must be root to make install! make: *** [install] Error 1 !!! ERROR: app-cdr/cdemu-0.6_beta failed. !!! Function src_install, Line 27, Exitcode 2 !!! (no error message)
please paste `emerge info` output
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1) ================================================================= System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.4.3.13p1 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -fomit-frame-pointer -fforce-addr -falign-functions=16 -falign-labels=1 -falign-loops=16 -falign-jumps=16 -ffast-math -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -fomit-frame-pointer -fforce-addr -falign-functions=16 -falign-labels=1 -falign-loops=16 -falign-jumps=16 -ffast-math -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.binarycompass.org http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/albert/Development/ebuilds/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="3dnow X aalib aavm acpi apache2 apm arts artswrappersuid avi berkdb cdr crypt cups directfb dvd emacs encode esd faad foomaticdb gdbm gif gpm gtk gtk2 imlib java javascript joystick jpeg kde ldap libg++ libwww lirc mad matroska memlimit mikmod mmx motif mozilla moznoirc moznomail mpeg mysql ncurses nls nvidia oggvorbis opengl operanom2 oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff transcode truetype usb v4l videos wxwindows x86 xfs xinerama xml2 xmms xv xvid zlib"
i'm going to go on a limb and say it's because you didnt su properly try `su -` and then emerge it
Yes, when I do 'su -', it works. However, the other 715 packages that I have don't need me to do that to install, neither did the previous version of cdemu. I haven't checked the ebuild, but whatever it is, perhaps it should be modified so it doesn't need an explicit 'su -'.
it's not a bug in the ebuild, it's an 'issue' with the makefile that i already fixed in cdemu cvs however, you dont setup your environment properly if you run `su` vs `su -` ... thus i'm not going to change anything in the ebuild to handle this case
I usually do 'su' followed by 'source /etc/profile', it seems to give a similar environment as 'su -'. However, the install still fails if 'source /etc/profile' is run beforehand. It only works with 'su -'. I hope the next release of cdemu will install with the 'source /etc/profile' environment due to the changes in the makefile.
*** Bug 50950 has been marked as a duplicate of this bug. ***
*** Bug 51218 has been marked as a duplicate of this bug. ***
*** Bug 55992 has been marked as a duplicate of this bug. ***
*** Bug 57309 has been marked as a duplicate of this bug. ***
> you dont setup your environment properly if you run `su` vs `su -` ... thus i'm not going to change anything in the ebuild to handle this case OK... but for me it fails when I'm *LOGGED IN AS ROOT* in console. So let me go out on a limb and say this ebuild is BUSTED since it fails even if su isn't used at all. Can someone with the right powers un-invalid this bug? TIA :)