Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 337376

Summary: use flags creating slot conflict
Product: Gentoo Linux Reporter: Lance Lassetter <lancelassetter>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: lancelassetter
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-844359-highlight-.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Lance Lassetter 2010-09-14 23:03:05 UTC
There is no solution in merging php 5.3.3-r1 and base 1.4.1-r1.  Either one package needs -gd-external or the other needs gd, etc.  The only solution is masking base 1.4.1-r1 and using base 1.4.1 and php 5.3.3-r1.  The comments /usr/portage/profiles/use.desc recommend against using gd-external and using gd use flag instead.  "gd-external - Use the external version of gd rather than the bundled one (possibly dangerous)"

Reproducible: Always

Steps to Reproduce:
1.  eix-sync
2.  emerge -puDNv world
3.  locally mask base 1.4.1-r1 and use 1.4.1 as a temporary alternative.

Actual Results:  
Unable to install base 1.4.1-r1.

Expected Results:  
base 1.4.1-r1 installed.
Comment 1 Lance Lassetter 2010-09-15 00:44:54 UTC
forgot to mention, ACCEPT_KEYWORDS="~amd64 amd64" are set in make.conf.
Comment 2 Lance Lassetter 2010-09-16 02:18:11 UTC
this is also blocking `emerge --depclean` as portage expects base 1.4.1-r1 to be installed.  included is `emerge --info`

# emerge --info
Portage 2.1.9.7 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-tuxonice-r1 x86_64)
=================================================================
System uname: Linux-2.6.35-tuxonice-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 15 Sep 2010 22:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fail-clean fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/berkano /var/lib/layman/zugaina /var/lib/layman/pure-funtoo /var/lib/layman/multimedia /var/lib/layman/hollow /var/lib/layman/hawking /var/lib/layman/anarchy /var/lib/layman/DuPol /var/lib/layman/mozilla /var/lib/layman/pentoo /var/lib/layman/sabayon /var/lib/layman/suka /var/lib/layman/soor-overlay /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="64bit X a52 aac abiword acl acpi alsa amd64 apache2 applet audacious audioscrobbler auto-completion backgrounds bash-completion berkdb binary-drivers bindist bookmarks branding bzip2 cairo ccache cdda cddb cdinstall cdparanoia cdr cdsound charmap cleartype cli colordiff colorpicker consolekit corefonts coverage coverart cracklib crypt ctype cups curl custom-cflags cxx dbus device-mapper distribution dri dts dvd dvdnav dvdr dvi dynamicplugin eds emboss emerald enca encode evo exif extensions extras fam fbsplash ffmpeg firefox flac fontconfig fontforge fortran fuse gconf gd gd-external gdbm gdu gif gnome gnome-keyring gnutls gpm gstreamer gtk hibernate-script iconv id3tag imap innodb jabber java jpeg ladspa lame laptop lastfm lastfmradio lcms libnotify libwww lights mad maps mbox mdnsresponder-compat mikmod mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nano-syntax nautilus ncurses network-cron networking nls nptl nptlonly nsplugin nvidia offensive ogg oidentd openal opengl openmp openntpd openssl oss pam pango parse-clocks pcre pdf perl php plugins pm-utils png policykit postfix powersave ppds pppd prediction pulseaudio python qmax qt3support raw readline reflection scrobbler sdl secure-delete sensord session showtabbar smartspaces smp spamassassin spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs syslog tcpd terminal textures theora threads tiff transcode trayicon truetype type1 udev unicode upnp usb userlocales v4l videos vim-syntax vorbis web webcam webkit wifi wiki wikipedia wma wmf x264 xcb xcomposite xft xml xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Lance Lassetter 2010-09-17 01:33:49 UTC
this seems to be fixed with portage 2.1.9.7 can someone confirm? gd-external use flag set and gd use flag unset.  emerge -puDNv world pulls in:

glibc, php, base 

all with -gd and php with gd-external
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-21 18:20:10 UTC

*** This bug has been marked as a duplicate of bug 337034 ***