Opened 6 years ago

Closed 6 years ago

#58432 closed defect (fixed)

mod_wsgi fails to build on macOS 10.14.4

Reported by: gdarm (gda) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: mod_wsgi

Description

mod_wsgi fails to build with an error message. I tried to clean the port and tried to install again, but it fails with the same error message

macOS 10.14.4 is installed.

I'm using Xcode 10.2.1.

Other builds are running fine on the system, like apache24, bind9 and php73

Cannot add a maintainer, because it is empty.

/opt/local/bin/apxs -c -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DNDEBUG  -Wc,-pipe -Wc,-Os -Wc,-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -Wc,-arch -Wc,x86_64  -Wc,'-arch x86_64' src/server/mod_wsgi.c src/server/wsgi_*.c -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config  -arch x86_64 -lpython2.7 -ldl  -framework CoreFoundation 
apxs:Error: Unknown option: s.
apxs:Error: Unknown option: y.
apxs:Error: Unknown option: s.
apxs:Error: Unknown option: r.
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-v] [-S <var>=<val>] [<query> ...]
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] [-p] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make: *** [src/server/mod_wsgi.la] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_mod_wsgi/mod_wsgi/work/mod_wsgi-4.5.20'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_mod_wsgi/mod_wsgi/work/mod_wsgi-4.5.20" && /usr/bin/make -j4 -w all 
Exit code: 2

Attachments (1)

mod_wsgi_installl.log (5.3 KB) - added by gdarm (gda) 6 years ago.
port install verbose log

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by gdarm (gda)

Attachment: mod_wsgi_installl.log added

port install verbose log

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Keywords: mod_wsgi removed

comment:2 Changed 6 years ago by Schamschula (Marius Schamschula)

I updated mod_wsgi to version 4.6.5: https://github.com/macports/macports-ports/commit/08b18620f382ad32ed76938a64ea8e54cf99a305

Unfortunately, this did not fix this build issue.

comment:3 Changed 6 years ago by kencu (Ken)

it's spelling out "sysroot".

would seem it doesn't like that!

comment:4 Changed 6 years ago by Schamschula (Marius Schamschula)

Owner: set to Schamschula
Resolution: fixed
Status: newclosed

In 17dfcfc33ec959dd450cd935b3aa3a62e7f4f495/macports-ports (master):

mod_wsgi: fix build failure on macOS 10.14.4

Closes: #58432

Note: See TracTickets for help on using tickets.