[MacPorts] #58432: mod_wsgi fails to build on macOS 10.14.4

MacPorts noreply at macports.org
Thu May 2 18:07:56 UTC 2019


#58432: mod_wsgi fails to build on macOS 10.14.4
----------------------+----------------------
 Reporter:  gdarm     |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.5.4
 Keywords:  mod_wsgi  |       Port:  mod_wsgi
----------------------+----------------------
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58432>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list