Subject: pkg/28698: graphics/graphviz doesn't compile on amd64/2.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Wouter Schoot <ascent@schoot.org>
List: pkgsrc-bugs
Date: 12/18/2004 01:09:01
>Number: 28698
>Category: pkg
>Synopsis: graphics/graphviz doesn't compile on amd64/2.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 18 01:09:01 +0000 2004
>Originator: Wouter Schoot <ascent@schoot.org>
>Release: NetBSD 2.0
>Organization:
>Environment:
System: NetBSD ascent 2.0 NetBSD 2.0 (ASCENT) #2: Tue Dec 14 11:46:48 CET 2004 root@ascent:/usr/obj/sys/arch/amd64/compile/ASCENT amd64
Architecture: x86_64
Machine: amd64
>Description:
When building graphviz, I get the following:
Script started on Sat Dec 18 02:05:51 2004
[root@ascent /usr/pkgsrc/graphics/graphviz]# make
===> Checking for vulnerabilities in graphviz-1.16
=> Checksum OK for graphviz-1.16/graphviz-1.16.tar.gz.
===> Extracting for graphviz-1.16
===> Required installed package fontconfig>=2.2.96nb1: fontconfig-2.2.96nb1 found
===> Required installed package freetype2>=2.1.9nb1: freetype2-2.1.9nb1 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
===> Required installed package png>=1.2.6nb1: png-1.2.8 found
===> Required installed package expat>=1.95.8nb2: expat-1.95.8nb2 found
===> Required installed package tk>=8.4.7nb1: tk-8.4.8 found
===> Required installed package tcl>=8.4.7nb1: tcl-8.4.8 found
===> Required installed package libtool-base>=1.5.10nb6: libtool-base-1.5.10nb6 found
===> Required installed package x11-links>=0.24: x11-links-0.24 found
===> Required installed package pkgconfig>=0.15.0: pkgconfig-0.15.0nb1 found
/usr/bin/find /usr/pkgsrc/graphics/graphviz/work/graphviz-1.16 -name "*.orig" -print | /usr/bin/xargs /bin/rm -f
===> Patching for graphviz-1.16
===> Applying pkgsrc patches for graphviz-1.16
===> Overriding tools for graphviz-1.16
===> Creating toolchain wrappers for graphviz-1.16
===> Configuring for graphviz-1.16
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-netbsd2.0
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for x86_64--netbsd-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for library containing strerror... none required
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... yacc
checking for gawk... (cached) /usr/bin/awk
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -E
checking for x86_64--netbsd-g77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for x86_64--netbsd-strip... strip
checking if cc static flag works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking for sed... /usr/bin/sed
checking for sort... sort
checking for ksh... ksh
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking tk.h usability... no
checking tk.h presence... no
checking for tk.h... no
configure: WARNING: Unable to find header tk.h. The Tk packages will not be built
checking for main in -lm... yes
checking for connect... yes
checking for gethostbyname... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for expat-config... no
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for main in -lexpat... yes
checking for main in -lXpm... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking for X11/Xaw/Text.h... yes
checking for main in -lXaw... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lz... yes
configure: WARNING: Using internal libgd source.
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether iconv.h defines iconv_t... yes
checking for freetype-config... /usr/pkg/bin/freetype-config
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for main in -lfreetype... yes
checking for fontconfig-config... no
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking for FcGetVersion in -lfontconfig... yes
checking for libpng-config... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for main in -lpng... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for main in -ljpeg... yes
checking for working alloca.h... no
checking for alloca... yes
checking for lrand48... yes
checking for drand48... yes
checking for srand48... yes
checking for setmode... yes
checking for setenv... yes
checking for getenv... yes
checking for __freadable... no
checking for _sysconf... no
checking for getrusage... yes
checking for strerror... yes
checking for cbrt... no
checking for lsqrt... no
checking for vsnprintf... yes
checking for strtoul... yes
checking for strtoll... yes
checking for strtoull... yes
checking for feenableexcept... no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking fenv.h usability... no
checking fenv.h presence... no
checking for fenv.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking fpu_control.h usability... no
checking fpu_control.h presence... no
checking for fpu_control.h... no
checking sys/fpu.h usability... no
checking sys/fpu.h presence... no
checking for sys/fpu.h... no
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct dioattr... no
checking if have working sincos()... no
checking if FILE struct contains _cnt... no
checking if FILE struct contains _r... yes
checking if FILE struct contains _next... no
checking if FILE struct contains _IO_read_end... no
checking if errno externs are declared... yes
checking if getopt externs are declared... yes
checking if intptr_t is declared... yes
checking if assert needs __eprintf... cc: -R/usr/pkg/lib: linker input file unused because linking not done
cc: -R/usr/lib: linker input file unused because linking not done
cc: -R/usr/X11R6/lib: linker input file unused because linking not done
no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/info/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/prune/Makefile
config.status: creating graphs/Makefile
config.status: creating graphs/directed/Makefile
config.status: creating graphs/undirected/Makefile
config.status: creating gd/Makefile
config.status: creating cdt/Makefile
config.status: creating cdt/libcdt.pc
config.status: creating agraph/Makefile
config.status: creating agraph/libagraph.pc
config.status: creating graph/Makefile
config.status: creating graph/libgraph.pc
config.status: creating pathplan/Makefile
config.status: creating pathplan/libpathplan.pc
config.status: creating dotneato/dotgen/Makefile
config.status: creating dotneato/dotgen/libdotgen.pc
config.status: creating dotneato/neatogen/Makefile
config.status: creating dotneato/neatogen/libneatogen.pc
config.status: creating dotneato/twopigen/Makefile
config.status: creating dotneato/twopigen/libtwopigen.pc
config.status: creating dotneato/fdpgen/Makefile
config.status: creating dotneato/fdpgen/libfdpgen.pc
config.status: creating dotneato/circogen/Makefile
config.status: creating dotneato/circogen/libcircogen.pc
config.status: creating dotneato/common/Makefile
config.status: creating dotneato/common/libcommon.pc
config.status: creating dotneato/gvrender/Makefile
config.status: creating dotneato/gvrender/libgvrender.pc
config.status: creating dotneato/gvre_svg/Makefile
config.status: creating dotneato/pack/Makefile
config.status: creating dotneato/pack/libpack.pc
config.status: creating dotneato/Makefile
config.status: creating dotneato/dotneato-config
config.status: creating dotneato/libdotneato.pc
config.status: creating ns/Makefile
config.status: creating agutil/Makefile
config.status: creating tclhandle/Makefile
config.status: creating tclstubs/Makefile
config.status: creating tkstubs/Makefile
config.status: creating tcldot/Makefile
config.status: creating tcldot/demo/Makefile
config.status: creating tclpathplan/Makefile
config.status: creating tclpathplan/demo/Makefile
config.status: creating tclpathplan/demo/pathplan_data/Makefile
config.status: creating tkspline/Makefile
config.status: creating tkspline/demo/Makefile
config.status: creating gdtclft/Makefile
config.status: creating gdtclft/demo/Makefile
config.status: creating lefty/ws/x11/libfilereq/Makefile
config.status: creating lefty/ws/x11/Makefile
config.status: creating lefty/ws/Makefile
config.status: creating lefty/os/unix/Makefile
config.status: creating lefty/os/Makefile
config.status: creating lefty/dot2l/Makefile
config.status: creating lefty/cs2l/Makefile
config.status: creating lefty/examples/Makefile
config.status: creating lefty/Makefile
config.status: creating lneato/Makefile
config.status: creating dotty/Makefile
config.status: creating tools/Makefile
config.status: creating tools/vmalloc/Makefile
config.status: creating tools/sfio/Makefile
config.status: creating tools/sfio/Sfio_dc/Makefile
config.status: creating tools/sfio/Sfio_f/Makefile
config.status: creating tools/ast/Makefile
config.status: creating tools/expr/Makefile
config.status: creating tools/gpr/Makefile
config.status: creating tools/src/Makefile
config.status: creating dynagraph/Makefile
config.status: creating dynagraph/common/Makefile
config.status: creating dynagraph/dynadag/Makefile
config.status: creating dynagraph/incrface/Makefile
config.status: creating dynagraph/fdp/Makefile
config.status: creating dynagraph/shortspline/Makefile
config.status: creating dynagraph/graphsearch/Makefile
config.status: creating dynagraph/voronoi/Makefile
config.status: creating graphviz.spec
config.status: creating ast_common.h
config.status: creating config.h
config.status: executing depfiles commands
===> Building for graphviz-1.16
/usr/bin/touch /usr/pkgsrc/graphics/graphviz/work/graphviz-1.16/Makefile
cd . && /bin/sh /usr/pkgsrc/graphics/graphviz/work/graphviz-1.16/config/missing --run aclocal-1.9
/usr/pkg/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/pkg/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
aclocal:configure.ac:628: warning: macro `AM_ICONV' not found in library
cd . && /bin/sh /usr/pkgsrc/graphics/graphviz/work/graphviz-1.16/config/missing --run autoheader
rm -f stamp-h1
touch ./config.h.in
cd . && /bin/sh /usr/pkgsrc/graphics/graphviz/work/graphviz-1.16/config/missing --run autoconf
configure.ac:628: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/graphviz/work/graphviz-1.16
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/graphviz
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/graphviz
[root@ascent /usr/pkgsrc/graphics/graphviz]#
Script done on Sat Dec 18 02:07:11 2004
>How-To-Repeat:
>Fix:
>Unformatted: