Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384903 - media-gfx/gimp-2.6.11-r5 compilation failure with app-text/poppler-0.18.0
Summary: media-gfx/gimp-2.6.11-r5 compilation failure with app-text/poppler-0.18.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 384927 384975 385021 385093 (view as bug list)
Depends on:
Blocks: 384885
  Show dependency tree
 
Reported: 2011-09-29 10:00 UTC by Ulrich Müller
Modified: 2011-09-30 15:40 UTC (History)
10 users (show)

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


Attachments
gimp-2.6.11-poppler-0.17.patch (gimp-2.6.11-poppler-0.17.patch,15.25 KB, patch)
2011-09-29 13:03 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2011-09-29 10:00:32 UTC
file_pdf-file-pdf.o: In function `get_thumbnail':
/var/tmp/portage/media-gfx/gimp-2.6.11-r5/work/gimp-2.6.11/plug-ins/common/file-pdf.c:718: undefined reference to `poppler_page_render_to_pixbuf'
file_pdf-file-pdf.o: In function `load_image':
/var/tmp/portage/media-gfx/gimp-2.6.11-r5/work/gimp-2.6.11/plug-ins/common/file-pdf.c:632: undefined reference to `poppler_page_render_to_pixbuf'
collect2: ld returned 1 exit status
make[3]: *** [file-pdf] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r5/work/gimp-2.6.11/plug-ins/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r5/work/gimp-2.6.11/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r5/work/gimp-2.6.11'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/gimp-2.6.11-r5 failed (compile phase):
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   91:  Called src_compile
 *   environment, line 5803:  Called gnome2_src_compile
 *   environment, line 3138:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"


Portage 2.1.10.19 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.3-gentoo x86_64)
=================================================================
System uname: Linux-3.0.3-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 29 Sep 2011 04:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo a1 emacs ulm
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://a1iarchive1.kph.uni-mainz.de/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.oregonstate.edu http://gentoo.inode.at"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en en_GB en_US fr it es"
MAKEOPTS="-j6"
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/a1 /var/lib/layman/emacs /usr/portage/local/ulm"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr ansi apache2 bbdb berkdb branding bzip2 cairo caps cdda cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus dga directfb doc dri dts dvd dvdr elisp emacs emboss encode exif expat fam fbcon ffmpeg firefox flac fortran gcj gd gdbm gdu gif gimp gimpprint glitz glut gpm gtk gtkhtml guile iconv idea imap ipv6 java jbig jpeg kpathsea latex lcms libcaca libnotify logrotate mad mbrola mmx mng modules motif mp3 mp4 mpeg mudflap multilib ncurses networking nls nocd nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf perl php png policykit postgres ppds pppd python qt3support qt4 rdesktop readline recode regex ruby sasl sbcl sdl sendmail session skey socks5 source sox spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd tex tiff truetype type1 udev unicode usb userlocales vorbis wxwindows x264 xcb xft xml xorg xpm xulrunner xv xvid 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 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 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB en_US fr it es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev v4l" 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 1 Miroslav Šulc gentoo-dev 2011-09-29 10:04:36 UTC
the same issue here.

Portage 2.1.10.19 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 29 Sep 2011 06:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
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-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo betagarden java-overlay kde-sunset proaudio sunrise x11 gamerlay-stable fordfrog x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 dlj-1.1 Oracle-BCLA-JavaSE PUEL skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs"
MAKEOPTS="-j9"
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/betagarden /var/lib/layman/java-overlay /var/lib/layman/kde-sunset /var/lib/layman/pro-audio /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/gamerlay /home/fordfrog/src/gentoo/fordfrog-overlay /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 audacious bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cvs cxx dbus device-mapper dhcpcd dia dri dts dvb dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fluidsynth fortran gcj gdbm gdu gif git glade gmplayer gphoto2 gpm gtk hddtemp icecast iconv id3tag inotify jack jackmidi jpeg jpeg2k ladspa lame laptop lash lcms libnotify libsamplerate libv4l libv4l2 lm_sensors lv2 mad mercurial midi mikmod mmx mng modules mp3 mp4 mpd mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pango pcre pdf perl pgo png policykit ppds pppd python qt3support qt4 readline sdl session shout slang smp sndfile speex spell sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs theora tiff timidity truetype udev unicode usb v4l v4l2 vhosts vorbis wavpack webkit wifi wmf x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" DVB_CARDS="dibusb-usb1 dibusb-usb2" 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 wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" NETBEANS_MODULES="*" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" XFCE_PLUGINS="brightness logout menu trash" 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 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-09-29 12:02:27 UTC
*** Bug 384927 has been marked as a duplicate of this bug. ***
Comment 3 Martin Gysel (bearsh) 2011-09-29 12:45:44 UTC
fedora seems to have a patch
https://bugzilla.redhat.com/show_bug.cgi?id=698157
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-09-29 13:03:08 UTC
Created attachment 288229 [details, diff]
gimp-2.6.11-poppler-0.17.patch

Indeed and here is the fedora patch. Upstream already included a different patch for this into the 2.7.x branch.

Oh and the patch works with old and new poppler.
Comment 5 Sebastian Pipping gentoo-dev 2011-09-29 16:14:10 UTC
Martin, Lars - thanks for your help!


+  29 Sep 2011; Sebastian Pipping <sping@gentoo.org> gimp-2.6.11-r5.ebuild,
+  +files/gimp-2.6.11-poppler-0.17.patch:
+  Fix compilation of 2.6.11-r5 against recent poppler (patch from Fedora,
+  Gentoo bug #384903)
+

Closing.
Comment 6 Rafał Mużyło 2011-09-29 19:37:16 UTC
*** Bug 384975 has been marked as a duplicate of this bug. ***
Comment 7 Ulrich Müller gentoo-dev 2011-09-30 09:55:24 UTC
*** Bug 385021 has been marked as a duplicate of this bug. ***
Comment 8 arnk 2011-09-30 12:42:18 UTC
(In reply to comment #4)
> Created attachment 288229 [details, diff]
> gimp-2.6.11-poppler-0.17.patch
> 
> Indeed and here is the fedora patch. Upstream already included a different
> patch for this into the 2.7.x branch.
> 
> Oh and the patch works with old and new poppler.

How to apply this patch, I read the development guide, and add something to the ebuild file, It seems error!
Comment 9 Sebastian Pipping gentoo-dev 2011-09-30 12:50:23 UTC
(In reply to comment #8)
> How to apply this patch, I read the development guide, and add something to the
> ebuild file, It seems error!

The patch has been applied to gimp 2.6.11-r5 by now.  So (1) no need for patching yourself anymore and (2) you can have a look at that ebuild how integration was done.
Comment 10 arnk 2011-09-30 13:03:03 UTC
(In reply to comment #4)
> Created attachment 288229 [details, diff]
> gimp-2.6.11-poppler-0.17.patch
> 
> Indeed and here is the fedora patch. Upstream already included a different
> patch for this into the 2.7.x branch.
> 
> Oh and the patch works with old and new poppler.

How to apply this patch, I read the development guide, and add something to the ebuild file, It seems error!
Comment 11 arnk 2011-09-30 13:04:20 UTC
(In reply to comment #10)
> (In reply to comment #4)
> > Created attachment 288229 [details, diff]
> > gimp-2.6.11-poppler-0.17.patch
> > 
> > Indeed and here is the fedora patch. Upstream already included a different
> > patch for this into the 2.7.x branch.
> > 
> > Oh and the patch works with old and new poppler.
> 
> How to apply this patch, I read the development guide, and add something to the
> ebuild file, It seems error!

sorry for that replay again! operate error!
Comment 12 Ulrich Müller gentoo-dev 2011-09-30 15:40:49 UTC
*** Bug 385093 has been marked as a duplicate of this bug. ***