Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11607 closed defect (worksforme)

[BUG] tiff doesn't compile

Reported by: n.wieland@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: markd@…
Port:

Description

On my powerbook tiff fails with:

---> Building tiff with target all Making all in port make[1]: Nothing to be done for `all'. Making all in libtiff make all-am if /bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/local/include -I/opt/local/include -g -O2 -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 libtool: compile: /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/local/include -I/opt/local/include -g -O2 -MT tif_stream.lo -MD -MP -MF .deps/tif_stream.Tpo -c tif_stream.cxx -fno-common -DPIC -o .libs/tif_stream.o tif_stream.cxx:31:20: error: iostream: No such file or directory tif_stream.cxx:39: error: ISO C++ forbids declaration of 'istream' with no type tif_stream.cxx:39: error: expected ';' before '*' token tif_stream.cxx:47: error: ISO C++ forbids declaration of 'ostream' with no type tif_stream.cxx:47: error: expected ';' before '*' token tif_stream.cxx: In function 'tsize_t _tiffisReadProc(void*, void*, tsize_t)': tif_stream.cxx:62: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:64: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: In function 'tsize_t _tiffosWriteProc(void*, void*, tsize_t)': tif_stream.cxx:71: error: 'ostream' was not declared in this scope tif_stream.cxx:71: error: 'os' was not declared in this scope tif_stream.cxx:71: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx: In function 'toff_t _tiffosSeekProc(void*, toff_t, int)': tif_stream.cxx:89: error: 'ostream' was not declared in this scope tif_stream.cxx:89: error: 'os' was not declared in this scope tif_stream.cxx:89: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:97: error: 'ios' has not been declared tif_stream.cxx:97: error: 'beg' was not declared in this scope tif_stream.cxx:100: error: 'ios' has not been declared tif_stream.cxx:100: error: 'cur' was not declared in this scope tif_stream.cxx:103: error: 'ios' has not been declared tif_stream.cxx:103: error: 'end' was not declared in this scope tif_stream.cxx:112: error: 'ios' has not been declared tif_stream.cxx:112: error: 'iostate' was not declared in this scope tif_stream.cxx:112: error: expected `;' before 'old_state' tif_stream.cxx:115: error: 'old_state' was not declared in this scope tif_stream.cxx:117: error: 'ios' has not been declared tif_stream.cxx:117: error: 'failbit' was not declared in this scope tif_stream.cxx:126: error: 'ios' has not been declared tif_stream.cxx:126: error: 'end' was not declared in this scope tif_stream.cxx:138: error: 'ios' has not been declared tif_stream.cxx:141: error: 'ios' has not been declared tif_stream.cxx:141: error: 'end' was not declared in this scope tif_stream.cxx:147: error: 'ios' has not been declared tif_stream.cxx:147: error: 'beg' was not declared in this scope tif_stream.cxx: In function 'toff_t _tiffisSeekProc(void*, toff_t, int)': tif_stream.cxx:161: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:161: error: 'ios' has not been declared tif_stream.cxx:161: error: 'beg' was not declared in this scope tif_stream.cxx:164: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:164: error: 'ios' has not been declared tif_stream.cxx:164: error: 'cur' was not declared in this scope tif_stream.cxx:167: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:167: error: 'ios' has not been declared tif_stream.cxx:167: error: 'end' was not declared in this scope tif_stream.cxx:171: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: In function 'toff_t _tiffosSizeProc(void*)': tif_stream.cxx:178: error: 'ostream' was not declared in this scope tif_stream.cxx:178: error: 'os' was not declared in this scope tif_stream.cxx:178: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:182: error: 'ios' has not been declared tif_stream.cxx:182: error: 'end' was not declared in this scope tif_stream.cxx: In function 'toff_t _tiffisSizeProc(void*)': tif_stream.cxx:193: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:196: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:196: error: 'ios' has not been declared tif_stream.cxx:196: error: 'end' was not declared in this scope tif_stream.cxx:197: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:198: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: In function 'TIFF* _tiffStreamOpen(const char*, const char*, void*)': tif_stream.cxx:240: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:240: error: 'ostream' was not declared in this scope tif_stream.cxx:240: error: expected primary-expression before ')' token tif_stream.cxx:240: error: expected `;' before 'fd' tif_stream.cxx:241: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:252: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:252: error: 'istream' was not declared in this scope tif_stream.cxx:252: error: expected primary-expression before ')' token tif_stream.cxx:252: error: expected `;' before 'fd' tif_stream.cxx:253: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: At global scope: tif_stream.cxx:267: error: 'ostream' has not been declared tif_stream.cxx: In function 'TIFF* TIFFStreamOpen(const char*, int*)': tif_stream.cxx:273: error: request for member 'fail' in '* os', which is of non-class type 'int' tif_stream.cxx:273: error: request for member 'tellp' in '* os', which is of non-class type 'int' tif_stream.cxx:275: error: request for member 'seekp' in '* os', which is of non-class type 'int' tif_stream.cxx: At global scope: tif_stream.cxx:283: error: 'istream' has not been declared tif_stream.cxx: In function 'TIFF* TIFFStreamOpen(const char*, int*)': tif_stream.cxx:283: error: redefinition of 'TIFF* TIFFStreamOpen(const char*, int*)' tif_stream.cxx:267: error: 'TIFF* TIFFStreamOpen(const char*, int*)' previously defined here make[2]: * [tif_stream.lo] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_tiff/work/tiff-3.8.2" && make all" returned error 2 Command output: tif_stream.cxx:196: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:196: error: 'ios' has not been declared tif_stream.cxx:196: error: 'end' was not declared in this scope tif_stream.cxx:197: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:198: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: In function 'TIFF* _tiffStreamOpen(const char*, const char*, void*)': tif_stream.cxx:240: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:240: error: 'ostream' was not declared in this scope tif_stream.cxx:240: error: expected primary-expression before ')' token tif_stream.cxx:240: error: expected `;' before 'fd' tif_stream.cxx:241: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:252: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:252: error: 'istream' was not declared in this scope tif_stream.cxx:252: error: expected primary-expression before ')' token tif_stream.cxx:252: error: expected `;' before 'fd' tif_stream.cxx:253: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: At global scope: tif_stream.cxx:267: error: 'ostream' has not been declared tif_stream.cxx: In function 'TIFF* TIFFStreamOpen(const char*, int*)': tif_stream.cxx:273: error: request for member 'fail' in '* os', which is of non-class type 'int' tif_stream.cxx:273: error: request for member 'tellp' in '* os', which is of non-class type 'int' tif_stream.cxx:275: error: request for member 'seekp' in '* os', which is of non-class type 'int' tif_stream.cxx: At global scope: tif_stream.cxx:283: error: 'istream' has not been declared tif_stream.cxx: In function 'TIFF* TIFFStreamOpen(const char*, int*)': tif_stream.cxx:283: error: redefinition of 'TIFF* TIFFStreamOpen(const char*, int*)' tif_stream.cxx:267: error: 'TIFF* TIFFStreamOpen(const char*, int*)' previously defined here make[2]: * [tif_stream.lo] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1

Warning: the following items did not execute (for tiff): com.apple.activate com.apple.build com.apple.destroot com.apple.install ---> Building tiff with target all Making all in port make[1]: Nothing to be done for `all'. Making all in libtiff make all-am if /bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/local/include -I/opt/local/include -g -O2 -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 libtool: compile: /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I. -I/opt/local/include -I/opt/local/include -g -O2 -MT tif_stream.lo -MD -MP -MF .deps/tif_stream.Tpo -c tif_stream.cxx -fno-common -DPIC -o .libs/tif_stream.o tif_stream.cxx:31:20: error: iostream: No such file or directory tif_stream.cxx:39: error: ISO C++ forbids declaration of 'istream' with no type tif_stream.cxx:39: error: expected ';' before '*' token tif_stream.cxx:47: error: ISO C++ forbids declaration of 'ostream' with no type tif_stream.cxx:47: error: expected ';' before '*' token tif_stream.cxx: In function 'tsize_t _tiffisReadProc(void*, void*, tsize_t)': tif_stream.cxx:62: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:64: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: In function 'tsize_t _tiffosWriteProc(void*, void*, tsize_t)': tif_stream.cxx:71: error: 'ostream' was not declared in this scope tif_stream.cxx:71: error: 'os' was not declared in this scope tif_stream.cxx:71: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx: In function 'toff_t _tiffosSeekProc(void*, toff_t, int)': tif_stream.cxx:89: error: 'ostream' was not declared in this scope tif_stream.cxx:89: error: 'os' was not declared in this scope tif_stream.cxx:89: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:97: error: 'ios' has not been declared tif_stream.cxx:97: error: 'beg' was not declared in this scope tif_stream.cxx:100: error: 'ios' has not been declared tif_stream.cxx:100: error: 'cur' was not declared in this scope tif_stream.cxx:103: error: 'ios' has not been declared tif_stream.cxx:103: error: 'end' was not declared in this scope tif_stream.cxx:112: error: 'ios' has not been declared tif_stream.cxx:112: error: 'iostate' was not declared in this scope tif_stream.cxx:112: error: expected `;' before 'old_state' tif_stream.cxx:115: error: 'old_state' was not declared in this scope tif_stream.cxx:117: error: 'ios' has not been declared tif_stream.cxx:117: error: 'failbit' was not declared in this scope tif_stream.cxx:126: error: 'ios' has not been declared tif_stream.cxx:126: error: 'end' was not declared in this scope tif_stream.cxx:138: error: 'ios' has not been declared tif_stream.cxx:141: error: 'ios' has not been declared tif_stream.cxx:141: error: 'end' was not declared in this scope tif_stream.cxx:147: error: 'ios' has not been declared tif_stream.cxx:147: error: 'beg' was not declared in this scope tif_stream.cxx: In function 'toff_t _tiffisSeekProc(void*, toff_t, int)': tif_stream.cxx:161: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:161: error: 'ios' has not been declared tif_stream.cxx:161: error: 'beg' was not declared in this scope tif_stream.cxx:164: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:164: error: 'ios' has not been declared tif_stream.cxx:164: error: 'cur' was not declared in this scope tif_stream.cxx:167: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:167: error: 'ios' has not been declared tif_stream.cxx:167: error: 'end' was not declared in this scope tif_stream.cxx:171: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: In function 'toff_t _tiffosSizeProc(void*)': tif_stream.cxx:178: error: 'ostream' was not declared in this scope tif_stream.cxx:178: error: 'os' was not declared in this scope tif_stream.cxx:178: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:182: error: 'ios' has not been declared tif_stream.cxx:182: error: 'end' was not declared in this scope tif_stream.cxx: In function 'toff_t _tiffisSizeProc(void*)': tif_stream.cxx:193: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:196: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:196: error: 'ios' has not been declared tif_stream.cxx:196: error: 'end' was not declared in this scope tif_stream.cxx:197: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:198: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: In function 'TIFF* _tiffStreamOpen(const char*, const char*, void*)': tif_stream.cxx:240: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:240: error: 'ostream' was not declared in this scope tif_stream.cxx:240: error: expected primary-expression before ')' token tif_stream.cxx:240: error: expected `;' before 'fd' tif_stream.cxx:241: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:252: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:252: error: 'istream' was not declared in this scope tif_stream.cxx:252: error: expected primary-expression before ')' token tif_stream.cxx:252: error: expected `;' before 'fd' tif_stream.cxx:253: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: At global scope: tif_stream.cxx:267: error: 'ostream' has not been declared tif_stream.cxx: In function 'TIFF* TIFFStreamOpen(const char*, int*)': tif_stream.cxx:273: error: request for member 'fail' in '* os', which is of non-class type 'int' tif_stream.cxx:273: error: request for member 'tellp' in '* os', which is of non-class type 'int' tif_stream.cxx:275: error: request for member 'seekp' in '* os', which is of non-class type 'int' tif_stream.cxx: At global scope: tif_stream.cxx:283: error: 'istream' has not been declared tif_stream.cxx: In function 'TIFF* TIFFStreamOpen(const char*, int*)': tif_stream.cxx:283: error: redefinition of 'TIFF* TIFFStreamOpen(const char*, int*)' tif_stream.cxx:267: error: 'TIFF* TIFFStreamOpen(const char*, int*)' previously defined here make[2]: * [tif_stream.lo] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_tiff/work/tiff-3.8.2" && make all" returned error 2 Command output: tif_stream.cxx:196: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:196: error: 'ios' has not been declared tif_stream.cxx:196: error: 'end' was not declared in this scope tif_stream.cxx:197: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:198: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: In function 'TIFF* _tiffStreamOpen(const char*, const char*, void*)': tif_stream.cxx:240: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:240: error: 'ostream' was not declared in this scope tif_stream.cxx:240: error: expected primary-expression before ')' token tif_stream.cxx:240: error: expected `;' before 'fd' tif_stream.cxx:241: error: 'class tiffos_data' has no member named 'myOS' tif_stream.cxx:252: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx:252: error: 'istream' was not declared in this scope tif_stream.cxx:252: error: expected primary-expression before ')' token tif_stream.cxx:252: error: expected `;' before 'fd' tif_stream.cxx:253: error: 'class tiffis_data' has no member named 'myIS' tif_stream.cxx: At global scope: tif_stream.cxx:267: error: 'ostream' has not been declared tif_stream.cxx: In function 'TIFF* TIFFStreamOpen(const char*, int*)': tif_stream.cxx:273: error: request for member 'fail' in '* os', which is of non-class type 'int' tif_stream.cxx:273: error: request for member 'tellp' in '* os', which is of non-class type 'int' tif_stream.cxx:275: error: request for member 'seekp' in '* os', which is of non-class type 'int' tif_stream.cxx: At global scope: tif_stream.cxx:283: error: 'istream' has not been declared tif_stream.cxx: In function 'TIFF* TIFFStreamOpen(const char*, int*)': tif_stream.cxx:283: error: redefinition of 'TIFF* TIFFStreamOpen(const char*, int*)' tif_stream.cxx:267: error: 'TIFF* TIFFStreamOpen(const char*, int*)' previously defined here make[2]: * [tif_stream.lo] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1

Warning: the following items did not execute (for tiff): com.apple.activate com.apple.build com.apple.destroot com.apple.install

ngw@adreadedsunnyday ~$ uname -a Darwin adreadedsunnyday.local 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh powerpc

Change History (6)

comment:1 Changed 17 years ago by pipping@…

Milestone: Available Ports
Summary: tiff doesn't compile[BUG] tiff doesn't compile

comment:2 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:3 Changed 17 years ago by markd@…

Was this resolved? I can't duplicate it on PPC or Intel.

comment:4 Changed 17 years ago by markd@…

Cc: markd@… added

comment:5 Changed 17 years ago by markd@…

Resolution: worksforme
Status: newclosed

It works for me. Closing.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.