Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16047 - portage 2.0.47-r2 doXXX: command not found
Summary: portage 2.0.47-r2 doXXX: command not found
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
: 16098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-19 22:08 UTC by Terje Kvernes
Modified: 2011-10-30 22:19 UTC (History)
2 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 Terje Kvernes 2003-02-19 22:08:34 UTC
when I emerge any version of gcc-config while using portage 2.0.47-r2 I get the
following:

[almach /usr/bin] # emerge
/usr/portage/sys-devel/gcc-config/gcc-config-1.2.9.ebuild 
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-config-1.2.9 to /
>>> Unpacking source...
>>> Source unpacked.

>>> Install gcc-config-1.2.9 into /var/tmp/portage/gcc-config-1.2.9/image/
category sys-devel
 * Compiling wrapper...
 * Adding compat symlinks...
/usr/lib/portage/bin/newbin: dobin: command not found
/usr/lib/portage/bin/prepall: prepallman: command not found
/usr/lib/portage/bin/prepall: prepallinfo: command not found
/usr/lib/portage/bin/prepall: prepallstrip: command not found
>>> Completed installing into /var/tmp/portage/gcc-config-1.2.9/image/

>>> Merging sys-devel/gcc-config-1.2.9 to /
--- /usr/
--- /usr/lib/
>>> /usr/lib/gcc-config/
>>> /usr/lib/gcc-config/wrapper
--- /usr/sbin/
>>> /usr/sbin/gcc-config -> ../bin/gcc-config

>>> Regenerating /etc/ld.so.cache...
>>> sys-devel/gcc-config-1.2.9 merged.

this is just a test of 1.2.9, all other versions available show the exact same
thing except for version numbers here and there.  things work with portage
2.0.46-r12.

[almach /usr/bin] # emerge info
Portage 2.0.46-r12 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.20 i686 Pentium II (Deschutes)
GENTOO_MIRRORS="http://gentoo.linux.no/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb bonobo cdr esd
gdbm gif gnome-libs gpm gtkhtml guile imlib java kde ldap libwww motif nls
oggvorbis opengl pam perl png python qt readline scanner sdl slang ssl svga tcpd
tetex tiff gnome imap mozilla pda tcltk X gtk alsa dvd gnome2 gtk2"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


Reproducible: Always
Steps to Reproduce:
1. get a 1.2-based box (or mine or MAL from the gentoo-dev-lists box)
2. emerge portage 2.0.47-r2
3. emerge gcc-config


Actual Results:  
forkbombs galore, and there is no /usr/[s]bin/gcc-config.

Expected Results:  
installed gcc-config and worked?

Portage 2.0.46-r12 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.20 i686 Pentium II (Deschutes)
GENTOO_MIRRORS="http://gentoo.linux.no/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb bonobo cdr esd
gdbm gif gnome-libs gpm gtkhtml guile imlib java kde ldap libwww motif nls
oggvorbis opengl pam perl png python qt readline scanner sdl slang ssl svga tcpd
tetex tiff gnome imap mozilla pda tcltk X gtk alsa dvd gnome2 gtk2"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-02-20 16:57:22 UTC
*** Bug 16098 has been marked as a duplicate of this bug. ***
Comment 2 Robert Coie (RETIRED) gentoo-dev 2003-02-20 18:30:55 UTC
I'm still investigating why this happens, but /usr/lib/portage/bin gets dropped
from the PATH passed to ebuild.sh if userpriv and usersandbox are missing from
FEATURES.  I have confirmed this personally and with others on IRC.  So, as a
workaround, make sure that you add userpriv and usersandbox to your FEATURES to
avoid this bug.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-02-21 03:48:53 UTC
Has been determined to be a not-quite-root issue.
I'd have to guess you're using 'sudo' or 'su' and not 'su -'
Comment 4 Terje Kvernes 2003-02-21 04:12:36 UTC
personally I always use "ssh root@<hostname>".  that _should_ work, right?
Comment 5 Antonio Dolcetta 2003-02-21 13:29:44 UTC
I always use "su -"
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-02-22 08:05:10 UTC
Fixed in cvs
portage-2.0.47-r3

This is caused by PATH modification in .bashrc