New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33326 (new defect)

Opened 2 years ago

Last modified 4 months ago

cyrus-sasl2 @2.1.23 +universal +kerberos: libsasl2.la differs and cannot be merged

Reported by: jjmartin540@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: muniversal Cc: jmpp@…, landonf@…, andy.huang+macports@…, ryandesign@…, egall@…
Port: cyrus-sasl2

Description

I have an issue where I am trying to upgrade my outdated packages, and libgdiplus fails to build citing that cyrus-sasl2 is not universal. The cyrus-sasl2 build won't install because lipo won't merge the two compiled libraries because it claims it can't figure out the architecture of the i386 .la.

I am running Snow Leopard (10.6.8), XCode 4.0.2, the latest version of the "port" command, and the version of cyrus-sasl2 in question is 2.2.0.23

attached is the debug output of what happens when I try to install post-install-failure, and what happens when I run install after having run clean and uninstall.

Attachments

attemptedCyrusSasl2Build1.txt (181.9 KB) - added by jjmartin540@… 2 years ago.
build after a failed install with debug options
attemptedCyrusSasl2Build2.txt (314.5 KB) - added by jjmartin540@… 2 years ago.
build after uninsstall and clean have been run
33326.zip (1.8 KB) - added by andy.huang+macports@… 19 months ago.
Requested files in a zip

Change History

Changed 2 years ago by jjmartin540@…

build after a failed install with debug options

Changed 2 years ago by jjmartin540@…

build after uninsstall and clean have been run

comment:1 Changed 2 years ago by jjmartin540@…

  • Cc jjmartin540@… added

Cc Me!

comment:2 Changed 2 years ago by snc@…

  • Cc jmpp@…, landonf@… added; jjmartin540@… removed
  • Keywords clang libtool added; cyrus-sasl2, snow leopard, header files, universal removed

comment:3 Changed 21 months ago by jmr@…

  • Keywords muniversal added; clang libtool removed
  • Summary changed from cyrus-sasl2 v 2.2.0.23, +universal +kerberos will not link/install to cyrus-sasl2 @2.1.23 +universal +kerberos will not link/install

Is this still a problem with 2.1.25?

comment:4 Changed 19 months ago by ryandesign@…

  • Cc andy.huang+macports@…, ryandesign@… added
  • Summary changed from cyrus-sasl2 @2.1.23 +universal +kerberos will not link/install to cyrus-sasl2 @2.1.23 +universal +kerberos: libsasl2.la differs and cannot be merged

The log says:

Error: Target org.macports.destroot returned: /opt/local/lib/libsasl2.la differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64 and cannot be merged

Has duplicate #36145.

In what way do the two libsasl2.la files differ? Please attach them both here so that we can examine them.

Changed 19 months ago by andy.huang+macports@…

Requested files in a zip

comment:5 Changed 19 months ago by andy.huang+macports@…

Please find the files in zip:

libsasl2.la is /opt/local/lib/libsasl2.la

libsasl2.i386.la is /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386/lib/libsasl2.la

libsasl2.x86_64.la is /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64/lib/libsasl2.la

Thanks!

comment:6 Changed 12 months ago by egall@…

  • Cc egall@… added

Cc Me!

comment:7 Changed 4 months ago by ryandesign@…

And here's the difference between them:

$ diff -u libsasl2.i386.la libsasl2.x86_64.la 
--- libsasl2.i386.la	2012-09-14 13:45:38.000000000 -0500
+++ libsasl2.x86_64.la	2012-09-14 13:46:06.000000000 -0500
@@ -14,7 +14,7 @@
 old_library=''
 
 # Libraries that this one depends upon.
-dependency_libs=' -L/opt/local/lib -ldl -lresolv -lresolv'
+dependency_libs=' -L/opt/local/lib64 -L/opt/local/lib -ldl -lresolv -lresolv'
 
 # Version information for libsasl2.
 current=2

OS X never has "lib64" directories, so that part of it is wrong. I've not seen that problem with this port; maybe it's been fixed in later versions of cyrus-sasl2. Please "sudo port selfupdate" and then try again?

Note: See TracTickets for help on using tickets.