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


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

Submitted by:  None
Submitted on:  Fri Feb 15 08:39:44 2013  
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


(Jump to the original submission Jump to the original submission)

Thu Oct 17 21:34:27 2013, comment #6:

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

Rik <rik5>
Project Administrator
Tue May 14 06:47:36 2013, comment #5:

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

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

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

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

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


Olaf Till <i7tiol>
Fri Feb 15 13:57:20 2013, 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>
Project Administrator
Fri Feb 15 12:51:49 2013, 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>
Project Administrator
Fri Feb 15 08:39:44 2013, 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);


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

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.



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

Attach File(s):

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

    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
    Thu Oct 17 21:34:27 2013rik5StatusConfirmed=>Fixed
    Tue May 14 06:53:52 2013cdfCategoryOctave Forge Package=>Interpreter
    Fri Feb 15 12:51:49 2013mtmillerStatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup1