Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309125 - Latest portage with USE="prefix-chaining" broken
Summary: Latest portage with USE="prefix-chaining" broken
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Interix
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-12 12:09 UTC by Sin Li
Modified: 2014-01-14 20:17 UTC (History)
3 users (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 Sin Li 2010-03-12 12:09:51 UTC
These are the packages that would be merged, in order:

Calculating dependencies... done!
Traceback (most recent call last):
  File "/opt/gentoo/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/main.py", line 1556, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/actions.py", line 282, in action_build
    settings, trees, myopts, myparams, myaction, myfiles, spinner)
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/depgraph.py", line 5532, in backtrack_depgraph
    myaction, myfiles, spinner)
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/depgraph.py", line 5550, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/depgraph.py", line 1794, in select_files
    return self._resolve(myfavorites)
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/depgraph.py", line 1916, in _resolve
    if not self._create_graph():
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/depgraph.py", line 719, in _create_graph
    allow_unsatisfied=allow_unsatisfied):
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/depgraph.py", line 1201, in _add_pkg_deps
    allow_unsatisfied, ignore_blockers=ignore_blockers, dep_type=dep_type):
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/depgraph.py", line 1245, in _add_pkg_dep_string
    strict=strict, priority=dep_priority, dep_type=dep_type)
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/depgraph.py", line 2092, in _select_atoms_highest_available
    myroot=root, trees=trees, dep_type=dep_type)
  File "/opt/gentoo/usr/lib/portage/pym/portage/dep/dep_check.py", line 674, in dep_check
    dep_type=dep_type, parent=trees[myroot].get("disp_parent"))
  File "/opt/gentoo/usr/lib/portage/pym/portage/dep/dep_check.py", line 304, in dep_wordreduce_readonly
    ro_matches = dep_match_readonly_roots(settings, unreduced[mypos], dep_type, parent)
  File "/opt/gentoo/usr/lib/portage/pym/portage/dep/dep_check.py", line 272, in dep_match_readonly_roots
    _tmp_settings = config(config_root=ro_root, target_root=ro_root,
NameError: global name 'config' is not defined
Comment 1 Fabian Groffen gentoo-dev 2010-03-12 12:11:00 UTC
please report your emerge --version
Comment 2 Sin Li 2010-03-12 12:19:23 UTC
Here's emerge --info in the child prefix:

Portage 2.2.00.15819-prefix (prefix/windows/winnt/6.1/x86, gcc-prefix-chain-wrapper-0.2, unavailable, 6.1 x86)
=================================================================
System uname: Interix-6.1-x86-32bit
Timestamp of tree: Fri, 12 Mar 2010 11:06:20 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
ACCEPT_KEYWORDS="x86-winnt ~x86-winnt"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache"
ARCH="x86-winnt"
AUTOCLEAN="yes"
BOOTLEVEL="boot"
C89_COMPILER="/dev/fs/C/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe"
C89_LINKER="/dev/fs/C/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/link.exe"
CBUILD="i586-pc-winnt6.1"
CCACHE_SIZE="10G"
CFLAGS="-D_ALL_SOURCE -D_REENTRANT -march=native -O2 -pipe"
CHOST="i586-pc-winnt6.1"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COMPUTER="SUPERBIA"
COMPUTERNAME="SUPERBIA"
COMSPEC="C:\Windows\system32\cmd.exe"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CONFIG_SITE="/dev/fs/C/Windows/SUA/home/Administrator/config.site"
CONSOLETYPE=""
CPPFLAGS="-D_ALL_SOURCE -D_REENTRANT -march=native -O2 -pipe"
CREDENTIALS="Sinbios"
CVS_RSH="ssh"
CXXFLAGS="-D_ALL_SOURCE -I/usr/local/include -D_ALL_SOURCE -I/usr/local/include "
DEFAULTLEVEL="default"
DEFAULT_PATH="/opt/gentoo/usr/sbin:/opt/gentoo/usr/bin:/opt/gentoo/sbin:/opt/gentoo/bin"
DISPLAY="localhost:10.0"
DISTDIR="/opt/gentoo/usr/portage/distfiles"
EDITOR="vi"
ELIBC="Winnt"
EMERGE_WARNING_DELAY="10"
EPREFIX="/opt/wingentoo"
EROOT="/opt/wingentoo/"
EXTRA_PATH="/usr/bin:/bin"
FCEDIT="vi"
FEATURES="assume-digests buildpkg collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/opt/gentoo/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FP_NO_HOST_CHECK="NO"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GUILE_LOAD_PATH="/opt/gentoo/usr/share/guile/1.8"
HISTCONTROL="ignoredups"
HISTIGNORE="[   ]*:&:bg:fg:exit"
HOME="/dev/fs/C/Windows/SUA/home/Administrator"
INFOPATH="/opt/wingentoo/usr/share/info"
INPUT_DEVICES="keyboard mouse"
INTERIX_ROOT="/dev/fs/C/Windows/SUA/"
INTERIX_ROOT_WIN="C:\Windows\SUA\"
KERNEL="Winnt"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS=""
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="Superbia+Sinbios"
LS_COLORS="di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=0"
MAIL="/var/mail/Superbia+Sinbios"
MAKEOPTS=""
MANPATH="/opt/wingentoo/usr/share/man:/usr/share/man:/opt/gentoo/usr/share/man:/opt/gentoo/usr/share/binutils-data/i586-pc-interix6.0/2.20.51.0.6/man:/opt/gentoo/usr/share/gcc-data/i586-pc-"
MSSDK="/dev/fs/C/Program Files (x86)/Microsoft SDKs/Windows/v7.0A"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NUMBER_OF_PROCESSORS="4"
OPENNT_ROOT="/dev/fs/C/Windows/SUA/"
OPENWINHOME="/usr/openwin"
OS="Windows_NT"
PAGER="/opt/wingentoo/usr/bin/less"
PATH="/opt/wingentoo/usr/bin:/opt/wingentoo/bin:/opt/wingentoo/opt/bin:/opt/wingentoo/usr/sbin:/opt/wingentoo/sbin:/opt/wingentoo//usr/i586-pc-winnt6.1/gcc-bin/i586-pc-winnt6.1-prefix-chain"
PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
PATH_ORIG="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
PATH_WINDOWS="/dev/fs/C/Windows/System32:/dev/fs/C/Windows/SUA/common"
PKGDIR="/packages/gentoo.winnt"
PKG_CONFIG_PATH="/opt/wingentoo/usr/lib/pkgconfig:/opt/wingentoo/usr/share/pkgconfig"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-li"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/opt/gentoo/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/opt/wingentoo/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/opt/wingentoo/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="Sinbios@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="Administrator"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="131616"
PORTAGE_GROUP="+Administrators"
PORTAGE_INST_GID="131616"
PORTAGE_INST_UID="197108"
PORTAGE_PYM_PATH="/opt/gentoo/usr/lib/portage/pym"
PORTAGE_ROOT_USER="Administrator"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/opt/wingentoo/var/tmp"
PORTAGE_USER="Sinbios"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/opt/gentoo/usr/portage"
PROCESSOR_ARCHITECTURE="AMD64"
PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 15 Stepping 11, GenuineIntel"
PROCESSOR_LEVEL="6"
PROCESSOR_REVISION="0f0b"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] "
PSMODULEPATH="C:\Windows\system32\WindowsPowerShell\v1.0\Modules\"
PWD="/opt/gentoo/usr/portage/dev-libs/glib"
PYTHONDONTWRITEBYTECODE="1"
READONLY_EPREFIX="/opt/gentoo:DEPEND"
RESUMECOMMAND="/opt/gentoo/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/wingentoo/opt/bin:/opt/wingentoo//usr/i586-pc-winnt6.1/gcc-bin/i586-pc-winnt6.1-prefix-chain-wrapper/0.2"
RPMDIR="/opt/gentoo/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SFUDIR="C:\Windows\SUA\"
SFUDIR_INTERIX="/dev/fs/C/Windows/SUA/"
SHELL="/opt/gentoo/bin/bash"
SHLVL="6"
SOFTLEVEL="boot"
SSH_CLIENT="::1 1597 2222"
SSH_CONNECTION="::1 1597 ::1 2222"
SSH_TTY="/dev/ttyp4"
SUA_ROOT="/dev/fs/C/Windows/SUA/"
SUA_ROOT_WIN="C:\Windows\SUA\"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
SYSTEMDRIVE="C:"
SYSTEMROOT="C:\Windows"
TEMP="C:\Users\Sinbios\AppData\Local\Temp"
TERM="xterm"
TMP="C:\Users\Sinbios\AppData\Local\Temp"
TMPDIR="/tmp"
TZ="EST5@tzres.dll4,M3.2.0/2,M11.1.0/2"
UIDPATH="/usr/X11R6/lib/X11/uid/%U"
USE="bzip2 cracklib cxx modules prefix prefix-chaining ssl static static-libs x86-winnt zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplu
USER="Superbia+Sinbios"
USERDOMAIN="Superbia"
USERLAND="GNU"
USERNAME="Sinbios"
USERPROFILE="C:\Users\Sinbios"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES L"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VISUAL="vi"
VS100COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\"
VS90COMNTOOLS="c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\"
WINDIR="C:\Windows"
XAPPLRESDIR="/usr/X11R6/lib/X11/app-defaults"
XCMSDB="/usr/X11R6/lib/X11/Xcms.txt"
XDG_DATA_DIRS="/opt/gentoo/usr/share"
XFILESEARCHPATH="/usr/X11R6/lib/X11/app-defaults/%N%S:/usr/X11R6/include/X11/bitmaps/%N%S"
XKEYSYMDB="/usr/X11R6/lib/X11/XKeysymDB"
XNLSPATH="/usr/X11R6/lib/X11/locale"
_="/opt/gentoo/usr/bin/emerge"
bash4="4.0.37(1)-release"
Comment 3 Sin Li 2010-03-12 12:19:59 UTC

Sorry, fatfingered commit.

The above was in the chained prefix.

Here's from the parent prefix:

Portage 2.2.00.15819-prefix (prefix/windows/interix/6.1/x86, gcc-4.2.4, unavailable, 6.1 x86)
=================================================================
System uname: Interix-6.1-x86-32bit
Timestamp of tree: Fri, 12 Mar 2010 11:06:20 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r7
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.9.6-r3, 1.10.2-r00.1, 1.11.1
sys-devel/binutils:  2.18-r4, 2.20.51.0.6
sys-devel/gcc:       4.2.4-r01.2
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
ACCEPT_KEYWORDS="x86-interix ~x86-interix"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="x86-interix"
AUTOCLEAN="yes"
C89_COMPILER="/dev/fs/C/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe"
C89_LINKER="/dev/fs/C/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/link.exe"
CBUILD="i586-pc-interix6.0"
CCACHE_SIZE="10G"
CFLAGS=" -I/opt/gentoo/usr/include/bind -D_ALL_SOURCE -D_REENTRANT -march=native -O2 -pipe"
CHOST="i586-pc-interix6.0"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COMPUTER="SUPERBIA"
COMPUTERNAME="SUPERBIA"
COMSPEC="C:\Windows\system32\cmd.exe"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CONFIG_SITE="/dev/fs/C/Windows/SUA/home/Administrator/config.site"
CPPFLAGS=" -I/opt/gentoo/usr/include/bind -D__INTERIX -D__SSE__ -D__MMX__ -D__SSE3__ -D__SSE2__ -D_ALL_SOURCE -D_REENTRANT -march=native -O2 -pipe"
CREDENTIALS="Sinbios"
CVS_RSH="ssh"
CXXFLAGS="-D_ALL_SOURCE -I/usr/local/include -D_ALL_SOURCE -I/usr/local/include "
DEFAULT_PATH="/opt/gentoo/usr/sbin:/opt/gentoo/usr/bin:/opt/gentoo/sbin:/opt/gentoo/bin"
DISPLAY="localhost:10.0"
DISTDIR="/opt/gentoo/usr/portage/distfiles"
EDITOR="vi"
ELIBC="Interix"
EMERGE_WARNING_DELAY="10"
EPREFIX="/opt/gentoo"
EROOT="/opt/gentoo/"
EXTRA_PATH="/usr/bin:/bin"
FCEDIT="vi"
FEATURES="assume-digests buildpkg ccache collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/opt/gentoo/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FP_NO_HOST_CHECK="NO"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GUILE_LOAD_PATH="/opt/gentoo/usr/share/guile/1.8"
HISTCONTROL="ignoredups"
HISTIGNORE="[   ]*:&:bg:fg:exit"
HOME="/dev/fs/C/Windows/SUA/home/Administrator"
INFOPATH="/opt/gentoo/usr/share/info:/opt/gentoo/usr/share/binutils-data/i586-pc-interix6.0/2.20.51.0.6/info:/opt/gentoo/usr/share/gcc-data/i586-pc-interix6.0/4.2.4/info"
INPUT_DEVICES="keyboard mouse"
INTERIX_ROOT="/dev/fs/C/Windows/SUA/"
INTERIX_ROOT_WIN="C:\Windows\SUA\"
KERNEL="Interix"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS=" -L/opt/gentoo/usr/lib/bind -lbind "
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="Superbia+Sinbios"
LS_COLORS="di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/Superbia+Sinbios"
MANPATH="/opt/gentoo/usr/share/man:/opt/gentoo/usr/share/binutils-data/i586-pc-interix6.0/2.20.51.0.6/man:/opt/gentoo/usr/share/gcc-data/i586-pc-interix6.0/4.2.4/man:/usr/share/man"
MSSDK="/dev/fs/C/Program Files (x86)/Microsoft SDKs/Windows/v7.0A"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NUMBER_OF_PROCESSORS="4"
OLDPWD="/opt/gentoo/usr/portage/dev-lang/python/files"
OPENNT_ROOT="/dev/fs/C/Windows/SUA/"
OPENWINHOME="/usr/openwin"
OS="Windows_NT"
PAGER="/opt/gentoo/usr/bin/less"
PATH="/opt/gentoo/usr/bin:/opt/gentoo/bin:/opt/gentoo/opt/bin:/opt/gentoo/usr/sbin:/opt/gentoo/sbin:/opt/gentoo/usr/i586-pc-interix6.0/gcc-bin/4.2.4:/usr/bin:/bin"
PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
PATH_ORIG="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
PATH_WINDOWS="/dev/fs/C/Windows/System32:/dev/fs/C/Windows/SUA/common"
PKGDIR="/packages/gentoo"
PKG_CONFIG_PATH="/opt/gentoo/usr/lib/pkgconfig:/opt/gentoo/usr/share/pkgconfig"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/opt/gentoo/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/opt/gentoo/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/opt/gentoo/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="Sinbios@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="Administrator"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="131616"
PORTAGE_GROUP="+Administrators"
PORTAGE_INST_GID="131616"
PORTAGE_INST_UID="197108"
PORTAGE_PYM_PATH="/opt/gentoo/usr/lib/portage/pym"
PORTAGE_ROOT_USER="Administrator"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/opt/gentoo/var/tmp"
PORTAGE_USER="Sinbios"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/opt/gentoo/usr/portage"
PROCESSOR_ARCHITECTURE="AMD64"
PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 15 Stepping 11, GenuineIntel"
PROCESSOR_LEVEL="6"
PROCESSOR_REVISION="0f0b"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PS1="${debian_chroot:+($debian_chroot)}\u@\h:\w\$ "
PSMODULEPATH="C:\Windows\system32\WindowsPowerShell\v1.0\Modules\"
PWD="/opt/gentoo/usr/portage/dev-lang/python"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/opt/gentoo/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/gentoo/opt/bin:/opt/gentoo/usr/i586-pc-interix6.0/gcc-bin/4.2.4"
RPMDIR="/opt/gentoo/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SFUDIR="C:\Windows\SUA\"
SFUDIR_INTERIX="/dev/fs/C/Windows/SUA/"
SHELL="/opt/gentoo/bin/bash"
SHLVL="4"
SSH_CLIENT="::1 2135 2222"
SSH_CONNECTION="::1 2135 ::1 2222"
SSH_TTY="/dev/ttyp5"
SUA_ROOT="/dev/fs/C/Windows/SUA/"
SUA_ROOT_WIN="C:\Windows\SUA\"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
SYSTEMDRIVE="C:"
SYSTEMROOT="C:\Windows"
TEMP="C:\Users\Sinbios\AppData\Local\Temp"
TERM="xterm"
TERMCAP="/usr/share/termcap"
TMP="C:\Users\Sinbios\AppData\Local\Temp"
TMPDIR="/tmp"
TZ="EST5@tzres.dll4,M3.2.0/2,M11.1.0/2"
UIDPATH="/usr/X11R6/lib/X11/uid/%U"
USE="X Xaw3d bash-completion bazaar bindist bzip2 cairo cleartype cracklib cscope curl cxx dbus exif expat fontconfig gdbm git gmp gnulib gold gtk jpeg libffi lzo mad mng modules mp3 mpfr multislot multitarget ncurses netpbm nls pcre pdf perl png prefix prefix-chaining python readline ssl subversion svg threads tk truetype vorbis x86-interix xinerama xml xpm zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Interix" INPUT_DEVICES="keyboard mouse" KERNEL="Interix" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU"
USER="Superbia+Sinbios"
USERDOMAIN="Superbia"
USERLAND="GNU"
USERNAME="Sinbios"
USERPROFILE="C:\Users\Sinbios"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VISUAL="vi"
VS100COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\"
VS90COMNTOOLS="c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\"
WINDIR="C:\Windows"
XAPPLRESDIR="/usr/X11R6/lib/X11/app-defaults"
XCMSDB="/usr/X11R6/lib/X11/Xcms.txt"
XDG_DATA_DIRS="/opt/gentoo/usr/share"
XFILESEARCHPATH="/usr/X11R6/lib/X11/app-defaults/%N%S:/usr/X11R6/include/X11/bitmaps/%N%S"
XKEYSYMDB="/usr/X11R6/lib/X11/XKeysymDB"
XNLSPATH="/usr/X11R6/lib/X11/locale"
_="/opt/gentoo/usr/bin/emerge"
bash4="4.0.37(1)-release"


Emerge --sync in the parent prefix is broken as well:

Administrator@Superbia:/opt/gentoo/usr/portage/dev-libs/glib# emerge --sync
Traceback (most recent call last):
  File "/opt/gentoo/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/main.py", line 1472, in emerge_main
    return action_sync(settings, trees, mtimedb, myopts, myaction)
  File "/opt/gentoo/usr/lib/portage/pym/_emerge/actions.py", line 1786, in action_sync
    rsync_bin = portage.readonly_pathmatch_any(settings, "/usr/bin/rsync")
AttributeError: 'module' object has no attribute 'readonly_pathmatch_any'


Just noticed my CXXFLAGS has -I/usr/local/include, not sure why.
Comment 4 Sin Li 2010-03-24 20:41:49 UTC
Found the problem for emerging in the child:

Sinbios@Superbia:~$ diff -u /opt/gentoo/usr/lib/portage/pym/portage/dep/dep_check.py.orig /opt/gentoo/usr/lib/portage/pym/portage/dep/dep_check.py
--- /opt/gentoo/usr/lib/portage/pym/portage/dep/dep_check.py.orig       2010-03-24 16:39:00.000000000 -0400
+++ /opt/gentoo/usr/lib/portage/pym/portage/dep/dep_check.py    2010-03-24 00:07:54.000000000 -0400
@@ -269,10 +269,10 @@
        for ro_root in ro_trees[dep_type]:
                if not ro_vartrees.has_key(ro_root):
                        # target_root=ro_root ok? or should it be the real target_root?
-                       _tmp_settings = config(config_root=ro_root, target_root=ro_root,
+                       _tmp_settings = portage.config(config_root=ro_root, target_root=ro_root,
                                config_incrementals=portage.const.INCREMENTALS)

-                       ro_vartrees[ro_root] = vartree(root=ro_root,
+                       ro_vartrees[ro_root] = portage.vartree(root=ro_root,
                                categories=_tmp_settings.categories,
                                settings=_tmp_settings, kill_eprefix=True)

Why? Dunno. Syncing seems to have fixed itself over the past few portage updates.
Comment 5 Markus Duft (RETIRED) gentoo-dev 2010-03-25 08:42:12 UTC
i committed you changes to the patch, but still havent tested it myself (no time ;] ) ... thanks anyway, and: can you test? :)
Comment 6 Sin Li 2010-03-25 14:20:37 UTC
Seems to have worked. 
Comment 7 Sin Li 2010-03-25 17:30:33 UTC
Whoops, syncing still fails. Forgot I fixed it by hardcoding the rsync path.

Another thing, when dependencies are installed in the child, it still looks in the parent for those dependencies, e.g. openssl.
Comment 8 Markus Duft (RETIRED) gentoo-dev 2010-03-26 09:07:13 UTC
(In reply to comment #7)
> Whoops, syncing still fails. Forgot I fixed it by hardcoding the rsync path.

ah, ok :) so i'll have a look at it...

> 
> Another thing, when dependencies are installed in the child, it still looks in
> the parent for those dependencies, e.g. openssl.
> 

what do you mean? prefix-chaining is _supposed_ to lookup DEPEND dependencies from the parent prefix. "only" RDEPEND and PDENPEND dependencies are looked up locally (and as a second chance, DEPENDs are installed locally if they are not present in the parent of course). since some packages do things like DEPEND='blahblah'; RDEPEND="${DEPEND} blah2"; it is possible that the chaining portage tells you that it satisfied 'blahblah' from both prefixes (i.e already installed in parent, and to-be-installed in child). is this what you meant?

Comment 9 Sin Li 2010-03-30 16:26:46 UTC
What I really meant was, say I built openssl on x86-winnt and proceed to attempt to build openssh on x86-winnt. Portage now looks to x86-interix for the openssl library. Shouldn't the child prefix show a preference for its own packages over that of the parent?
Comment 10 Markus Duft (RETIRED) gentoo-dev 2010-04-01 06:27:21 UTC
(In reply to comment #9)
> What I really meant was, say I built openssl on x86-winnt and proceed to
> attempt to build openssh on x86-winnt. Portage now looks to x86-interix for the
> openssl library. Shouldn't the child prefix show a preference for its own
> packages over that of the parent?
> 

i'll for this ignore, that building openssh x86-winnt will be a _very_ hard job, if possible at all :)

yeah, portage should in that case prefer the child prefix openssl. you won't see any notice of this dependency beein satisfied in the output. however, if openssh does something like this:

DEPEND="openssl"
RDEPEND=$DEPEND

you _will_ see openssl beeing torn in from the x86-interix prefix, because of the DEPEND to it. the RDEPEND to openssl is however resolved from the x86-winnt prefix. if openssl is not yet installed, you will see that portage will merge openssl before openssh, and _still_ tell you that the DEP has been resolved from the x86-interix prefix (for more in depth information, you'll have to read the patch, i guess ;)).

if it doesn't behave like this, the patch is broken i guess...
Comment 11 Pacho Ramos gentoo-dev 2012-10-07 13:58:35 UTC
Not sure if prefix team could help now that Markus is not able to help a lot until 2013
Comment 12 Pacho Ramos gentoo-dev 2013-01-20 08:24:44 UTC
Will reassign as mduft is on a long devaway and won't be able to take care of this
Comment 13 Fabian Groffen gentoo-dev 2014-01-14 20:17:02 UTC
prefix chaining unfortunately is no longer "in use"