bugGNU Octave - Bugs: bug #55817, news() command fails when executed...

 
 

bug #55817: news() command fails when executed from run-octave

Submitter:  None
Submitted:  Sun 03 Mar 2019 10:14:16 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.1.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 03 Mar 2019 06:33:29 PM UTC, comment #3: 

Thank you for checking.
This was my first time building from source, and I check the news first after updating.

Anonymous
Sun 03 Mar 2019 05:01:34 PM UTC, comment #2: 

No, I can reproduce this with the development branch as well.

The 'news' function has always behaved this way, you do need to run 'make install' for the NEWS file to be found in the expected location on the file system. There is no expectation that this will work in the build directory. If the user needs the news when running in the build directory, they can simply read the NEWS file from the source tree.

Closing as invalid, you need to run 'make install' for this to work.

Mike Miller <mtmiller>
Group Member
Sun 03 Mar 2019 03:11:01 PM UTC, comment #1: 

Yes, apparently for 5.1.0 you need to run 'make install' and then run the installed version of Octave.

This doesn't affect the development branch of Octave which means there is probably a changeset that could be backported to stable. 

I would classify this as a small problem unlikely to affect many programmers so it make not pass the threshold for making it in to a 5.2.0 bug fix release.

Rik <rik5>
Group administrator
Sun 03 Mar 2019 10:14:16 AM UTC, original submission:  

I downloaded the source file.
Then I did a ./configure
Which provided the following warnings

configure: WARNING: QScintilla library not found; disabling built-in Qt GUI editor
configure: WARNING: SUNDIALS IDA library not configured with IDAKLU, ode15i and ode15s will not support the sparse Jacobian feature
configure: WARNING: JAVA_HOME environment variable not initialized.  Auto-detection will proceed but is unreliable.
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are not found
configure: NOTE: OR if they are missing required features on your system.


make
make check

Summary:

  PASS                            15517
  FAIL                                0
  XFAIL (reported bug)               26
  SKIP (missing feature)             44
  SKIP (run-time condition)          12


in the terminal I did a ./run-octave


octave:1> version
ans = 5.1.0
octave:2> news
error: news: broken installation -- unable to locate NEWS file
error: called from
    display_info_file at line 43 column 7
    news at line 36 column 5
octave:2>


Do I need to do a make install prior to using this command?

Anonymous

 

(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)
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-03 mtmiller StatusConfirmed Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2019-03-03 rik5 CategoryNone Configuration and Build System
        StatusNone Confirmed
        SummaryNews command fails news() command fails when executed from run-octave

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code