Subject: pkg/10629: making tiff doesn't look for required packages correctly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Erich.T.Enke@wheaton.edu>
List: netbsd-bugs
Date: 07/18/2000 13:47:14
>Number:         10629
>Category:       pkg
>Synopsis:       making tiff doesn't look for required packages correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 18 13:48:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Erich T. Enke
>Release:        really recent pkgsrc
>Organization:
	
>Environment:
	
Though it doesn't matter (pkg compiled on a 1.5_ALPHA machine with no mail):
System: NetBSD scilab3.wheaton.edu 1.4.1 NetBSD 1.4.1 (SCILAB) #0: Wed Oct 13 12:56:12 CDT 1999 jdarrow@abigail.wheaton.edu:/var/src/sys/arch/i386/compile/SCILAB i386


>Description:
	
	make package stops at jpeg and png -- it's requirements -- if jpeg
	and png have already been installed and pkg_deleted.  This is particularly nasty
	if one doesn't know the below error messages mean to install those packages:

	/usr/bin/cc -c -O2 -Dunix -g -O -I. -I../libtiff -I/usr/pkg/include -DJPEG_SUPPORT -DZIP_SUPPORT
../libtiff/tif_jpeg.c  -fPIC -DPIC -o .libs/tif_jpeg.lo
../libtiff/tif_jpeg.c:51: jpeglib.h: No such file or directory
../libtiff/tif_jpeg.c:52: jerror.h: No such file or directory
*** Error code 1

	gcc -O2   -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include  -I/usr/pkg/include
-I/usr/X11R6/include  -DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO              -DDOJPEG -DDOTIFF -DDOPNG -DDOPDS
-c xvpng.c
xvpng.c:28: png.h: No such file or directory
*** Error code 1

>How-To-Repeat:
	make package -- first time works
	pkg_delete -R tiff
	make package -- then you get the aforementioned stops.
>Fix:
	
	workaround: install the packages by hand
	have no idea where to look for the actual problem, thereby not knowing a fix.
>Release-Note:
>Audit-Trail:
>Unformatted: