Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82191 - path/to/build is incorrect
Summary: path/to/build is incorrect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2005-02-15 18:22 UTC by wayne tedder
Modified: 2005-02-15 18:45 UTC (History)
0 users

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 wayne tedder 2005-02-15 18:22:23 UTC
Haven't seen this one anywhere, seems like someone else should have this problem.  So if this is just me please let me know...

>>> Unpacking kdebase-3.3.92.tar.bz2 to /var/tmp/portage/kdebase-3.4.0_beta2/work
/usr/portage/eclass/base.eclass: line 37: cd: /var/tmp/portage/kdebase-3.4.0_beta2/work/kdebase-3.4.0_beta2: No such file or directory
/usr/portage/eclass/kde.eclass: line 42: cd: /var/tmp/portage/kdebase-3.4.0_beta2/work/kdebase-3.4.0_beta2: No such file or directory
 * Applying startkde-gentoo.diff ...

...and of course the diff fails.  The correct path is /var/tmp/portage/kdebase-3.4.0_beta2/work/kdebase-3.3.92  

I have written a few embarrassingly simple ebuilds for my own use, however I have always specified the full path before patching or compiling if the version name of the ebuild is different than the version name of the tarball. So I can only assume that this is supposed to be automagic.  Well, it aint in this case.

Guess it's time to read up a little more :)

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~X86" emerge kdebase
2.wait ten seconds..
3.




ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=athlon-mp -pipe -ffast-math -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-mp -pipe -ffast-math -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j6" 
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 3dnow X aalib alsa apache2 apm arts artswrappersuid audiofile avi 
berkdb bitmap-fonts bonobo bootsplash cdparanioa cdr crypt cups curl dba 
divx4linux doc dvd dvdr dvdread encode esd f77 faad fam flac font-server 
foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml 
imagemagick imlib ipv6 jack java jpeg jpeg2 kde kdeenablefinal ladcca ldap 
libg++ libwww mad matroska mikmod mmx mng motif mozilla mpeg mpi mysql ncurses 
nls oggvorbis openexr opengl oss pam pda pdflib perl php png povray python qt 
quicktime rdesktop readline samba scanner sdk sdl slang sndfile spell sse ssh 
ssl svg svga tckltk tcltk tcpd theora tiff truetype truetype-fonts type1-fonts 
usb wmf wxwindows xine xml xml2 xmms xv xvid zlib linguas_ru" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 wayne tedder 2005-02-15 18:45:26 UTC
FIXED:  the problem was that I had the kde-dist.eclass definition in /usr/local/portage/eclass from an earlier try with the cvs build. For some reason emerge was defaulting to the /usr/local/portage/eclass even though it was from an older ebuild..

I just commented out PORDIR_OVERLAY in /etc/make.conf  and it's working fine..