bugGNU Octave - Bugs: bug #53736, Missing test for...

 
 

bug #53736: Missing test for libsuitesparseconfig in configure script

Submitter:  Adrian <adaerr>
Submitted:  Tue 24 Apr 2018 11:40:08 AM 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:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Apr 2018 06:11:46 PM UTC, comment #3: 

Impressively fast fix, thanks!

Adrian <adaerr>
Tue 24 Apr 2018 05:56:47 PM UTC, comment #2: 

Just verified the patch.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Tue 24 Apr 2018 02:49:27 PM UTC, comment #1: 

Octave's configure script does check for the suitesparseconfig library:

http://hg.savannah.gnu.org/hgweb/octave/file/5ca8abb27644/configure.ac#l2410

But there is an error in the logic when an empty warning string is passed to the OCTAVE_CHECK_LIB macro.  I think the following patch should fix it.

http://hg.savannah.gnu.org/hgweb/octave/rev/537b732926fb

After pushing, I noticed that I wrote OCTAVE_CONFIG_LIB in the commit message summary line instead of of OCTAVE_CHECK_LIB.  Oops.

John W. Eaton <jwe>
Group administrator
Tue 24 Apr 2018 11:40:08 AM UTC, original submission:  

Compiling current hg tip 25294:01ad54f997f5 fails with


/usr/bin/x86_64-linux-gnu-ld: cannot find -lsuitesparseconfig
collect2: error: ld returned 1 exit status
Makefile:13275: recipe for target 'liboctave/liboctave.la' failed
make[2]: *** [liboctave/liboctave.la] Error 1
[..]
Makefile:10172: recipe for target 'all' failed
make: *** [all] Error 2


This is a minor problem and trivial to fix (installing package libsuitesparse-dev in Debian GNU/Linux for example), but it may be nice to catch this at bootstrapping time.

Adrian <adaerr>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by adaerr (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-24 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-04-24 jwe StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code