Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158649 - portage-2.1.2_rc3-r8 tries too hard to create cache files
Summary: portage-2.1.2_rc3-r8 tries too hard to create cache files
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-12-20 07:46 UTC by SpanKY
Modified: 2006-12-20 19:18 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 SpanKY gentoo-dev 2006-12-20 07:46:57 UTC
the newer portages seem to go way over the top when it comes to dep file creation

# strace -eopen -o out emerge portage -qp 
[ebuild   R   ] sys-apps/portage-2.1.2_rc3-r8  
# grep /var/cache out | grep -v O_RDONLY
# echo '<<<<' >> /usr/portage/games-action/glaxium/glaxium-0.5.ebuild
# strace -eopen -o out emerge portage -qp 
/usr/portage/games-action/glaxium/glaxium-0.5.ebuild: line 54: syntax error near unexpected token `<'
/usr/portage/games-action/glaxium/glaxium-0.5.ebuild: line 54: `<<<<'

!!! ERROR: games-action/glaxium-0.5 failed.
Call stack:
  ebuild.sh, line 1477:   Called die

!!! error sourcing ebuild
!!! If you need support, post the topmost build error, and the call stack if rel  
evant.

aux_get(): (0) Error in '/usr/portage/games-action/glaxium/glaxium-0.5.ebuild'. (1)
               Check for syntax error or corruption in the ebuild. (--debug)

[ebuild   R   ] sys-apps/portage-2.1.2_rc3-r8  
# grep /var/cache out | grep -v O_RDONLY
open("/var/cache/edb/dep/.aux_db_key_temp.portage_lockfile", O_RDWR|O_CREAT, 0660) = 4





Portage 2.1.2_rc3-r8 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19.1-grsec x86_64)
=================================================================
System uname: 2.6.19.1-grsec x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.8
Last Sync: Wed, 20 Dec 2006 04:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.20_alpha2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.15.92.0.2-r10, 2.16-r1, 2.16.1, 2.16.1-r3, 2.16.90.0.3, 2.16.91.0.1, 2.16.91.0.2, 2.16.91.0.3, 2.16.91.0.4, 2.16.91.0.5, 2.16.91.0.6, 2.16.91.0.7, 2.16.92, 2.16.93, 2.16.94, 2.17, 2.17.50.0.2, 2.17.50.0.3, 2.17.50.0.4, 2.17.50.0.5, 2.17.50.0.6, 2.17.50.0.7, 2.17.50.0.8
sys-devel/gcc-config: 1.3.15
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests autoconfig buildsyspkg ccache cvs distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms sign splitdebug"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
INSTALL_MASK="/usr/share/applications /usr/kde/*/share/applications /lib/udev/devices"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,-z,relro"
LINGUAS="en en_GB de es cs"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo/gentoo-portage"
USE="amd64 X a52 aac aalib acl adns aio alsa apache2 asf audiofile berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups curl dba directfb divx4linux dlloader dri dts dvd dvdr dvdread elibc_glibc emboss encode exif fbcon ffmpeg firefox flac flash ftp gd gif glitz glut gphoto2 gpm gtk gtk2 iconv imap imlib input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_void ipv6 isdnlog jbig joystick jpeg jpeg2k kernel_linux libcaca libedit libg++ linguas_cs linguas_de linguas_en linguas_en_GB linguas_es lzo lzw mad maildir matroska mikmod mime mng modplug mp3 mpeg mplayer multislot musepack ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session sndfile spell spl ssl subtitles svg tcl tcltk tcpd tga theora threads tiff tk truetype truetype-fonts type1-fonts udev userland_GNU vcd video_cards_ati video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_sisusb video_cards_vga vorbis wma wmf xanim xine xinerama xml xml2 xorg xpm xrandr xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-12-20 07:53:56 UTC
even when i try with --nodeps, it still insists on screwing with cache files
Comment 2 Zac Medico gentoo-dev 2006-12-20 13:25:34 UTC
In svn r5337 it's fixed to minimize portdb cache pulls for installed packages when --nodeps is enabled.  This patch also allows the vardb lock to be released before doing any cache pulls (even when --nodeps is not enabled), and updates the spinner while the metadata is being pulled.
Comment 3 Zac Medico gentoo-dev 2006-12-20 19:18:38 UTC
This has been released in 2.1.2_rc3-r9.