| Summary: | sci-mathematics/octave-3.8.2: imagemagick + graphicsmagick conflicting dependencies | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jan Hrabe <hrabe> |
| Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | fkrogh |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I've found a workaround which can help before this is fixed: manually adding the appropriate use flags to /etc/portage/package.use/octave: media-gfx/graphicsmagick -imagemagick q16 This block is not on octave, but on imagemagick. From imagemagick-6.9.4.6.ebuild:
DEPEND="${RDEPEND}
!media-gfx/graphicsmagick[imagemagick]
As pointed out in comment #1 remove the local imagemagick USE flag from graphicsmagick to solve the block.
Yes, that is the solution but it is not that easy to find without portage help. In similar situations with other packages, an attempt to install or update a package would result in portage printing a suggestion what to do, and offering to do it for me. It would say something like "Package A needs a USE flag in package B, should I make that change for you?". Not sure which ebuild should be responsible for what but perhaps Octave could do that with the required q16 flag for graphicsmagick, and graphicsmagick in turn with its own -imagemagick flag. Also, the description of the imagemagick USE flag does not seem to capture what it's really good for. is says: - - imagemagick : Enable support for Imagemagick (image converter) while it in fact leads to a conflict with it. Finally, it may be all mute since today's portage update decided to reinstall octave with a removed -graphicsmagick flag in place. *** This bug has been marked as a duplicate of bug 590280 *** |
The apparently new default dependency of Octave on graphicsmagick leads to the following blocking condition: # emerge -p1 octave These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] media-gfx/graphicsmagick-1.3.24 USE="X bzip2 cxx imagemagick jpeg lcms modules openmp png svg tiff truetype zlib -debug -fpx -jbig -jpeg2k -lzma -perl -postscript -q16 -q32 -static-libs -threads -webp -wmf" [ebuild R ] sci-mathematics/octave-3.8.2 USE="graphicsmagick%*" [blocks B ] media-gfx/imagemagick ("media-gfx/imagemagick" is blocking media-gfx/graphicsmagick-1.3.24) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (media-gfx/imagemagick-6.9.4.6:0/6.9.4.6::gentoo, installed) pulled in by >=media-gfx/imagemagick-6.6.2 required by (app-editors/emacs-24.5-r1:24/24::gentoo, installed) media-gfx/imagemagick:= required by (media-gfx/uniconvertor-2.0_pre379-r1:0/0::gentoo, installed) media-gfx/imagemagick required by @selected >=media-gfx/imagemagick-5.5.7.14:= required by (media-video/dvdauthor-0.7.1:0/0::gentoo, installed) >=media-gfx/imagemagick-6.6.1.2[cxx] required by (media-gfx/pstoedit-3.62:0/0::gentoo, installed) >=media-gfx/imagemagick-5.5.7.14:0/6.9.4.6= required by (media-video/dvdauthor-0.7.1:0/0::gentoo, installed) media-gfx/imagemagick required by (dev-tex/tex4ht-20090611_p1038-r3:0/0::gentoo, installed) media-gfx/imagemagick:=[cxx] required by (media-gfx/inkscape-0.91-r1:0/0::gentoo, installed) media-gfx/imagemagick:0/6.9.4.6=[cxx] required by (media-gfx/inkscape-0.91-r1:0/0::gentoo, installed) (media-gfx/graphicsmagick-1.3.24:0/0::gentoo, ebuild scheduled for merge) pulled in by media-gfx/graphicsmagick:=[cxx] required by (sci-mathematics/octave-3.8.2:0/3.8.2::gentoo, ebuild scheduled for merge) ------------ # emerge --info Portage 2.2.28 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64) ================================================================= System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.2 KiB Mem: 32640420 total, 26532816 free KiB Swap: 67108860 total, 67108860 free Timestamp of repository gentoo: Mon, 01 Aug 2016 14:30:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [disabled] app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=core-avx2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emacs emboss encode exif fam firefox flac foomaticdb fortran gcj gdbm gif glamor gpm gtk iconv imagemagick jpeg latex lcms libnotify lock mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nis nls nptl ogg opengl openmp pam pango pcre pdf pic png policykit ppds qt3support qt4 readline sasl sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" L10N="en cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ------------------- The following entry is for Octave is in my packages.use file: # octave sci-mathematics/octave doc curl >=x11-libs/fltk-1.3.2 xft