| Summary: | media-gfx/graphviz-2.22.2-r1 failed to compile: libgvplugin_gd.so: undefined reference to `gd_psfontResolve' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Popolous <Popolous> |
| Component: | New packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ansla80, Letto2, nwmatt, psykojime, scott |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Build.log
Build Low Showing failure Environment where I have the error |
||
|
Description
Popolous
2009-04-24 19:56:13 UTC
Please provide the build.log (mentioned at the end of emerge's output). Please do as Sebastian requested... Created attachment 189415 [details]
Build.log
No news so far about this? 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. Yes, disabling fontconfig flag in gd package did the work. Thanks! 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" is this still an issue with media-gfx/graphviz-2.24.0-r1? I am not able to reproduce this error here. Created attachment 206211 [details]
Build Low Showing failure
Created attachment 206212 [details]
Environment where I have the error
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 *** Bug 290241 has been marked as a duplicate of this bug. *** 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. (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. This bug is still current. Please add a patch which checks for the required use flags. *** Bug 317387 has been marked as a duplicate of this bug. *** 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 + |