Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45948 - cdemu-0.6_beta fails to install
Summary: cdemu-0.6_beta fails to install
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 50950 51218 55992 57309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-27 22:04 UTC by Albert
Modified: 2004-10-02 13:29 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert 2004-03-27 22:04:43 UTC
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)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-28 00:13:23 UTC
please paste `emerge info` output
Comment 2 Albert 2004-03-28 00:41:35 UTC
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"
Comment 3 SpanKY gentoo-dev 2004-03-28 00:45:43 UTC
i'm going to go on a limb and say it's because you didnt su properly

try `su -` and then emerge it
Comment 4 Albert 2004-03-28 01:05:38 UTC
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 -'.
Comment 5 SpanKY gentoo-dev 2004-03-28 01:38:25 UTC
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
Comment 6 Albert 2004-03-28 01:56:45 UTC
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.
Comment 7 SpanKY gentoo-dev 2004-05-14 08:41:24 UTC
*** Bug 50950 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2004-05-16 21:26:30 UTC
*** Bug 51218 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2004-07-04 08:18:20 UTC
*** Bug 55992 has been marked as a duplicate of this bug. ***
Comment 10 SpanKY gentoo-dev 2004-07-16 20:07:08 UTC
*** Bug 57309 has been marked as a duplicate of this bug. ***
Comment 11 Stefan Huszics 2004-10-02 13:29:40 UTC
> 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 :)