bugGNU Octave - Bugs: bug #41249, cygwin : unable to find the...

 
 

bug #41249: cygwin : unable to find the mkoctfile command

Submitter:  marco atzeri <matzeri>
Submitted:  Thu 16 Jan 2014 02:19:34 PM UTC
   
 
Category:  Configuration and Build System Severity:  4 - Important
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * Other
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 23 Jan 2014 04:38:44 PM UTC, comment #2: 

The changeset in bug #41296 has been pushed to the stable branch.  If you get a copy of the stable branch from Mercurial you can test whether this bug has been resolved.

Rik <rik5>
Group administrator
Wed 22 Jan 2014 03:45:51 AM UTC, comment #1: 

I've reported bug #41296 that adapts this patch into a more general solution. I didn't want to overshadow the fact that this is an important regression that packages and oct-files can't be built for cygwin with 3.8.0, so I made that a separate bug report, even though the fix is the same.

And no, unistd.h doesn't need to be conditional because the libgnu directory provides a unistd.h header file for all platforms.

Mike Miller <mtmiller>
Group Member
Thu 16 Jan 2014 02:19:34 PM UTC, original submission:  


----------------------------------------------
$ octave
GNU Octave, version 3.8.0

[cut]

octave:1> pkg install general-1.3.2.tar.gz
pkg: unable to find the mkoctfile command, Octave installation is incomplete
error: called from '__gripe_missing_component__' in file
/usr/share/octave/3.8.0/m/help/__gripe_missing_component__.m near line 53,
column 3
error: called from:
error:   /usr/share/octave/3.8.0/m/pkg/private/install.m at line 199,
column 5
error:   /usr/share/octave/3.8.0/m/pkg/pkg.m at line 394, column 9
-------------------------------------------------------------

It is caused by wrong assumption on
   https://savannah.gnu.org/bugs/?40180

"EXEEXT is only set on systems like Windows, and Windows uses the compiled versions."

Cygwin uses EXEEXT for compatibility with the rest of Windows,
but mkoctfile and octave-config are script...

attached patches solve the issue on cygwin, but likely

  +#include <unistd.h>

need a if clause on not Unix platform

marco atzeri <matzeri>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30289:  configure.patch added by matzeri (314B - application/octet-stream)
file #30290:  mkoctfile_unlink.cc.patch added by matzeri (335B - application/octet-stream)

 

Digest:
   bug dependencies.

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 mtmiller (Posted a comment)
  • -email is unavailable- added by matzeri (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-30 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2014-01-23 rik5 Severity3 - Normal 4 - Important
    2014-01-23 rik5 StatusPatch Submitted Ready For Test
    2014-01-22 mtmiller StatusNone Patch Submitted
        Dependencies- Depends on bugs #41296
    2014-01-16 matzeri Attached File- Added configure.patch, #30289
        Attached File- Added mkoctfile_unlink.cc.patch, #30290

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code