Bug 225107 - sci-mathematics/gimps (mprime) has only 32 Bit binary for amd64 no-multilib
Bug#: 225107 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: spock@gentoo.org Reported By: bugzilla@malkusch.de
Component: Applications
URL: 
Summary: sci-mathematics/gimps (mprime) has only 32 Bit binary for amd64 no-multilib
Keywords:  
Status Whiteboard: 
Opened: 2008-06-06 11:03 0000
Description:   Opened: 2008-06-06 11:03 0000
The package sci-mathematics/gimps is unusable on a no-multilib AMD64 system,
because it's a bin install of a 32-Bit binary.

Reproducible: Always

Steps to Reproduce:
1.emerge gimp
2.file /opt/gimps/mprime
3./opt/gimps/mprime

Actual Results:  
2. /opt/gimps/mprime: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
   for GNU/Linux 2.2.5, statically linked, stripped
3. -bash: /opt/gimps/mprime: cannot execute binary file

Expected Results:  
64-bit

Let the ebuild fail if it's on a 64 Bit only system.

------- Comment #1 From Jeroen Roovers 2008-06-06 13:26:02 0000 -------
Hmm, sources[1] are available. The license seems a bit odd:

"If you use my source code to find Mersenne primes, you must agree to adhere to
the GIMPS prize rules[2]. Other than that restriction, you may use this code as
you see fit."

[1] ftp://mersenne.org/gimps/source2414.zip
[2] http://mersenne.org/prize.htm

Would need quite a bit of patching, I'm afraid.

------- Comment #2 From Michal Januszewski 2008-07-16 20:25:54 0000 -------
This should be fixed in CVS now.

Compiling from source doesn't seem to be an option as it looks like the source
is missing some security/encryption-related code.