[MacPorts] #46791: Octave @3.8.2_4 compile error on OSX 10.9.5
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 -----------------------------------+-------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: octave stdio.h libgnu | Port: octave -----------------------------------+-------------------------------- Octave port won't compile on Mavericks. Gives an error in it's libgnu/stdio.h -- Ticket URL: <https://trac.macports.org/ticket/46791> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Changes (by larryv@…): * cc: mail@… (removed) * keywords: octave stdio.h libgnu => * owner: macports-tickets@… => michaelld@… Comment: Thanks. In future tickets, please Cc any port maintainers (`port info --maintainers octave`). -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by michaelld@…): Just for the fun of it, can you do the following: {{{ sudo port clean octave sudo port selfupdate sudo port install octave }}} and see if that works? If not, please post a new debug log & we'll work with that one. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by michaelld@…): Thanks; sorry for not getting back. Trac does not report when a file is attached, only when comments are added. So the issue -might- be that port is using "configure.compiler=macports- clang-3.4" for the build compiler (not the Fortran compiler). Any chance you can use Apple's clang instead ("configure.compiler=clang")? That might make a difference & is worth a try IMHO. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by mail@…): OK, I've done: sudo port clean octave; sudo port selfupdate; sudo port install octave configure.compiler=clang But it seems to have failed in the same place - main3.log attached. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by michaelld@…): OK; what I need is the full build log. So, either the "clean" failed or something else went wrong in the "main3.log" file since it's just the build part with the error in it. Sometimes the rest of the log file contains useful information to help us debug issues. So, try the following (sorry to be repetitive): {{{ sudo port clean octave sudo port selfupdate sudo port install octave }}} with no special "configure.compiler" or whatever. Let the "install octave" run its course. If it fails again, then do: {{{ cp `port logfile octave` ~/Desktop/octave.log cp `port work octave`/octave-3.8.2/libgnu/stdio.h ~/Desktop cd ~/Desktop tar jcf octave_files.tar.bz2 octave.log stdio.h }}} and post the file "octave_files.tar.bz2" to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by mail@…): Hi, thanks for looking at this. I've done a new, clean build (why did it pull down libtool???) and I'll attach the tar file. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by michaelld@…): Did the final command succeed ("sudo port install octave")? The log file is for libtool, somehow ... If this command failed, can you attach the file pointed to by "port logfile octave"? libtool was updated from 2.4.5 to 2.4.6 on 2/23. Since libtool is a dependency of octave, when you "sudo port install octave", libtool will get updated. These sorts of updates (patch version only) generally fix minor bugs only, and generally don't impact dependent ports. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by mail@…): Replying to [ticket:46791 mail@…]: Tried the clean ; selfupdate ; install octave routine again. This time curl-ca-certificates got updated, and that was the logfile returned by port logfile octave. Curious. Went round again and got an octave log. I'll tar and upload it. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by michaelld@…): Interesting about the "port logfile" issue. I'll test locally & then poke the MP dev list if I can replicate it. Thanks for the tarball. Let me take a look. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by michaelld@…): Can you attach the file "`port work octave`/octave-3.8.2/config.log"? -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by mail@…): Uploaded the config.log. -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by michaelld@…): OK. It seems like your install has an extra "features.h" hanging around and accessible by Apple's clang. I've checked my various installs, and I think this file is for libstdc++ only (which is provided by GCC; not part of clang). I'm still trying various build options to see if I can get octave to fail when using libc++ and macports clang 3.6 ... but my computer is running 10.8 & so it's likely to not have the same issues as yours. In the meantime, if you want to look around for that header you might find something interesting. You can always do the "hammer" method: {{{ sudo find / -name features.h }}} -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 ---------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: octave | ---------------------+------------------------- Comment (by mail@…): Replying to [comment:13 michaelld@…]:
In the meantime, if you want to look around for that header you might find something interesting. You can always do the "hammer" method: {{{ sudo find / -name features.h }}} Wielded the hammer. Found /usr/local/include/features.h Got rid of it. Octave has now successfully compiled and run! Thanks for finding that.
-- Ticket URL: <https://trac.macports.org/ticket/46791#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#46791: Octave @3.8.2_4 compile error on OSX 10.9.5 -------------------------+------------------------- Reporter: mail@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: Port: octave | -------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => worksforme Comment: Great; you're welcome! -- Ticket URL: <https://trac.macports.org/ticket/46791#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts