https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-ml/ocaml-gettext-0.4.2 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 666200 [details] build.log build log and emerge --info
Bad timing! (Always better to find something fixed than new!) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e210d7974317f01982f88ac5c8377884b03318d
Created attachment 666410 [details] Build log The fix in previous comment does not fix the problem reported. This log is from 10am BST (approx), still shows the problem originally reported. I checked the ebuild, and the fix in previous comment has been applied. ian2 ~ # emerge -pqv '=dev-ml/ocaml-gettext-0.4.2::gentoo' [ebuild U ] dev-ml/ocaml-gettext-0.4.2 [0.3.7-r2] USE="ocamlopt%* -test (-doc%)" ian2 ~ #
The failure text in the logs (both of them) is: ..... Done: 247/489 (jobs: 9) File "src/bin/ocaml-xgettext/xgettext.ml", line 125, characters 2-5: Error: Syntax error: pattern expected. Done: 247/489 (jobs: 9) ......
(In reply to Ian Pickworth from comment #4) > The failure text in the logs (both of them) is: > > ..... > Done: 247/489 (jobs: 9) > > File "src/bin/ocaml-xgettext/xgettext.ml", line 125, characters 2-5: > Error: Syntax error: pattern expected. > Done: 247/489 (jobs: 9) > ...... I don’t see this string in ago’s log? The error in his was: 0;1mFile "src/tools/discover-stub/dune", line 3, characters 12-29:[0m 3 | (libraries dune.configurator)) ^^^^^^^^^^^^^^^^^ [1;31mError[0m: Library "dune.configurator" not found. Hint: try: dune external-lib-deps --missing @install Can you try upgrading cppo for me?
Sorry, I thought I saw that error in the first log :-( Installed dev-ml/cppo as follows: ian2 ~ # emerge --oneshot --jobs dev-ml/cppo Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-ml/cppo-1.6.6::gentoo >>> Installing (1 of 1) dev-ml/cppo-1.6.6::gentoo >>> Jobs: 1 of 1 complete Load avg: 0.65, 0.46, 0.31 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. ian2 ~ # And then dev-ml/ocaml emerged OK: ian2 ~ # emerge -uND --with-bdeps y --jobs --keep-going --quiet-fail y @world Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 7) dev-ml/result-1.5::gentoo >>> Emerging (2 of 7) dev-ml/sexplib0-0.14.0::gentoo >>> Installing (1 of 7) dev-ml/result-1.5::gentoo >>> Emerging (3 of 7) dev-ml/csexp-1.3.2::gentoo >>> Installing (2 of 7) dev-ml/sexplib0-0.14.0::gentoo >>> Installing (3 of 7) dev-ml/csexp-1.3.2::gentoo >>> Emerging (4 of 7) dev-ml/dune-private-libs-2.7.1::gentoo >>> Installing (4 of 7) dev-ml/dune-private-libs-2.7.1::gentoo >>> Emerging (5 of 7) dev-ml/dune-configurator-2.7.1::gentoo >>> Installing (5 of 7) dev-ml/dune-configurator-2.7.1::gentoo >>> Emerging (6 of 7) dev-ml/base-0.14.0::gentoo >>> Installing (6 of 7) dev-ml/base-0.14.0::gentoo >>> Emerging (7 of 7) dev-ml/ocaml-gettext-0.4.2::gentoo >>> Installing (7 of 7) dev-ml/ocaml-gettext-0.4.2::gentoo >>> Jobs: 7 of 7 complete Load avg: 2.81, 1.47, 0.74 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * After world updates, it is important to remove obsolete packages with * emerge --depclean. Refer to `man emerge` for more information. ian2 ~ # Maybe dev-ml/ocaml-gettext needs dependency on >=dev-ml/cppo-1.6.6 Many thanks for prompt follow up.
(In reply to Ian Pickworth from comment #6) > Sorry, I thought I saw that error in the first log :-( > > No worries, thank you for reporting it! [...] > >>> Installing (7 of 7) dev-ml/ocaml-gettext-0.4.2::gentoo > >>> Jobs: 7 of 7 complete Load avg: 2.81, 1.47, 0.74 > >>> Auto-cleaning packages... > > >>> No outdated packages were found on your system. > > * GNU info directory index is up-to-date. > * After world updates, it is important to remove obsolete packages with > * emerge --depclean. Refer to `man emerge` for more information. > ian2 ~ # > > > Maybe dev-ml/ocaml-gettext needs dependency on >=dev-ml/cppo-1.6.6 > > Many thanks for prompt follow up. Yeah, I'll add this now and tag the bug. Let me know if you spot any other issues because it's all a bit up in the air at the moment (we're sorting out most of dev-ml/* now though).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53e4936f459e8290f027c2f56f73a32ea4b83b63 commit 53e4936f459e8290f027c2f56f73a32ea4b83b63 Author: Sam James <sam@gentoo.org> AuthorDate: 2020-10-18 12:05:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-10-18 12:05:46 +0000 dev-ml/ocaml-gettext: add lower bound on cppo Fix additional problem caused by not-sufficiently-recent cppo, see bug for details (different problem). Bug: https://bugs.gentoo.org/749711 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org> dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)