Opened 12 years ago

Closed 12 years ago

#38050 closed defect (fixed)

graphics/tiff 4.0.3 fails to build with +universal when xz is installed non-universal

Reported by: easye Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: tiff

Description

Upgrading graphics/tiff fails with +universal variant on a iMac with a Intel Core i5 running OS X 10.8.2.

From conversation on #macports, it is known that there is a problem with the +universal variant, but I am filing this ticket because in spite of being in the muniversal PortGroup, the port failed to upgrade.

Attachments (3)

tiff-main.log (324.8 KB) - added by easye 12 years ago.
Log of failed build
i386-libtiff.la (957 bytes) - added by easye 12 years ago.
x64-libtiff.la (992 bytes) - added by easye 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by easye

Attachment: tiff-main.log added

Log of failed build

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Interesting. It built fine for me universal.

The error in your log says:

org.macports.destroot for port tiff returned: /opt/local/lib/libtiff.la differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_tiff/tiff/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_tiff/tiff/work/destroot-x86_64 and cannot be merged

Could you attach those two libtiff.la files so we can see how they differ?

comment:2 Changed 12 years ago by easye

diff i386-libtiff.la x64-libtiff.la

17c17
< inherited_linker_flags=' '
---
> inherited_linker_flags='  -pthread'
20c20
< dependency_libs=' -L/opt/local/lib /opt/local/lib/libjpeg.la -lz'
---
> dependency_libs=' -L/opt/local/lib /opt/local/lib/liblzma.la /opt/local/lib/libjpeg.la -lz'

Changed 12 years ago by easye

Attachment: i386-libtiff.la added

Changed 12 years ago by easye

Attachment: x64-libtiff.la added

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: graphics/tiff 4.0.3 fails to build with +universalgraphics/tiff 4.0.3 fails to build with +universal when xz is installed non-universal

Ah, opportunistic linking with liblzma.

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.