Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406959 - media-gfx/graphviz-2.26.3-r3 - ../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to `gdImageGd2'
Summary: media-gfx/graphviz-2.26.3-r3 - ../../plugin/gd/.libs/libgvplugin_gd.so: undef...
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:
: 415115 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-05 09:32 UTC by Drake Donahue
Modified: 2012-07-14 00:18 UTC (History)
1 user (show)

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


Attachments
build log (build.log,73.90 KB, text/plain)
2012-03-05 09:32 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 09:32:56 UTC
Created attachment 304277 [details]
build log

Fails to compile with:"
make[3]: Entering directory `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/cmd/dot'
  CC     dot-dot.o
  CC     dot-no_builtins.o
  CC     dot_builtins-dot.o
  CC     dot_builtins-dot_builtins.o
  CCLD   dot
  CCLD   dot_builtins
../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to `gdImageGd2'
"

emerge --info =media-gfx/graphviz-2.26.3-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 08: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-gfx/graphviz-2.26.3-r3
[ebuild  N    ] media-gfx/graphviz-2.26.3-r3  USE="cairo gtk java nls perl python -doc -examples -lasi -ruby -static-libs -tcl"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-03-05 09:46:26 UTC
Tried rebuilding media-libs/gd yet?
Comment 2 Drake Donahue 2012-03-05 15:33:21 UTC
(In reply to comment #1)
> Tried rebuilding media-libs/gd yet?
gd rebuilt cleanly.
Comment 3 Drake Donahue 2012-03-05 20:51:14 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Tried rebuilding media-libs/gd yet?
> Expanded answer -- After it was reported fixed, I deleted my gd ebuild and my gd package and forced a sync and emerged gd. gd rebuilt cleanly. 
Then: 
"
emerge -avuND world

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

Calculating dependencies... done!
[ebuild  N     ] media-gfx/graphviz-2.26.3-r3  USE="cairo gtk java nls perl python -doc -examples -lasi -ruby -static-libs -tcl" 0 kB
[ebuild     U  ] dev-lang/tcl-8.5.10 [8.5.9] USE="threads -debug" 0 kB
[ebuild     U  ] dev-lang/tk-8.5.10 [8.5.9-r1] USE="threads truetype (-aqua) -debug -xscreensaver" 0 kB
[ebuild     U  ] sys-apps/man-pages-3.35 [3.32] USE="nls" LINGUAS="-cs -da -de -fr -it -ja -nl -pl -ro -ru -zh_CN" 0 kB
[ebuild  N     ] net-dns/avahi-0.6.30-r1  USE="dbus gdbm gtk introspection ipv6 python qt4 -autoipd -bookmarks -doc -gtk3 -howl-compat -mdnsresponder-compat -mono -test -utils" 0 kB
[ebuild  N     ] app-doc/doxygen-1.7.3  USE="qt4 -debug -doc -latex -nodot -tcl" 0 kB
[ebuild  N     ] sys-auth/rtkit-0.10  0 kB
[ebuild   R    ] media-sound/pulseaudio-1.1-r1  USE="X alsa asyncns avahi* bluetooth caps dbus doc* glib gnome ipv6 jack* libsamplerate* orc realtime* ssl tcpd test* udev -equalizer -lirc (-oss) (-system-wide)" 0 kB
[ebuild  NS   ~] gnome-extra/gucharmap-3.2.2 [2.32.1] USE="gnome introspection -cjk -debug -doc -test" 2,631 kB
[uninstall     ] gnome-extra/gucharmap-2.32.1  USE="gnome python -cjk -debug -doc (-introspection) -test" 
[blocks b      ] <gnome-extra/gucharmap-3:0 ("<gnome-extra/gucharmap-3:0" is blocking gnome-extra/gucharmap-3.2.2)
[ebuild   R   ~] app-editors/bluefish-2.2.1  USE="nls python spell (-gtk3%)" 0 kB

Total: 10 packages (3 upgrades, 4 new, 1 in new slot, 2 reinstalls, 1 uninstall), Size of downloads: 2,631 kB
Conflict: 1 block

Would you like to merge these packages? [Yes/No] y
"
which lead to the failure reported.
And then:
"
emerge --resume --keep-going

*** Resuming merge...

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

Calculating dependencies... done!
 * emerge --keep-going: sys-apps/man-pages-3.35 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: net-dns/avahi-0.6.30-r1 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: dev-lang/tcl-8.5.10 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: dev-lang/tk-8.5.10 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: sys-auth/rtkit-0.10 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: gnome-extra/gucharmap-3.2.2 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: media-sound/pulseaudio-1.1-r1 dropped due to
 * unsatisfied dependency.
 * emerge --keep-going: app-doc/doxygen-1.7.3 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: app-editors/bluefish-2.2.1 dropped due to unsatisfied
 * dependency.
 * 
 * The following 10 packages have failed to build or install:
 * 
 *  (media-gfx/graphviz-2.26.3-r3::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/temp/build.log'
 *  (sys-apps/man-pages-3.35::gentoo, ebuild scheduled for merge)
 *  (net-dns/avahi-0.6.30-r1::gentoo, ebuild scheduled for merge)
 *  (dev-lang/tcl-8.5.10::gentoo, ebuild scheduled for merge)
 *  (dev-lang/tk-8.5.10::gentoo, ebuild scheduled for merge)
 *  (sys-auth/rtkit-0.10::gentoo, ebuild scheduled for merge)
 *  (gnome-extra/gucharmap-3.2.2::gentoo, ebuild scheduled for merge)
 *  (media-sound/pulseaudio-1.1-r1::gentoo, ebuild scheduled for merge)
 *  (app-doc/doxygen-1.7.3::gentoo, ebuild scheduled for merge)
 *  (app-editors/bluefish-2.2.1::gentoo, ebuild scheduled for merge)
"
Comment 4 Benjamin Lamowski 2012-03-19 20:59:19 UTC
Building media-libs/gd with zlib use flag should solve your issue. Please fix the ebuild to reflect that dependency.
Comment 5 Rafał Mużyło 2012-05-16 17:03:05 UTC
*** Bug 415115 has been marked as a duplicate of this bug. ***
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-07-14 00:18:23 UTC
+  14 Jul 2012; Kacper Kowalik <xarthisius@gentoo.org>
+  -graphviz-2.26.3-r2.ebuild, graphviz-2.26.3-r3.ebuild,
+  graphviz-2.26.3-r4.ebuild, graphviz-2.28.0.ebuild:
+  Add missing dependency on gd[zlib] wrt #406959 by Drake Donahue
+  <donahue95@comcast.net>. Thanks to Benjamin Lamowski <ben-bugs@lamowski.net>
+  for the solution. Drop old