Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81170 - media-libs/tiff-3.7.1-r1 does not compile
Summary: media-libs/tiff-3.7.1-r1 does not compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 14:36 UTC by Idler
Modified: 2005-09-29 19:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Idler 2005-02-07 14:36:56 UTC
tiff is need for samba, mod_php and me
when I try to emerge samba or mod_php, it stop here.

Reproducible: Always
Steps to Reproduce:
1. emerge tiff
2. it stop and gives the following errors.

Actual Results:  
cp.o -MD -MP -MF ".deps/tiffcp.Tpo" -c -o tiffcp.o tiffcp.c; \
then mv -f ".deps/tiffcp.Tpo" ".deps/tiffcp.Po"; else rm -f ".deps/tiffcp.Tpo";
exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff
-I../libtiff    -march=pentium3 -O3 -pipe -MT tiffdither.o -MD -MP -MF
".deps/tiffdither.Tpo" -c -o tiffdither.o tiffdither.c; \
then mv -f ".deps/tiffdither.Tpo" ".deps/tiffdither.Po"; else rm -f
".deps/tiffdither.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff
-I../libtiff    -march=pentium3 -O3 -pipe -MT tiffdump.o -MD -MP -MF
".deps/tiffdump.Tpo" -c -o tiffdump.o tiffdump.c; \
then mv -f ".deps/tiffdump.Tpo" ".deps/tiffdump.Po"; else rm -f
".deps/tiffdump.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff
-I../libtiff    -march=pentium3 -O3 -pipe -MT tiffinfo.o -MD -MP -MF
".deps/tiffinfo.Tpo" -c -o tiffinfo.o tiffinfo.c; \
then mv -f ".deps/tiffinfo.Tpo" ".deps/tiffinfo.Po"; else rm -f
".deps/tiffinfo.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff
-I../libtiff    -march=pentium3 -O3 -pipe -MT tiffmedian.o -MD -MP -MF
".deps/tiffmedian.Tpo" -c -o tiffmedian.o tiffmedian.c; \
then mv -f ".deps/tiffmedian.Tpo" ".deps/tiffmedian.Po"; else rm -f
".deps/tiffmedian.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff
-I../libtiff    -march=pentium3 -O3 -pipe -MT tiffset.o -MD -MP -MF
".deps/tiffset.Tpo" -c -o tiffset.o tiffset.c; \
then mv -f ".deps/tiffset.Tpo" ".deps/tiffset.Po"; else rm -f
".deps/tiffset.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff
-I../libtiff    -march=pentium3 -O3 -pipe -MT tiffsplit.o -MD -MP -MF
".deps/tiffsplit.Tpo" -c -o tiffsplit.o tiffsplit.c; \
then mv -f ".deps/tiffsplit.Tpo" ".deps/tiffsplit.Po"; else rm -f
".deps/tiffsplit.Tpo"; exit 1; fi
tiffset.c: In function `main':
tiffset.c:110: warning: assignment makes integer from pointer without a cast
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=pentium3
-O3 -pipe   -o bmp2tiff  bmp2tiff.o ../libtiff/libtiff.la ../port/libport.la
-ljpeg -lz -lm -lc
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=pentium3
-O3 -pipe   -o fax2ps  fax2ps.o ../libtiff/libtiff.la ../port/libport.la -ljpeg
-lz -lm -lc
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=pentium3
-O3 -pipe   -o fax2tiff  fax2tiff.o ../libtiff/libtiff.la ../port/libport.la
-ljpeg -lz -lm -lc
mkdir .libs
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=pentium3
-O3 -pipe   -o gif2tiff  gif2tiff.o ../libtiff/libtiff.la ../port/libport.la
-ljpeg -lz -lm -lc
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=pentium3
-O3 -pipe   -o pal2rgb  pal2rgb.o ../libtiff/libtiff.la ../port/libport.la
-ljpeg -lz -lm -lc
i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -o .libs/gif2tiff gif2tiff.o 
../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc
i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -o .libs/bmp2tiff bmp2tiff.o 
../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc
i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -o .libs/fax2tiff fax2tiff.o 
../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_ostream<char,
std::char_traits<char> >::seekp(long, std::_Ios_Seekdir)'
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_istream<char,
std::char_traits<char> >::seekg(long, std::_Ios_Seekdir)'
collect2: ld returned 1 exit status
make[1]: *** [gif2tiff] Error 1
make[1]: *** Waiting for unfinished jobs....
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_ostream<char,
std::char_traits<char> >::seekp(long, std::_Ios_Seekdir)'
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_istream<char,
std::char_traits<char> >::seekg(long, std::_Ios_Seekdir)'
collect2: ld returned 1 exit status
make[1]: *** [bmp2tiff] Error 1
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_ostream<char,
std::char_traits<char> >::seekp(long, std::_Ios_Seekdir)'
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_istream<char,
std::char_traits<char> >::seekg(long, std::_Ios_Seekdir)'
collect2: ld returned 1 exit status
make[1]: *** [fax2tiff] Error 1
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/tiff-3.7.1-r1 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

server etc # i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -o .libs/fax2ps
fax2ps.o  ../libtiff/.libs/libtiff.so ../port/.libs/libport.a
/usr/lib/libjpeg.so -lz -lm -lc
fax2ps.o(.text+0x8d0): In function `main':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_ostream<char,
std::char_traits<char> >::seekp(long, std::_Ios_Seekdir)'
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_istream<char,
std::char_traits<char> >::seekg(long, std::_Ios_Seekdir)'
collect2: ld returned 1 exit status
i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -o .libs/pal2rgb pal2rgb.o 
../libtiff/.libs/libtiff.so ../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_ostream<char,
std::char_traits<char> >::seekp(long, std::_Ios_Seekdir)'
../libtiff/.libs/libtiff.so: undefined reference to `std::basic_istream<char,
std::char_traits<char> >::seekg(long, std::_Ios_Seekdir)'
collect2: ld returned 1 exit status
Comment 1 Idler 2005-02-07 14:52:44 UTC
tiff-3.7.0 have no this problem and merged successfully
It's done by emerge ">tiff-3.7.1"

I've also tried tiff-3.7.1, it doesn't compile too.
Comment 2 Stian Skjelstad 2005-06-28 05:47:11 UTC
i686-pc-linux-gnu-gcc

hmmm, shouldn't c++ code be compiled with g++, atleast when it comes to linking
stage.
Comment 3 SpanKY gentoo-dev 2005-09-29 19:20:52 UTC
neglected to post `emerge info` like the bug report page told you to

3.7.3 works fine for me ... could try re-emerging libtool and see if that helps