Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78223 - emerge sync deletes PKGDIR
Summary: emerge sync deletes PKGDIR
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-16 08:03 UTC by Tom Van Doorsselaere
Modified: 2005-01-16 09:16 UTC (History)
1 user (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 Tom Van Doorsselaere 2005-01-16 08:03:09 UTC
After running emerge sync my PKGDIR is removed. This PKGDIR is located under /usr/portage (see "emerge info" below) and is probably overwritten by the syncing with the server.
Additionally, I keep another PKGDIR for another computer in the directory /usr/portage/packageskleine. This directory is also deleted while syncing.

If this problem is unsolvable, then this feature should be documented in portage.

Testing is very hard though, because portage complains about the timestamp being the same as on the server. What can I do to avoid this?

My "emerge info":

Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.2, glibc-2.3.4.20041102-r0,                                                     2.6.10-gentoo-r2cool i686)
=================================================================
System uname: 2.6.10-gentoo-r2cool i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun  6 2004, 14:17:11)]
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6
sys-devel/automake:  1.8.5-r1, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2                                                    /share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /                                                    usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy ccache distcc distlocks fixpackag                                                    es sandbox sfperms"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.                                                    be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.be                                                    lnet.be/mirror/rsync.gentoo.org/gentoo/"
LDFLAGS=""
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packagesgrote"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bitmap-fonts cdr chroot codecs cry                                                    pt cups divx4linux dvd dvdread encode esd f77 fam flac font-server foomaticdb ft                                                    p gdbm gif gpm gs gtk gtk2 icq imagemagick imap imlib ipv6 jabber java jpeg juni                                                    t kde libg++ libwww mad maildir mikmod mmx motif mpeg msn ncurses network offens                                                    ive oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime radeon rea                                                    dline real rtc slang spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts t                                                    ype1-fonts usb userlocales x86 xml2 xmms xv xvid zlib video_cards_radeon"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2005-01-16 08:44:30 UTC
You could use subdirectories of packages, if you'd like.
Or you can move PKGDIR out of the tree.
Comment 2 Tom Van Doorsselaere 2005-01-16 08:54:02 UTC
You mean that this is a known feature? And that it cannot circumvented?

You say the only option is to keep it somewhere else. Right?
Comment 3 SpanKY gentoo-dev 2005-01-16 09:14:42 UTC
what he means is that $PORTDIR/packages (/usr/portage/packages normally) is the only supported directory inside the portage tree
Comment 4 Tom Van Doorsselaere 2005-01-16 09:16:50 UTC
Shouldn't this be mentioned in the documentation of portage? Probably the man-page of make.conf is a good place.

Otherwise some people could take a lot of time finding what deletes their PKGDIR.