Opened 12 years ago

Closed 12 years ago

#36145 closed defect (duplicate)

cyrus-sasl2 2.1.25_2+kerberos darwin_12 x86_64 build failure

Reported by: andy.huang+macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jmpalacios (Juan Manuel Palacios), landonf (Landon Fuller)
Port: cyrus-sasl2

Description

I'm trying to install subversion-javahlbindings for subclipse, and part of the dependancies built is cyrus-sasl2. Everything builds fine up to that point, but cyrus-sasl2 fails to build because of a merging error. The log file referred is actually very long, so I have attempted to include only what I think may be of relevance to the problem. If this is incorrect, please let me know and I will try to upload the full log file some where for review. Please find the message below:

:debug:destroot universal: merge: merging /opt/local/lib/libsasl2.2.0.25.dylib from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarbal
ls_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_c
yrus-sasl2/cyrus-sasl2/work/destroot-x86_64
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/loc
al/lib/libsasl2.2.0.25.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot
-x86_64//opt/local/lib/libsasl2.2.0.25.dylib differ: char 1, line 1
:info:destroot Command failed: /usr/bin/cmp "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sas
l2/work/destroot-i386//opt/local/lib/libsasl2.2.0.25.dylib" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64//opt/local/lib/libsasl2.2.0.25.dylib" && /bin/cp -v "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/local/lib/libsasl2.2.0.25.dylib" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-intel//opt/local/lib"
:info:destroot Exit code: 1
:debug:destroot universal: merge: lipo created /opt/local/lib/libsasl2.2.0.25.dylib
:debug:destroot universal: merge: merging /opt/local/lib/libsasl2.2.dylib from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64
:debug:destroot universal: merge: /opt/local/lib/libsasl2.2.dylib is a link
:debug:destroot universal: merge: merging /opt/local/lib/libsasl2.dylib from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64
:debug:destroot universal: merge: /opt/local/lib/libsasl2.dylib is a link
:debug:destroot universal: merge: merging /opt/local/lib/libsasl2.la from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/local/lib/libsasl2.la /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64//opt/local/lib/libsasl2.la differ: char 464, line 17
:info:destroot Command failed: /usr/bin/cmp "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/local/lib/libsasl2.la" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64//opt/local/lib/libsasl2.la" && /bin/cp -v "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/local/lib/libsasl2.la" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-intel//opt/local/lib"
:info:destroot Exit code: 1
:info:destroot /usr/bin/lipo: can't figure out the architecture type of: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/local/lib/libsasl2.la
:info:destroot Command failed: /usr/bin/lipo -create "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/local/lib/libsasl2.la" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64//opt/local/lib/libsasl2.la" -output "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-intel//opt/local/lib/libsasl2.la"
:info:destroot Exit code: 1
:info:destroot /usr/bin/libtool: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/local/lib/libsasl2.la is not an object file (not allowed in a library)
:info:destroot /usr/bin/libtool: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64//opt/local/lib/libsasl2.la is not an object file (not allowed in a library)
:info:destroot Command failed: /usr/bin/libtool "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386//opt/local/lib/libsasl2.la" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64//opt/local/lib/libsasl2.la" -o "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-intel//opt/local/lib/libsasl2.la"
:info:destroot Exit code: 1
:error:destroot org.macports.destroot for port cyrus-sasl2 returned: /opt/local/lib/libsasl2.la differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64 and cannot be merged
:debug:destroot Error code: NONE
:debug:destroot Backtrace: /opt/local/lib/libsasl2.la differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64 and cannot be merged
    while executing
"$procedure $targetname"
:info:destroot Warning: targets not executed for cyrus-sasl2: org.macports.install org.macports.destroot
:notice:destroot Please see the log file for port cyrus-sasl2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/main.log

If machine history matters: This machine was Lion, recently upgraded to Mountain Lion. However, I did not have Ports installed prior to today, so ports database is pretty new and clean.

Change History (2)

comment:1 Changed 12 years ago by andy.huang+macports@…

Oops, sorry, I forgot to include the actual console output:

andy$ sudo port install subversion-javahlbindings +no_bdb +universal configure.compiler=llvm-gcc-4.2
--->  Computing dependencies for cyrus-sasl2
--->  Fetching archive for cyrus-sasl2
--->  Attempting to fetch cyrus-sasl2-2.1.25_2+kerberos+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/cyrus-sasl2
--->  Attempting to fetch cyrus-sasl2-2.1.25_2+kerberos+universal.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cyrus-sasl2
--->  Attempting to fetch cyrus-sasl2-2.1.25_2+kerberos+universal.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/cyrus-sasl2
--->  Fetching distfiles for cyrus-sasl2
--->  Verifying checksum(s) for cyrus-sasl2
--->  Extracting cyrus-sasl2
--->  Applying patches to cyrus-sasl2
--->  Configuring cyrus-sasl2
--->  Building cyrus-sasl2
--->  Staging cyrus-sasl2 into destroot
Error: org.macports.destroot for port cyrus-sasl2 returned: /opt/local/lib/libsasl2.la differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/work/destroot-x86_64 and cannot be merged
Please see the log file for port cyrus-sasl2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_cyrus-sasl2/cyrus-sasl2/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade cyrus-sasl2 failed

comment:2 in reply to:  1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmpp@… landonf@… added
Port: cyrus-sasl2 added
Resolution: duplicate
Status: newclosed

Duplicate of #33326.

Note: See TracTickets for help on using tickets.