[MacPorts] #69297: luametatex @2.10.08 does not build on PPC Tiger, Mac OS X 10.4.11, because of "cc1: error: unrecognized command line option "-Wno-unused-result""
MacPorts
noreply at macports.org
Wed Feb 7 12:17:42 UTC 2024
#69297: luametatex @2.10.08 does not build on PPC Tiger, Mac OS X 10.4.11, because
of "cc1: error: unrecognized command line option "-Wno-unused-result""
-------------------------+-----------------------
Reporter: ballapete | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords: ppc tiger
Port: luametatex |
-------------------------+-----------------------
Comment (by ballapete):
Without that re-definition the build continues and ends here with this
well-known error (#67248):
{{{
[ 2%] Building C object CMakeFiles/tex.dir/source/utilities/auxposit.c.o
/opt/local/bin/gcc-apple-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.24/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.10.08/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.10.08/.
-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.10.08/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.10.08/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.10.08/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.10.08/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.10.08/source/luacore/lua54/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.10.08/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.10.08/source/libraries/softposit/source/include
-pipe -Os -DNDEBUG -arch ppc -mmacosx-version-min=10.4 -O3 -Wall -Wcast-
align -Wcast-qual -fno-strict-aliasing -std=gnu99 -MD -MT
CMakeFiles/tex.dir/source/utilities/auxposit.c.o -MF
CMakeFiles/tex.dir/source/utilities/auxposit.c.o.d -o
CMakeFiles/tex.dir/source/utilities/auxposit.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.10.08/source/utilities/auxposit.c
In file included from
/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.10.08/source/utilities/auxposit.c:5:
/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.10.08/source/utilities/auxposit.h:121:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'tex_posit_neg'
/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.10.08/source/utilities/auxposit.h:128:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'tex_posit_abs'
/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.10.08/source/utilities/auxposit.h:135:
error: expected ')' before 'p'
/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.10.08/source/utilities/auxposit.h:140:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'tex_posit_to_dimension'
make[2]: *** [CMakeFiles/tex.dir/source/utilities/auxposit.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.10.08'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69297#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list