[MacPorts] #13946: tiff-3.8.2 +universal doesn't produce working binaries on PPC machines
#13946: tiff-3.8.2 +universal doesn't produce working binaries on PPC machines -------------------------------------+-------------------------------------- Reporter: dev@ultravelours.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: universal build failure | -------------------------------------+-------------------------------------- I tried to build a universal version of the 'tiff' port. The build process doesn't give any errors, everything installs fine. Unfortunately the resulting binaries fail to read any TIFF file, the same is true for applications that depend on libtiff like ImageMagick. The error looks like this: {{{ $ tiffinfo the_image.tif the_image.tif: Not a TIFF file, bad version number 10752 (0x2a00). }}} There seems to be no extensive test suite, a 'sudo make check' in the MacPorts build directory just yields: {{{ [...] make check-TESTS PASS: ascii_tag PASS: long_tag PASS: short_tag PASS: strip_rw ================== All 4 tests passed ================== [...] }}} When I build the 'tiff' port without the +universal variant, everything seems to work again (although there are some warnings): {{{ $ tiffinfo the_image.tif TIFFReadDirectory: Warning, the_image.tif : unknown field with tag 34858 (0x882a) encountered. TIFF Directory at offset 0x8 (8) Subfile Type: (0 = 0x0) Image Width: 2930 Image Length: 1953 Resolution: 150, 150 pixels/inch Bits/Sample: 8 [...] }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13946> MacPorts </projects/macports> Ports system for Mac OS
#13946: tiff-3.8.2 +universal doesn't produce working binaries on PPC machines -----------------------------------+---------------------------------------- Reporter: dev@ultravelours.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: universal build failure -----------------------------------+---------------------------------------- Comment (by dev@ultravelours.com): This seems to be an endianess problem and I'm not the only one to run into that, others got the same failure http://groups.google.com/group/hugin- ptx/msg/72dbefc28ba4842a . I searched the web and found http://www.dleo.de/howto/imagemagick_fuer_os_x_kompilieren with another workaround. Unfortunately this would require patching after the configure phase if I understand it correctly. For the moment I manually applied those fixes by splitting the process into two parts. First I downloaded, extracted and configured the sources with 'sudo port configure tiff +universal'. Then I manually applied the fixes to 'tif_config.h' and 'tifconf.h'. Now I could finish it with 'sudo port install tiff +universal'. This should probably be fixed upstream, as it's not a MacPorts related bug. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13946#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13946: tiff-3.8.2 +universal doesn't produce working binaries on PPC machines -----------------------------------+---------------------------------------- Reporter: dev@ultravelours.com | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: universal build failure -----------------------------------+---------------------------------------- Changes (by ryandesign@macports.org): * cc: waqar@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => waqar@macports.org Comment: Assigning to maintainer of tiff. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13946#comment:2> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts