Opened 3 years ago

Closed 3 years ago

#64930 closed defect (fixed)

apache2: build failure due to thread-local storage

Reported by: bryancn Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: leopard powerpc Cc: Schamschula (Marius Schamschula)
Port: apache2

Description

apache2-2.4.53_0+preforkmpm fails to build with error: thread-local storage not supported for this target.

previous version, apache2 @2.4.52_0+preforkmpm installed & built without incident.

Attachments (2)

main.log (259.6 KB) - added by bryancn 3 years ago.
main_10.6.8.log (217.3 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by bryancn

Attachment: main.log added

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Cc: Schamschula added
Owner: set to ryandesign
Status: newassigned
Summary: Latest Apache2 fails to buildapache2: build failure due to thread-local storage

comment:2 Changed 3 years ago 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

Changed 3 years ago by barracuda156

Attachment: main_10.6.8.log added

comment:3 Changed 3 years ago by barracuda156

It has nothing to do with +preforkmpm however. Building without it or sudo port -v -n install apache2 +workermpm likewise fail.

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 0fe91502dadc0d82bd0f08646d967dfd7767a879/macports-ports (master):

apache2: Requires thread-local storage

Closes: #64930

Note: See TracTickets for help on using tickets.