bugGNU Octave - Bugs: bug #43748, Octave Forge image package cannot...

 
 

bug #43748: Octave Forge image package cannot be installed under MacOS

Submitted by:  None
Submitted on:  Thu 04 Dec 2014 01:53:09 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: InvalidAssigned to: None
Originator Name: Mo DeJongOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.0
Operating System: Mac OS

Add a New Comment(Rich 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)

Wed 23 Nov 2016 11:37:42 PM UTC, comment #7:

No response for quite a long time now, closing as invalid (or possibly fixed).

Mike Miller <mtmiller>
Project Administrator
Fri 17 Jun 2016 10:19:46 PM UTC, comment #6:

This bug seems to have idled for quite a while. Can someone report whether the image package can be installed on current macOS systems with Octave 4.0.x?

Mike Miller <mtmiller>
Project Administrator
Fri 05 Dec 2014 07:37:34 PM UTC, comment #5:

Wait, I think the problem arises as a combination of clang + GNU libstdc++... a very old GNU libstdc++, argh, stupid Apple.

Can you use a newer GNU libstdc++ or the corresponding old gcc that goes with that old GNU libstdc++ or the newer libc++ from LLVM?

Alternatively, we can probably fix this very easily by changing the call to pow(2.0, 32).

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Fri 05 Dec 2014 06:44:46 PM UTC, comment #4:

I'm pretty sure that this is not a result of PR21083 (as suggested by Jordi), because that's a libc++ bug, and these errors are coming from a libstdc++ header file.

The paths, file names and line numbers all match the (very old) version of libstdc++'s cmath header.

BTW, I just tried compiling:

#include <cmath>
int main () { double x = pow(2.32); }

on my Mac OS 10.10.1 system (with Apple clang clang-600.0.56) with both libc++ and libstdc++, and got no error. I suspect that something more complicated is going on here.

Marshall <mclow>
Fri 05 Dec 2014 05:47:10 PM UTC, comment #3:

I really don't understand how clang can think that pow(2,32) is ambiguous. This seems like another symptom of this bug?

http://llvm.org/bugs/show_bug.cgi?id=21083

Does your clang have the bugfix attached to this bug?

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Fri 05 Dec 2014 02:10:08 PM UTC, comment #2:

I do have installation problems on Mac OS X 10.8.5. Octave 3.8.2 is installed via the Fink package manager:

Xcode version is 5.1.1 with the latest (for this version of OS X) command line tools installed.

Lukas Reichlin <paramaniac>
Thu 04 Dec 2014 05:45:40 PM UTC, comment #1:

FWIW, the whitepoint function would belong to the image package but as not yet been implemented anyway. Of course, there is no way for Octave to know if functions exist in packages that are not yet installed.

Carnë Draug <carandraug>
Project Member
Thu 04 Dec 2014 01:53:09 AM UTC, original submission:

I tried to process an image via:

>> [l, Am, C] = slic(im, 3000, 10, 10, 'median');

warning: the 'whitepoint' function belongs to the image package from Octave Forge
which seems to not be installed in your system.

This seems to fail with the default MacOSX binary installed for 3.8.0. Compiling on MacOSX is already difficult, so the binary install should come with these packages already compiled so that everything works by default.

Anyway, I then tried to run this:

pkg install -forge general control signal image

It fails with the following compiler error:

So, it looks like the control package fails to compile on MacOSX 10.9.5. Please fix this since it makes use of Octave impossible. There is no point in a binary installer that fails to actually install binaries that actually work.

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 mtmiller (Posted a comment)
  • -unavailable- added by mclow (Posted a comment)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by paramaniac (Posted a comment)
  • -unavailable- added by None (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Nov 2016 11:37:42 PM UTCmtmillerStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Fri 17 Jun 2016 10:19:46 PM UTCmtmillerItem GroupNone=>Build Failure
      StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1