Opened 4 months ago

Closed 3 months ago

Last modified 3 months ago

#61940 closed defect (fixed)

py27-scipy @1.2.3: error: implicit declaration of function 'dcopy_' is invalid in C99

Reported by: rpspringuel (Fr. Samuel Springuel) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: catalina bigsur Cc:
Port: py-scipy


After a recent upgrade to BigSur, I was reinstalling my ports and came across a build failure for py27-scipy. Log is attached.

Attachments (1)

main.log (514.7 KB) - added by rpspringuel (Fr. Samuel Springuel) 4 months ago.
Log of failed build.

Download all attachments as: .zip

Change History (9)

Changed 4 months ago by rpspringuel (Fr. Samuel Springuel)

Attachment: main.log added

Log of failed build.

comment:1 Changed 4 months ago by mf2k (Frank Schima)

Port: py-scipy added; py27-scipy removed

comment:2 Changed 4 months ago by michaelld (Michael Dickens)

oh my ... SciPy 1.2.3 is in maintenance upkeep mode ... no new commits since the release ... do you absolutely require py27-scipy or can you move away to py38 or py39 version?

comment:3 Changed 4 months ago by rpspringuel (Fr. Samuel Springuel)

"Absolutely require"? Probably not. I keep my python27 installation around for when I come across old code that I need to update to 3.x. By having a working 2.7 installation, I can compare the output of the original code and the updated version to make sure I've done my updates correctly. At this point, I've already converted all of the stuff I use with any regularity and most (if not all) of the stuff I use occasionally. Indeed, I can't remember the last time I did a conversion, so having a working 2.7 installation at this point is more security blanket than anything else. Perhaps its time to simply let that go and just resign myself to more laborious testing should I ever have to do additional updating.

comment:4 Changed 4 months ago by michaelld (Michael Dickens)

OK .. I'll see what I can do ... I think we fixed this on some Py3*-scipy, so maybe the fixes are either directly portable or at least obvious enough what to do to not be too much work

comment:5 Changed 4 months ago by temeo31

What about this issue ? I'll need py27-scipy for some old code.

comment:6 Changed 3 months ago by michaelld (Michael Dickens)

This PR in my testing allows py27-scipy to build and install. It segfaults on macOS 11.3-beta in "make test" at around 10% tested ... so, it works to some degree & is better than the current state of things. I'm waiting for the CI to finish to verify that these tweaks work on 10.15, not just 11.X.

comment:7 Changed 3 months ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In 444b1096529baecc0811d398a6973949ed994986/macports-ports (master):

py27-scipy: add patch to fix build on Xcode 12

Hopefully this patch also works on other Xcode

Closes: #61940

comment:8 Changed 3 months ago by ryandesign (Ryan Schmidt)

Keywords: catalina bigsur added
Note: See TracTickets for help on using tickets.