Subject: tiff does not build on i386-current using gcc4
To: None <pkgsrc-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: pkgsrc-users
Date: 06/09/2006 16:12:45
I'm not sure what the problem is, but I see:

(cd .libs && rm -f libtiff.so && ln -s libtiff.so.3.8.2 libtiff.so)
rm -fr .libs/libtiff.lax
mkdir .libs/libtiff.lax
rm -fr .libs/libtiff.lax/libport.a
mkdir .libs/libtiff.lax/libport.a
(cd .libs/libtiff.lax/libport.a && ar x /var/obj/pkg/graphics/tiff/work.i386/tiff-3.8.2/libtiff/../port/.libs/libport.a)
ar cru .libs/libtiff.a  tif_aux.o tif_close.o tif_codec.o tif_color.o tif_compress.o tif_dir.o tif_dirinfo.o tif_dirread.o tif_dirwrite.o tif_dumpmode.o tif_error.o tif_extension.o tif_fax3.o tif_fax3sm.o tif_flush.o tif_getimage.o tif_jpeg.o tif_luv.o tif_lzw.o tif_next.o
tif_ojpeg.o tif_open.o tif_packbits.o tif_pixarlog.o tif_predict.o tif_print.o tif_read.o tif_strip.o tif_swab.o tif_thunder.o tif_tile.o tif_unix.o tif_version.o tif_warning.o tif_write.o tif_zip.o  .libs/libtiff.lax/libport.a/dummy.o
ranlib .libs/libtiff.a
rm -fr .libs/libtiff.lax
creating libtiff.la
(cd .libs && rm -f libtiff.la && ln -s ../libtiff.la libtiff.la)
if /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I. -I.   -I/usr/include -I/usr/pkg/include   -O2 -I/usr/include -I/usr/pkg/include -MT tif_stream.lo -MD -MP -MF ".deps/tif_stream.Tpo" -c -o tif_stream.lo tif_stream.cxx;  then mv -f ".deps/tif_stream.Tpo" ".deps/tif_stream.Plo"; else rm -f ".deps/tif_stream.Tpo"; exit 1; fi
  c++ -DHAVE_CONFIG_H -I. -I/var/obj/pkg/graphics/tiff/work.i386/.buildlink/include -O2 -MT tif_stream.lo -MD -MP -MF .deps/tif_stream.Tpo -c tif_stream.cxx  -fPIC -DPIC -o .libs/tif_stream.o
In file included from /usr/include/g++/ios:44,
                  from /usr/include/g++/ostream:45,
                  from /usr/include/g++/iostream:45,
                  from tif_stream.cxx:31:
/usr/include/g++/iosfwd:49:23: bits/fpos.h: No such file or directory
In file included from /usr/include/g++/ios:46,
                  from /usr/include/g++/ostream:45,
                  from /usr/include/g++/iostream:45,
                  from tif_stream.cxx:31:
/usr/include/g++/bits/char_traits.h:46:47: bits/fpos.h: No such file or directory
In file included from /usr/include/g++/ios:46,
                  from /usr/include/g++/ostream:45,
                  from /usr/include/g++/iostream:45,
                  from tif_stream.cxx:31:
/usr/include/g++/bits/char_traits.h:67: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:68: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:69: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:121: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:122: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:123: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:190: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:191: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:192: error: parse error before `;' token
/usr/include/g++/bits/char_traits.h:193: error: parse error before `;' token


the full build log is at http://www.i8u.org/~htodd/tiff-log.bz2


-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte