[MacPorts] #64996: WIP on making nhc98 build

MacPorts noreply at macports.org
Mon Apr 18 18:08:46 UTC 2022


#64996: WIP on making nhc98 build
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  essandess
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, leopard, snowleopard
      Port:  nhc98         |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Whatever options I try, it still fails. With patches, without patches, on
 10.6, on 10.5.8, using make or gmake, specifying STRIP= or not. Errors
 somewhat differ depending on case, but nothing works.

 This is from the log above, I applied patches and used gmake:

 {{{
 :info:build gmake[2]: Leaving directory
 '/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/src/runtime/Kernel'
 :info:build cd Ratio; /opt/local/bin/gmake fromC
 :info:build gmake[2]: Entering directory
 '/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/src/prelude/Ratio'
 :info:build gcc -c -I../Kernel
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/include
 -O1 -std=gnu89 -DHIGH_BYTE_FIRST    -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/runtime/Builtin/primDecodeFloat.o primDecodeFloat.c
 :info:build /bin/sh: -c: line 0: syntax error near unexpected token `)'
 :info:build /bin/sh: -c: line 0: `if [ 5493) \> 4.2 ]; then echo -Wno-
 pointer-to-int-cast; fi'
 :info:build gcc -c -I../Kernel
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/include
 -O1 -std=gnu89 -DHIGH_BYTE_FIRST    -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/runtime/Builtin/primEncodeFloat.o primEncodeFloat.c
 :info:build /bin/sh: -c: line 0: syntax error near unexpected token `)'
 :info:build /bin/sh: -c: line 0: `if [ 5493) \> 4.2 ]; then echo -Wno-
 pointer-to-int-cast; fi'
 :info:build
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/script/nhc98
 -c -d
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/prelude/Ratio  *.hc
 :info:build gcc -c -I../Kernel
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/include
 -O1 -std=gnu89 -DHIGH_BYTE_FIRST    -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/runtime/Builtin/primDoubleFromInteger.o
 primDoubleFromInteger.c
 :info:build /bin/sh: -c: line 0: syntax error near unexpected token `)'
 :info:build /bin/sh: -c: line 0: `if [ 5493) \> 4.2 ]; then echo -Wno-
 pointer-to-int-cast; fi'
 :info:build gcc -c -I../Kernel
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/include
 -O1 -std=gnu89 -DHIGH_BYTE_FIRST    -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/runtime/Builtin/primIntFromInteger.o
 primIntFromInteger.c
 :info:build /bin/sh: -c: line 0: syntax error near unexpected token `)'
 :info:build /bin/sh: -c: line 0: `if [ 5493) \> 4.2 ]; then echo -Wno-
 pointer-to-int-cast; fi'
 :info:build gcc -c -I../Kernel
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/include
 -O1 -std=gnu89 -DHIGH_BYTE_FIRST    -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/runtime/Builtin/primPackString.o primPackString.c
 :info:build /bin/sh: -c: line 0: syntax error near unexpected token `)'
 :info:build /bin/sh: -c: line 0: `if [ 5493) \> 4.2 ]; then echo -Wno-
 pointer-to-int-cast; fi'
 :info:build gcc -c -I../Kernel
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/include
 -O1 -std=gnu89 -DHIGH_BYTE_FIRST    -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/runtime/Builtin/lengthPS.o lengthPS.c
 :info:build /bin/sh: -c: line 0: syntax error near unexpected token `)'
 :info:build /bin/sh: -c: line 0: `if [ 5493) \> 4.2 ]; then echo -Wno-
 pointer-to-int-cast; fi'
 :info:build
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/script/nhc98
 -H8M -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/cpphs
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/CppIfdef.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/HashDefine.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/MacroPass.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/Options.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/Position.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/ReadFirst.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/RunCpphs.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/SymTab.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Cpphs/Tokenise.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Language/Preprocessor/Unlit.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/Text/ParserCombinators/HuttonMeijer.o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/cpphs/cpphs.o
 :info:build gcc -c -I../Kernel
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/include
 -O1 -std=gnu89 -DHIGH_BYTE_FIRST    -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/runtime/Builtin/unpackPS.o unpackPS.c
 :info:build /bin/sh: -c: line 0: syntax error near unexpected token `)'
 :info:build /bin/sh: -c: line 0: `if [ 5493) \> 4.2 ]; then echo -Wno-
 pointer-to-int-cast; fi'
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/main.o: No such file or directory
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/mutlib.o: No such file or directory
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/mutator.o: No such file or directory
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/Prelude.a: No such file or directory
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/Runtime.a: No such file or directory
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/Prelude.a: No such file or directory
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/Runtime.a: No such file or directory
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/Prelude.a: No such file or directory
 :info:build powerpc-apple-darwin9-gcc-4.0.1:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/Runtime.a: No such file or directory
 :info:build strip
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/cpphs
 :info:build gcc -c -I../Kernel
 -I/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/include
 -O1 -std=gnu89 -DHIGH_BYTE_FIRST    -o
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/targets
 /powerpc-Darwin9/obj/runtime/Builtin/indexPS.o indexPS.c
 :info:build /bin/sh: -c: line 0: syntax error near unexpected token `)'
 :info:build /bin/sh: -c: line 0: `if [ 5493) \> 4.2 ]; then echo -Wno-
 pointer-to-int-cast; fi'
 :info:build error: strip: can't open file:
 /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/lib
 /powerpc-Darwin9/cpphs (No such file or directory)
 :info:build gmake[1]: *** [Makefile.nhc98:61: fromC] Error 1
 :info:build gmake[1]: Leaving directory
 '/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_nhc98/nhc98/work/nhc98-1.22/src/cpphs'
 :info:build gmake: *** [Makefile:398: targets/powerpc-Darwin9/cpphs-gcc]
 Error 2
 :info:build gmake: *** Waiting for unfinished jobs....
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64996#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list