Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395695 - media-gfx/gimp-2.7.4 doesn't compile with dev-libs/atk-1.32.0-r1 (was: media-gfx/gimp-2.7.4 bump)
Summary: media-gfx/gimp-2.7.4 doesn't compile with dev-libs/atk-1.32.0-r1 (was: media-...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Hanno Böck
URL: http://git.gnome.org/browse/gimp/tree...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 15:06 UTC by Alessandro Capogna
Modified: 2012-10-01 18:09 UTC (History)
4 users (show)

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


Attachments
gimp-2.7.4.ebuild.diff (gimp-2.7.4.ebuild.diff,1.85 KB, patch)
2011-12-24 04:33 UTC, iGentoo
Details | Diff
gimp-2.7.4-test.patch (gimp-2.7.4-test.patch,612 bytes, patch)
2011-12-24 04:33 UTC, iGentoo
Details | Diff
build log (build.log,34.02 KB, text/plain)
2012-01-02 02:24 UTC, darkbasic
Details
Return of deprecated functions to increase chances of compilation with mixed libary versions (gimp-2.7.4-no-deprecation.patch,1.04 KB, patch)
2012-01-02 12:45 UTC, Sebastian Pipping
Details | Diff
Integrate gimp-2.7.4-no-deprecation.patch into gimp-2.7.4.ebuild (gimp-2.7.4-ebuild-no-deprecation.patch,937 bytes, patch)
2012-01-02 12:51 UTC, Sebastian Pipping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Capogna 2011-12-22 15:06:50 UTC
version bump with bugfixes and improvements related to user interface and usability

Reproducible: Always
Comment 1 iGentoo 2011-12-24 04:33:21 UTC
Created attachment 296819 [details, diff]
gimp-2.7.4.ebuild.diff
Comment 2 iGentoo 2011-12-24 04:33:44 UTC
Created attachment 296821 [details, diff]
gimp-2.7.4-test.patch
Comment 3 DrSlony 2011-12-25 04:13:40 UTC
Thank you!

Using your patches, gimp fails to emerge with dev-libs/atk-1.32.0-r1, but emerges fine with dev-libs/atk-2.2.0, so you might want to add that (or one of the intermediate versions - I didn't test them, jumped straight to 2.2.0) as a dependency.
Comment 4 Sebastian Pipping gentoo-dev 2012-01-01 15:15:36 UTC
AlphatPC, please excuse that I add you to CC.


(In reply to comment #2)
> Created attachment 296821 [details, diff] [details, diff]
> gimp-2.7.4-test.patch

I wonder what consequences the addition of test-sphere.scm to POTFILES.in has.  There seems to be POTFILES.skip, too.
Comment 5 Sebastian Pipping gentoo-dev 2012-01-01 15:21:05 UTC
(In reply to comment #3)
> Thank you!
> 
> Using your patches, gimp fails to emerge with dev-libs/atk-1.32.0-r1, but
> emerges fine with dev-libs/atk-2.2.0, so you might want to add that (or one of
> the intermediate versions - I didn't test them, jumped straight to 2.2.0) as a
> dependency.

I cannot find any traces of a dependency on ATK besides a possibly outdated note in the HACKING text file.  Can you share the very error you get?
Comment 6 Sebastian Pipping gentoo-dev 2012-01-01 15:21:55 UTC
DrSlony, adding you to CC for comment #5 above.
Comment 7 Sebastian Pipping gentoo-dev 2012-01-01 15:36:43 UTC
+*gimp-2.7.4 (01 Jan 2012)
+
+  01 Jan 2012; Sebastian Pipping <sping@gentoo.org> +gimp-2.7.4.ebuild:
+  Bump to 2.7.4 (bug #395695)
+
Comment 8 DrSlony 2012-01-02 01:30:10 UTC
OK, because you asked so nicely ;]

emerge =dev-libs/atk-1.32.0-r1 && emerge -C =dev-libs/atk-2.2.0

emerge --info =media-gfx/gimp-2.7.4
Portage 2.1.10.41 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.1.4-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 01 Jan 2012 20:45:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4-r1::pentoo
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x11 ikelos pentoo spring kde x-portage
ACCEPT_KEYWORDS="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/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/ http://gentoo.modulix.net/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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/x11 /var/lib/layman/ikelos /var/lib/layman/pentoo /var/lib/layman/Spring /var/lib/layman/kde /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl custom-optimization cxx d3d dbus declarative dhcpcd dirac dri dts dvd dvdr emboss enca encode exif expoblending fam ffmpeg firefox flac fontconfig fortran frei0r ftp gallium gd gdbm gdu geoip gif gpm gpu gsm hbci iconv icu iproute2 iptc ipv6 jabber java jpeg kde kipi lcms ldap lensfun libnotify mad mmx mng modules mp3 mp4 mpeg mpi msn mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin nvidia ofx ogg okteta opencl opengl openmp openvpn otr pam pango pcre pdf phonon php plasma png policykit ppds pppd privacy python qt3support qt4 rar raster readline romio scanner schroedinger sdl semantic-desktop session sid sip smp sms spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff tordns truetype udev unicode usb v4l v4l2 vdpau vnc vorbis wav webpresence wifi x264 xattr xcb xcomposite xinerama xml xmp xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="usb-audio" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau 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, INSTALL_MASK, LANG, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-gfx/gimp-2.7.4 was built with the following:
USE="alsa (consolekit) curl dbus exif jpeg lcms mmx mng (multilib) pdf png (policykit) python smp sse svg tiff udev -aalib (-altivec) -debug -doc -gnome -jpeg2k -webkit -wmf -xpm"

Build log: http://paste.pocoo.org/show/528664/
Comment 9 darkbasic 2012-01-02 02:24:08 UTC
Created attachment 297597 [details]
build log

Same problem here with atk-1.32.0-r1. Didn't test other versions...
Attached build.log
Comment 10 cyberbat 2012-01-02 10:28:21 UTC
Same error with
dev-libs/atk-1.32.0-r1

Compiles ok with dev-libs/atk-2.0.1

emerge --info
Portage 2.1.10.41 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9505_@_2.83GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 02 Jan 2012 07:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-unklay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.1 Q3AEULA PUEL LOKI-EULA skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"                                                                                                                              
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"                                                                                 
FFLAGS=""                                                                                                                                                     
GENTOO_MIRRORS="ftp://gentoo.bloodhost.ru/ ftp://mirror.yandex.ru/gentoo-distfiles/"                                                                          
LANG="en_US.UTF-8"                                                                                                                                            
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                             
LINGUAS="ru en"                                                                                                                                               
MAKEOPTS="-j5"                                                                                                                                                
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/unklay"                                                                                                                      
SYNC="rsync://gentoo.bloodhost.ru/gentoo-portage"                                                                                                             
USE="X a52 aac acl acpi akonadi alsa amd64 amr audiofile bash-completion branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus declarative device-mapper djvu dri dts dv dvd dvdr emboss encode exif ffmpeg firefox flac fontconfig fortran ftp gd gdu geoip gif gimp gmp gnutls gphoto2 gpm graphviz gsm gstreamer gtk handbook iconv icu id3tag idn imagemagick imap imlib ios iphone ipod ipv6 jabber jbig jingle jpeg jpeg2k kde kipi kontact ladspa lame lcms libnotify libsamplerate libwww lm_sensors lzma lzo mac mad matroska mikmod mjpeg mmx mng modplug modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntfs ogg openal openexr opengl pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 quicktime rar raw readline rss rtmp sasl scanner sdl semantic-desktop session sharedext smp sndfile socks5 speex spell sqlite sse sse2 sse3 sse4 ssl ssse3 startup-notification svg symlink sysfs syslog taglib theora threads thumbnail tiff truetype udev unicode usb video vim-syntax vlc vorbis wavpack webkit wmf x264 xcb xcomposite xface xml xmp xorg xpm xscreensaver xulrunner xv xvid zip zlib" 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" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Sebastian Pipping gentoo-dev 2012-01-02 12:14:00 UTC
Thanks for testing.  Two things:

 - Can you share your version of dev-libs/glib with me?

 - In the futue, please please upload logs as attachments to Bugzilla, because:
   - External pastes may go way any time
   - Need for much scrolling becomes annoying quickly
   So no /big/ problem, but there is room for improvement :-)

Thanks!
Comment 12 cyberbat 2012-01-02 12:22:37 UTC
(In reply to comment #11)
> Thanks for testing.  Two things:
> 
>  - Can you share your version of dev-libs/glib with me?
> 

dev-libs/glib-2.30.2:2
Comment 13 Sebastian Pipping gentoo-dev 2012-01-02 12:43:21 UTC
If have opened a question-bug upstream:

  Compilation of Gimp 2.7.4 with ATK 1.32.0 ?
  https://bugzilla.gnome.org/show_bug.cgi?id=667127

Let's see what we get.  I also have a patch for you to try -- one sec.
Comment 14 Sebastian Pipping gentoo-dev 2012-01-02 12:45:05 UTC
Created attachment 297643 [details, diff]
Return of deprecated functions to increase chances of compilation with mixed libary versions

Integration patch following in a second ...
Comment 15 Sebastian Pipping gentoo-dev 2012-01-02 12:51:15 UTC
Created attachment 297649 [details, diff]
Integrate gimp-2.7.4-no-deprecation.patch into gimp-2.7.4.ebuild

Before we have any proof that ATK is a direct dependency of Gimp, it would be cool if you could try just-pasted patches:
- gimp-2.7.4-no-deprecation.patch
- gimp-2.7.4-ebuild-no-deprecation.patch

I could imagine that to fix compilation.  (That G_CONST_RETURN thing in the logs reminded my of a similar thing that I had with Gimp 2.7.3-r1 and glib-2.29 before, i.e. patch files/gimp-2.7.3-glib-2.29.patch)

Please report back, I'm curious :-)
Comment 16 cyberbat 2012-01-02 17:23:23 UTC
(In reply to comment #15)
> Before we have any proof that ATK is a direct dependency of Gimp, it would be
> cool if you could try just-pasted patches:
> - gimp-2.7.4-no-deprecation.patch
> - gimp-2.7.4-ebuild-no-deprecation.patch
> 
> I could imagine that to fix compilation.  (That G_CONST_RETURN thing in the
> logs reminded my of a similar thing that I had with Gimp 2.7.3-r1 and glib-2.29
> before, i.e. patch files/gimp-2.7.3-glib-2.29.patch)
> 
> Please report back, I'm curious :-)

Compiled ok with your patches and reverted back to dev-libs/atk-1.32.0-r1. Thanks
Comment 17 Sebastian Pipping gentoo-dev 2012-01-02 18:51:34 UTC
(In reply to comment #16)
> Compiled ok with your patches and reverted back to dev-libs/atk-1.32.0-r1.
> Thanks

Awesome, thanks for testing!


+  02 Jan 2012; Sebastian Pipping <sping@gentoo.org> gimp-2.7.4.ebuild,
+  +files/gimp-2.7.4-no-deprecation.patch:
+  Fix compilation with non-dependency dev-libs/atk-1.32.0-r1. Thanks to
+  cyberbat for testing. (bug #395695)
+

Keeping bug open for now.  I hope on a reply from Alphat-PC to comment #4.
Comment 18 Alessandro Capogna 2012-10-01 18:09:18 UTC
version no longer available on portage