Bug#953437: Upstream has a proposed fix

2020-05-18 Thread Thibaut Paumard
Hi,

Le 16/05/2020 à 12:36, Julien Puydt a écrit :
> export sessionid=$(schroot -b -c sid)

Wrong architecture, should be sid_mips64el

Regards, Thibaut



signature.asc
Description: OpenPGP digital signature


Bug#953437: Upstream has a proposed fix

2020-05-16 Thread Julien Puydt
Hi,

Le vendredi 15 mai 2020 à 19:05 +0200, Thibaut Paumard a écrit :
> Le 15/05/2020 à 11:07, Julien Puydt a écrit :
> > It should, but since I haven't been able to reproduce your problem
> > on
> > eller.debian.org...
> > 
> 
> Interesting. I just re-compiled my test-case in a fresh chroot on
> eller,
> and it still segfaults. The base system is sid-mips64el.
> 
> Regards, Thibaut.
> 

This is what I do :

scp hypergeom.c eller.debian.org:~
slogin eller.debian.org
export sessionid=$(schroot -b -c sid)
dd-schroot-cmd -c $sessionid apt-get update
dd-schroot-cmd -c $sessionid apt-get upgrade
dd-schroot-cmd -c $sessionid apt-get install libflint-dev libflint-arb-
dev
schroot -r -c $sessionid
gcc -o hypergeom hypergeom.c -lflint-arb -lflint
./hypergeom 0.6 0.5  (prints hypergeom(6.00e-01, 5.00e-
01)=9.166128e-01)
./hypergeom 0.5 0.6 (prints hypergeom(5.00e-01, 6.00e-
01)=9.462169e-01)
./hypergeom 0.5 0.5 (prints hypergeom(5.00e-01, 5.00e-
01)=9.539590e-01)

Control-D
schroot -e -c $sessionid
rm hypergeom*
Control-D

So no segfault.

If we find the difference between the configurations, that could hint
us to what gets wrong.

Cheers,

JP



Bug#953437: Upstream has a proposed fix

2020-05-15 Thread Thibaut Paumard
Le 15/05/2020 à 11:07, Julien Puydt a écrit :
> It should, but since I haven't been able to reproduce your problem on
> eller.debian.org...
> 

Interesting. I just re-compiled my test-case in a fresh chroot on eller,
and it still segfaults. The base system is sid-mips64el.

Regards, Thibaut.



signature.asc
Description: OpenPGP digital signature


Bug#953437: Upstream has a proposed fix

2020-05-15 Thread Julien Puydt
Hi,

Le vendredi 15 mai 2020 à 09:52 +0200, Thibaut Paumard a écrit :
> Thanks for looking into this.

Flint has a good upstream, you made a good report : it's surprising the
problem isn't down already ;-)

> Le 14/05/2020 à 21:43, Julien Puydt a écrit :
> > Hi,
> > 
> > upstream has tried to provide a fix for your problem on their
> > latest
> > trunk branch : would you be able to give it a try?
> > 
> > Thanks,
> 
> Well, I certainly can try, but wouldn't it be easier for you who know
> this package best?

It should, but since I haven't been able to reproduce your problem on
eller.debian.org...

> I tried compiling the git version of flint on the porterbox
> eller.debian.org but apparently the build-dependencies need
> libfontconfig1 which is not installable at the moment, I/we need to
> wait for it becoming available unless you can compile flint for
> mis64el otherwise:

If that's a transient issue, a few hours will help.

Cheers,

JP



Bug#953437: Upstream has a proposed fix

2020-05-15 Thread Thibaut Paumard
Hi Julien,

Thanks for looking into this.


Le 14/05/2020 à 21:43, Julien Puydt a écrit :
> Hi,
> 
> upstream has tried to provide a fix for your problem on their latest
> trunk branch : would you be able to give it a try?
> 
> Thanks,

Well, I certainly can try, but wouldn't it be easier for you who know
this package best?

I tried compiling the git version of flint on the porterbox
eller.debian.org but apparently the build-dependencies need
libfontconfig1 which is not installable at the moment, I/we need to wait
for it becoming available unless you can compile flint for mis64el
otherwise:

# log in to eller
thibaut@u-wing:~/testhypergeom$ ssh eller.debian.org

# make chroot
thibaut@eller:~$ schroot -b -c sid_mips64el-dchroot -n hypergeom

# install libraries in chroot
thibaut@eller:~$ dd-schroot-cmd -c hypergeom apt-get update
thibaut@eller:~$ dd-schroot-cmd -c hypergeom apt-get install libflint-arb2

# get flint source package
thibaut@eller:~$ dd-schroot-cmd -c hypergeom apt-get install git
thibaut@eller:~$ schroot -r -c hypergeom
(sid_mips64el-dchroot)thibaut@eller:~$ debcheckout flint
^D

# get flint updated source from git
thibaut@eller:~$ mkdir git
thibaut@eller:~$ cd git
thibaut@eller:~/git$ git clone https://github.com/wbhart/flint2.git
# (actually failed, I had to manually download the code into
git/flint2-trunk)
thibaut@eller:~/git$ cp -a ../flint/debian flint2-trunk/debian
thibaut@eller:~/git$ cd flint2-trunk

# install build-dependencies in chroot
thibaut@eller:~/git/flint2-trunk$ dd-schroot-cmd -c hypergeom apt-get
build-dep flint
[...]

The following packages have unmet dependencies:
 libfontconfig1 : Depends: fontconfig-config (>= 2.13.1-4.1) but it is
not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be
caused by held packages.
Command apt-get --dry-run build-dep -- flint exited with exit code 1.
thibaut@eller:~/git/flint2-trunk$



Kind regards, Thibaut.



signature.asc
Description: OpenPGP digital signature


Bug#953437: Upstream has a proposed fix

2020-05-14 Thread Julien Puydt
Hi,

upstream has tried to provide a fix for your problem on their latest
trunk branch : would you be able to give it a try?

Thanks,

JP