Package Details: mpir 2.7.2-1

Git Clone URL: https://aur.archlinux.org/mpir.git (read-only)
Package Base: mpir
Description: Library for multiple precision integers and rationals
Upstream URL: http://www.mpir.org/
Licenses: LGPL
Submitter: remyoudompheng
Maintainer: jneem
Last Packager: jneem
Votes: 31
Popularity: 0.347806
First Submitted: 2009-10-23 09:01
Last Updated: 2016-05-11 11:33

Latest Comments

jneem commented on 2014-10-15 02:28

Since the old maintainer seems to be inactive, I just took it over and bumped the version. Let me know if you find a problem...

nplatis commented on 2014-10-11 17:02

It seems that this package has caused headaches to more than one of us. Also it seems that there are two solutions: (a) patch 2.6.0, (b) use the latest 2.7.0 alpha version (now alpha12).

Can the maintainer please adopt one of the two solutions?

nikhilsingh commented on 2014-09-26 16:02

This patch worked for me.

Ekeroot commented on 2014-08-28 02:12

I created a patch for the newest version and it works like a charm with meshlab. Apply this patch to the PKGBUILD and run makepkg -s:

--- PKGBUILD 2013-05-15 04:01:14.000000000 +0200
+++ ../mpir2/PKGBUILD 2014-08-28 03:49:37.399063386 +0200
@@ -1,15 +1,15 @@
# Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
# Maintainer: Alessandro "jakedust" Andrioni <jakedust@gmail.com>
pkgname=mpir
-pkgver=2.6.0
-pkgrel=2
+pkgver=2.7.0
+pkgrel=3
pkgdesc="Library for multiple precision integers and rationals"
arch=('i686' 'x86_64')
url="http://www.mpir.org/"
license=('LGPL')
depends=('gcc-libs')
-source=(http://www.mpir.org/mpir-$pkgver.tar.lzma)
-md5sums=('cec318bffabccd4e5a5d2b63389fde0f')
+source=(http://www.mpir.org/mpir-$pkgver-alpha10.tar.lz)
+md5sums=('00971b90d68bef453f81740dc1bf3815')

build() {
cd "$srcdir/mpir-$pkgver"

soravux commented on 2014-06-30 16:06

Installs correctly when updated to the latest version:
- pkgver=2.6.0
+ pkgver=2.7.0
- source=(http://www.mpir.org/mpir-$pkgver.tar.lzma)
+ source=(http://www.mpir.org/mpir-$pkgver-alpha9.tar.lz)
- md5sums=('cec318bffabccd4e5a5d2b63389fde0f')
+ md5sums=('SKIP')

costashatz commented on 2014-06-21 21:20

@Fincer: Thanks for the patch..It worked like a charm! Please MAINTANER apply it to your PKGBUILD..

Fincer commented on 2014-06-20 18:32

****************************
FIX FOR T-SCAN TEST FAILURE
****************************

See proper fix here:

https://groups.google.com/forum/#!topic/mpir-devel/oLk3gMULxu0

---------
1. Download mpir-2.6.0.tar.lzma

---------
2. You need to modify /tests/mpz/t-scan.c file, line 87:

from

for (oindex = 0; oindex <= numberof (offset); oindex++)

to

for (oindex = 0; oindex < numberof (offset); oindex++)

---------
3. Re-zip the package in tar.lzma format and with proper file name (mpir-2.6.0.tar.lzma).

---------
4. Run

updpkgsums

in your main mpir source directory.

---------
5. Compile and install the package.


********************************************************
MAINTAINER: Please add a patch file to the tarball. Here's the fix, copied from the mpir development site (~timestamps are wrong):

--- mpir-2.6.0/tests/mpz/t-scan.c.orig 2012-10-03 22:07:32.000000000 +0200
+++ mpir-2.6.0/tests/mpz/t-scan.c 2013-04-02 18:39:17.704366985 +0200
@@ -84,7 +84,7 @@

for (isize = 0; isize <= size; isize++)
{
- for (oindex = 0; oindex <= numberof (offset); oindex++)
+ for (oindex = 0; oindex < numberof (offset); oindex++)
{
o = offset[oindex];
if ((int) isize*GMP_NUMB_BITS < -o)

Fincer commented on 2014-06-20 18:30

See proper fix here:

https://groups.google.com/forum/#!topic/mpir-devel/oLk3gMULxu0

1. Download mpir-2.6.0.tar.lzma

2. You need to modify /tests/mpz/t-scan.c file, line 87:

from

for (oindex = 0; oindex <= numberof (offset); oindex++)

to

for (oindex = 0; oindex < numberof (offset); oindex++)

3. Re-zip the package in tar.lzma format and with proper file name (mpir-2.6.0.tar.lzma).

4. Run

updpkgsums

in your main mpir source directory.

5. Compile and install the package.



MAINTAINER: Please add a patch file to the tarball. Here's the fix, copied from the mpir development site (~timestamps are wrong):

--- mpir-2.6.0/tests/mpz/t-scan.c.orig 2012-10-03 22:07:32.000000000 +0200
+++ mpir-2.6.0/tests/mpz/t-scan.c 2013-04-02 18:39:17.704366985 +0200
@@ -84,7 +84,7 @@

for (isize = 0; isize <= size; isize++)
{
- for (oindex = 0; oindex <= numberof (offset); oindex++)
+ for (oindex = 0; oindex < numberof (offset); oindex++)
{
o = offset[oindex];
if ((int) isize*GMP_NUMB_BITS < -o)

Fincer commented on 2014-06-20 18:28

See proper fix here:

https://groups.google.com/forum/#!topic/mpir-devel/oLk3gMULxu0

1. Download mpir-2.6.0.tar.lzma

2. You need to modify /tests/mpz/t-scan.c file, line 87:

from

for (oindex = 0; oindex <= numberof (offset); oindex++)

to

for (oindex = 0; oindex < numberof (offset); oindex++)

3. Re-zip the package in tar.lzma format and with proper file name (mpir-2.6.0.tar.lzma).

4. Run

updpkgsums

in your main mpir source directory.

5. Compile and install the package.



MAINTAINER: Please add a patch file to the tarball. Here's the fix:

--- mpir-2.6.0/tests/mpz/t-scan.c.orig 2012-10-03 22:07:32.000000000 +0200
+++ mpir-2.6.0/tests/mpz/t-scan.c 2013-04-02 18:39:17.704366985 +0200
@@ -84,7 +84,7 @@

for (isize = 0; isize <= size; isize++)
{
- for (oindex = 0; oindex <= numberof (offset); oindex++)
+ for (oindex = 0; oindex < numberof (offset); oindex++)
{
o = offset[oindex];
if ((int) isize*GMP_NUMB_BITS < -o)

dejavu commented on 2014-06-09 22:45

Package is broken, so out-of-date.

All comments