Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750020 - dev-ml/ocaml-gettext-0.4.2: Error: Syntax error: pattern expected
Summary: dev-ml/ocaml-gettext-0.4.2: Error: Syntax error: pattern expected
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-18 22:12 UTC by Samuel Bernardo
Modified: 2021-01-31 12:51 UTC (History)
1 user (show)

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


Attachments
build log (build.log,9.15 KB, text/x-log)
2020-10-18 22:12 UTC, Samuel Bernardo
Details
emerge info (emerge.info,9.56 KB, text/plain)
2020-10-18 22:12 UTC, Samuel Bernardo
Details
emerge -pqv (emerge.pqv,187 bytes, text/plain)
2020-10-18 22:13 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2020-10-18 22:12:29 UTC
Created attachment 666650 [details]
build log

ocamlyacc src/lib/gettext/base/gettextMo_parser.{ml,mli}
14 shift/reduce conflicts.
   ocamlyacc src/lib/gettext/extension/gettextPo_parser.{ml,mli}
12 shift/reduce conflicts.
File "src/bin/ocaml-xgettext/xgettext.ml", line 125, characters 2-5:
Error: Syntax error: pattern expected.
Done: 483/491 (jobs: 1) * ERROR: dev-ml/ocaml-gettext-0.4.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 503:  Called dune_src_compile
 *   environment, line 324:  Called die
 * The specific snippet of code:
 *       dune build @install || die
Comment 1 Samuel Bernardo 2020-10-18 22:12:48 UTC
Created attachment 666653 [details]
emerge info
Comment 2 Samuel Bernardo 2020-10-18 22:13:03 UTC
Created attachment 666656 [details]
emerge -pqv
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-18 22:16:36 UTC
Hi!

Thanks for the report. I suspect this got fixed this morning and you need to sync:
>Timestamp of repository gentoo: Sun, 18 Oct 2020 00:45:01 +0000

Someone mentioned it in another bug and I popped in a lower bound on the cppo version: https://bugs.gentoo.org/749711#c8.

Can you emerge --sync and let me know if it works for you? (I would expect cppo to be upgraded first by emerge when you try installing again).