Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117526 - Portage-2.1_pre3-r1 is ignoring $DISTDIR and $PORTDIR variables set in /etc/make.conf for "offline" cvs ebuilds
Summary: Portage-2.1_pre3-r1 is ignoring $DISTDIR and $PORTDIR variables set in /etc/m...
Status: RESOLVED DUPLICATE of bug 117440
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-02 18:34 UTC by boneyfrog
Modified: 2006-01-02 18:36 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 boneyfrog 2006-01-02 18:34:22 UTC
Reproducibility: Whenever emerge is called with ECVS_SERVER="offline" emerge foo

Due to the popularity of anon:cvs@sourceforge.net i have gotten into the habit of doing manual checkouts of specific cvs trees prior to emerging with the offline feature of the cvs.eclass with portage-2.1_pre3-r1 when you try to run ECVS_SERVER="offline" emerge foo portage throws the following error message block
!!! ERROR: foo/bar failed.
!!! Function cvs_src_unpack, Line 550, Exitcode 0
!!! ERROR: Offline mode specified, but directory /var/tmp/portage/bar/distdir/cvs-src/foo/libs/bar not found. Aborting.
!!! If you need support, post the topmost build error, NOT this status message. 

When emerge foo is run any user modified files in $PORTDIR/$DISTDIR/cvs-src/foo are ignored with the sources being piped directly into /var/tmp/portage/ and then deleted after the compilation is completed.  This could lead to massive headaches for dial up users.
/etc/make.conf
CFLAGS="-O2 -march=i686 -g"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="dbus mmx aac svg aalib dvdread cjk unicode utf8 matroska win32codecs oggvorbis gtkhtml nptl fbcon java gcj jpeg gd dba offensive mysql gtk qt -gnome -kde -arts"
ALSA_CARDS="intel8x0"
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORTDIR_OVERLAY=/usr/local/portage
ACCEPT_KEYWORDS="~x86"

emerge info:  

Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Mobile Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.12.0_pre12
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -g"
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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr cjk crypt cups curl dba dbus directfb dvdread eds emboss encode esd exif expat fam fbcon ffmpeg flac foomaticdb fortran gcj gd gdbm gif glut gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 java jpeg lcms libg++ libwww mad matroska mhash mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl plotutils png python qt quicktime readline recode ruby samba sdl slang spell sqlite ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vorbis win32codecs xine xml xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 SpanKY gentoo-dev 2006-01-02 18:36:41 UTC

*** This bug has been marked as a duplicate of 117440 ***