Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610672 - virtual/imagemagick-tools pulls media-gfx/graphicsmagick[imagemagick] even though media-gfx/imagemagick already satisfies the virtual
Summary: virtual/imagemagick-tools pulls media-gfx/graphicsmagick[imagemagick] even th...
Status: RESOLVED DUPLICATE of bug 554070
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-23 10:46 UTC by pa.lacaze
Modified: 2017-02-26 13:01 UTC (History)
1 user (show)

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


Attachments
emerge info (emerge-info.txt,6.47 KB, text/plain)
2017-02-23 10:46 UTC, pa.lacaze
Details
emerge world (emerge-world.txt,8.09 KB, text/plain)
2017-02-23 10:48 UTC, pa.lacaze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pa.lacaze 2017-02-23 10:46:08 UTC
Created attachment 464830 [details]
emerge info

I have media-gfx/imagemagick and media-gfx/graphicsmagick[-imagemagick] installed concurrently. media-gfx/inkscape depends on imagemagick directly, and I also set up sci-mathematics/octave to depend on graphicsmagick[-imagemagick] mainly to reduce the rebuild madness triggered by every new imagemagick micro version.

virtual/imagemagick-tools has been introduced, and is satisfied as it stands, or so I thought. Portage insists on switching graphicsmagick's useflag 'imagemagick' on in order to satisfy the virtual, even though it is not necessary because already provided by media-gfx/imagemagick.

I already had to update imagemagick and install imagemagick-tools first in order to avoid blocking over @world, and today I see the problem again.

My guess is that media-gfx/graphicsmagick[imagemagick] is favoured over media-gfx/imagemagick somehow. I am in a bind.

# emerge -uD --changed-use @world --keep-going --quiet -av
[ebuild     U ] sys-apps/opentmpfiles-0.1.1 [0.1]
[ebuild     U ] app-arch/zstd-1.1.3 [1.1.0] USE="-static-libs" 
[ebuild     U ] dev-util/ccache-3.3.4 [3.3.3]
[ebuild     U ] media-libs/jbig2dec-0.13-r1 [0.13] USE="png -static-libs {-test}" 
[ebuild     U ] dev-lang/perl-5.24.1-r1 [5.24.1] USE="berkdb gdbm ithreads -debug -doc" 
[ebuild     U ] sys-kernel/linux-headers-4.10 [4.9]
[ebuild     U ] virtual/perl-Time-Local-1.230.0-r5 [1.230.0-r4]
[ebuild     U ] app-text/qpdf-6.0.0-r2 [6.0.0-r1] USE="perl -doc -examples -static-libs {-test}" 
[ebuild  NS   ] sys-kernel/gentoo-sources-4.10.0 [4.8.3, 4.9.6, 4.9.10] USE="experimental -build -symlink" 
[ebuild     U ] sys-apps/iproute2-4.10.0 [4.9.0] USE="berkdb iptables -atm -ipv6 -minimal (-selinux)" 
[ebuild     U ] sys-libs/efivar-31 [30]
[ebuild     U ] sys-devel/libtool-2.4.6-r3 [2.4.6-r2] USE="-vanilla" 
[ebuild     U ] dev-db/sqlite-3.17.0 [3.16.2] USE="readline -debug -doc -icu -secure-delete -static-libs -tcl {-test} -tools" ABI_X86="(64) -32 (-x32)" 
[ebuild     U ] app-text/libpaper-1.1.24_p5 [1.1.24-r2] ABI_X86="(64) -32 (-x32)" 
[ebuild     U ] dev-libs/libuv-1.11.0 [1.10.2] USE="-static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild     U ] net-libs/liblockfile-1.14 [1.13]
[ebuild     U ] dev-libs/nss-3.29.1 [3.29] USE="cacert nss-pem -utils" ABI_X86="(64) -32 (-x32)" 
[ebuild     U ] sys-process/time-1.7-r3 [1.7-r2]
[ebuild     U ] dev-lang/python-2.7.13 [2.7.12] USE="gdbm ncurses readline sqlite ssl (threads) (wide-unicode) xml (-berkdb) -build -doc -examples -hardened -ipv6 -libressl -tk -wininst" 
[ebuild     U ] dev-lang/python-3.5.3 [3.5.2] USE="gdbm ncurses readline sqlite ssl (threads) xml -build -examples -hardened -ipv6 -libressl -tk -wininst" 
[ebuild     U ] app-misc/ca-certificates-20161130.3.29.1 [20161130.3.29] USE="-cacert -insecure_certs" 
[ebuild     U ] dev-python/sip-4.19.1 [4.19] USE="-debug -doc" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 
[ebuild     U ] net-misc/youtube-dl-2017.02.17 [2017.02.14] USE="offensive* {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 
[ebuild     U ] dev-python/jupyter_core-4.3.0 [4.2.1] USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 
[ebuild     U ] dev-util/gdbus-codegen-2.50.3 [2.50.2] PYTHON_TARGETS="python2_7 python3_5 -python3_4" 
[ebuild     U ] dev-libs/glib-2.50.3 [2.50.2] USE="dbus mime static-libs xattr -debug (-fam) (-selinux) -systemtap {-test} -utils" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 
[ebuild     U ] net-libs/gnutls-3.5.9-r2 [3.5.9-r1] USE="cxx idn nls openssl sslv3 tls-heartbeat zlib -dane -doc -examples -guile -pkcs11 -sslv2 -static-libs {-test} -test-full -tools -valgrind" ABI_X86="32 (64) (-x32)" LINGUAS="fr -cs -de -en -fi -it -ms -nl -pl -sv -uk -vi -zh_CN" 
[ebuild     U ] net-misc/curl-7.53.0 [7.52.1-r1] USE="idn rtmp samba ssl threads -adns -http2 -ipv6 -kerberos -ldap -metalink -ssh -static-libs {-test}" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -axtls -gnutls -libressl -mbedtls -nss -polarssl (-winssl)" 
[ebuild     U ] x11-misc/xsel-1.2.0-r1 [1.2.0]
[ebuild     U ] app-text/poppler-0.52.0 [0.51.0] USE="cairo cjk cxx introspection jpeg jpeg2k lcms png qt5 tiff utils -curl -debug -doc -nss -qt4 (-cairo-qt%)" 
[ebuild     U ] sys-apps/man-db-2.7.6.1-r2 [2.7.6.1-r1] USE="berkdb gdbm manpager nls zlib (-selinux) -static-libs" 
[ebuild     U ] sys-apps/util-linux-2.29.2 [2.29.1-r1] USE="cramfs ncurses nls pam python readline suid udev unicode -build -caps -fdformat -kill (-selinux) -slang -static-libs -systemd {-test} -tty-helpers" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_5 -python3_4" 
[ebuild     U ] dev-libs/libgudev-231 [230-r1] USE="introspection -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild     U ] sys-fs/lvm2-2.02.166-r2 [2.02.166-r1] USE="readline thin udev -clvm -cman -corosync -device-mapper-only -lvm1 -lvm2create_initrd -openais -sanlock (-selinux) -static -static-libs -systemd" 
[ebuild     U ] net-print/cups-2.2.2-r3 [2.2.2-r2] USE="X dbus pam python ssl threads usb -acl -debug -java -kerberos -lprng-compat (-selinux) -static-libs -systemd -xinetd -zeroconf" ABI_X86="(64) -32 (-x32)" LINGUAS="fr -ca -cs -de -es -it -ja -ru" PYTHON_TARGETS="python2_7" 
[ebuild     U ] app-text/ghostscript-gpl-9.20-r2 [9.20-r1] USE="X cups dbus gtk tiff unicode%* -static-libs (-idn%*)" L10N="-de -ja -ko -zh-CN -zh-TW" 
[ebuild     U ] net-misc/putty-0.68 [0.67] USE="gtk -doc -ipv6 -kerberos" 
[ebuild     U ] net-print/cups-filters-1.13.4 [1.13.3-r2] USE="dbus foomatic jpeg pdf perl png postscript tiff -ldap -static-libs -zeroconf" 
[ebuild     U ] media-gfx/imagemagick-6.9.7.9 [6.9.7.8] USE="X bzip2 cxx djvu fftw fontconfig jpeg jpeg2k lcms lzma openmp perl png svg tiff truetype wmf zlib -autotrace -corefonts -fpx -graphviz -hdri -jbig -lqr -opencl -openexr -pango -postscript -q32 -q64 -q8 -raw -static-libs {-test} -webp -xml" 
[ebuild   R   ] media-gfx/graphicsmagick-1.3.25  USE="X bzip2 cxx imagemagick* jpeg jpeg2k lcms lzma modules openmp perl png svg threads tiff truetype wmf zlib -debug -fpx -jbig -postscript -q16 -q32 -static-libs {-test} -webp" 
[ebuild     U ] media-gfx/uniconvertor-2.0_pre379-r2 [2.0_pre379-r1] PYTHON_TARGETS="python2_7" 
[ebuild     U ] www-plugins/adobe-flash-24.0.0.221-r1 [24.0.0.221] USE="nsplugin ppapi (-kde%)" ABI_X86="64 -32 (-x32)" 
[ebuild     U ] www-client/google-chrome-beta-57.0.2987.74 [57.0.2987.54] USE="plugins" L10N="fr -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 
[ebuild     U ] www-client/firefox-51.0.1 [51.0] USE="dbus gmp-autoupdate jemalloc pulseaudio skia startup-notification -bindist -custom-cflags -custom-optimization -debug -gtk2 -hardened -hwaccel -jack (-neon) -pgo (-rust) (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="fr -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 
[blocks B     ] media-gfx/imagemagick ("media-gfx/imagemagick" is blocking media-gfx/graphicsmagick-1.3.25)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-gfx/imagemagick:0

  (media-gfx/imagemagick-6.9.7.9:0/6.9.7.9::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (media-gfx/imagemagick-6.9.7.8:0/6.9.7.8::gentoo, installed) pulled in by
    media-gfx/imagemagick:0/6.9.7.8=[cxx] required by (media-gfx/inkscape-0.91-r3:0/0::gentoo, installed)
                         ^^^^^^^^^^^                                                                                                         



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

  (media-gfx/graphicsmagick-1.3.25:0/1.3::gentoo, ebuild scheduled for merge) pulled in by
    media-gfx/graphicsmagick:=[cxx] required by (sci-mathematics/octave-4.2.0-r3:0/4.2.0::gentoo, installed)
    media-gfx/graphicsmagick:0/1.3=[cxx] required by (sci-mathematics/octave-4.2.0-r3:0/4.2.0::gentoo, installed)
    media-gfx/graphicsmagick[imagemagick,jpeg?,perl?,png?,svg?,tiff?] (media-gfx/graphicsmagick[imagemagick,jpeg,perl,png,svg,tiff]) required by (virtual/imagemagick-tools-0:0/0::gentoo, installed)


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by virtual/imagemagick-tools-0::gentoo
# required by x11-themes/tango-icon-theme-0.8.90-r1::gentoo
# required by @selected
# required by @world (argument)
>=media-gfx/graphicsmagick-1.3.25 imagemagick
Comment 1 pa.lacaze 2017-02-23 10:48:44 UTC
Created attachment 464832 [details]
emerge world
Comment 2 David Seifert gentoo-dev 2017-02-26 09:08:00 UTC
I've bumped all of the octave ebuilds, as they still contained the old, mutually exclusive USE=im/gm semantics. I doubt this will solve the issue though.

Adding portage, as this seems like a bug coming from trying to satisfy the || ( ) dep inside the virtual. @Portage, any ideas? I do think the virtual is specified correctly.
Comment 3 Zac Medico gentoo-dev 2017-02-26 13:01:08 UTC
We need a portage-2.3.4 release that includes this fix:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=033477d6a4cc1adcabed966b8aa82b51b42af33c
Comment 4 Zac Medico gentoo-dev 2017-02-26 13:01:26 UTC

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