checktestdata regex problem

David Venhoek david at venhoek.nl
Thu Aug 25 20:00:17 CEST 2016


Dear Jaap,

Thanks for the quick reply, my appologies for not reading the documentation
properly.

I have attached a small patch (based on the master branch) that adds
detection of a failing std::regex implementation to configure.ac.

Kind regards,
David

On Thu, Aug 25, 2016 at 2:01 PM, Jaap Eldering <jaap at jaapeldering.nl> wrote:

> Hi David,
>
> On 25-08-16 06:54, David Venhoek wrote:
> > Dear checktestdata maintainer(s),
> >
> > I tried installing checktestdata today on ubuntu 14.04.5, and noticed
> > that the REGEX command is not properly functioning. Running make check
> > reveals a failure in testcase 14, and manually running said testcase
> > results in the following unfortunately rather unhelpfull message;
> >
> > terminate called after throwing an instance of 'std::regex_error'
> >   what():  regex_error
> > Aborted (core dumped)
> >
> > Is this a known issue, or are there any obvious causes I could check?
>
> This is a known issue: you need at least GCC version 4.9 to have
> complete C++11 regex support (see the README). Ubuntu 14.04 comes with
> 4.8.2.
>
> You could see if there is a backport of GCC 4.9 available for 14.04
> (doesn't look like it), upgrade to 16.04, or you could use an older
> version of checktestdata which uses libboost regexes. Anything before my
> commit of 3-6-2016 should work.
>
> Jaap
>
> _______________________________________________
> DOMjudge-devel mailing list
> DOMjudge-devel at domjudge.org
> https://www.domjudge.org/mailman/listinfo/domjudge-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.domjudge.org/pipermail/domjudge-devel/attachments/20160825/a5c6e172/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-checking-for-std-regex.patch
Type: text/x-patch
Size: 1419 bytes
Desc: not available
URL: <http://www.domjudge.org/pipermail/domjudge-devel/attachments/20160825/a5c6e172/attachment.bin>


More information about the DOMjudge-devel mailing list