Subject: jpeg not building: infrastructure problem?
To: None <>
From: Thomas Klausner <>
List: tech-pkg
Date: 11/15/2006 10:20:33

jpeg in up-to-date pkgsrc does not build for me on NetBSD-4.99.3/amd64:
# make
=> Required installed package digest>=20010302: digest-20060826 found
=> Checksum SHA1 OK for jpegsrc.v6b.tar.gz
=> Checksum RMD160 OK for jpegsrc.v6b.tar.gz
work.x86_64 -> /usr/obj/graphics/jpeg/work.x86_64
===> Installing dependencies for jpeg-6bnb3
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3 found
===> Overriding tools for jpeg-6bnb3
===> Extracting for jpeg-6bnb3
===> Patching for jpeg-6bnb3
=> Applying pkgsrc patches for jpeg-6bnb3
===> Creating toolchain wrappers for jpeg-6bnb3
===> Configuring for jpeg-6bnb3
=> Checking for portability problems in extracted files
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
checking for gcc... cc
checking whether the C compiler (cc -O2 -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O2 -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... cc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for ranlib... ranlib
ltconfig: cannot run ./config.sub
Try `ltconfig --help' for more information.
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for jpeg-6bnb3
./libtool --mode=compile cc -O2  -I. -c ./jcapimin.c
sh: ./libtool: not found
*** Error code 127

make: stopped in /usr/obj/graphics/jpeg/work.x86_64/jpeg-6b
*** Error code 1

make: stopped in /usr/pkgsrc/graphics/jpeg
*** Error code 1

make: stopped in /usr/pkgsrc/graphics/jpeg

Does anyone know what changed to break this? I suspect an infrastructure
problem, since the jpeg/* files last changed on Nov 2.