Subject: pkg/23515: graphics/tiff is broken under amd64
To: None <gnats-bugs@gnats.netbsd.org>
From: Ron Roskens <roskens@elfin.net>
List: netbsd-bugs
Date: 11/20/2003 15:34:00
>Number:         23515
>Category:       pkg
>Synopsis:       graphics/tiff is broken under amd64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 22:00:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ron Roskens
>Release:        NetBSD 1.6ZF
>Organization:
>Environment:
	
	
System: NetBSD screamer.tx.elfin.net 1.6ZF NetBSD 1.6ZF (ASUS) #0: Fri Nov 21 00:30:13 UTC 2003 root@screamer.tx.elfin.net:/d/d01/obj/src/sys/arch/amd64/compile/ASUS amd64
Architecture: x86_64
Machine: amd64
>Description:
	
After installing windowmaker I noticed that some of the icons were not being
displayed. I narrowed it down to the tiff files, and they fail with:

# tiffinfo /usr/pkg/share/WindowMaker/Icons/real.tiff
/usr/pkg/share/WindowMaker/Icons/real.tiff: Seek error accessing TIFF directory.

As best I can tell it has something to do with libtiff/tif_unix.c:

/obj/pkgsrc/graphics/tiff/work.screamer/.buildlink/bin/libtool  cc -c -O2 -I/usr/pkg/include  -Dunix  -I/usr/pkg/include  -g  -I. -I../libtiff -I/obj/pkgsrc/graphics/tiff/work.screamer/.buildlink/include -DJPEG_SUPPORT -DZIP_SUPPORT ../libtiff/tif_unix.c
cc -c -O2 -I/obj/pkgsrc/graphics/tiff/work.screamer/.buildlink/include -Dunix -I/obj/pkgsrc/graphics/tiff/work.screamer/.buildlink/include -g -I. -I../libtiff -I/obj/pkgsrc/graphics/tiff/work.screamer/.buildlink/include -DJPEG_SUPPORT -DZIP_SUPPORT ../libtiff/tif_unix.c  -fPIC -DPIC -o .libs/tif_unix.o
../libtiff/tif_unix.c: In function `_tiffReadProc':
../libtiff/tif_unix.c:38: warning: cast from pointer to integer of different size
../libtiff/tif_unix.c: In function `_tiffWriteProc':
../libtiff/tif_unix.c:44: warning: cast from pointer to integer of different size
../libtiff/tif_unix.c: In function `_tiffSeekProc':
../libtiff/tif_unix.c:53: warning: cast from pointer to integer of different size
../libtiff/tif_unix.c: In function `_tiffCloseProc':
../libtiff/tif_unix.c:60: warning: cast from pointer to integer of different size
../libtiff/tif_unix.c: In function `_tiffSizeProc':
../libtiff/tif_unix.c:77: warning: cast from pointer to integer of different size
../libtiff/tif_unix.c: In function `TIFFFdOpen':
../libtiff/tif_unix.c:130: warning: cast to pointer from integer of different size

>How-To-Repeat:
	
# cd pkgsrc/graphics/tiff
# make install

>Fix:

Not really sure.
>Release-Note:
>Audit-Trail:
>Unformatted: