Opened 19 months ago
#67369 assigned defect
apache2 fails on Rosetta even when apr-util is fixed
Reported by: | barracuda156 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | powerpc, snowleopard, rosetta | Cc: | Schamschula (Marius Schamschula) |
Port: | apache2 |
Description
/opt/local/share/apr-1/build/libtool --silent --mode=compile --tag=CC /opt/local/bin/gcc-mp-12 -pipe -Os -arch ppc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -I/opt/local/include -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/os/unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/aaa -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/cache -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/core -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/database -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/filters -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/ldap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/server -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/loggers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/lua -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/proxy -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/http2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/session -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/ssl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/test -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/server -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/md -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/arch/unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/dav/main -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/generators -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/modules/mappers -prefer-non-pic -static -c fcgistarter.c && touch fcgistarter.lo /opt/local/share/apr-1/build/libtool --silent --mode=link --tag=CC /opt/local/bin/gcc-mp-12 -pipe -Os -arch ppc -L/opt/local/lib/db48 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o htpasswd htpasswd.lo passwd_common.lo /opt/local/lib/libaprutil-1.la -ldb-4.8 -lexpat -liconv /opt/local/lib/libapr-1.la -lpthread /opt/local/share/apr-1/build/libtool --silent --mode=link --tag=CC /opt/local/bin/gcc-mp-12 -pipe -Os -arch ppc -L/opt/local/lib/db48 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o htdigest htdigest.lo /opt/local/lib/libaprutil-1.la -ldb-4.8 -lexpat -liconv /opt/local/lib/libapr-1.la -lpthread Undefined symbols: "_apr_md5_encode", referenced from: _mkhash in passwd_common.o "_apr_bcrypt_encode", referenced from: _mkhash in passwd_common.o "_apr_sha1_base64", referenced from: _mkhash in passwd_common.o "_apr_password_validate", referenced from: _main in htpasswd.o ld: symbol(s) not found collect2: error: ld returned 1 exit status make[2]: *** [htpasswd] Error 1 make[2]: *** Waiting for unfinished jobs.... Undefined symbols: "_apr_md5_update", referenced from: _add_password in htdigest.o "_apr_md5_final", referenced from: _add_password in htdigest.o "_apr_md5_init", referenced from: _add_password in htdigest.o ld: symbol(s) not found collect2: error: ld returned 1 exit status make[2]: *** [htdigest] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/support' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.57/support' make: *** [all-recursive] Error 1
While initial failure was caused by a broken apr-util
#67101 – this appears to be a different issue. Checking apr*
dylibs, all looks fine:
macmini:~ svacchanda$ file /opt/local/lib/libapr-1.dylib /opt/local/lib/libapr-1.dylib: Mach-O dynamically linked shared library ppc macmini:~ svacchanda$ file /opt/local/lib/libaprutil-1.dylib /opt/local/lib/libaprutil-1.dylib: Mach-O dynamically linked shared library ppc
Attachments (1)
Note: See
TracTickets for help on using
tickets.