Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 750020

Summary: dev-ml/ocaml-gettext-0.4.2: Error: Syntax error: pattern expected
Product: Gentoo Linux Reporter: Samuel Bernardo <samuelbernardo.mail>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=749711
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge info
emerge -pqv

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).