Subject: pkg/28944: Some (or all?) loadable functions don't work in octave-current (port-i386)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <toda@bcomp.metro-u.ac.jp>
List: pkgsrc-bugs
Date: 01/12/2005 13:12:00
>Number:         28944
>Category:       pkg
>Synopsis:       Some (or all?) loadable functions don't work in octave-current (port-i386)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 12 13:12:00 +0000 2005
>Originator:     Hiro Toda
>Release:        current
>Organization:
>Environment:
NetBSD/i386 2.99.11
>Description:
I installed ocatave-current 2.1.64 from pkgsrc.
Some (or all?) loadable functions don't work. 
For example, 

octave:1> eye(3)
ans =

  1  0  0
  0  1  0
  0  0  1

octave:2> inv(eye(3))
error: `inv' undefined near line 2 column 1
octave:2> det(eye(3))
error: `det' undefined near line 2 column 1
octave:2> 

I find the following error messages in my install log.

strip: /usr/pkg/libexec/octave/2.1.64/oct/i386--netbsdelf/inv.oct: File format not recognized
install: stripping /usr/pkg/libexec/octave/2.1.64/oct/i386--netbsdelf/inv.oct: No such file or directory

I have full make & install logs, if needed.

Thanks.


>How-To-Repeat:
For example, 

octave:1> eye(3)
ans =

  1  0  0
  0  1  0
  0  0  1

octave:2> inv(eye(3))
error: `inv' undefined near line 2 column 1
octave:2> det(eye(3))
error: `det' undefined near line 2 column 1
octave:2> 

>Fix: