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

Sergei Golovan sgolovan at gmail.com
Mon Sep 9 07:52:56 BST 2019


Hi John,

On Mon, Sep 9, 2019 at 1:33 AM John David Anglin <dave.anglin at bell.net> wrote:
>
> Source: erlang
> Version: 1:20.3.8.8+dfsg-1
> Severity: normal
>
> Dear Maintainer,
>
> Since version 1:20.3.8.8+dfsg-1, erlang has failed to build on hppa.  It
> fails with a bad argument exception running escript:

I've noticed that, but at the time the bug has been introduced I
didn't find a solution too.

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

I'll look into this, but I can't promise that it'll be soon. The hppa
architecture has
pretty low priority now, sorry.

[1] https://buildd.debian.org/status/logs.php?pkg=yaws&arch=hppa

Cheers!
-- 
Sergei Golovan



More information about the Pkg-erlang-devel mailing list