Opened 10 months ago
Closed 10 months ago
#69040 closed defect (fixed)
py311-scipy fails to build after update
Reported by: | AgilentGCMS | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | py311-scipy |
Description
I recently did a port selfupdate
followed by port upgrade outdated
. The port py311-scipy
, which was already installed on my system, failed to build after the update. I'm attaching main.log
.
Attachments (3)
Change History (12)
Changed 10 months ago by AgilentGCMS
comment:1 Changed 10 months ago by jmroot (Joshua Root)
Cc: | michaelld@… removed |
---|---|
Owner: | set to michaelld |
Status: | new → assigned |
comment:2 follow-up: 5 Changed 10 months ago by reneeotten (Renee Otten)
it appears to be building fine on the buildbots, so I am not sure why you wouldn't get the binary... Also I note that from your main.log
file you are using a mismatched Xcode and CLT versions,
:debug:sysinfo Xcode 14.2, CLT 15.1.0.0.1.1700200546
that is not a recommended/supported configuration.
Please rectify that and try again, if it still fails please add a new log file.
comment:3 Changed 10 months ago by jmroot (Joshua Root)
Looks like cython issues to me, which would probably be fixed if scipy was updated. #68380
comment:4 Changed 10 months ago by mfacorcoran
I have the same problem and I'm using
:debug:sysinfo macOS 14.2.1 (darwin/23.2.0) arch i386 :debug:sysinfo MacPorts 2.8.1 :debug:sysinfo Xcode 15.1, CLT 15.1.0.0.1.1700200546
the log has
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_python_py-scipy/py311-scipy/work/scipy-1.10.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11 setup.py --no-user-cfg build -j16 :info:build Exit code: 1 :error:build Failed to build py311-scipy: command execution failed :debug:build Error code: CHILDSTATUS 72373 1 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
I've attached the log file
comment:5 Changed 10 months ago by AgilentGCMS
Replying to reneeotten:
it appears to be building fine on the buildbots, so I am not sure why you wouldn't get the binary... Also I note that from your
main.log
file you are using a mismatched Xcode and CLT versions,:debug:sysinfo Xcode 14.2, CLT 15.1.0.0.1.1700200546that is not a recommended/supported configuration.
Please rectify that and try again, if it still fails please add a new log file.
I've updated Xcode to 15.1 to match the CLT version, and I still get the same error/failure. Please see new log attached.
Changed 10 months ago by AgilentGCMS
Attachment: | main.3.log added |
---|
Build log after updating Xcode to 15.1 to match CLT version
comment:6 Changed 10 months ago by kencu (Ken)
see also #68513 which seems to be tracking essentially the same thing
comment:7 Changed 10 months ago by jmroot (Joshua Root)
If py-scipy isn't going to be updated any time soon, there's always py-cython-compat.
comment:8 Changed 10 months ago by reneeotten (Renee Otten)
I would suggest that we merge PR 21875 as soon as the CI passes. The update is done to the latest upstream version and only the PY38 subport requires the py-cython-compat
port. I will add after that the PY312 subport that has to use the new meson
backend and then we can attempt to convert fully to using that for all subports upon the next update which will give some more time for testing and resolves the immediate problem now.
comment:9 Changed 10 months ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
main.log from building py311-scipy