Opened 5 years ago

Closed 3 days ago

#59911 closed defect (wontfix)

py37-scipy @1.4.1: Build failure on Tiger PPC

Reported by: SerpentChris (Chris Calderon) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: tiger powerpc Cc: cooljeanius (Eric Gallager)
Port: py-scipy

Description

OS version is 10.4.11. Not really sure what causes the build issue, though I noticed some of the errors mention //usr/include/c++/4.0.0/cxxabi.h

Attachments (2)

main.log (528.4 KB) - added by SerpentChris (Chris Calderon) 5 years ago.
py37-scipy-fail-gcc7.log (611.4 KB) - added by kencu (Ken) 5 years ago.

Download all attachments as: .zip

Change History (10)

Changed 5 years ago by SerpentChris (Chris Calderon)

Attachment: main.log added

comment:1 Changed 5 years ago by kencu (Ken)

The c++ bits are building with gcc-4.2, but this software requires a c++11 compiler. Will see how to fix this.

comment:2 Changed 5 years ago by kencu (Ken)

Setting compiler.cxx_standard 2011 in the Portfile seems to work to configure it to use gcc7 for the c++ compiler. It still uses gcc6 for the fortran compiler as I guess that is in the compilers-1.0 PortGroup. Building now. Will report back success or failure once done.

Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:3 Changed 5 years ago by kencu (Ken)

Fails. Lots of ugly-looking errors. At one point throws in a -mmacosx-version-min=10.9 during a build on 10.4, so seriously hosed build.

The final linker error that kills it is:

ld: symbol dyld_stub_binding_helper not defined

so it's a real mess. Log attached.

Changed 5 years ago by kencu (Ken)

Attachment: py37-scipy-fail-gcc7.log added

comment:4 Changed 5 years ago by michaelld (Michael Dickens)

This might be fixed in [d07e7d5de26d0a16ddd5f9b5b2b30f767ed74f89/macports-ports] ... forcing C++11, C11, and thread_local storage ... please update and see if this works for you.

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

I would guess that that would not help, since python does not support modules written in C++, so any specifications MacPorts may make about what C++ compiler or CXXFLAGS should be used will be ignored. See https://github.com/pypa/setuptools/issues/1732, https://github.com/pypa/setuptools/issues/1192, https://bugs.python.org/issue1222585.

comment:6 Changed 4 years ago by mf2k (Frank Schima)

Cc: michaelld@… removed
Keywords: tiger powerpc added
Owner: set to michaelld
Port: py-scipy added; py37-scipy removed
Status: newassigned

comment:7 Changed 11 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:8 Changed 3 days ago by reneeotten (Renee Otten)

Resolution: wontfix
Status: assignedclosed

latest version is 1.14.1; please try again if you're still interested (although the py37 sybport does not exist anymore) and file a new ticket if there still are issues.

Note: See TracTickets for help on using tickets.