bugGNU Octave - Bugs: bug #38337, Fail to build Octave Forge package...

 
 

bug #38337: Fail to build Octave Forge package due to builddir not found

Submitter:  None
Submitted:  Fri 15 Feb 2013 08:39:44 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 17 Oct 2013 09:34:27 PM UTC, comment #6: 

The code has been modified to use '!= 0' as suggested by the original reporter.  Closing report.

Rik <rik5>
Group administrator
Tue 14 May 2013 06:47:36 AM UTC, comment #5: 

Yes, the report indicates that pkg misinterprets status of canonicalize_file_name.

Olaf Till <i7tiol>
Group Member
Tue 14 May 2013 06:19:11 AM UTC, comment #4: 

Do you mean you think this is a bug in pkg rather than optim?

Carlo de Falco <cdf>
Group Member
Tue 14 May 2013 06:06:06 AM UTC, comment #3: 

Shouldn't the category of this bug-report be changed?

Olaf

Olaf Till <i7tiol>
Group Member
Fri 15 Feb 2013 01:57:20 PM UTC, comment #2: 

For future reference, "hg revision 16058" only makes sense locally, in your clone. Please refer to the global hash instead, which I guess is 444de2c0af0e. You may just refer to both at once, 16058:444de2c0af0e.

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Fri 15 Feb 2013 12:51:49 PM UTC, comment #1: 

Yes, the pkg install command works but pkg build fails with this error. I don't use pkg build, so this was unclear to me at first.

Mike Miller <mtmiller>
Group Member
Fri 15 Feb 2013 08:39:44 AM UTC, original submission:  

Trying to build octave-optim using the latest (HG revision 16058) fails with this error:

error: cannot find directory <builddir>

although it actually exists. This was remedied by changing

  [builddir, status] = canonicalize_file_name (builddir);
  if (! status)
    error ("cannot find directory %s", builddir);
  endif

to

  [builddir, status] = canonicalize_file_name (builddir);
  if (status ~= 0)
    error ("cannot find directory %s", builddir);
  endif

in /usr/share/octave/3.7.2+/m/pkg/private/build.m
At least on my system, status is zero if the file exists and -1 if it doesn't.

Anonymous

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by cdf (Posted a comment)
  • -email is unavailable- added by i7tiol (Posted a comment)
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  •  

    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
    2013-10-17 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2013-05-14 cdf CategoryOctave Package Interpreter
    2013-02-15 mtmiller StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code