bugGNU Octave - Bugs: bug #52229, [mxe-octave] cannot build sundials...

 
 

bug #52229: [mxe-octave] cannot build sundials due to upstream URL

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Sun 15 Oct 2017 04:15:47 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 13 Nov 2017 05:21:36 AM UTC, comment #10: 

Testing ode15i and ode15s, all tests pass.
Closing as fixed.
Thanks :-)

Avinoam Kalma <avinoam>
Group Member
Sun 12 Nov 2017 09:51:16 PM UTC, comment #9: 

I pushed a change yesterday that uses the full sundials package tarball and installs ida from it.

I did not use the 3.0.0 as it is missing ida_sparse.h, that was required in octave

let me know if it doesnt work

John Donoghue <lostbard>
Group Member
Sat 11 Nov 2017 07:46:31 PM UTC, comment #8: 

Please review the attached workaround:


--- a/src/sundials-ida.mk        Sat Nov 11 08:30:36 2017 -0500
+++ b/src/sundials-ida.mk        Sat Nov 11 21:29:43 2017 +0200
@@ -8,6 +8,7 @@
 $(PKG)_SUBDIR   := ida-$($(PKG)_VERSION)
 $(PKG)_FILE     := ida-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := https://computation.llnl.gov/projects/sundials/download/$($(PKG)_FILE)
+$(PKG)_URL_2    := https://web.archive.org/web/20170210124628/$($(PKG)_URL)
 $(PKG)_DEPS     := lapack libgomp suitesparse


BTW, official version of sundials is now 3.0.0

Avinoam Kalma <avinoam>
Group Member
Thu 19 Oct 2017 08:35:52 AM UTC, comment #7: 

Searched again, and then it turned out that in my mxe-octave build tree, in src/default-octave.mk, the sundials-ida dependency wasn't mentioned. Why is beyond me; but after fixing that & downloading ida-2.9.0 cf. the URL you gave, ode15i & ode15s work :-)

Thanks for the pointer

Philip Nienhuis <philipnienhuis>
Group Member
Tue 17 Oct 2017 08:35:11 PM UTC, comment #6: 

@Philip:

maybe "touch ida-2.9.0.tar.gz" will help to force a new compilation of sundials?

Avinoam Kalma <avinoam>
Group Member
Tue 17 Oct 2017 08:15:48 PM UTC, comment #5: 

Using my compiled version (from http://hg.savannah.gnu.org/hgweb/octave/rev/387be1a6c3dc)
I get:


>> test ode15i
PASSES 48 out of 48 tests
>> test ode15s
PASSES 39 out of 39 tests


Avinoam Kalma <avinoam>
Group Member
Tue 17 Oct 2017 08:07:22 PM UTC, comment #4: 

Avinoam:
Mike added this on Sep, 1st. My latest mxe-octave build tree was cloned afresh on Sep 22nd and the one before on Sep 9.
So do I correctly conclude it should be able to build fully functional ode15i & ode15s functions with these build trees?

What do
test ode15i
and
test ode15s
return when you try those in a Windows cross-build?

Philip Nienhuis <philipnienhuis>
Group Member
Mon 16 Oct 2017 07:02:24 PM UTC, comment #3: 

@Philip:

Mike added usage of sundial in mxe-octave in http://hg.octave.org/mxe-octave/rev/8b731cde3aaa.

see also bug #51904

Avinoam Kalma <avinoam>
Group Member
Mon 16 Oct 2017 06:56:22 PM UTC, comment #2: 

Confirmed, it's really sad when upstreams think it's fine to delete old download URLs that people are depending on.

Mike Miller <mtmiller>
Group Member
Mon 16 Oct 2017 12:02:35 PM UTC, comment #1: 

PMFJI
Avinoam, have you ever been able to build mxe-octave with fully functional solvers based on sundials?
As far as I can remember, in my mxe_octave builds I've always got 48 and 39 FAILs due to "missing feature" when ode15i & ode15s came by:

:
  ode\ode15i.m ................................................ PASS      0/0
                                                (missing feature) SKIP   48
  ode\ode15s.m ................................................ PASS      0/0
                                                (missing feature) SKIP   39
:


I didn't report as AFAIR this was a "known" fail: the mxe-octave builds went fine in spite of this missing feature, and I'd expect the cross-builds to fail if some required dependency couldn't be built.

Philip Nienhuis <philipnienhuis>
Group Member
Sun 15 Oct 2017 04:15:47 AM UTC, original submission:  

ida-2.9.0.tar.gz does not exist on computation.llnl.gov
The existing version is ida-3.0.0-beta-2.tar.gz

You can use
https://web.archive.org/web/20170210124628/http://computation.llnl.gov/projects/sundials/download/ida-2.9.0.tar.gz

Avinoam Kalma <avinoam>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by avinoam
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by avinoam (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-13 avinoam StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2017-11-11 avinoam Carbon-CopyRemoved loastbard -
    2017-11-11 avinoam Carbon-Copy- Added lostbard
    2017-11-11 avinoam Carbon-Copy- Added loastbard
    2017-10-16 mtmiller StatusNone Confirmed
        Summary[MXE] cannot build sundials [mxe-octave] cannot build sundials due to upstream URL

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code