After much frustration I finally found where the beast was hiding. It looks like "make" is not working correctly if you have CDPATH set. Unsetting CDPATH fixed the problem for me.
There is also a bug report: [url]http://bugs.gentoo.org/show_bug.cgi?id=14103[/url] Rgds, Markus On Sunday 17 August 2003 09:51, Paidhi wrote: > Hi everybody, > > I am trying to update my packages and most of them fail to emerge. > So far I found libgtop, util-linux, gdm, libxslt, apache and apr having > this problem. > > > It looks like after the configure step make want's to cd into a directory > that's not existing. It's always the same error "... cd: ... : No such file > or directory". > > Here are the messages for apache and util-linux as example (similar > behaviour with the other packages mentioned above): > > > Code: > > [EMAIL PROTECTED]:~mb1 root # emerge -b apache > Calculating dependencies ...done! > > >>> emerge (1 of 1) net-www/apache-2.0.47 to / > >>> md5 src_uri ;-) httpd-2.0.47.tar.gz > >>> Unpacking source... > >>> Unpacking httpd-2.0.47.tar.gz to /var/tmp/portage/apache-2.0.47/work > > patching file acinclude.m4 > patching file modules/ssl/config.m4 > patching file os/unix/unixd.c > patching file support/apachectl.in > patching file support/apxs.in > * /home/httpd is your Apache2 data directory ... > rebuilding srclib/apr/configure > ./buildconf: line 146: cd: srclib/apr: No such file or directory > ./buildconf failed for apr > > !!! ERROR: net-www/apache-2.0.47 failed. > !!! Function src_unpack, Line 127, Exitcode 1 > !!! buildconf failed > > > Code: > > [EMAIL PROTECTED]:~mb1 root # emerge util-linux > Calculating dependencies ...done! > > >>> emerge (1 of 1) sys-apps/util-linux-2.11z-r6 to / > >>> md5 src_uri ;-) util-linux-2.11z.tar.bz2 > >>> md5 src_uri ;-) util-linux-2.11z-crypt-gentoo.patch.bz2 > >>> Unpacking source... > >>> Unpacking util-linux-2.11z.tar.bz2 to > > /var/tmp/portage/util-linux-2.11z-r6/work > > >>> Unpacking util-linux-2.11z-crypt-gentoo.patch.bz2 to > > /var/tmp/portage/util-linux-2.11z-r6/work > * Applying util-linux-2.11z-crypt-gentoo.patch.bz2... > [ ok ] > * Applying util-linux-2.11z-parallel-make.patch... > [ ok ] > * Applying no-symlink-resolve.patch... > [ ok ] > * Applying util-linux-2.11z-script.patch... > [ ok ] > * Applying util-linux-2.11z-agetty-domainname-option.patch... > [ ok ] > * Applying util-linux-2.11z-pic.patch... > [ ok ] > > >>> Source unpacked. > > configuring util-linux-2.11z > > You have <scsi/scsi.h> > You have <linux/blkpg.h> > You have <linux/kd.h> > You have <locale.h> > You have <langinfo.h> > You have <sys/user.h> > You have <rpcsvc/nfs_prot.h> > You have <asm/types.h> > You have <linux/raw.h> > You have inet_aton() > You have fsync() > You have getdomainname() > You have nanosleep() > You have personality() > You have updwtmp() > You have fseeko() > You have lchown() > You don't need <linux/tqueue.h> > You have <term.h> > You have ncurses. Using <ncurses.h>. > You have termcap > You need -lcrypt > You have <libintl.h> and gettext() > You have __progname > You have <pty.h> and openpty() > You have wide character support > You have __NR_pivot_root > You have a tm_gmtoff field in struct tm > Your rpcgen seems to work > You have zlib > /bin/sh: line 1: cd: po: No such file or directory > make: *** [all] Error 1 > > !!! ERROR: sys-apps/util-linux-2.11z-r6 failed. > !!! Function src_compile, Line 100, Exitcode 2 > !!! emake failed > > > Code: > > mb1 root # emerge info > Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) > ================================================================= > System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1500MHz > GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ > http://212.219.247.21/sites/www.ibiblio.org/gentoo/ > http://212.219.247.18/sites/www.ibiblio.org/gentoo/ > http://gentoo.oregonstate.edu > http://www.ibiblio.org/pub/Linux/distributions/gentoo" > CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config > /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config > /usr/share/config" > CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" > PORTDIR="/usr/portage" > DISTDIR="/resources/dists/gentoo/1.4/distfiles" > PKGDIR="/resources/dists/gentoo/1.4/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR_OVERLAY="" > USE="x86 foomaticdb mad -3dfx 3dnow aalib -acl -acpi -afs -alsa -apache2 > apm arts -atlas avi berkdb bonobo -canna cdr -cjk crypt -cups dga directfb > -doc dvd encode esd evo -ev6 fbcon -flash -freewnn gb gd gdbm -ggi gif > gnome gphoto2 gpm gtk2 gtk gtkhtml guile -icc -icc-pgo imap imlib innodb > -ipv6 java -jikes jpeg -junit kde -kerberos lcms ldap leim -libg++ libgda > libwww -matrox maildir mbox mikmod mmx motif mozilla mpeg -mule mysql -nas > ncurses nls nocardbus oav -oci8 -odbc oggvorbis opengl -oss pam -pcmcia pda > pdflib perl pic plotutils png -postgres python qt quicktime readline -ruby > samba sasl -scanner sdl slang -slp snmp -socks5 spell sse ssl -static svga > tcltk tcpd tetex tiff truetype -trusted -voodoo3 -wavelan X xface xml2 xml > xmms xv -zeo zlib" > COMPILER="gcc3" > CHOST="i686-pc-linux-gnu" > CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer" > CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer" > ACCEPT_KEYWORDS="x86" > MAKEOPTS="-j2" > AUTOCLEAN="yes" > SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" > FEATURES="sandbox ccache" > > > > Anybody has a tip what could be wrong here? > > > Many thanks in advance, > > -Markus- > > > -- > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list