bugGNU Octave - Bugs: bug #45223, build of odepkg under Octave-4.0.0...

 
 

bug #45223: build of odepkg under Octave-4.0.0 fails

Submitter:  Andreas Stahel <sha1>
Submitted:  Mon 01 Jun 2015 08:22:16 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Andreas Stahel Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 03 Jun 2015 11:36:39 PM UTC, comment #8: 

Thanks for taking the time to verify that you can get it working by clearing out old oct-files and packages and starting over. Closing as invalid.

Mike Miller <mtmiller>
Group Member
Wed 03 Jun 2015 02:33:49 PM UTC, comment #7: 

Thank you for the hint. It is a configuration issue!
I removed ALL Octave related files from the system, i.e. the ones installed by "./configure/make/make install" and the ones by the package manager synaptic. I allo deleted all traces of previously installed packages again. This I did for the first try too.
In particular there were no *.oct files visible, besides the ones generated by 4.0.0 .

Download the tarball for 4.0.0, compile, install and now
the package installation for odepkg is smooth too.

Recap: problem solved, cause of the problem semi located

Thank you

Andreas Stahel <sha1>
Wed 03 Jun 2015 01:53:22 AM UTC, comment #6: 

This is almost certainly a configuration issue. To confirm can you ensure that you are really installing into a clean Octave 4.0 environment?

Doug or OP, can you make sure you have no Octave Forge packages installed in a working Octave 4.0 installation, and then install the odepkg from scratch and see if this error persists? It does not occur for me.

I think this error may come from having oct-files compiled against a previous build of Octave on the load path.

Mike Miller <mtmiller>
Group Member
Tue 02 Jun 2015 04:09:43 PM UTC, comment #5: 

Retagging release to 4.0.0.

John W. Eaton <jwe>
Group administrator
Mon 01 Jun 2015 01:42:41 PM UTC, comment #4: 

one more clue
After killing Octave  I see

doug@speedy:~$ octave
* Error in `/usr/local/libexec/octave/4.0.0/exec/x86_64-unknown-linux-gnu/octave-gui': free(): invalid pointer: 0x00007f128a19a0c0 *
panic: Aborted -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
octave exited with signal 6

Doug Stewart <dastew>
Mon 01 Jun 2015 12:19:19 PM UTC, comment #3: 

 pkg install -forge odepkg
error: 'nargin' undefined near line 36 column 7
error: called from
    _unimplemented_ at line 36 column 3
    install at line 234 column 5
    pkg at line 405 column 9
error: scope not found!
error: called from
    install at line 234 column 5
    pkg at line 405 column 9
error: evaluating argument list e

etc.

and now I can't exit octave.
after killing octave and restarting I see that odepkg is not installed.




Doug Stewart <dastew>
Mon 01 Jun 2015 12:13:39 PM UTC, comment #2: 

I had the same thing happen to me.I downloaded the octave 4.0.0 zip file and did ./configure make make install
 
I then did pkg update
During this update I came to the same error message  and could not get out of octave, so I used the system to kill octave. I then restarted octave and did pkg update again, and there was nothing to update, and everything seems to be working.

The difference is that I was not installing or updating odepkg.
pkg list
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control *|   2.8.1 | /home/doug/octave/control-2.8.1
         fpl *|   1.3.4 | /home/doug/octave/fpl-1.3.4
     general *|   2.0.0 | /home/doug/octave/general-2.0.0
       image *|   2.4.0 | /home/doug/octave/image-2.4.0
          io *|   2.2.7 | /home/doug/octave/io-2.2.7
       ltfat *|   2.1.0 | /home/doug/octave/ltfat-2.1.0
       optim *|   1.4.1 | /home/doug/octave/optim-1.4.1
  quaternion *|   2.4.0 | /home/doug/octave/quaternion-2.4.0
      struct *|  1.0.11 | /home/doug/octave/struct-1.0.11
    symbolic *|   2.2.1 | /home/doug/octave/symbolic-2.2.1

I will try odepkg now

Doug Stewart <dastew>
Mon 01 Jun 2015 10:34:34 AM UTC, comment #1: 

When you say "clean octave-4.0.0", do you mean built from the released tarball or from a clone of the repository? If the later, then see https://savannah.gnu.org/bugs/?44974

Carnë Draug <carandraug>
Group Member
Mon 01 Jun 2015 08:22:16 AM UTC, original submission:  

Dear Maintainers

Thank you for the great Octave and OctaveForge. On a Ubuntu 14.04 system and a clean Octave-4.0.0 build I tried to install odepkg, with no success. Find the input and output below.
After the unsuccessful pkg call Octave is completely blocked, as shown below.
I used odepkg-0.8.5

>> exit

error: 'nargin' undefined near line 36 column 7
error: called from
    _unimplemented_ at line 36 column 3
error: scope not found!

>>



============== pkg build input and output ============

>> pkg install -forge odepkg

error: 'nargin' undefined near line 36 column 7
error: called from
    _unimplemented_ at line 36 column 3
    install at line 234 column 5
    pkg at line 405 column 9
error: scope not found!
error: called from
    install at line 234 column 5
    pkg at line 405 column 9
error: evaluating argument list element number 1
error: called from
    install at line 234 column 5
    pkg at line 405 column 9
error: invalid limit value in colon expression
error: called from
    install at line 234 column 5
    pkg at line 405 column 9
error: scope not found!
error: called from
    pkg at line 405 column 9
error: 'nargin' undefined near line 36 column 7
error: called from
    _unimplemented_ at line 36 column 3
    pkg at line 409 column 9
error: scope not found!
error: called from
    pkg at line 409 column 9
error: evaluating argument list element number 2
error: called from
    pkg at line 409 column 9
error: scope not found!

>>



Andreas Stahel <sha1>

 

(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 mtmiller (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by sha1 (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-03 mtmiller StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2015-06-02 jwe Releaseother 4.0.0
    2015-06-01 carandraug StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code