Subject: Failed to build gtk2+-2.8.6
To: None <tech-pkg@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-pkg
Date: 10/07/2005 17:07:04
NetBSD NBSD1 3.99.9 NetBSD 3.99.9 (NBSD1.conf) #2: Wed Oct  5 16:20:54 NOVST 
2005  toor@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1.conf i386

pkgsrc tree was completely updated from CVS ~2 days ago and x11/gtk2 just now.

---cut---
===> Checking for vulnerabilities in gtk2+-2.8.6
=> Checksum SHA1 OK for gtk+-2.8.6.tar.bz2.
=> Checksum RMD160 OK for gtk+-2.8.6.tar.bz2.
===> Extracting for gtk2+-2.8.6
===> Required installed package xdg-dirs>=1.1: xdg-dirs-1.2nb1 found
===> Required installed package atk>=1.8.0nb1: atk-1.10.3 found
===> Required installed package pango>=1.10.0: pango-1.10.0 found
===> Required installed package glib2>=2.8.2: glib2-2.8.2 found
===> Required installed package cairo>=1.0.0nb2: cairo-1.0.0nb2 found
===> Required installed package Xft2>=2.1.6nb1: Xft2-2.1.6nb1 found
===> Required installed package fontconfig>=2.2.96nb1: fontconfig-2.3.2 found
===> Required installed package expat>=1.95.8nb2: expat-1.95.8nb2 found
===> Required installed package glitz>=0.4.4: glitz-0.4.4 found
===> Required installed package libpixman>=0.1.4: libpixman-0.1.6 found
===> Required installed package freetype2>=2.1.9nb1: freetype2-2.1.10 found
===> Required installed package png>=1.2.6nb1: png-1.2.8 found
===> Required installed package tiff>=3.7.2nb1: tiff-3.7.3 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
===> Required installed package xcursor>=1.1.1nb2: xcursor-1.1.2 found
===> Required installed package Xfixes>=2.0.1nb1: Xfixes-2.0.1nb1 found
===> Required installed package fixesext>=2.0: fixesext-2.0.1 found
===> Required installed package libtool-base>=1.5.18nb5: 
libtool-base-1.5.18nb5 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Required installed package pkg-config>=0.19: pkg-config-0.19nb1 found
===> Required installed package x11-links>=0.25: x11-links-0.26 found
===> Patching for gtk2+-2.8.6
===> Applying pkgsrc patches for gtk2+-2.8.6
===> Overriding tools for gtk2+-2.8.6
===> Creating toolchain wrappers for gtk2+-2.8.6
===> Configuring for gtk2+-2.8.6
=> Fixing pthread flags.
=> Fixing locale directory references.
=> Adding rpaths to pkgconfig files.
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 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 i386--netbsdelf-strip... no
checking for strip... strip
checking build system type... i386-unknown-netbsdelf3.99.9
checking host system type... i386--netbsdelf
checking for native Win32... no
checking for i386--netbsdelf-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 a sed that does not truncate 
output... /home/pkgsrc/x11/gtk2/work/.tools/bin/sed
checking for egrep... grep -E
checking for ld used by cc... /home/pkgsrc/x11/gtk2/work/.wrapper/bin/ld
checking if the linker (/home/pkgsrc/x11/gtk2/work/.wrapper/bin/ld) is GNU 
ld... yes
checking for /home/pkgsrc/x11/gtk2/work/.wrapper/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 for i386--netbsdelf-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 how to run the C++ preprocessor... c++ -E
checking for i386--netbsdelf-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 i386--netbsdelf-ar... no
checking for ar... ar
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i386--netbsdelf-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 (/home/pkgsrc/x11/gtk2/work/.wrapper/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++... /home/pkgsrc/x11/gtk2/work/.wrapper/bin/ld
checking if the linker (/home/pkgsrc/x11/gtk2/work/.wrapper/bin/ld) is GNU 
ld... yes
checking whether the c++ linker (/home/pkgsrc/x11/gtk2/work/.wrapper/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 (/home/pkgsrc/x11/gtk2/work/.wrapper/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 (/home/pkgsrc/x11/gtk2/work/.wrapper/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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for nm... /usr/bin/nm
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether make sets $(MAKE)... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES_CFLAGS... 
checking for BASE_DEPENDENCIES_LIBS... 
gnome-config: not found
configure: error: Package requirements (glib-2.0 >= 2.7.1    atk >= 1.0.1    
pango >= 1.9.0    cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and 
BASE_DEPENDENCIES_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/x11/gtk2
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * config.log
===>      * /home/pkgsrc/x11/gtk2/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/x11/gtk2
---cut---

AFAIU i have a right versions of glib2, atk, pango and cairo though package 
thinks i don't. Any ideas?

// wbr