Subject: pkg/13455: "wv" packages fails to build after update
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 07/13/2001 15:32:57
>Number:         13455
>Category:       pkg
>Synopsis:       "wv" packages fails to build after update
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 13 06:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5.1, pkgsrc 2001/07/13
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.5.1 NetBSD 1.5.1 (COLWYN) #0: Mon Jul 2 20:16:07 CEST 2001 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386


>Description:
The "wx" package fails to build after the recent update probably due to
faulty "buildlink" conversion:

===> Validating dependencies for wv-0.6.5
=> Checksum OK for wv-0.6.5.tar.gz.
===> Extracting for wv-0.6.5
===> Required installed package libiconv>=1.5: libiconv-1.6.1 found
===> Required installed package glib>=1.2.8: glib-1.2.10 found
===> Required installed package pth>=1.3.2: pth-1.4.0 found
===> Required installed package xpm-3.4k: xpm-3.4k found
===> Required installed package libwmf>=0.1.21: libwmf-0.1.21 found
===> Required installed package freetype-lib>=1.3.1: freetype-lib-1.3.1 found
===> Required installed package gettext-lib>=0.10.35nb1: gettext-lib-0.10.35nb1 found
===> Required installed package png>=1.0.11: png-1.0.11 found
===> Required installed package ImageMagick>=5.2.8: ImageMagick-5.2.8 found
===> Required installed package bzip2>=1.0.1: bzip2-1.0.1 found
===> Required installed package jpeg-6b: jpeg-6b found
===> Required installed package tiff>=3.5.4: tiff-3.5.5 found
===> Required installed package gmake>=3.78: gmake-3.79.1 found
===> Patching for wv-0.6.5
===> Applying NetBSD patches for wv-0.6.5
===> Configuring for wv-0.6.5
Linking iconv files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking pth files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Creating wrapper script /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/bin/pth-config.
Creating wrapper script /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/bin/pthread-config.
Linking glib files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Creating wrapper script /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/bin/glib-config.
Linking xpm files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking gettext files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking freetype files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking zlib files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking png files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking libwmf files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking bzip2 files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking jpeg files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking tiff files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
Linking ImageMagick files into /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink.
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -I/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gmake sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for ranlib... ranlib
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for object suffix... o
checking for mingw32 environment... (cached) no
checking host system type... i386--netbsd
checking build system type... i386--netbsd
checking for gcc... (cached) cc
checking whether the C compiler (cc -I/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) 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 if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
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 for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
checking for glib-config... /src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/bin/glib-config
checking for png.h... yes
checking for pngconf.h... yes
checking for png_free in -lpng... yes
checking for malloc.h... yes
checking for iconv_open in -liconv... no
checking for libiconv_open in -liconv... yes
checking for existence of CP874 to UCS-2 iconv support... yes
checking for existence of CP1250 to UCS-2 iconv support... yes
checking for existence of CP1251 to UCS-2 iconv support... yes
checking for existence of CP1252 to UCS-2 iconv support... yes
checking for existence of CP1253 to UCS-2 iconv support... yes
checking for existence of CP1254 to UCS-2 iconv support... yes
checking for existence of CP1255 to UCS-2 iconv support... yes
checking for existence of CP1256 to UCS-2 iconv support... yes
checking for existence of CP1257 to UCS-2 iconv support... yes
checking for existence of UCS-2 to UCS-2 iconv support... yes
checking for existence of UCS-2 to UTF-8 iconv support... yes
checking for existence of UCS-2 to koi8-r iconv support... yes
checking for existence of UCS-2 to tis-620 iconv support... yes
checking for existence of UCS-2 to iso-8859-15 iconv support... yes
checking for Magick-config... /usr/pkg/bin/Magick-config
checking for magick/magick.h... no
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking whether byte ordering is bigendian... no
checking for getopt_long... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for memcpy... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating wvAbw
creating wvHtml
creating wvLatex
creating wvCleanLatex
creating wvText
creating wvWml
creating oledecod/Makefile
creating libole2/Makefile
creating glib-wv/Makefile
creating expat/Makefile
creating expat/xmltok/Makefile
creating expat/xmlparse/Makefile
creating exporter/Makefile
creating iconv/Makefile
creating magick/Makefile
creating config.h
configure: warning: libwv will not have wmf to png support: see README
===> Building for wv-0.6.5
cc -I/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/include  -I/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/include -O2  -DHAVE_CONFIG_H  -I/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/include/glib/glib-1.2 -I/src/NetBSD-current/pkgsrc/converters/wv/work/.buildlink/lib/glib/include -ansi -pedantic -I. -I./ -I./ -I./magick/ -I./expat/xmlparse/ -DXMLCONFIG=\"/usr/pkg/share/wv/wvConfig.xml\" -DHTMLCONFIG=\"/usr/pkg/share/wv/wvHtml.xml\" -I./libole2/ -I./oledecod/   -c ./wvSummary.c 
In file included from wv.h:25,
                 from ./wvSummary.c:6:
libole2/ms-ole.h:27: glib.h: No such file or directory
./wvSummary.c:8: glib.h: No such file or directory
gmake: *** [wvSummary.o] Error 1
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

[I updated the complete package sources before attempting the update. So
 the problem is not caused by out of sync sources.]

>How-To-Repeat:
cd pkgsrx/convert/wv
make

>Fix:
None provide.
>Release-Note:
>Audit-Trail:
>Unformatted: