Ticket #13946 (closed defect: fixed)
tiff-3.8.2 +universal doesn't produce working binaries on PPC machines
| Reported by: | dev@… | Owned by: | waqar@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Bugs |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | universal build failure | Cc: | |
| Port: |
Description
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 [...]
Change History
Note: See
TracTickets for help on using
tickets.

