bugGNU Octave - Bugs: bug #33600, Erroneous installation of...

 
 

bug #33600: Erroneous installation of mkoctfile & octave-config in octave-3.4.1

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Sun 19 Jun 2011 03:34:08 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: FixedAssigned to: None
Originator Name: José Luis García PalleroOpen/Closed: Closed
Release: 3.4.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 19 Jun 2011 04:58:51 PM UTC, comment #1:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/5ee4fc58585f

John W. Eaton <jwe>
Project Administrator
Sun 19 Jun 2011 03:34:08 PM UTC, original submission:

From post in help-octave ML by José Luis García Pallero
(https://mailman.cae.wisc.edu/pipermail/help-octave/2011-June/046224.html)

<QUOTE>
...the new 3.4.1 installation puts in its bin/ folder
(/usr/local/bin in my installation) the scripts mkoctfile and
octave-config, but earlier versions as 3.4.0 puts the scripts
mkoctfile-3.4.0 and octave-config-3.4.0 and mkoctfile and
octave-config are symbolic links to it. octave-3.4.1 exists and octave is a symbolic link to it. Is this new behavior a new issue or it is a bug? For me causes troubles in some Octave Forge packages (as octcdf,
for example) that search mkoctfile-x.x.x scripts
</QUOTE>

In addition, octave-3.4.1's mkoctfile script itself gets confused as it refers to a link or executable file in /usr/local/bin called mkoctfile-3.4.1.
Indeed:

[philip@jvc741 ~]$ octave-3.4.1
GNU Octave, version 3.4.1
Copyright (C) 2011 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

octave-3.4.1:1> mkoctfile
sh: /usr/local/bin/mkoctfile-3.4.1: No such file or directory
warning: unable to find mkoctfile in expected location: `/usr/local/bin/mkoctfile-3.4.1'
warning: mkoctfile exited with failure status
octave-3.4.1:2>

octave-config no more has a version number appended to the file name. Might this interfere with other (future) octave-versions installed in the same box?

For convenience I've copied directory listings of /usr/local/bin before and after installation of a freshly built octave-3.4.1:

## Before building & installing octave-3.4.1
[philip@jvc741 ~]$ cd /usr/local/bin
[philip@jvc741 bin]$ ls -l
total 76
lrwxrwxrwx 1 root root 15 2011-02-12 21:24 mkoctfile -> mkoctfile-3.4.0*
-rwxr-xr-x 1 root root 13915 2010-12-12 21:31 mkoctfile-3.3.54+*
-rwxr-xr-x 1 root root 14703 2011-02-12 21:24 mkoctfile-3.4.0*
lrwxrwxrwx 1 root root 12 2011-02-12 21:21 octave -> octave-3.4.0*
-rwxr-xr-x 1 root root 8613 2010-12-12 21:28 octave-3.3.54+*
-rwxr-xr-x 1 root root 8493 2011-02-12 21:21 octave-3.4.0*
lrwxrwxrwx 1 root root 19 2011-02-12 21:24 octave-config -> octave-config-3.4.0*
-rwxr-xr-x 1 root root 6421 2010-12-12 21:31 octave-config-3.3.54+*
-rwxr-xr-x 1 root root 6822 2011-02-12 21:24 octave-config-3.4.0*
drwxr-xr-x 15 root root 4096 2010-11-23 23:07 seamonkey/
[philip@jvc741 bin]$

:
<downloading / building / installing 3.4.1>
:

## After building & installing octave-3.4.1
[philip@jvc741 octave-3.4.1]$ ls -l /usr/local/bin
total 112
-rwxr-xr-x 1 root root 14708 2011-06-19 17:08 mkoctfile*
-rwxr-xr-x 1 root root 13915 2010-12-12 21:31 mkoctfile-3.3.54+*
-rwxr-xr-x 1 root root 14703 2011-02-12 21:24 mkoctfile-3.4.0*
lrwxrwxrwx 1 root root 12 2011-06-19 17:08 octave -> octave-3.4.1*
-rwxr-xr-x 1 root root 8613 2010-12-12 21:28 octave-3.3.54+*
-rwxr-xr-x 1 root root 8493 2011-02-12 21:21 octave-3.4.0*
-rwxr-xr-x 1 root root 8477 2011-06-19 17:08 octave-3.4.1*
-rwxr-xr-x 1 root root 6806 2011-06-19 17:08 octave-config*
-rwxr-xr-x 1 root root 6421 2010-12-12 21:31 octave-config-3.3.54+*
-rwxr-xr-x 1 root root 6822 2011-02-12 21:24 octave-config-3.4.0*
drwxr-xr-x 15 root root 4096 2010-11-23 23:07 seamonkey/
[philip@jvc741 octave-3.4.1]$

Philip Nienhuis <philipnienhuis>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by philipnienhuis (Submitted the item)
  • -unavailable- added by philipnienhuis
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Jun 2011 04:58:51 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 19 Jun 2011 03:54:54 PM UTCjweReleasedev=>3.4.1
    Sun 19 Jun 2011 03:34:09 PM UTCphilipnienhuisCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1