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 15 Feb 2013 08:39:44 AM UTC  
 
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 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>
Project 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>
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>
Project 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>
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>
Project Administrator
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>
Project 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 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 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 17 Oct 2013 09:34:27 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 14 May 2013 06:53:52 AM UTCcdfCategoryOctave Forge Package=>Interpreter
    Fri 15 Feb 2013 12:51:49 PM UTCmtmillerStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup