#576 Add extra pari-sage package
Closed: Fixed None Opened 8 years ago by pcpa.

I have been delaying update of the sagemath package expecting both upstreams to agree, but no changes on state of https://groups.google.com/forum/#!topic/sage-devel/8mq22knpbA4 where I asked for some guidelines on how to handle it.

Basically, sagemath is using a snapshot of development of pari. Pari upstream is not much friendly to patches, see http://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=1317

I have been making patches to handle compatibility for quite some time, but it come to not being doable anymore to make sagemath work with upstream pari. Latest one it was doable was sagemath 6.5.

The reason of this request is to be able to package sagemath 6.8, and do the same ArchLinux and Gentoo are doing, that is to have an alternate "pari-sage" package.

I have an experimental package, that at first would not conflict with the existing pari. But would conflict if installing the pari-devel or pari-gp subpackages. For pari-gp, that is a requirement, I can patch the new pari and sagemath to not conflict with existing pari.

Checking what requires pari runtime:

{{{
$ dnf repoquery --whatrequires 'libpari-gmp.so.4()(64bit)'
L-function-0:1.23-15.fc23.x86_64
Macaulay2-0:1.6-19.fc24.x86_64
eclib-0:20150827-1.fc24.x86_64
genus2reduction-0:0.3-16.fc23.x86_64
pari-devel-0:2.7.4-1.fc23.x86_64
pari-gp-0:2.7.4-1.fc23.x86_64
sagemath-core-0:6.5-12.fc24.x86_64
}}}

As extra information, the packaging of sagemath for gentoo is held for several years at https://github.com/cschwan/sage-on-gentoo/tree/master/sci-mathematics/pari

And for ArchLinux, it is at https://www.archlinux.org/packages/community/x86_64/pari-sage/

The library major will be lower than the one from upstream pari. It does so in the build, when noticing it is a snapshot, so, current pari package would have

{{{
$ rpm -ql pari | grep lib64
/usr/lib64/libpari-gmp.so.2.7.4
/usr/lib64/libpari-gmp.so.4
}}}

And, at first, the alternate package would have

{{{
$ rpm -qpl RPMS/x86_64/pari-sage-2.8.1637.g489005a-1.fc24.x86_64.rpm | grep lib64
/usr/lib64/libpari-gmp-tls-2.8.so.0
/usr/lib64/libpari-gmp-tls-2.8.so.0.0.0
}}}


We discussed this at this weeks meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2015-10-15/fpc.2015-10-15-16.01.txt):

  • 576 Add extra pari-sage package (geppetto, 17:12:53)

  • LINK: https://fedorahosted.org/fpc/ticket/576 (geppetto, 17:12:54)
  • ACTION: Under the new bundling guidelines it'll just be much easier
    to bundle the devel. version of pari, just don't ship the -devel
    files. (geppetto, 17:19:02)

Metadata Update from @james:
- Issue assigned to james

7 years ago

Login to comment on this ticket.

Metadata