Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183431 - portage not resilient to profile parent funkiness
Summary: portage not resilient to profile parent funkiness
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 181949 187293
  Show dependency tree
Reported: 2007-06-27 16:41 UTC by SpanKY
Modified: 2007-06-29 02:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

allow emerge to continue with actions that don't require a valid profile (parserror.patch,779 bytes, patch)
2007-06-28 05:00 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2007-06-27 16:41:11 UTC
any operation fails if "parent" contains a broken entry ... imagine someone making a typo, committing it, and then users no longer able to rsync ;(

root@vapier 0 ~ # echo ../moo/moo/mr/cow >> /etc/make.profile/parent
root@vapier 0 ~ # emerge
Traceback (most recent call last):
  File "/usr/bin/emerge", line 5599, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 5299, in emerge_main
    settings, trees, mtimedb = load_emerge_config()
  File "/usr/bin/emerge", line 5184, in load_emerge_config
    trees = portage.create_trees(trees=trees, **kwargs)
  File "/usr/lib64/portage/pym/", line 8420, in create_trees
  File "/usr/lib64/portage/pym/", line 1128, in __init__
  File "/usr/lib64/portage/pym/", line 1124, in addProfile
    raise portage_exception.ParseError(
portage_exception.ParseError: Parent '/usr/portage/profiles/default-linux/amd64/2006.1/moo/moo/mr/cow' not found: '/usr/portage/profiles/default-linux/amd64/2006.1/desktop/parent'

Portage 2.1.3_rc5 (default-linux/amd64/2006.1/desktop, gcc-4.2.0, glibc-2.6-r0, x86_64)
System uname: x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 26 Jun 2007 04:00: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-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.16-r1, 2.16.1, 2.16.1-r3,,,,,,,,, 2.16.92, 2.16.93, 2.16.94, 2.17,,,,,,,,,,,,,,,,
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -march=k8 -pipe -g -Wimplicit-function-declaration"
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/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe -g"
FEATURES="assume-digests buildsyspkg ccache cvs distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms sign splitdebug unmerge-orphans"
INSTALL_MASK="/usr/share/applications /usr/kde/*/share/applications"
LDFLAGS="-Wl,-O1 -Wl,-z,relro"
LINGUAS="en en_GB de es cs"
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 --filter=H_**/files/digest-*"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/src/gentoo/overlays/vapier/enlightenment"
USE="X a52 aac aalib acl adns aio alsa amd64 apache2 asf audiofile berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups curl dba directfb divx4linux dri dts dvd dvdr dvdread emboss encode exif fbcon ffmpeg firefox flac flash ftp gd gif glitz glut gphoto2 gpm gtk gtk2 iconv imap imlib ipv6 isdnlog jbig joystick jpeg jpeg2k libcaca libedit libg++ lzo lzw mad maildir matroska midi mikmod mime mng modplug mp3 mpeg mplayer mudflap multislot musepack ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl openmp 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 vcd vorbis wma wmf xanim xcomposite xine xinerama xml xml2 xorg xpm xrandr xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="mouse keyboard joystick void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de es cs" USERLAND="GNU" VIDEO_CARDS="nvidia nv ati r128 radeon vga sisusb"
Comment 1 Zac Medico gentoo-dev 2007-06-28 05:00:36 UTC
Created attachment 123272 [details, diff]
allow emerge to continue with actions that don't require a valid profile

This is fixed in svn r7074.
Comment 2 Zac Medico gentoo-dev 2007-06-29 02:55:21 UTC
This has been released in 2.1.3_rc6.