Jepp, same error. I tried with a freshly installed arch and both, AUR and manual source build. I remember, when I build it last time (as a dep of meshlab), it worked smoothly. Thats why I also tried compiling 2.7.0 but without luck...
Maybe due to a gcc upgrade?? I have 6.3.1
Cheers
Search Criteria
Package Details: mpir 3.0.0-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/mpir.git (read-only, click to copy) |
---|---|
Package Base: | mpir |
Description: | Library for multiple precision integers and rationals |
Upstream URL: | https://www.mpir.org/ |
Licenses: | LGPL |
Submitter: | remyoudompheng |
Maintainer: | acxz |
Last Packager: | acxz |
Votes: | 44 |
Popularity: | 0.000000 |
First Submitted: | 2009-10-23 09:01 (UTC) |
Last Updated: | 2024-07-20 16:56 (UTC) |
Dependencies (2)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- yasm (yasm-gitAUR) (make)
Required by (4)
- cloudcompare
- cloudcompare-git
- macaulay2
- meshlab-appimage (optional)
Sources (2)
mgrewe commented on 2017-01-16 12:40 (UTC)
jneem commented on 2017-01-16 11:22 (UTC)
Funny, I can't reproduce. Also, the problematic patch on the mailing list you linked to doesn't seem to be present in 2.7.2 (or 2.7.0).
Do you still have a problem if you build it manually from source?
mgrewe commented on 2017-01-15 20:12 (UTC)
The package does not compile. A linker error occured:
preinv_divrem_1.c:(.text+0x0): multiple definition of `__gmpn_preinv_divrem_1'
It seems this error was discussed earlier:
https://groups.google.com/forum/#!msg/mpir-devel/28Fgz1SOhXM/vE3Clf2tjvkJ
Also tried 2.7.0 but with the same error. Any ideas?
jneem commented on 2014-10-15 02:28 (UTC)
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 (UTC)
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 (UTC)
This patch worked for me.
Ekeroot commented on 2014-08-28 02:12 (UTC)
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 (UTC)
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 (UTC)
@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 (UTC)
****************************
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)
Pinned Comments
acxz commented on 2022-05-17 19:04 (UTC)
Development is on Github: https://github.com/acxz/pkgbuilds Please open issues and PRs there instead of commenting.