Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406933 - media-libs/gd-2.0.35-r3[png,-zlib]: undefined reference to `gdImageCreateFromGd2Part'
Summary: media-libs/gd-2.0.35-r3[png,-zlib]: undefined reference to `gdImageCreateFrom...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-05 01:11 UTC by Drake Donahue
Modified: 2012-03-05 08:59 UTC (History)
0 users

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


Attachments
build log (build.log,30.79 KB, text/plain)
2012-03-05 01:11 UTC, Drake Donahue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drake Donahue 2012-03-05 01:11:40 UTC
Created attachment 304261 [details]
build log

subject package fails to compile with: "
/bin/sh ./libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native  -Wl,-O1 -Wl,--as-needed -lpng15   -o gd2copypal gd2copypal.o ./libgd.la  -ljpeg -lfontconfig -lfreetype -lm 
gdparttopng.o: In function `main':
gdparttopng.c:(.text+0xc1): undefined reference to `gdImageCreateFromGd2Part'
"

emerge --info =media-libs/gd-2.0.35-r3
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.1.0-rc4-git2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.0-rc4-git2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.1
Timestamp of tree: Mon, 05 Mar 2012 00:30:01 +0000
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, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.3.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 arts avi berkdb bitmap-fonts bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dlloader dri dts dvb dvd dvdr dvdreader eds emboss encode evo exif fam ffmpeg firefox flac fortran gamin gd gdbm gdu gif gimp gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk2 iconv ipv6 isdnlog java jpeg kde lcms ldap libg++ libnotify mad midi mikmod mmx mng modules mp3 mp4 mpeg mudflap multicall multilib mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf pdflib perl php png policykit posix ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection samba sane scanner sdl session socialweb spell spl sse sse2 ssl startup-notification svg swat sysfs tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis wifi wps x264 xcb xml xorg xulrunner xv xvid" 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" 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" 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="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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv =media-libs/gd-2.0.35-r3
[ebuild  N    ] media-libs/gd-2.0.35-r3  USE="fontconfig jpeg png truetype -static-libs -xpm -zlib"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-03-05 06:29:13 UTC
The sed for 'gdparttopng' should be moved from USE="png" behind USE="zlib" in the ebuild. 
If I'm going to fix this, then i'll wipe off the whole seds and go back to the way gd was in -r2 since this split is just silly.
Comment 2 SpanKY gentoo-dev 2012-03-05 06:53:23 UTC
USE='png -zlib' is kind of a dumb config, but whatever

looks like i made a thinko when simplifying the code from before.  the new sed logic requires the -r flag.
Comment 3 SpanKY gentoo-dev 2012-03-05 06:54:41 UTC
should be all set now in the tree; thanks for the report!

Commit message: Restore sed -r flag after refactor in previous commit lost it
http://sources.gentoo.org/media-libs/gd/gd-2.0.35-r3.ebuild?r1=1.14&r2=1.15
Comment 4 Drake Donahue 2012-03-05 08:59:12 UTC
compiled cleanly. thanks.