[MacPorts] #69826: luametatex @2.11.02 does not build on PPC Leopard, Mac OS X 10.5.8, because of unrecognized command line option "-Wno-unused-result"

MacPorts noreply at macports.org
Thu Apr 25 18:17:26 UTC 2024


#69826: luametatex @2.11.02 does not build on PPC Leopard, Mac OS X 10.5.8, because
of unrecognized command line option "-Wno-unused-result"
-------------------------+------------------------
 Reporter:  ballapete    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.9.3
 Keywords:  leopard ppc  |       Port:  luametatex
-------------------------+------------------------
 {{{
 /usr/bin/make  -f CMakeFiles/tex.dir/build.make CMakeFiles/tex.dir/build
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02'
 [  1%] Building C object CMakeFiles/tex.dir/source/utilities/auxmemory.c.o
 /usr/bin/gcc-4.2 -DLMT_COMPILER_USED=\"gcc\" -DLMT_HB_TOO=1
 -DLMT_KPSE_TOO=1 -DMINIZ_NO_ARCHIVE_APIS=1 -DMINIZ_NO_MALLOC=1
 -DMINIZ_NO_STDIO=1 -DZLIB_CONST=1 -I/opt/local/share/cmake-3.29/source
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/libraries/miniz
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/libraries/pplib
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/libraries/pplib/util
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/luacore/lua55/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/libraries/mimalloc/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/libraries/softposit/source/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/libraries/potrace/src
 -pipe -Os -DNDEBUG -std=gnu99 -arch ppc -mmacosx-version-min=10.5 -O3
 -Wall -Wcast-align -Wcast-qual -Wno-unknown-pragmas -Wno-unused-result
 -fno-strict-aliasing -MD -MT
 CMakeFiles/tex.dir/source/utilities/auxmemory.c.o -MF
 CMakeFiles/tex.dir/source/utilities/auxmemory.c.o.d -o
 CMakeFiles/tex.dir/source/utilities/auxmemory.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02/source/utilities/auxmemory.c
 cc1: error: unrecognized command line option "-Wno-unused-result"
 make[2]: *** [CMakeFiles/tex.dir/source/utilities/auxmemory.c.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02'
 make[1]: *** [CMakeFiles/tex.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_tex_luametatex/luametatex/work/luametatex-2.11.02"
 && /usr/bin/make -w all VERBOSE=ON
 Exit code: 2
 }}}

 The use compiler does not understand `-Wno-<whatever> options`.

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


More information about the macports-tickets mailing list