Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267373 - media-gfx/graphviz-2.22.2-r1 failed to compile: libgvplugin_gd.so: undefined reference to `gd_psfontResolve'
Summary: media-gfx/graphviz-2.22.2-r1 failed to compile: libgvplugin_gd.so: undefined ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 290241 317387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-24 19:56 UTC by Popolous
Modified: 2010-09-05 13:41 UTC (History)
5 users (show)

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


Attachments
Build.log (build.log,392.57 KB, text/plain)
2009-04-25 19:54 UTC, Popolous
Details
Build Low Showing failure (MH-build.log,377.37 KB, text/plain)
2009-10-06 02:30 UTC, Matt Henley
Details
Environment where I have the error (MH-environment,137.83 KB, text/plain)
2009-10-06 02:30 UTC, Matt Henley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Popolous 2009-04-24 19:56:13 UTC
When updating portage, package media-gfx/graphviz-2.22.2-r1 failed to compile because of undefined reference to gd_psfontResolve.

Reproducible: Always

Steps to Reproduce:
1. emerge sync
2. emerge -uavDN world
3.

Actual Results:  
Failure when trying to compile this package.

Expected Results:  
Compilation successful.

USE:
media-gfx/graphviz-2.22.2-r1  USE="cairo doc examples gtk java jpeg nls perl png python ruby tcl -lasi"

merge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 i686)
=================================================================                                    
System uname: Linux-2.6.29-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.0   
Timestamp of tree: Fri, 24 Apr 2009 17:30:01 +0000                                                   
distcc 3.1 i686-pc-linux-gnu [disabled]                                                              
ccache version 2.4 [disabled]                                                                        
app-shells/bash:     4.0_p17-r1                                                                      
dev-java/java-config: 2.1.7                                                                          
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.2                                                      
dev-python/pycrypto: 2.0.1-r8                                                                        
dev-util/ccache:     2.4-r8                                                                          
dev-util/cmake:      2.6.3-r1                                                                        
sys-apps/baselayout: 2.0.0                                                                           
sys-apps/openrc:     0.4.3-r2                                                                        
sys-apps/sandbox:    1.9                                                                             
sys-devel/autoconf:  2.13, 2.63-r1                                                                   
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                       
sys-devel/binutils:  2.19.1-r1                                                                       
sys-devel/gcc-config: 1.4.1                                                                          
sys-devel/libtool:   2.2.6a                                                                          
virtual/os-headers:  2.6.28-r1                                                                       
ACCEPT_KEYWORDS="x86 ~x86"                                                                           
CBUILD="i686-pc-linux-gnu"                                                                           
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"                                                
CHOST="i686-pc-linux-gnu"                                                                            
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"                                                                                                    
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                          
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"                                                       
DISTDIR="/usr/portage/distfiles"                                                                              
FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch userpriv"                                                                                                             
GENTOO_MIRRORS=" http://ftp.udc.es/gentoo/  http://trumpetti.atm.tut.fi/gentoo/  http://cesium.di.uminho.pt/pub/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES es_ES.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cli cracklib crypt cups doc dri examples fortran gdbm gnome gpm iconv ipv6 isdnlog java kde midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl sysfs tcpd unicode x86 xorg 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 nullplug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbdauthn_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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES es_ES.UTF-8" LIRC_DEVICES="alsa_usb hauppauge" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Sebastian Luther (few) 2009-04-24 20:08:38 UTC
Please provide the build.log (mentioned at the end of emerge's output).
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 16:51:15 UTC
Please do as Sebastian requested...
Comment 3 Popolous 2009-04-25 19:54:55 UTC
Created attachment 189415 [details]
Build.log
Comment 4 Popolous 2009-05-29 07:57:04 UTC
No news so far about this?
Comment 5 Scott 2009-06-17 08:28:38 UTC
I am having same issue.

media-gfx/graphviz-2.22.2-r1 (pulled in by doxygen)

From looking at code, it appears this function should only be used when gd has fontconfig enabled.

media-libs/gd-2.0.35 (jpeg png ?fontconfig -truetype -xpm)

Can confirm that disabling fontconfig useflag for gd fixes issue.
Comment 6 Popolous 2009-06-20 20:28:19 UTC
Yes, disabling fontconfig flag in gd package did the work.

Thanks!
Comment 7 Andrei Slavoiu 2009-09-15 19:41:39 UTC
And graphviz-2.24.0 builds just fine for me with gd compiled with fontconfig. Was the hack of forcing grapviz to depend on gd[-fontconfig] added by accident to the portage tree? I don't see any mention to it in the commit message or Changelog entry, it just says "amd64/arm/x86 stable, bug #284689"
Comment 8 Markus Meier gentoo-dev 2009-09-15 22:30:38 UTC
is this still an issue with media-gfx/graphviz-2.24.0-r1? I am not able to reproduce this error here.
Comment 9 Matt Henley 2009-10-06 02:30:22 UTC
Created attachment 206211 [details]
Build Low Showing failure
Comment 10 Matt Henley 2009-10-06 02:30:57 UTC
Created attachment 206212 [details]
Environment where I have the error
Comment 11 Matt Henley 2009-10-06 02:33:41 UTC
I get this error for graphviz-2.24.0-r2.  My emerge --info is:

speedy ingen # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 05 Oct 2009 23:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mtune=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
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="/usr/local/portage/layman/pro-audio /usr/local/portage/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl alsa amd64 autoipd avahi beagle berkdb blender blender-game bzip2 cairo cdr cg chm cleartype cli consolekit cracklib crypt cups curl daap dbus dia dri dssi dvd dvdr encode extras ffmpeg firefox firefox3 flac flickr fltk fontconfig fortran gd gdbm gnome gpm gstreamer gtk guile hal iconv ipv6 isdnlog jack java joystick jpeg kde ladspa lapack lash lcms lensfun libgig libsamplerate lv2 mdnsresponder-compat melt mmx mng modules mono mp3 mtp mudflap multilib mysql ncurses networking networkmanager nls nptl nptlonly offensive ofx ogg ogg123 openal opencore-amr openexr opengl openmp osc pam pango pcre pdf perl player plugins png pnm policykit pppd projectm pulseaudio python python3 qt3support raw readline reflection rubberband samba sdl session sift smp sound source spl sse sse2 ssl ssse3 subversion svg sysfs tcpd themes theora threads tiff udev unicode vamp vdpau video vorbis vst webdav webdav-serf webkit wma wma-fixed wmf wxwidgets x264 xanim xcomposite xiph xml xorg xscreensaver xulrunner xv xvid xvmc yahoo zip 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 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 mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 Peter Alfredsen (RETIRED) gentoo-dev 2009-10-23 21:29:08 UTC
*** Bug 290241 has been marked as a duplicate of this bug. ***
Comment 13 Mike Hammill 2009-11-14 12:06:30 UTC
I have been getting the exact same error with media-gfx/graphviz-2.24.0-r2 on a stable x86 (PIII) until I tried the suggested workaround (-fontconfig on gd).  This allowed graphviz to install.  The machine is a server, so it's -X.
Comment 14 Ciprian Ciubotariu 2009-11-25 02:03:44 UTC
(In reply to comment #13)
I had the same problem, but since I have multiple computers and this compiled just fine on the other computers, well... I noticed I didn't have the truetype use-flag enabled.

So, in my case, -truetype and +fontconfig -> error. +truetype and +fontconfig -> compiles.

Hope this helps.
Comment 15 Timo A. Hummel 2010-09-02 11:44:31 UTC
This bug is still current. Please add a patch which checks for the required use flags.
Comment 16 Markus Meier gentoo-dev 2010-09-05 12:14:04 UTC
*** Bug 317387 has been marked as a duplicate of this bug. ***
Comment 17 Markus Meier gentoo-dev 2010-09-05 13:41:06 UTC
this should be fixed in graphviz-2.26.3-r2: media-libs/gd needs fontconfig and truetype support, according to the configure.ac file from graphviz.
thanks all.

+*graphviz-2.26.3-r2 (05 Sep 2010)
+
+  05 Sep 2010; Markus Meier <maekke@gentoo.org> +graphviz-2.26.3-r2.ebuild:
+  bug #267373 media-libs/gd needs fontconfig and truetype support enabled,
+  bug #317543 enable sfdp, bug #328945 disable automagic gnome-base/librsvg
+  dep
+