Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711628 - media-gfx/gimp-2.10.18 conflicts with media-plugins/gimp-resynthesizer-2.0.3-r3
Summary: media-gfx/gimp-2.10.18 conflicts with media-plugins/gimp-resynthesizer-2.0.3-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-05 20:20 UTC by Johannes Niess
Modified: 2020-08-22 17:29 UTC (History)
4 users (show)

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


Attachments
gimp-2.10.18-r1.ebuild (gimp-2.10.18-r1.ebuild,5.96 KB, text/plain)
2020-03-05 21:14 UTC, Sergey Torokhov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Niess 2020-03-05 20:20:36 UTC
Maybe this is caused by the latest python changes in the gimp ebuild? Or is it gimp-resynthesizer missing an update? I can't emerge media-plugins/gimp-resynthesizer along with gimp-2.10.18. It was working fine with gimp-2.10.14-r1 . I removed gimp-resynthesizer while trying to resolve the conflict.

sawfish ~ # ACCEPT_KEYWORDS=~amd64 emerge -av gimp gimp-resynthesizer 
/usr/lib64/python3.6/site-packages/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] media-gfx/gimp-2.10.14-r1:2::gentoo [2.10.18:2::gentoo] USE="alsa mng openexr postscript python%* udev -aalib (-altivec) (-aqua) -debug -doc -gnome -heif -jpeg2k -test -unwind -vector-icons -webp -wmf -xpm" CPU_FLAGS_X86="mmx sse" PYTHON_SINGLE_TARGET="python2_7%*" 0 KiB
[ebuild  N     ] media-plugins/gimp-resynthesizer-2.0.3-r3::gentoo  PYTHON_SINGLE_TARGET="python2_7" 0 KiB

Total: 2 packages (1 downgrade, 1 new), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

media-gfx/gimp:2

  (media-gfx/gimp-2.10.18:2/2::gentoo, ebuild scheduled for merge) USE="alsa mng openexr postscript udev -aalib (-altivec) (-aqua) -debug -doc -gnome -heif -jpeg2k -test -unwind -vector-icons -webp -wmf -xpm" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse" conflicts with
    media-gfx/gimp[python(-),python_single_target_python2_7(-)] required by (media-plugins/gimp-resynthesizer-2.0.3-r3:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python2_7"
                                                               


Would you like to merge these packages? [Yes/No] n

Quitting.


Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS=~amd64 emerge -av gimp gimp-resynthesizer 

Actual Results:  
Gimp downgrade recommended when emerging gimp-resynthesizer

Expected Results:  
gimp-resynthesizer emerge-able and usable with media-gfx/gimp-2.10.18 

/usr/lib64/python3.6/site-packages/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)
Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.29-r7, 5.3.7-gentoo x86_64)
=================================================================
System uname: Linux-5.3.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:    12211908 total,   5260464 free
KiB Swap:   18496504 total,  18495480 free
Timestamp of repository gentoo: Thu, 05 Mar 2020 20:00:01 +0000
Head commit of repository gentoo: 5ec6f2ff9c8e209bd121f42d01b1939ffdf62048
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i  -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j 9"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j 9 -l 9"
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 activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif flac fortran gdbm gif gpm gtk iconv icu imagemagick ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc lm-sensors lvm mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg openexr opengl openmp pam pango pcre pdf phonon pic plasma png policykit ppds python qml qt5 readline scanner sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis vulkan widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 AMDGPU BPF" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi r600 radeon 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sergey Torokhov 2020-03-05 21:14:19 UTC
Created attachment 617180 [details]
gimp-2.10.18-r1.ebuild

Yes, in portage tree 'gimp-2.10.18.ebuild' the python2 plugins support was dropped due to planning of removal 'dev-python/pygtk' (see bug: https://bugs.gentoo.org/706462)

I can't promise that it will be restored. I currently can only provide here the ebuild that is compatible with python-2 plugins support (see attached file 'gimp-2.10.18-r1.ebuild').
Comment 2 Franz Trischberger 2020-03-06 08:16:51 UTC
https://github.com/bootchk/resynthesizer/issues/67#issuecomment-591469148
So gimp-resynthesizer relies on python-support in gimp and gimp has python3/pygi support with the "big" gimp-3.0 update, nothing for gimp-2.10. and v3.0 is still not released.
gimp-resynthesizer is an important plugin for many users out there and I would vote for restoring python-support in gimp. You can still mask the USE Flag so users have to jump another hurdle to get support back (plus masking pygtk when it is ready, which is still some unresolved bugs away).
Comment 3 Larry the Git Cow gentoo-dev 2020-03-06 15:55:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94bcbe1f54d5abab03907cf2fb86cfe12e050209

commit 94bcbe1f54d5abab03907cf2fb86cfe12e050209
Author:     band-a-prend <torokhov-s-a@yandex.ru>
AuthorDate: 2020-03-06 12:46:19 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-06 15:55:36 +0000

    media-gfx/gimp: 2.10.18-r1 restore python2 plugins support
    
    Closes: https://bugs.gentoo.org/711628
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Closes: https://github.com/gentoo/gentoo/pull/14846
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/gimp/gimp-2.10.18-r1.ebuild | 226 ++++++++++++++++++++++++++++++++++
 1 file changed, 226 insertions(+)
Comment 4 Johannes Niess 2020-03-06 18:06:03 UTC
Thanks for this very fast fix. For me media-gfx/gimp-2.10.18-r1 builds and works as expected with gimp-resynthesizer-2.0.3-r3.