On 2019-01-30 01:17:16, sisyphus359@gmail.com wrote:
Show quoted text> Duh ... that patch needs to do:
>
> sprintf(f, "%s", "1");
> instead of
> f = "1";
>
> All then looks ok.
> I've just uploaded mpfr-4.08.
>
> Now I can spend the rest of the day trying to restore my Ubuntu-18.04
> box
> to normality.
> I usually run a recent devel build of mpfr, and, having installed the
> 4.0.x
> builds, I now get weird linking errors when I re-install the devel
> build.
> I've just emptied everything that's "mpfr" out of /usr/local, hoping
> that a
> rebuild from scratch of the devel version will get me back to where I
> was.
> Oh, the fun !!
Well, my recommendation is to use docker for these situations. Something like
docker run -it -v /tmp/share:/tmp/share ubuntu:18.04 bash
is enough to get a clean and ephemeral instance of ubuntu 18.04 suitable for running tests.
But I can confirm that 4.08 does not fail anymore on my smokers. Resolving ticket.
Regards,
Slaven
Show quoted text>
> Cheers,
> Rob
>
> On Wed, Jan 30, 2019 at 1:31 PM sisyphus via RT <bug-Math-
> MPFR@rt.cpan.org>
> wrote:
>
> > Queue: Math-MPFR
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=128393 >
> >
> > Hmm ... that patch just leads to a segfault a bit further on.
> > Cheers,
> > Rob
> >
> > On Wed, Jan 30, 2019 at 12:41 PM sisyphus via RT <
> > bug-Math-MPFR@rt.cpan.org>
> > wrote:
> >
> > > Queue: Math-MPFR
> > > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=128393 >
> > >
> > > Thanks for the report Slaven.
> > > I was unaware of (or had at least forgotten about) that mpfr bug -
> > > though
> > > it's mentioned in the ChangeLog , and probably elsewhere.
> > >
> > > I'll upload 4.08 later today, and at the same time I'll backpan
> > > 4.07.
> > >
> > > I think I can fairly easily work around the issue - if not, 4.08
> > > will
> > > simply disable nvtoa() for mpfr versions less than 4.0.2.
> > >
> > > Attached is the patch (diff.txt) that I'll be trying.
> > >
> > > Cheers,
> > > Rob
> > >
> > >
> > >
> > > On Wed, Jan 30, 2019 at 7:25 AM Slaven_Rezic via RT <
> > > bug-Math-MPFR@rt.cpan.org> wrote:
> > >
> > > > Tue Jan 29 15:25:04 2019: Request 128393 was acted upon.
> > > > Transaction: Ticket created by SREZIC
> > > > Queue: Math-MPFR
> > > > Subject: MPFR assertion failed
> > > > Broken in: 4.07
> > > > Severity: (no value)
> > > > Owner: Nobody
> > > > Requestors: SREZIC@cpan.org
> > > > Status: new
> > > > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=128393 >
> > > >
> > > >
> > > > On Ubuntu 18.04 t/nvtoa.t fails:
> > > >
> > > > ...
> > > > ../../src/get_str.c:2336: MPFR assertion failed: m >= 2 ||
> > > > (!(((b) &
> > ((b)
> > > > - 1)) == 0) && m >= 1)
> > > > t/nvtoa.t ........................
> > > > No subtests run
> > > > ...
> > > >
> > > > libmpfr-dev 4.0.1-1 is installed here.
> > > >
> > >
> > >
> >