Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321167 - gnuplot-4.4.0 fails to compile: undefined reference to gdImagePng
Summary: gnuplot-4.4.0 fails to compile: undefined reference to gdImagePng
Status: RESOLVED DUPLICATE of bug 320837
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-23 12:08 UTC by Emanuel Ydrefors
Modified: 2010-05-23 17:34 UTC (History)
0 users

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


Attachments
Build log (build.log,53.30 KB, text/plain)
2010-05-23 12:10 UTC, Emanuel Ydrefors
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuel Ydrefors 2010-05-23 12:08:04 UTC
When I today rebuilded gnuplot (4.4.0) the compilation failed with
term.o: In function 'PNG_text'
term.c: undefined reference to 'gdImagePng'

Reproducible: Always

Steps to Reproduce:
1.emerge =sci-visualization/gnuplot-4.4.0
2.
3.

Actual Results:  
Compilation fails.


Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.1-r0, 2.6.34-gentoo i686)
=================================================================
System uname: Linux-2.6.34-gentoo-i686-Pentium-R-_Dual-Core_CPU_T4200_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 20 May 2010 20:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cdr cli cracklib crypt cxx dbus dri dvd emacs fortran gdbm gpm iconv ipv6 jpeg kde modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt4 readline reflection session spl ssl symlink sysfs tcpd truetype udev unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox vesa" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Emanuel Ydrefors 2010-05-23 12:10:26 UTC
Created attachment 232565 [details]
Build log

build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-05-23 12:29:25 UTC
it's one of these:

- recompile media-libs/gd
- or upgrade it to -r2 per bug 319101

*** This bug has been marked as a duplicate of bug 319101 ***
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-05-23 12:31:11 UTC
(In reply to comment #2)
> it's one of these:
> 
> - recompile media-libs/gd
> - or upgrade it to -r2 per bug 319101
> 
> *** This bug has been marked as a duplicate of bug 319101 ***
> 

arg, I mean bug 320837
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-05-23 12:31:18 UTC

*** This bug has been marked as a duplicate of bug 320837 ***
Comment 5 Emanuel Ydrefors 2010-05-23 17:34:48 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > it's one of these:
> > 
> > - recompile media-libs/gd
> > - or upgrade it to -r2 per bug 319101
> > 
> > *** This bug has been marked as a duplicate of bug 319101 ***
> > 
> 
> arg, I mean bug 320837
> 

Yes, upgrading gd to -r2 fixed the issue. Thank you!