[MacPorts] #64930: apache2: build failure due to thread-local storage

MacPorts noreply at macports.org
Sat Apr 23 00:37:07 UTC 2022


#64930: apache2: build failure due to thread-local storage
----------------------+-----------------------------
  Reporter:  bryancn  |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.2
Resolution:           |   Keywords:  leopard powerpc
      Port:  apache2  |
----------------------+-----------------------------

Comment (by barracuda156):

 Same fails on 10.6.8 Rosetta:

 {{{
 ./gen_test_char > test_char.h
 /opt/local/share/apr-1/build/libtool --silent --mode=compile --tag=CC
 /usr/bin/gcc-4.2 -std=gnu99    -pipe -Os -arch ppc    -DDARWIN
 -DSIGPROCMASK_SETS_THREAD_MASK  -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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/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.53/modules/mappers
 -prefer-non-pic -static -c util.c && touch util.lo
 util.c:3183: error: thread-local storage not supported for this target
 make[2]: *** [util.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 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.53/server'
 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.53/server'
 make: *** [all-recursive] Error 1
 make: 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.53'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/work/httpd-2.4.53"
 && /usr/bin/make -j4 -w all
 Exit code: 2
 Error: Failed to build apache2: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_apache2/apache2/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port apache2 failed
 }}}

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


More information about the macports-tickets mailing list