Subject: x11/kdebase3 build fails
To: None <tech-pkg@NetBSD.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-pkg
Date: 04/19/2004 18:26:14
bash-2.05b# uname -a
NetBSD NBSD1 1.6.1 NetBSD 1.6.1 (NBSD1) #2: Fri Jan  9 17:19:56 NOVT 2004
ianzag@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1 i386

bash-2.05b# /usr/X11R6/bin/X -version
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: NetBSD/i386 1.6 [ELF] The NetBSD Foundation, Inc.
Build Date: 02 March 2003
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present

bash-2.05b# ident /usr/pkgsrc/x11/kdebase3/Makefile
/usr/pkgsrc/x11/kdebase3/Makefile:
     $NetBSD: Makefile,v 1.47 2004/04/14 16:15:30 jmmv Exp $

---cut---
===> Checking for vulnerabilities in kdebase-3.2.1nb2
=> Checksum OK for kdebase-3.2.1.tar.bz2.
=> Checksum OK for Daemon.png.
=> Checksum OK for Daemon.README.
===> Extracting for kdebase-3.2.1nb2
===> Required installed package openldap>=2.1.22: openldap-2.1.29 found
===> Required installed package openssl>=0.9.6m: openssl-0.9.6m found
===> Required installed package fontconfig>=2.1nb2: fontconfig-2.2.1nb3
found
===> Required installed package freetype2>=2.1.3: freetype2-2.1.5 found
===> Required installed package expat>=1.95.7: expat-1.95.7 found
===> Required installed package qt3-libs>=3.2.3: qt3-libs-3.3.1 found
===> Required installed package Xft2>=2.1nb1: Xft2-2.1.2nb1 found
===> Required installed package Xrender>=0.8.2: Xrender-0.8.3nb1 found
===> Required installed package MesaLib>=6.0: MesaLib-6.0.1 found
===> Required installed package glu>=6.0: glu-6.0.1 found
===> Required installed package jpeg>=6b: jpeg-6bnb1 found
===> Required installed package mng>=1.0.0: mng-1.0.7 found
===> Required installed package lcms>=1.06: lcms-1.12nb1 found
===> Required installed package png>=1.2.4: png-1.2.5nb3 found
===> Required installed package Xrandr>=1.0.1: Xrandr-1.0.1 found
===> Required installed package randrext>=1.0: randrext-1.0 found
===> Required installed package Xfixes>=2.0.0: Xfixes-2.0.0 found
===> Required installed package fixesext>=2.0: fixesext-2.0 found
===> Required installed package pth>=2.0.0: pth-2.0.0 found
===> Required installed package kdelibs>=3.2.0: kdelibs-3.2.1nb1 found
===> Required installed package libaudiofile>=0.2.3nb1: libaudiofile-0.2.6
found
===> Required installed package arts>=1.1.4nb1: arts-1.2.1 found
===> Required installed package esound>=0.2.18: esound-0.2.33 found
===> Required installed package libmad>=0.15.0b: libmad-0.15.1b found
===> Required installed package libvorbis>=1.0.1: libvorbis-1.0.1 found
===> Required installed package libogg>=1.1: libogg-1.1 found
===> Required installed package glib2>=2.4.0: glib2-2.4.0nb1 found
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb1 found
===> Required installed package pcre>=3.4nb1: pcre-4.5 found
===> Required installed package libart2>=2.3.10nb1: libart2-2.3.16 found
===> Required installed package libxslt>=1.1.0: libxslt-1.1.5 found
===> Required installed package libxml2>=2.6.2: libxml2-2.6.8 found
===> Required installed package cups>=1.1.19nb3: cups-1.1.20nb1 found
===> Required installed package tiff>=3.6.1: tiff-3.6.1nb1 found
===> Required installed package xdg-dirs>=1.1: xdg-dirs-1.1 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 qt3-tools>=3.1.2nb3: qt3-tools-3.3.1 found
===> Required installed package render>=0.8: render-0.8 found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
==========================================================================
The following variables will affect the build process of this package,
kdebase-3.2.1nb2.  Their current value is shown below:

        * KDE3_NSPLUGINS = NO
        * SSLBASE = /usr/pkg
        * SSLCERTS = /etc/openssl/certs

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/mk clean' after
the changes.
==========================================================================
===> Patching for kdebase-3.2.1nb2
===> Applying pkgsrc patches for kdebase-3.2.1nb2
===> Overriding tools for kdebase-3.2.1nb2
===> Buildlinking for kdebase-3.2.1nb2
pkg_info: can't find package `gettext-lib' installed or in a file!
===> Configuring for kdebase-3.2.1nb2
cd /usr/pkgsrc/x11/kdebase3/work/kdebase-3.2.1;
files="kioslave/info/kde-info2html.conf";    for file in ${files}; do
/usr/bin/sed -e 's|@LOCALBASE@|/usr/pkg|' ${file} >  ${file}.new;
/bin/mv -f ${file}.new ${file};     done
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... i386-unknown-netbsdelf1.6.1
checking host system type... i386--netbsdelf
checking target system type... i386--netbsdelf
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 gmake sets $(MAKE)... yes
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for style of include used by gmake... GNU
checking for i386--netbsdelf-gcc... gcc
checking for C compiler default output... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking for i386--netbsdelf-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
not using lib directory suffix
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc...
/usr/pkgsrc/x11/kdebase3/work/.buildlink/bin/ld
checking if the linker (/usr/pkgsrc/x11/kdebase3/work/.buildlink/bin/ld) is
GNU ld... yes
checking for /usr/pkgsrc/x11/kdebase3/work/.buildlink/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 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-g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from gcc 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 gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker
(/usr/pkgsrc/x11/kdebase3/work/.buildlink/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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... 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 g++...
/usr/pkgsrc/x11/kdebase3/work/.buildlink/bin/ld
checking if the linker (/usr/pkgsrc/x11/kdebase3/work/.buildlink/bin/ld) is
GNU ld... yes
checking whether the g++ linker
(/usr/pkgsrc/x11/kdebase3/work/.buildlink/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker
(/usr/pkgsrc/x11/kdebase3/work/.buildlink/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 shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached)
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 g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker
(/usr/pkgsrc/x11/kdebase3/work/.buildlink/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 msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... yes
checking if strlcat needs custom prototype... no
checking for strlcpy... yes
checking if strlcpy needs custom prototype... no
checking for main in -lutil... yes
checking for main in -lcompat... yes
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... no
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... added
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/pkg/bin/perl
checking for Qt... libraries /usr/pkg/qt3/lib, headers /usr/pkg/qt3/include
using -mt
checking for moc... /usr/pkg/qt3/bin/moc
checking for uic... /usr/pkg/qt3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... no
checking for KDE... libraries /usr/pkg/lib, headers /usr/pkg/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/pkg/bin/dcopidl
checking for dcopidl2cpp... /usr/pkg/bin/dcopidl2cpp
checking for mcopidl... /usr/pkg/bin/mcopidl
checking for artsc-config... /usr/pkg/bin/artsc-config
checking for kde-config... /usr/pkg/bin/kde-config
checking for meinproc... /usr/pkg/bin/meinproc
checking for kconfig_compiler... /usr/pkg/bin/kconfig_compiler
checking for dcopidlng... /usr/pkg/bin/dcopidlng
checking for xmllint... /usr/pkg/bin/xmllint
checking for getspent in -lshadow... no
checking for getspent in -lgen... no
checking for getspent... no
checking for shadow passwords... no
checking for libtiff tiff... yes
checking for jasper... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/stropts.h usability... no
checking sys/stropts.h presence... no
checking for sys/stropts.h... no
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking lastlog.h usability... no
checking lastlog.h presence... no
checking for lastlog.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/m_wait.h usability... no
checking sys/m_wait.h presence... no
checking for sys/m_wait.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking login_cap.h usability... yes
checking login_cap.h presence... yes
checking for login_cap.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... yes
configure: WARNING: sys/ucred.h: present but cannot be compiled
configure: WARNING: sys/ucred.h: check for missing prerequisite headers?
configure: WARNING: sys/ucred.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/ucred.h... yes
checking sys/mount.h usability... no
checking sys/mount.h presence... yes
configure: WARNING: sys/mount.h: present but cannot be compiled
configure: WARNING: sys/mount.h: check for missing prerequisite headers?
configure: WARNING: sys/mount.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/mount.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking fstab.h usability... yes
checking fstab.h presence... yes
checking for fstab.h... yes
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking Alib.h usability... no
checking Alib.h presence... no
checking for Alib.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for string.h... (cached) yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for ptsname... no
checking for main in -lAlib... no
checking for main in -lossaudio... yes
checking for main in -lcfg... no
checking for main in -lodm... no
checking for setupterm in -lcurses... no
checking for setupterm in -lncurses... no
checking for setupterm in -lmytinfo... no
checking for addToUtmp in -lutempter... no
checking for res_init... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working long double with more range or precision than double...
yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for char... yes
checking size of char... 1
checking for short... (cached) yes
checking size of short... (cached) 2
checking for int... (cached) yes
checking size of int... (cached) 4
checking for long... (cached) yes
checking size of long... (cached) 4
checking whether byte ordering is bigendian... no
checking for socket... yes
checking for powl... no
checking for sqrtl... no
checking for strdup... yes
checking for getdtablesize... yes
checking for setpgid... yes
checking for nice... yes
checking for seteuid... yes
checking for vsyslog... yes
checking for initgroups... yes
checking for setgroups... yes
checking for getgroups... yes
checking for grantpt... no
checking for pw_encrypt... no
checking for setpriority... yes
checking for getpt... no
checking for unlockpt... no
checking for ptsname... (cached) no
checking for waitpid... yes
checking for mkstemps... no
checking if mkstemps needs custom prototype... yes - in libkdefakes
checking for setenv... yes
checking if setenv needs custom prototype... no
checking for unsetenv... yes
checking if unsetenv needs custom prototype... no
checking for getdomainname... yes
checking if getdomainname needs custom prototype... no
checking for gethostname... yes
checking if gethostname needs custom prototype... no
checking for usleep... yes
checking if usleep needs custom prototype... no
checking for random... yes
checking if random needs custom prototype... no
checking for srandom... yes
checking if srandom needs custom prototype... no
checking for S_ISSOCK... yes
checking for MAXPATHLEN... 1024
checking if it's safe to enable UTMP... no
checking for utmp file... /var/run/utmp
checking for kstat_open in -lkstat... no
checking libdevinfo.h usability... no
checking libdevinfo.h presence... no
checking for libdevinfo.h... no
checking for Java... none found
checking X11/extensions/XTest.h usability... yes
checking X11/extensions/XTest.h presence... yes
checking for X11/extensions/XTest.h... yes
checking for XTestFakeKeyEvent in -lXtst... yes
checking for X11/XKBlib.h... yes
checking for XkbLockModifiers in -lX11... yes
checking for XkbSetPerClientControls in -lX11... yes
checking for X11/Xcursor/Xcursor.h... yes
checking for XcursorSupportsARGB in -lXcursor... yes
checking for Qt docs... /usr/pkg/qt3/doc/html
checking for dot... not found
checking for doxygen... not found
checking for X11/extensions/XKBstr.h... yes
checking for X11/extensions/XKBstr.h... (cached) yes
checking for OpenSSL... libraries /usr/pkg/lib, headers /usr/pkg/include
checking whether OpenSSL uses rsaref... no
checking for easter eggs... none found
checking for OpenSSL version... ok
checking for DPMS... yes
checking whether DPMSCapable is declared... no
checking whether DPMSInfo is declared... no
checking for fontconfig-config... /usr/X11R6/bin/fontconfig-config
checking for long long... yes
checking for freetype-config... /usr/pkg/bin/freetype-config
checking for FTC_Manager_New in -lfreetype... yes
checking OS... NetBSD
checking X11/fonts/fontenc.h usability... yes
checking X11/fonts/fontenc.h presence... yes
checking for X11/fonts/fontenc.h... yes
checking whether g++ supports -shared... yes
checking for FontEncDirectory in -lfontenc... yes
checking for getifaddrs... yes
checking for getnameinfo... yes
checking for struct sockaddr.sa_len... yes
checking for X11/extensions/Xrandr.h... yes
checking for XRRSetScreenConfigAndRate in -lXrandr... yes
checking kcarddb.h usability... no
checking kcarddb.h presence... no
checking for kcarddb.h... no
checking X11/extensions/Xrender.h usability... yes
checking X11/extensions/Xrender.h presence... yes
checking for X11/extensions/Xrender.h... yes
checking for XRenderComposite in -lXrender... yes
checking libraw1394/raw1394.h usability... no
checking libraw1394/raw1394.h presence... no
checking for libraw1394/raw1394.h... no
checking for sigset... no
checking for sigaction... yes
checking for X11/extensions/scrnsaver.h... yes
checking for XScreenSaverQueryInfo in -lXext... no
checking whether g++ supports -shared... (cached) yes
checking for XScreenSaverQueryInfo in -lXss... yes
checking for X11/extensions/xf86misc.h... yes
checking for XF86MiscQueryVersion in -lXxf86misc... yes
checking for XF86MiscSetGrabKeysState in -lXxf86misc... yes
checking "struct ucred"... no
checking nogroup... nogroup
checking for getpeereid... no
checking for xmkmf... /usr/X11R6/bin/xmkmf
checking various X settings... failed
configure: error: /usr/X11R6/bin/xmkmf (imake) failed.
Make sure you have all necessary X development packages installed.
On some systems a missing /lib/cpp symlink is at fault.
*** Error code 1

Stop.
mk: stopped in /usr/pkgsrc/x11/kdebase3
*** Error code 1

Stop.
mk: stopped in /usr/pkgsrc/x11/kdebase3
---cut---

Any ideas ?

// wbr