Subject: pkg/31444: tiff-3.7.3 fails to compile on Tru64
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 10/02/2005 07:46:00
>Number:         31444
>Category:       pkg
>Synopsis:       tiff-3.7.3 fails to compile on Tru64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 02 07:46:00 +0000 2005
>Originator:     Rumi Szabolcs
>Release:        Tru64 5.1B-3 (PK5)
# uname -a
OSF1 obelix V5.1 2650 alpha
# sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sun Sep 25 20:31:58 CEST 2005
tiff-3.7.3 from pkgsrc-current fails to build on Tru64 because of the
following error:

(cd .libs && rm -f && ln -s ../
source='tif_stream.cxx' object='tif_stream.lo' libtool=yes  DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile cxx -DHAVE_CONFIG_H  -I. -I. -I. -I.   -I/usr/pkg/include   -O2 -ieee -I/usr/pkg/include -ieee -c -o tif_stream.lo tif_stream.cxx
 cxx -DHAVE_CONFIG_H -I. -I/home/admin/pkgsrc/work/graphics/tiff/work/.buildlink/include -O2 -ieee -ieee -c -MD tif_stream.cxx  -DPIC -o .libs/tif_stream.o
cxx: Error: tif_stream.cxx, line 112: class "ios" has no member "iostate"
                ios::iostate    old_state;
cxx: Info: 1 error detected in the compilation of "tif_stream.cxx".
*** Error code 1


./bootstrap on Tru64
cd /usr/pkgsrc/graphics/tiff

Please refer to section 7.1.2 of this manual:

When I defined __USE_STD_IOSTREAM, tif_stream.cxx compiled seamlessly.