Subject: pkg/12797: libtiff won't build, hosing much of pkgsrc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tls@cs.stevens-tech.edu>
List: netbsd-bugs
Date: 04/30/2001 16:35:59
>Number:         12797
>Category:       pkg
>Synopsis:       libtool 1.4..20010219 can't handle building libtiff any more.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 30 13:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD-1.5_ALPHA or 1.5_BETA
>Organization:
	The NetBSD Project
>Environment:
System: NetBSD becasse.cs.stevens-tech.edu 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (BOCK) #16: Wed Feb 28 16:55:59 EST 2001 root@amstel.cs.stevens-tech.edu:/usr/src/sys/arch/i386/compile/BOCK i386
>Description:
	The recent flurry of libtool changes have left it in a state in which
	it can no longer build libtiff; this prevents almost every other
	graphical thing in pkgsrc from building.  Pkgsrc is as of today, 
        2001-04-30 but the problem has existed for about a week AFAICT.
>How-To-Repeat:
	The following is a log of a session in which I tried to build
	libtiff:

	pla-muek# make cleandir
===> Cleaning for tiff-3.5.5
pla-muek# script
Script started, output file is typescript
pla-muek# make depend
pla-muek# make
===> Validating dependencies for tiff-3.5.5
=> Checksum OK for tiff-v3.5.5.tar.gz.
===> Extracting for tiff-3.5.5
===> Required installed package jpeg-6b: jpeg-6b found
===> Required installed package libtool>=1.4.20010219nb5: libtool-1.4.20010219nb5 found
===> Patching for tiff-3.5.5
# reference correct relative man page when using .so
#
/bin/mv /usr/pkgsrc/graphics/tiff/work.i386/tiff-v3.5.5/man/Makefile.in /usr/pkgsrc/graphics/tiff/work.i386/tiff-v3.5.5/man/Makefile.in.in
/usr/bin/sed    -e "s,\${MANDIR}\(.*\)\.\([0-9]\).,\1.\2,g"  -e "s,\${MANDIR}\(.*\)\.\([0-9]\),\1.\2,g"  /usr/pkgsrc/graphics/tiff/work.i386/tiff-v3.5.5/man/Makefile.in.in  > /usr/pkgsrc/graphics/tiff/work.i386/tiff-v3.5.5/man/Makefile.in
# libtoolize build of TIFF tools
#
/bin/mv /usr/pkgsrc/graphics/tiff/work.i386/tiff-v3.5.5/tools/Makefile.in /usr/pkgsrc/graphics/tiff/work.i386/tiff-v3.5.5/tools/Makefile.in.in
/usr/bin/sed    -e "s,\(\${CC} -o\),\${LIBTOOL} \1,g"  /usr/pkgsrc/graphics/tiff/work.i386/tiff-v3.5.5/tools/Makefile.in.in  > /usr/pkgsrc/graphics/tiff/work.i386/tiff-v3.5.5/tools/Makefile.in
===> Applying NetBSD patches for tiff-3.5.5
===> Configuring for tiff-3.5.5

Configuring TIFF Software v3.5.5.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from /usr/pkgsrc/graphics/tiff/files/config.site.
Do they really still make i386-unknown-netbsd1.5.1. systems?!
Using cc for a C compiler (use -with-CC=compilername to override).
Using -O2  -Dunix to get the appropriate compilation environment.
Looks like cc supports the -g option.
Using "-g" for C compiler options.
Using /usr/bin/make to configure the software.

Creating libtiff/port.h with necessary definitions.
... using LSB2MSB bit order for your i386 cpu
... using little-endian byte order for your i386 cpu
... configure use of mmap for memory-mapped files
... O_RDONLY is in <fcntl.h>
... using double for promoted floating point parameters
... enabling use of inline functions
Done creating libtiff/port.h.

Checking system libraries for functionality to emulate.
Done checking system libraries.

Checking for Dynamic Shared Object (DSO) support.
Done checking for DSO support.

Selecting programs used during installation.
Looks like mv supports the -f option to force a move.
Looks like /bin/ln supports the -s option to create a symbolic link.
Done selecting programs.

Selecting default TIFF configuration parameters.

Looks like manual pages go in /usr/pkg/man.
Looks like manual pages should be installed with bsd-source-cat-strip.

Creating Makefile from ./Makefile.in
Creating libtiff/Makefile from ./libtiff/Makefile.in
Creating man/Makefile from ./man/Makefile.in
Creating tools/Makefile from ./tools/Makefile.in
Creating port/install.sh from ./port/install.sh.in
Creating html/Makefile from ./html/Makefile.in
Done.
===> Building for tiff-3.5.5
= libtiff
/usr/pkg/bin/libtool  cc -c -O2  -Dunix  -g -O -I. -I../libtiff -I/usr/pkg/include -DJPEG_SUPPORT -DZIP_SUPPORT ../libtiff/tif_aux.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: