[MacPorts] #63723: lighttpd @1.4.60: Configure failure with gcc5

MacPorts noreply at macports.org
Fri Oct 29 21:23:11 UTC 2021


#63723: lighttpd @1.4.60: Configure failure with gcc5
------------------------+------------------------
 Reporter:  evanmiller  |      Owner:  ryandesign
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:              |       Port:  lighttpd
------------------------+------------------------
 Not sure if it's lighttpd, gcc5, or legacysupport, but somebody is passing
 {{{-arch}}} to gcc-mp-5 during configure and it is failing.

 {{{
 configure:3768: checking whether the C compiler works
 configure:3790: /opt/local/bin/gcc-mp-5 -pipe -Os -std=c99
 -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include
 -I/opt/local/include/LegacySupport -L/opt/local/lib
 -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc
 conftest.c  >&5
 gcc-mp-5: error: unrecognized command line option '-arch'
 gcc-mp-5: error: unrecognized command line option '-arch'
 configure:3794: $? = 1
 configure:3832: result: no
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "lighttpd"
 | #define PACKAGE_TARNAME "lighttpd"
 | #define PACKAGE_VERSION "1.4.61"
 | #define PACKAGE_STRING "lighttpd 1.4.61"
 | #define PACKAGE_BUGREPORT
 "https://redmine.lighttpd.net/projects/lighttpd/boards/2"
 | #define PACKAGE_URL "https://www.lighttpd.net/"
 | #define PACKAGE "lighttpd"
 | #define VERSION "1.4.61"
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:3837: error: in
 `/opt/local/var/macports/build/_Users_emiller_macports.local_www_lighttpd/lighttpd/work/lighttpd-1.4.61':
 configure:3839: error: C compiler cannot create executables
 See `config.log' for more details
 }}}

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


More information about the macports-tickets mailing list