Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111815 - Syntax || ( ) handling does not seem to work properly thus breaking depgraphs.
Summary: Syntax || ( ) handling does not seem to work properly thus breaking depgraphs.
Status: VERIFIED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-07 13:32 UTC by solar (RETIRED)
Modified: 2007-01-11 11:06 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 solar (RETIRED) gentoo-dev 2005-11-07 13:32:25 UTC
alto ~ # ROOT="/" emerge -Kpv system

These are the packages that I would merge, in order:

Calculating system dependencies ...done!

Total size of downloads: 0 kB

-------------------------------------------------------------------------------

alto ~ # ROOT="$PWD/onyx" emerge -Kpv system

These are the packages that I would merge, in order:

Calculating system dependencies -
!!! There are no packages available to satisfy: "=sys-devel/gcc-3.3*"
!!! Either add a suitable binary package or compile from an ebuild.


!!! Problem resolving dependencies for sys-devel/gcc
!!! Depgraph creation failed.
-------------------------------------------------------------------------------

As we can see in the second part the depgraph is broken as I dont have any 
gcc-3.3.x packages.

The depstring that causes it is.

Depstring: sys-devel/gcc-config !nocxx? ( !arm? ( !mips? ( !ia64? (
!elibc_uclibc? ( !build? ( || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) ) )
) ) ) )

-------------------------------------------------------------------------------
Remerging gcc-config with USE=build seems to have no effect and the dep is still 
attempted.

What does seem to make it work is 
mkdir -p foo
export ROOT=$PWD/foo
emerge -pvKO system

But it's downright strange to have todo this all of the sudden. What I think is 
happening is it's looking in the ROOT= for sys-libs/libstdc++-v3 or 
=sys-devel/gcc-3.3* but neither exists there and portage cant cope with that.

Note: I've been doing lots of installs via ROOT=/foo emerge -K system for a very 
long time without problems, so this seems new to .53_rc(6|7)
-------------------------------------------------------------------------------

alto ~/onyx # emerge info
Portage 2.0.53_rc7 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.4.20041102-r1,
2.6.13-hardened-r1 i686)
=================================================================
System uname: 2.6.13-hardened-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=i686 -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks noinfo sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://open-systems.ufl.edu/mirrors/gentoo http://mirror.tucdemonic.org/gentoo/
http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt divx4linux dlloader
dts dv dvd dvdr eds esd ethereal evo fam ffmpeg gif gimpprint gnome gpm gps
gstreamer gtk gtk2 hardened imlib jpeg justify libclamav libwww matroska mmx mng
mozilla mpeg mysql ncurses oav offensive ogg oggvorbis opengl pam perl pic pie
png ppds readline rtc samba sdl snmp spell sse ssl tcpd threads tiff truetype
truetype-fonts udev usb userlocales v4l vorbis x86 xinerama xml xml2 xmms xosd
xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-11-08 02:59:03 UTC
This has nothing to do with gcc-config. I can't tell without more of the debug   
output, but it looks to be the RDEPEND of a gcc-3.4 package you have. 
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-11-11 07:43:56 UTC
If I was unclear in my last comment, I can't reproduce this and I can't see  
any bug here. 
Comment 3 solar (RETIRED) gentoo-dev 2005-11-11 15:38:33 UTC
To work around this bug I had to explicity merge ~arch packages into ROOT = / 
before I could merge into ROOT=/foo. 
I wont be able to get access to the box till mondayish and mondays are 
pretty busy for me. 
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 11:06:41 UTC
Closing due to old age