Subject: pkg/24806: "controlcenter" package cannot be built
To: None <>
From: Matthias Scheler <>
List: netbsd-bugs
Date: 03/16/2004 16:26:47
>Number:         24806
>Category:       pkg
>Synopsis:       "controlcenter" package cannot be built
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 16 15:28:00 UTC 2004
>Release:        NetBSD 1.6.2 2004-03-16
Matthias Scheler                        
System: NetBSD 1.6.2 NetBSD 1.6.2 (COLWYN) #0: Thu Mar 11 18:56:32 CET 2004 i386
Architecture: i386
Machine: i386
The "controlcenter" package cannot be built:

===> Checking for vulnerabilities in control-center-
=> Checksum OK for control-center-
===> Extracting for control-center-
===> Required installed package xdg-x11-dirs>=1.1: xdg-x11-dirs-1.1 found
===> Required installed package popt>=1.7nb3: popt-1.7nb4 found
===> Required installed package gdk-pixbuf>=0.22.0nb2: gdk-pixbuf-0.22.0nb2 found
===> Required installed package jpeg>=6b: jpeg-6bnb1 found
===> Required installed package png>=1.2.4: png-1.2.5nb2 found
===> Required installed package tiff>=3.6.1: tiff-3.6.1 found
===> Required installed package gtk+>=1.2.10: gtk+-1.2.10nb7 found
===> Required installed package glib>=1.2.10nb5: glib-1.2.10nb6 found
===> Required installed package pth>=2.0.0: pth-2.0.0 found
===> Required installed package gnome-vfs>=1.0.5nb5: gnome-vfs-1.0.5nb6 found
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb1 found
===> Required installed package GConf>=1.0.9nb5: GConf-1.0.9nb5 found
===> Required installed package db3>=2.9.2: db3-3.11.2nb1 found
===> Required installed package oaf>=0.6.10nb4: oaf-0.6.10nb4 found
===> Required installed package libxml>=1.8.11: libxml-1.8.17nb1 found
===> Required installed package gnome-libs>=1.4.2nb1: gnome-libs-1.4.2nb3 found
===> Required installed package esound>=0.2.18: esound-0.2.33 found
===> Required installed package libaudiofile>=0.2.1: libaudiofile-0.2.6 found
===> Required installed package imlib>=1.9.14nb5: imlib-1.9.14nb6 found
===> Required installed package libungif>=4.1.0: libungif- found
===> Required installed package netpbm>=10.11.6: netpbm-10.11.8nb1 found
===> Required installed package ORBit>=0.5.15nb5: ORBit-0.5.15nb6 found
===> Required installed package scrollkeeper>=0.3.12nb2: scrollkeeper-0.3.14nb2 found
===> Required installed package xpkgwedge>=1.5: xpkgwedge-1.9 found
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.2nb5 found
===> Required installed package x11-links>=0.23: x11-links-0.23 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Patching for control-center-
===> Applying pkgsrc patches for control-center-
===> Overriding tools for control-center-
===> Buildlinking for control-center-
===> Configuring for control-center-
=> Fixing locale directory references.
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for perl... /usr/bin/perl
checking for gnome-config... /usr/pkg/bin/gnome-config
checking if /usr/pkg/bin/gnome-config works... yes
checking for orbit-config... /usr/pkg/bin/orbit-config
checking for orbit-idl... /usr/pkg/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking for strerror in -lcposix... no
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) works... yes
checking whether the C compiler (gcc -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i386--netbsdelf
checking build system type... i386--netbsdelf
checking for ld used by GCC... /src/NetBSD-current/pkgsrc/x11/controlcenter/work/.buildlink/bin/ld
checking if the linker (/src/NetBSD-current/pkgsrc/x11/controlcenter/work/.buildlink/bin/ld) is GNU ld... yes
checking for /src/NetBSD-current/pkgsrc/x11/controlcenter/work/.buildlink/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... match_pattern /lib[^/\.]+\.so$
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/src/NetBSD-current/pkgsrc/x11/controlcenter/work/.buildlink/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for flex... flex
checking for flex... (cached) 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 what warning flags to pass to the C compiler... -Wall -Wunused
checking what language compliance flags to pass to the C compiler... 
checking for pthread_create in -lpthread... yes
checking for gtk-config... /usr/pkg/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking for X11/SM/SMlib.h... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for gnome_window_icon_set_default_from_file in -lgnomeui... no
configure: error: gnome-libs 1.0.60 or higher is required.
*** Error code 1

make: stopped in /src/NetBSD-current/pkgsrc/x11/controlcenter
*** Error code 1

This happens because the "db4" library cannot be found. From "config.log":

configure:6804: gcc -o conftest -I/usr/pkg/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/pkg/lib/gnome-libs/include -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -lgnomeui  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lm -ldb4 -lglib -lintl 1>&5
/usr/bin/ld: cannot find -ldb4
collect2: ld returned 1 exit status
configure: failed program was:
#line 6793 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gnome_window_icon_set_default_from_file();

int main() {
; return 0; }

cd pkgsrc/x11/controlcenter

None provided.