Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343799 - app-admin/php-toolkit is blocking app-admin/eselect-php-0.6.1
Summary: app-admin/php-toolkit is blocking app-admin/eselect-php-0.6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-02 09:17 UTC by tman
Modified: 2010-12-22 20:33 UTC (History)
1 user (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 tman 2010-11-02 09:17:28 UTC
its blocking and nothing solve this, neither unmasking it or delete this app-admin/php-toolkit

Reproducible: Always

Steps to Reproduce:

Actual Results:  
[ebuild     U ] mail-client/evolution-2.32.0 [2.30.3] USE="(-gtk3)" 
[blocks B     ] dev-lang/php:5 ("dev-lang/php:5" is blocking dev-lang/php-5.3.3-r3)
[blocks B     ] app-admin/php-toolkit ("app-admin/php-toolkit" is blocking app-admin/eselect-php-0.6.1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-lang/php-5.3.3-r3, ebuild scheduled for merge) pulled in by
    dev-lang/php required by (net-print/cups-1.4.4-r2, installed)
    dev-lang/php[postgres,session] required by (dev-db/phppgadmin-4.2.3, installed)
    =dev-lang/php-5.3*[apache2] required by (virtual/httpd-php-5.3, installed)
    (and 6 more)

  (dev-lang/php-5.3.3-r1, ebuild scheduled for merge) pulled in by
    dev-lang/php:5 required by (dev-libs/ossp-uuid-1.6.2, installed)
Comment 1 tman 2010-11-02 09:19:26 UTC
Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 02 Nov 2010 09:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
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.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/fstab /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/xsessions/openbox.desktop /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
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="/usr/portage/local/layman/emacs /usr/portage/local/layman/gnome /usr/portage/local/layman/lorelei /usr/portage/local/layman/wirelay /usr/portage/local/layman/mpd /usr/portage/local/layman/roslin /usr/portage/local/layman/scarabeus /usr/portage/local/layman/gamerlay /usr/portage/local/layman/science /usr/portage/local/layman/mellon /usr/portage/local/layman/techwolf /usr/portage/local/layman/qting-edge /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile bash-completion beagle berkdb bidi bluetooth bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk clamdtop cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs cxx dbus dc1394 dga dhcp dhcpcd dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs enca encode enscript exceptions exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hal hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 ithreads jabber jack java java6 javascript jbig jingle joystick jpeg jpeg2k kerberos lame lapack latex lcms ldap libcaca libwww live logrotate lua lzo mad maildir matroska mbrola md5sum memlimit mercurial mhash midi mikmod milter mime mjpeg mmap mmx mmxext mng mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses netboot network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pcap pcmcia pcre pdf perl php pic pidgin png policykit posix postgres ppds ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sse sse2 ssl ssse3 stream stun subversion svg swat sysfs syslog sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel" 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" APACHE2_MODULES=" actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga nouveau" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Matti Bickel (RETIRED) gentoo-dev 2010-11-11 09:14:19 UTC
Does
emerge -C php php-toolkit
help?
Comment 3 Blu3 2010-11-12 08:11:33 UTC
no, because several packages want php:5.3-r1 and -r3 concurrently, including php:5.2, which causes fights to break out because these then want either eselect-php or php-toolkit, which can't work together
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2010-11-12 08:15:58 UTC
(In reply to comment #3)
> no, because several packages want php:5.3-r1 and -r3 concurrently, including
> php:5.2, which causes fights to break out because these then want either
> eselect-php or php-toolkit, which can't work together
> 

We could have missed some packages, but most likely, this is happening because you are mixing arch with ~arch packages. You need to not only upgrade php to ~arch, but also all packages that depend on php.

If there are any packages that have no version in ~arch working for php-5.3.3-r3, please file a bug about this and we will fix it asap.
Comment 5 Blu3 2010-11-12 08:30:55 UTC
yes.  well the fun part is that emerge refuses to do any updating at all since
these few packages are blocking each other.  that means weeding through the
~400 packages that need updating and doing them by hand.

i'm currently trying to figure out why pecl-imagick insists on using 5.2
regardless of how hard i try to push it to use 5.3
Comment 6 Ole Markus With (RETIRED) gentoo-dev 2010-11-12 08:47:35 UTC
(In reply to comment #5)
> yes.  well the fun part is that emerge refuses to do any updating at all since
> these few packages are blocking each other.  that means weeding through the
> ~400 packages that need updating and doing them by hand.
> 

That shouldn't really be necessary. Emerge should report which packages tries to pull in php:5

> i'm currently trying to figure out why pecl-imagick insists on using 5.2
> regardless of how hard i try to push it to use 5.3
> 

Make sure that PHP_TARGETS includes php5-3 and that you have pecl-imagick-3.0.0-r1 unmasked. At least that works for me.
Comment 7 Blu3 2010-11-12 09:17:38 UTC
i can backtrack the dependency try as needed.  even the barest emerge --nodeps
pecl-imagick (with php target as 5.3, and increasing number of portage
variables to force 5.3), still tries to install 5.2

PHP_TARGET is set to only 5.3.

how about this:
[blocks B     ] dev-lang/php:5 ("dev-lang/php:5" is blocking dev-lang/php-5.3.3-r3)
...
[U] dev-lang/php
     Available versions:  
        (5)     5.2.14 [5.3.3-r1]
        (5.2)   [m](~)5.2.14-r2
        (5.3)   (~)5.3.3-r3

why is -r1 installed in slot 5 instead of 5.3? :}
Comment 8 Ole Markus With (RETIRED) gentoo-dev 2010-11-12 09:44:35 UTC
(In reply to comment #7)
> i can backtrack the dependency try as needed.  even the barest emerge --nodeps
> pecl-imagick (with php target as 5.3, and increasing number of portage
> variables to force 5.3), still tries to install 5.2
> 
> PHP_TARGET is set to only 5.3.
> 
> how about this:
> [blocks B     ] dev-lang/php:5 ("dev-lang/php:5" is blocking
> dev-lang/php-5.3.3-r3)
> ...
> [U] dev-lang/php
>      Available versions:  
>         (5)     5.2.14 [5.3.3-r1]
>         (5.2)   [m](~)5.2.14-r2
>         (5.3)   (~)5.3.3-r3
> 
> why is -r1 installed in slot 5 instead of 5.3? :}
> 

-r1 is an ebuild belonging to the old major slotting scheme, while -r3 belongs to the new minor slotting scheme. Packages supporting minor version slotting blocks packages supporting major version slotting and vice versa. You cannot have both installed on the same system.
Comment 9 Blu3 2010-11-12 10:05:50 UTC
it looks like some more scripts needs some fixups.  i blew away all installs of php.  /usr/bin/phpize was left a dangling symlink to /usr/lib64/php5/bin/phpize.

i nodep installed php5.3.3-r3 which makes /usr/lib64/php5.3/bin/phpize but doesn't update the symlink.  ossp-uuid fails to find it.

25554 stat("/usr/lib64/portage/bin/ebuild-helpers/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/local/sbin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/local/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/sbin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/sbin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/opt/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/x86_64-pc-linux-gnu/arm-linux/gcc-bin/3.4.4/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/x86_64-pc-linux-gnu/arm-softfloat-linux-uclibc/gcc-bin/4.2.2/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.4.3/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.0/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/opt/blackdown-jdk-1.4.2.03/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/opt/blackdown-jdk-1.4.2.03/jre/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/kde/4.2/sbin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/kde/4.2/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/usr/lib64/subversion/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)
25554 stat("/opt/eagle-5.10.0/bin/phpize", 0x7fff152150a0) = -1 ENOENT (No such file or directory)

manually creating the symlink and we get much further.  can't find php-config now.  exactly the same issue.  not fixable yet.  strace indicates that it's looking ONLY for /usr/lib64/php5/bin/php-config

btw, the build and install of php 5.3.3-r3 appeared fine on the surface.

move php5 to a tempdir, symlink 5.3 to 5, try again.  it presses on the entire way and installs.

it looks like the new 5.3 slotted ebuild needs a bit of love?


Comment 10 Blu3 2010-11-12 10:21:33 UTC
looks like ossp-uuid needs it's ebuild updated to depend on php5.3 slot instead of php5.  with that edited, i now have a nearly clean upgrade list - just need to resolve kexi and libpq.  i haven't found any php packages yet that i removed that having problems. pecl-imagick went back in fine with 5.3 and the list of additionals appears to be going in smoothly.  after everything is back in, i'll delete that php5->php5.3 symlink.

that's a bug to fix for another day.
Comment 11 Ole Markus With (RETIRED) gentoo-dev 2010-11-12 10:42:24 UTC
(In reply to comment #9)
> it looks like some more scripts needs some fixups.  i blew away all installs of
> php.  /usr/bin/phpize was left a dangling symlink to
> /usr/lib64/php5/bin/phpize.
> 

This should be taken care of by eselect at the end of the -r3 install. If it doesn't, then that is a bug, but something I cannot reproduce here.

(In reply to comment #10)
> looks like ossp-uuid needs it's ebuild updated to depend on php5.3 slot instead
> of php5.  with that edited, i now have a nearly clean upgrade list - just need
> to resolve kexi and libpq.  i haven't found any php packages yet that i removed
> that having problems. pecl-imagick went back in fine with 5.3 and the list of
> additionals appears to be going in smoothly.  after everything is back in, i'll
> delete that php5->php5.3 symlink.
> 
> that's a bug to fix for another day.
> 

ossp-uuid is not controlled by the php herd, so you have to file a bug to them about that.
Comment 12 Johnny 2010-12-04 05:27:59 UTC
(In reply to comment #8)
> -r1 is an ebuild belonging to the old major slotting scheme, while -r3 belongs
> to the new minor slotting scheme. Packages supporting minor version slotting
> blocks packages supporting major version slotting and vice versa. You cannot
> have both installed on the same system.
> 

Thanks. That solved my issue with the blocking. Any chance that info can be added to the guide so folks know to go for >=5.3.3-r3 ?
Comment 13 f1r31c3r 2010-12-22 20:33:02 UTC
this is the output while package.mask contains

=dev-lang/php-5.2.14
=dev-lang/php-5.3.4

So as detailed bellow i then masked 5.3.3-r1 as well.

[blocks B     ] app-admin/php-toolkit ("app-admin/php-toolkit" is blocking app-admin/eselect-php-0.6.1)

Total: 44 packages (37 upgrades, 1 downgrade, 4 new, 1 in new slot, 1 reinstall), Size of downloads: 30,201 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (app-admin/eselect-php-0.6.1, installed) pulled in by
    app-admin/eselect-php required by (dev-lang/php-5.2.16, installed)

  (app-admin/php-toolkit-1.0.1, ebuild scheduled for merge) pulled in by
    app-admin/php-toolkit required by (dev-lang/php-5.3.3-r1, ebuild scheduled for merge)


The only way i could work around this to get my system to update and Temporarally fix the system was to:

gedit /etc/portage/package.keywords

and add:

=dev-lang/php-5.2.14
=dev-lang/php-5.3.4
=dev-lang/php-5.3.3-r1

Save and re-run your emerge update.

This worked for me as it seems the 5.3.3-r1 package pulls in a version of php-toolkit that wont work with eselect-php. 5.2.14 was being chosen by portage instead of 5.2.16 hence i masked it because 5.2.14 does not work with eselect-php. Well the major culprit for December 2010 is the 5.3.4 which blocks against 5.3.3-r1(php:5) and causes php-toolkit and eselect-php to block each other.

so i masked all three and it solved the complaining so this is a temp fix.

Note when 5.3.4 is unmasked php:5 is blocking php-5.3.4 On my system. php:5 points to 5.3.3-r1 no matter how i install the -r3 revision emerge world pulls php:5 as -r1 revision so emerge world fails every time for me.

I have no idea how to modify the php:5 variable that is being pulled in by emerge.

What is also odd is that when 5.3.4 is unmasked it causes php-toolkit and eselect-php to block each other yet with 5.2.16 these two packages are happy to coincide on the same system together.