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

 
 

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

Submitted by:  marco atzeri <matzeri>
Submitted on:  Thu 16 Jan 2014 02:19:34 PM UTC  
 
Category: Configuration and Build SystemSeverity: 4 - Important
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.8.0Operating System: Other

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project Administrator
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 File(s):
   
   
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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by matzeri (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Jan 2014 12:52:54 AM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 23 Jan 2014 05:09:32 PM UTCrik5Severity3 - Normal=>4 - Important
    Thu 23 Jan 2014 04:38:44 PM UTCrik5StatusPatch Submitted=>Ready For Test
    Wed 22 Jan 2014 03:45:51 AM UTCmtmillerStatusNone=>Patch Submitted
      Dependencies-=>Depends on bugs #41296
    Thu 16 Jan 2014 02:19:34 PM UTCmatzeriAttached File-=>Added configure.patch, #30289
      Attached File-=>Added mkoctfile_unlink.cc.patch, #30290

    Back to the top


    Powered by Savane 3.1-cleanup1