sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.45k stars 482 forks source link

macaulay2 optional spkg is broken with parallel make #4862

Closed williamstein closed 15 years ago

williamstein commented 15 years ago
checking for strip... strip
checking whether strip accepts the remove-section option... yes
checking "checking whether make -j8 is GNU make"... ../../configure: line 2361: make -j8: command not found
configure: error: "GNU make is required: make -j8"

Cheers,

Michael

CC: @haraldschilly

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/4862

williamstein commented 15 years ago
comment:1

And, for the record, the spkg doesn't build on the new sage.math (Ubuntu 8.04

williamstein commented 15 years ago

Description changed:

--- 
+++ 
@@ -1,6 +1,6 @@
-1. The name of it in experimental is macaulay2-20061014.p1.spkg but it should be macaulay2-20081014.p1.spkg
+1. The only optional/experimental Macaulay2 spkg is "macaulay2-20061014.p1.spkg" in experimental.  Huh?  That's ancient.

-2. If you do `export MAKE="make -j4"` then the build fails as follows:
+COMMENT: That 2006 one doesn't work if you do `export MAKE="make -j4"` then the build fails as follows:

checking for gmake... make -j20 @@ -8,6 +8,14 @@ configure: make -j20: GNU make is required


-This could be fixed by not using $MAKE to do anything in parallel, which would be better than just having it break.
+This could be fixed by not using $MAKE to do anything in parallel, which would be better than just having it break...
+
+3. There are some newer ones here: 
+
+http://sage.math.washington.edu/home/gfurnish/old/spkg/
+
+But the newest: macaulay2-1.1-r7221.spkg fails to build immediately with errors about gdbm.spkg missing, but there is no gdbm.spkg.

+
+
85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 15 years ago
comment:2

The issue is with the website, i.e. all the spkgs are in www-files.

Cheers,

Michael

williamstein commented 15 years ago
comment:3

now fixed. and it does build on sage.math, but not in parallel...

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 15 years ago

Description changed:

--- 
+++ 
@@ -1,21 +1,11 @@
-1. The only optional/experimental Macaulay2 spkg is "macaulay2-20061014.p1.spkg" in experimental.  Huh?  That's ancient.
-
-COMMENT: That 2006 one doesn't work if you do `export MAKE="make -j4"` then the build fails as follows:

-checking for gmake... make -j20 -checking whether make -j20 is GNU make... ./configure: line 1497: make -j20: command not found -configure: make -j20: GNU make is required +checking for strip... strip +checking whether strip accepts the remove-section option... yes +checking "checking whether make -j8 is GNU make"... ../../configure: line 2361: make -j8: command not found +configure: error: "GNU make is required: make -j8"


-This could be fixed by not using $MAKE to do anything in parallel, which would be better than just having it break...
+Cheers,

-3. There are some newer ones here: 
-
-http://sage.math.washington.edu/home/gfurnish/old/spkg/
-
-But the newest: macaulay2-1.1-r7221.spkg fails to build immediately with errors about gdbm.spkg missing, but there is no gdbm.spkg.
-
-
-
-
+Michael
85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 15 years ago
comment:6

The spkg at

http://sage.math.washington.edu/home/mabshoff/macaulay2-1.1-r7221.p0.spkg

fixes the issue:

mabshoff@sage:/scratch/release-cycle/junk/sage-3.2.2$ export MAKE="make -j8"
mabshoff@sage:/scratch/release-cycle/junk/sage-3.2.2$ ./sage -i macaulay2-1.1-r7221.p0
<SNIP - things do not blow up>

Cheers,

Michael

williamstein commented 15 years ago
comment:7

Looks good.

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 15 years ago
comment:8

Merged in Sage 3.2.3.final and uploaded to the optional spkg repo.

Cheers,

Michael