[MacPorts] #67101: serf1 fails due to architecture mismatch on apr

MacPorts noreply at macports.org
Thu Mar 30 21:24:38 UTC 2023


#67101: serf1 fails due to architecture mismatch on apr
-----------------------+------------------------------
  Reporter:  rmottola  |      Owner:  danielluke
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  lion x86_64 i386
      Port:  apr-util  |
-----------------------+------------------------------

Comment (by rmottola):

 ok, rebuilt.... but still


 {{{
 file /opt/local/lib/libaprutil-1.dylib
 /opt/local/lib/libaprutil-1.dylib: Mach-O dynamically linked shared
 library i386
 }}}


 so, it persists, I attach the logfile. I see  -arch x86_64 and -m64 used
 in configure.

 However in several lines with libtool like this:


 {{{
 :info:build /bin/sh /opt/local/share/apr-1/build/libtool --silent
 --mode=compile --tag=CC /usr/bin/gcc-4.2 -std=gnu99   -pipe -Os
 -DHAVE_CONFIG_H  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-
 util-1.6.3/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-
 util-1.6.3/include/private -I/opt/local/include
 -I/opt/local/include/apr-1  -I/opt/local/include  -o
 dbm/apr_dbm_berkeleydb.lo -c dbm/apr_dbm_berkeleydb.c && touch
 dbm/apr_dbm_berkeleydb.lo
 }}}

 the compiler is used without any options so I bet it is producing 32bit...
 IIRC, Leopard had 64bit optional and without flags defaults to 32bit. On
 Monterey you have 64 bit only

-- 
Ticket URL: <https://trac.macports.org/ticket/67101#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list