[MacPorts] #56089: source-highlight @ 3.1.8_4 does not build on PPC Leopard, Mac OS X 10.5.8, because "checking whether the C compiler works... no"

MacPorts noreply at macports.org
Sun Mar 18 10:10:00 UTC 2018


#56089: source-highlight @ 3.1.8_4 does not build on PPC Leopard, Mac OS X 10.5.8,
because "checking whether the C compiler works... no"
-----------------------+------------------------------
 Reporter:  ballapete  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.2
 Keywords:  leopard    |       Port:  source-highlight
-----------------------+------------------------------
 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_textproc_source-highlight/source-
 highlight/work/source-highlight-3.1.8" && ./configure --prefix=/opt/local
 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-
 boost=/opt/local --with-boost-regex=boost_regex-mt
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_textproc_source-highlight/source-
 highlight/work/source-highlight-3.1.8" && ./configure --prefix=/opt/local
 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-
 boost=/opt/local --with-boost-regex=boost_regex-mt
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_textproc_source-highlight/source-
 highlight/work/source-highlight-3.1.8/build-aux/missing: Unknown `--is-
 lightweight' option
 Try
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_textproc_source-highlight/source-
 highlight/work/source-highlight-3.1.8/build-aux/missing --help' for more
 information
 configure: WARNING: 'missing' script is too old or missing
 checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking for gcc... /opt/local/bin/gcc-mp-6
 checking whether the C compiler works... no
 configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_textproc_source-highlight/source-
 highlight/work/source-highlight-3.1.8':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 }}}

 `config.log` contains

 {{{
 configure:4155: checking whether the C compiler works
 configure:4177: /opt/local/bin/gcc-mp-6 -pipe -Os -m32
 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wc,-stdlib=macports-libstdc++ conftest.c  >&5
 gcc-mp-6: error: unrecognized command line option '-Wc,-stdlib=macports-
 libstdc++'
 configure:4181: $? = 1
 configure:4219: result: no
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "GNU source-highlight"
 | #define PACKAGE_TARNAME "source-highlight"
 | #define PACKAGE_VERSION "3.1.8"
 | #define PACKAGE_STRING "GNU source-highlight 3.1.8"
 | #define PACKAGE_BUGREPORT ""
 | #define PACKAGE_URL "http://www.gnu.org/software/source-highlight/"
 | #define PACKAGE "source-highlight"
 | #define VERSION "3.1.8"
 | #define LIBRARY_VERSION "4:1:0"
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:4224: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_textproc_source-highlight/source-
 highlight/work/source-highlight-3.1.8':
 configure:4226: error: C compiler cannot create executables
 }}}

 Shouldn't it be `'-Wl,-stdlib=macports-libstdc++'`?

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


More information about the macports-tickets mailing list