[MacPorts] #68570: serf1 fails to build - wrong architecture on 10.5 64bit ?

MacPorts noreply at macports.org
Fri Oct 27 15:48:28 UTC 2023


#68570: serf1 fails to build - wrong architecture on 10.5 64bit ?
---------------------------+--------------------
 Reporter:  rmottola       |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:
 Keywords:  leopard 64bit  |       Port:  serf1
---------------------------+--------------------
 after apr-utils finally generates a proper 64bit dylib I try to build
 serf1 which fails with a lot of symbols.

 I see this partç

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/cc/usr/bin/gcc-4.2
 -o libserf-1.1.3.10.dylib -Wl,-install_name,/opt/local/lib/libserf-1.dylib
 -dynamiclib -Wl,-current_version,1.3.10 -Wl,-compatibility_version,1.3.0
 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/libexec/openssl3/lib -L/opt/local/lib -L/opt/local/lib/db48
 -lssl -lcrypto -lz -lapr-1 -lpthread -laprutil-1 -ldb-4.8 -lexpat -liconv
 ld warning: in /opt/local/libexec/openssl3/lib/libssl.dylib, file is not
 of required architecture
 ld warning: in /opt/local/libexec/openssl3/lib/libcrypto.dylib, file is
 not of required architecture
 ld warning: in /opt/local/lib/libz.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/libapr-1.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/libaprutil-1.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/db48/libdb-4.8.dylib, file is not of
 required architecture
 ld warning: in /opt/local/lib/libexpat.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/libiconv.dylib, file is not of required
 architecture
 Undefined symbols:
   "_apr_uuid_get", referenced from:
       _serf__setup_request_digest_auth in auth_digest.os
   "_BIO_meth_free", referenced from:
 }}}

 If I check e.g.


 {{{
 file /opt/local/libexec/openssl3/lib/libssl.dylib
 /opt/local/libexec/openssl3/lib/libssl.dylib: Mach-O 64-bit dynamically
 linked shared library x86_64
 }}}

 Can I desume it is trying to build wrongly a 32bit version?

 I see no arch flags

-- 
Ticket URL: <https://trac.macports.org/ticket/68570>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list