Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749975 - dev-ml/ocamlbuild-0.14.0-r1 - fails several tests
Summary: dev-ml/ocamlbuild-0.14.0-r1 - fails several tests
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-10-18 17:08 UTC by ernsteiswuerfel
Modified: 2021-01-25 06:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ocamlbuild-0.14.0-r1:20201018-165400.log,27.07 KB, text/plain)
2020-10-18 17:08 UTC, ernsteiswuerfel
Details
emerge --info (file_749975.txt,5.98 KB, text/plain)
2020-10-18 17:16 UTC, ernsteiswuerfel
Details
build.log (ocamlbuild-0.14.0-r1:20201020-130316.log,32.21 KB, text/plain)
2020-10-20 13:07 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-10-18 17:08:58 UTC
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.
Comment 1 ernsteiswuerfel archtester 2020-10-18 17:16:26 UTC
Created attachment 666566 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2020-10-18 17:16:48 UTC
Seems most of the tests fail with:

/bin/sh: ocamlopt: command not found
Command exited with code 127.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-20 05:28:36 UTC
(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".
Comment 4 ernsteiswuerfel archtester 2020-10-20 13:07:20 UTC
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
!=
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-20 14:37:45 UTC
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.