[Pkg-erlang-devel] Bug#939804: Bug#939804: erlang: FTBFS on hppa - escript: exception error: bad argument

John David Anglin dave.anglin at bell.net
Mon Sep 9 12:13:54 BST 2019


Hi Sergei,

On 2019-09-09 2:52 a.m., Sergei Golovan wrote:
>> escript /<<PKGBUILDDIR>>/lib/erl_docgen/priv/bin/github_link.escript diameter_codec.xml \
>> "lib/diameter/doc/src/diameter_codec.xml" "NA" ../xml/diameter_codec.xml
>> escript: exception error: bad argument
>>   in function  re:split/3
> Looks like something goes wrong with the regexp engine introduced in Erlang 20.
> We don't see consistent FTBFS until version 21.0, but it's only
> because re:split/3
> hasn't been used during Erlang builds. If you look at YAWS build logs
> for example
> (see [1]), you'll see that it started to fail on hppa just at the time
> Erlang 20 appears.
Okay.  There have been problems with regexp support on some other packages (emacs,
vim, etc).  The emacs problem mysteriously disappeared in 1:26.1.
>
> I'll look into this, but I can't promise that it'll be soon. The hppa
> architecture has
> pretty low priority now, sorry.
If you know how to reduce one of these regexp problems, I could look again.  Debugging
across forks is problematic (i.e., the error doesn't occur in escript).

Dave

-- 
John David Anglin  dave.anglin at bell.net



More information about the Pkg-erlang-devel mailing list