bugGNU Octave - Bugs: bug #61701, Incompatibilities when compiling...

 
 

bug #61701: Incompatibilities when compiling with sundials 6.0.0

Submitter:  Stefan Husmann <haawda>
Submitted:  Sun 19 Dec 2021 12:35:21 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 7.0.90 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 02 Jan 2022 03:10:30 PM UTC, comment #6: 

Thanks for testing.

Closing as fixed.

Markus Mützel <mmuetzel>
Group administrator
Sun 02 Jan 2022 01:57:33 PM UTC, comment #5: 

Manjaro updated Sundials to 6.0.0 this morning. I reran Octave's configure to test this out. It works perfectly. Thank you for the configure update.

Arun Giridhar <arungiridhar>
Group Member
Sat 25 Dec 2021 12:41:32 PM UTC, comment #4: 

I pushed an additional patch that should restore compatibility with SUNDIALS 6:
https://hg.savannah.gnu.org/hgweb/octave/rev/b876de975edf

The most difficult part was to get a working configure check. I'd guess the previous configure check didn't do the "right thing" for older versions of SUNDIALS that didn't have "SUNLinSol_KLU".
I tested with SUNDIALS 5.7 and SUNDIALS 6.0. I didn't check with older versions. But I think it will now work with those, too.

Marking as ready for test.

Markus Mützel <mmuetzel>
Group administrator
Fri 24 Dec 2021 10:47:42 AM UTC, comment #3: 

I pushed a minimal change that disables SUNDIALS if it is using the newer (currently unsupported) API:
https://hg.savannah.gnu.org/hgweb/octave/rev/653493339a8a

I haven't looked into it in detail. If the necessary changes aren't too intrusive, it might still be possible to adapt to the new API in time for Octave 7.1 (or 7.2).

Markus Mützel <mmuetzel>
Group administrator
Sun 19 Dec 2021 05:42:28 PM UTC, comment #2: 

Changing release to 7.0.90 because it would be nice to have at least the "quick fix" for Octave 7.

Markus Mützel <mmuetzel>
Group administrator
Sun 19 Dec 2021 03:25:20 PM UTC, comment #1: 

SUNDIALS 6.0.0 is still pretty new and was released only a few days ago. The update for the library introduces changes that break the existing API. See also: https://computing.llnl.gov/projects/sundials/release-history

Octave didn't adapt for those changes yet. For now, you can deactivate building with SUNDIALS libraries as a dependency for Octave by configuring with `--without-sundials_ida --without-sundials_nvecserial`.

As a "quick fix" for the upcoming Octave 7 release, it might be possible to add a configure check if the library still uses the old API. A "proper fix" should check which API the SUNDIALS libraries are using and call the related functions appropriately.

Markus Mützel <mmuetzel>
Group administrator
Sun 19 Dec 2021 12:35:21 PM UTC, original submission:  

Arch Linux ships sundials 6.0.0 now, and if it is installed, Octave's dev checkouts fail to build.

There is no option --disable-sundials or --without-sundials?

Stefan Husmann <haawda>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #52536:  buildlog.txt added by haawda (127KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arungiridhar (Posted a comment)
  • -email is unavailable- added by opoplawski
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by haawda (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 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-02 mmuetzel StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2021-12-25 mmuetzel StatusConfirmed Ready For Test
    2021-12-20 opoplawski Carbon-Copy- Added opoplawski
    2021-12-19 mmuetzel Releasedev 7.0.90
    2021-12-19 mmuetzel CategoryNone Configuration and Build System
        Item GroupNone Build Failure
        StatusNone Confirmed
        Operating SystemGNU/Linux Any
        SummaryIncompatibilities when compilein against sundials 6.0.0 Incompatibilities when compiling with sundials 6.0.0
    2021-12-19 haawda Attached File- Added buildlog.txt, #52536

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code