Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58592 - graphviz 1.12 fails to build because of missing pkgconfig dependency
Summary: graphviz 1.12 fails to build because of missing pkgconfig dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 15:20 UTC by Gunnar Wrobel (RETIRED)
Modified: 2004-12-14 02:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gunnar Wrobel (RETIRED) gentoo-dev 2004-07-27 15:20:22 UTC
On emerging graphviz-1.12-r1 the ebuild fails during configure phase.

Reproducible: Always
Steps to Reproduce:
1. emerge graphviz 

Actual Results:  
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for main in -lexpat... yes
./configure: line 24753: syntax error near unexpected token `GRAPHVIZ_CAIRO,'
./configure: line 24753: `      PKG_CHECK_MODULES(GRAPHVIZ_CAIRO, cairo >= 0.1.
8)'

!!! ERROR: media-gfx/graphviz-1.12-r1 failed.
!!! Function econf, Line 362, Exitcode 2
!!! econf failed


Expected Results:  



Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.4.
26)
=================================================================
System uname: 2.4.26 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.5.0
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.
oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 berkdb crypt curl doc emacs f77 flash gd gdbm gif imap ipv6 java 
jpeg ldap libwww lzw-tiff maildir mailwrapper mcal mysql ncurses nls pam pdflib 
perl png pwdb python readline sasl slp spell ssl tetex threads tiff truetype 
vhosts x86 xml xml2 zlib"
Comment 1 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-08-04 01:49:00 UTC
I don't have cairo installed, and configure passes this point without any problems for me. So the problem must reside elsewhere
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-08-07 13:17:02 UTC
I don't have cairo installed neigher, and it compiles fine here too.
Comment 3 Gunnar Wrobel (RETIRED) gentoo-dev 2004-08-08 05:04:02 UTC
Sorry, you are right. I did misunderstand the error message and assumed it was the missing cairo package. But actually econf fails because of the undefined function PKG_CHECK_MODULES. This m4-function is defined in the "pkgconfig" package. 

After "emerge pkgconfig" I had no problem running "emerge graphviz". So I assume the ebuild is lacking the dependency on pkgconfig.
Comment 4 David Klempner 2004-09-03 21:14:58 UTC
I just had the same results with a new ~x86 install; manually emerging pkgconfig fixed it.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-14 02:19:16 UTC
fixed in cvs.