checktestdata regex problem

Jaap Eldering jaap at jaapeldering.nl
Fri Aug 26 16:23:02 CEST 2016


On 25-08-16 15:00, David Venhoek wrote:
> Dear Jaap,
> 
> Thanks for the quick reply, my appologies for not reading the
> documentation properly.

No worries.

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

I applied it, but had to make some small fixes and also needed to add an
extra M4 macro to test and set compiler C++11 support.

Could you check if the configure tests now correctly report a failure on
Ubuntu 14.04?

Jaap


> On Thu, Aug 25, 2016 at 2:01 PM, Jaap Eldering <jaap at jaapeldering.nl
> <mailto: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 <mailto:DOMjudge-devel at domjudge.org>
>     https://www.domjudge.org/mailman/listinfo/domjudge-devel
>     <https://www.domjudge.org/mailman/listinfo/domjudge-devel>
> 
> 
> 
> 
> _______________________________________________
> DOMjudge-devel mailing list
> DOMjudge-devel at domjudge.org
> https://www.domjudge.org/mailman/listinfo/domjudge-devel
> 




More information about the DOMjudge-devel mailing list