Maxima 5.26.0 fails to build with multiple words in LDFLAGS
I already have an spkg working around this, as well as using ecl -norc ...
as recommended by an ECL developer.
To reproduce the problem, just try something like
$ env LDFLAGS="-DFOO -DBAR" ./sage -f spkg/standard/maxima-5.26.0.p0.spkg
New spkg: http://boxen.math.washington.edu/home/leif/Sage/spkgs/maxima-5.26.0.p1.spkg
md5sum: e0dd8b63928fbef1ffa52420f1313c48 maxima-5.26.0.p1.spkg
maxima-5.26.0.p1 (Leif Leonhardy, March 25th 2012)
- #12759: Unset
LDFLAGS
if it contains multiple words.
(ECL's still get used in that case, but don't break the build.)
- Use
ecl -norc ...
throughout spkg-install
, as recommended by Juanjo.
We set the environment variable ECL
to this, which *might* get used by
Makefiles as well -- to be checked.
(I.e., we might have to pass e.g. ECL="$ECL"
when invoking
make
to override Makefile settings, in case that's desired.)
- Use
cp -pf ...
to preserve permissions and to avoid errors if files
already exist (read-only).
- Add some error checks, messages and comments; quote more variables.
Change History (13)
Authors: |
→ Leif Leonhardy
|
Cc: |
Simon King Jason Grout added
|
Description: |
modified (diff)
|
Status: |
new →
needs_review
|
Summary: |
Maxima fails to build with multiple words in LDFLAGS →
Maxima 5.26.0 fails to build with multiple words in LDFLAGS
|
Dependencies: |
→ #13860
|
Status: |
needs_review →
needs_work
|
Work issues: |
→ Rebase
|
Milestone: |
sage-5.11 →
sage-5.12
|
Milestone: |
sage-6.1 →
sage-6.2
|
Milestone: |
sage-6.2 →
sage-6.3
|
Milestone: |
sage-6.3 →
sage-6.4
|
Milestone: |
sage-6.4 →
sage-duplicate/invalid/wontfix
|
Status: |
needs_work →
needs_review
|
Work issues: |
Rebase
|
Reviewers: |
→ Ralf Stephan, Peter Bruin
|
Status: |
needs_review →
positive_review
|
Resolution: |
→ fixed
|
Status: |
positive_review →
closed
|
Diff between the previous spkg in Sage and my new p1 spkg. For reference / review only.