Created attachment 666563 [details] build.log [...] [FAILED] BasicNativeTree Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind dummy.native' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/BasicNativeTree.log. [FAILED] SyntaxFlag Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -use-ocamlfind -package camlp4.macro -syntax camlp4o dummy.native' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_external/SyntaxFlag.log. [FAILED] SeveralTargets Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind dummy.byte dummy.native' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/SeveralTargets.log. [FAILED] PackAcross Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind main.byte main.native' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/PackAcross.log. [FAILED] NativeMliCmi Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind -ocamlc toto -tags "native" foo.cmi' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/NativeMliCmi.log. [FAILED] OutputObj Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind hello.byte.o hello.byte.c hello.native.o' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/OutputObj.log. [FAILED] OutputShared Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind hello.byte.so hello.native.so' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/OutputShared.log. [FAILED] CmxsStubLink Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind src/foo.cmxs' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/CmxsStubLink.log. [FAILED] ModularPlugin2 Failure with not matching message: Warning: Won't be able to compile a native plugin != . [FAILED] ModularPlugin3 Failure with not matching message: Warning: Won't be able to compile a native plugin Warning: tag "toto" does not expect a parameter, but is used with parameter "-g" != Warning: tag "toto" does not expect a parameter, but is used with parameter "-g" . [FAILED] PluginCompilation3 Failure with not matching message: Warning: Won't be able to compile a native plugin != . [FAILED] CmxsFromMllib1 Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind -no-plugin foo.cmxs' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/CmxsFromMllib1.log. [FAILED] CmxsFromMllib2 Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind -no-plugin foo.cmxs' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/CmxsFromMllib2.log. [FAILED] MldylibOverridesMllibCommand '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind -no-plugin mylib.cmxs' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/MldylibOverridesMllib.log. [FAILED] MldylibOverridesCmx Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind -no-plugin foo.cmx foo.cmxs' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/MldylibOverridesCmx.log. [FAILED] MllibOverridesCmx Command '/var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/ocamlbuild.byte -install-bin-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0 -install-lib-dir /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/src -no-ocamlfind -no-plugin foo.cmx foo.cmxs' with error code 10, output written to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/work/ocamlbuild-0.14.0/testsuite/_test_internal/MllibOverridesCmx.log.
Created attachment 666566 [details] emerge --info
Seems most of the tests fail with: /bin/sh: ocamlopt: command not found Command exited with code 127.
(In reply to ernsteiswuerfel from comment #2) > Seems most of the tests fail with: > > /bin/sh: ocamlopt: command not found > Command exited with code 127. Can you make sure USE=ocamlopt is enabled globally? Maybe we need to enforce it for tests for this package? Also, use EMERGE_DEFAULT_OPTS="--complete-graph".
Created attachment 667538 [details] build.log Much better, it fails only 3 tests now: [FAILED] ModularPlugin2 Failure with not matching message: /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: bss-plt forced due to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/temp/camlstartupee00b3.o /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object != . [FAILED] ModularPlugin3 Failure with not matching message: Warning: tag "toto" does not expect a parameter, but is used with parameter "-g" /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: bss-plt forced due to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/temp/camlstartupe69d4d.o /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object != Warning: tag "toto" does not expect a parameter, but is used with parameter "-g" . [FAILED] PluginCompilation3 Failure with not matching message: /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: bss-plt forced due to /var/tmp/portage/dev-ml/ocamlbuild-0.14.0-r1/temp/camlstartupef02f3.o /usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object !=
Nice. I think we can ignore these too (need to investigate a bit more) because it is just upset about the warnings from the linker.