[MacPorts] #40155: serf1 @1.3.1: Build fails on PPC Tiger (Mac OS X 10.4.11) due to "more than one: -compatibility_version option specified"

MacPorts noreply at macports.org
Thu Aug 22 08:00:29 PDT 2013


#40155: serf1 @1.3.1: Build fails on PPC Tiger (Mac OS X 10.4.11) due to "more than
one: -compatibility_version option specified"
------------------------------+---------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  blair@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.2.99
Resolution:                   |   Keywords:  tiger
      Port:  serf1            |
------------------------------+---------------------

Comment (by Peter_Dyballa@…):

 Replying to [comment:2 josephaw@…]:
 > Is there a work around for now? Thanks.

 I made an experiment by editing line #40 of the Portfile. It now reads

 {{{
  40                 LINKFLAGS="${configure.ldflags}"
 }}}

 instead of

 {{{
  40                 LINKFLAGS="${configure.ldflags}
 [get_canonical_archflags ld]"
 }}}

 before. The only change in the end is that the compiler does not see
 "-arch ppc". On Leopard the command line to build libserf-1.3.0.0.dylib
 became:

 {{{
 /usr/bin/gcc-4.2 -o libserf-1.3.0.0.dylib -L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-install_name,/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.1/libserf-1.dylib
 -Wl,-compatibility_version,4 -Wl,-current_version,4.1 -dynamiclib
 -current_version 3.0.0 -compatibility_version 3.0.0 -undefined
 dynamic_lookup context.os incoming.os outgoing.os ssltunnel.os
 buckets/aggregate_buckets.os buckets/allocator.os
 buckets/barrier_buckets.os buckets/buckets.os buckets/bwtp_buckets.os
 buckets/chunk_buckets.os buckets/dechunk_buckets.os
 buckets/deflate_buckets.os buckets/file_buckets.os
 buckets/headers_buckets.os buckets/iovec_buckets.os
 buckets/limit_buckets.os buckets/mmap_buckets.os
 buckets/request_buckets.os buckets/response_body_buckets.os
 buckets/response_buckets.os buckets/simple_buckets.os
 buckets/socket_buckets.os buckets/ssl_buckets.os auth/auth.os
 auth/auth_basic.os auth/auth_digest.os auth/auth_spnego.os
 auth/auth_spnego_gss.os auth/auth_spnego_sspi.os -L/opt/local/lib
 -L/opt/local/lib/db46 -L/opt/local/lib -lssl -lcrypto -lz -lapr-1
 -lpthread -laprutil-1 -ldb-4.6 -lexpat -liconv
 Creating 'serf-1.pc'
 scons: done building targets.
 }}}

 I missed to save the previous main.log file, but since I removed
 subversion, which depends on serf1, I can easily remove serf1 and rebuild
 it – with a saved log from the *compile* buffer in GNU Emacs for a later
 comparison…

-- 
Ticket URL: <https://trac.macports.org/ticket/40155#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list