[MacPorts] #38009: iulib @0.4-d9b9406fac75_4 fails to build with tiff @4.0.3: tiff.h doesn't define TIFFHeader
#38009: iulib @0.4-d9b9406fac75_4 fails to build with tiff @4.0.3: tiff.h doesn't define TIFFHeader ------------------------+-------------------------------- Reporter: ww.galen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: iulib ------------------------+-------------------------------- After upgrading tiff from @3.9.7_0+universal to @4.0.3_0+universal, trying to upgrade iulib to @0.4-d9b9406fac75_4 fails during the build stage. The build log (also attached) contains the following relevant error: {{{ :info:build Checking for TIFFHeader in C library tiff... no :info:build AssertionError: please install: libtiff4-dev: :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_iulib/iulib/work/iulib-0.4-d9b9406fac75/SConstruct", line 70: :info:build assert conf.CheckLibWithHeader('tiff', 'tiff.h', 'C', 'TIFFHeader;', 1), "please install: libtiff4-dev" :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_iulib/iulib/work/iulib-0.4-d9b9406fac75" && scons -j2 test=yes }}} config.log also has relevant info: {{{ scons: Configure: Checking for TIFFHeader in C library tiff... .sconf_temp/conftest_2.c <- | | |#include "tiff.h" | |int |main() { | TIFFHeader; |return 0; |} | gcc -o .sconf_temp/conftest_2.o -c -I/opt/local/include .sconf_temp/conftest_2.c .sconf_temp/conftest_2.c: In function 'main': .sconf_temp/conftest_2.c:7: error: 'TIFFHeader' undeclared (first use in this function) .sconf_temp/conftest_2.c:7: error: (Each undeclared identifier is reported only once .sconf_temp/conftest_2.c:7: error: for each function it appears in.) scons: Configure: no }}} As mentioned in the log, no `TIFFHeader` is defined in tiff.h for @4.0.3. Instead, we have `TIFFHeaderCommon`, `TIFFHeaderClassic` and `TIFFHeaderBig`. tiff.h for @3.9.7 defines `TIFFHeader`, with fields corresponding to `TIFFHeaderClassic` in 4.0.3. Looks like iulib @0.4-d9b9406fac75_4 is incompatible with tiff 4. Is this something that the iulib devs need to handle, or can anything be done for macports? -- Ticket URL: <https://trac.macports.org/ticket/38009> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38009: iulib @0.4-d9b9406fac75_4 fails to build with tiff @4.0.3: tiff.h doesn't define TIFFHeader -------------------------+-------------------------------- Reporter: ww.galen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: iulib | -------------------------+-------------------------------- Comment (by ww.galen@…): While upgrading another port, macports re-built iulib as part of fixing broken ports. This time, it installed with no errors. It's possible that one of the ports that iulib has build dependencies on was broken or an older version (which happened to me with kerberos5 and libcomerr). This ticket can be changed to low priority, but it still may be a good idea for someone to see whether this is reproducible on other systems, or was likely just a local issue. -- Ticket URL: <https://trac.macports.org/ticket/38009#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38009: iulib @0.4-d9b9406fac75_4 fails to build with tiff @4.0.3: tiff.h doesn't define TIFFHeader -------------------------+-------------------------------- Reporter: ww.galen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: iulib | -------------------------+-------------------------------- Changes (by ryandesign@…): * cc: papachoco@… (added) Comment: Has duplicate #38022. -- Ticket URL: <https://trac.macports.org/ticket/38009#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38009: iulib @0.4-d9b9406fac75_4 fails to build with tiff @4.0.3: tiff.h doesn't define TIFFHeader -------------------------+-------------------------- Reporter: ww.galen@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: iulib | -------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: It is already fixed upstream; we just need to update the port to a newer version. -- Ticket URL: <https://trac.macports.org/ticket/38009#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38009: iulib @0.4-d9b9406fac75_4 fails to build with tiff @4.0.3: tiff.h doesn't define TIFFHeader -------------------------+-------------------------- Reporter: ww.galen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: iulib | -------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r103035 -- Ticket URL: <https://trac.macports.org/ticket/38009#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts