Opened 4 weeks ago

Closed 6 days ago

Last modified 6 days ago

#62521 closed defect (fixed)

Unable to Build py39-scipy on Lion

Reported by: RobK88 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Lion Cc:
Port: py-scipy

Description

I am unable to build py39-scipy on Lion.

bash-3.2$ sudo port clean py39-scipy
--->  Cleaning py39-scipy
bash-3.2$ sudo port -v install py39-scipy
--->  Computing dependencies for py39-scipy.
--->  Fetching distfiles for py39-scipy
--->  Verifying checksums for py39-scipy
--->  Checksumming scipy-1.6.1.tar.gz
--->  Extracting py39-scipy
--->  Extracting scipy-1.6.1.tar.gz
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-scipy/py39-scipy/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/py-scipy/scipy-1.6.1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
--->  Configuring py39-scipy
--->  Building py39-scipy
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-scipy/py39-scipy/work/scipy-1.6.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 setup.py --no-user-cfg config_fc --fcompiler gnu95 --f77exec /opt/local/bin/gfortran-mp-10 --f77flags='-m64 -Os -fno-second-underscore' --f90exec /opt/local/bin/gfortran-mp-10 --f90flags='-m64 -Os -fno-second-underscore' config --cc /opt/local/bin/clang-mp-9.0 --include-dirs /opt/local/include --library-dirs /opt/local/lib build -j4 
Error: 'None' must be installed before running the build.

Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-scipy/py39-scipy/work/scipy-1.6.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 setup.py --no-user-cfg config_fc --fcompiler gnu95 --f77exec /opt/local/bin/gfortran-mp-10 --f77flags='-m64 -Os -fno-second-underscore' --f90exec /opt/local/bin/gfortran-mp-10 --f90flags='-m64 -Os -fno-second-underscore' config --cc /opt/local/bin/clang-mp-9.0 --include-dirs /opt/local/include --library-dirs /opt/local/lib build -j4 
Exit code: 1
Error: Failed to build py39-scipy: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-scipy/py39-scipy/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py39-scipy failed
bash-3.2$

main.log is attached.

Attachments (1)

main.log (97.3 KB) - added by RobK88 4 weeks ago.
main.log

Download all attachments as: .zip

Change History (7)

Changed 4 weeks ago by RobK88

Attachment: main.log added

main.log

comment:1 Changed 3 weeks ago by mf2k (Frank Schima)

Cc: michaelld@… removed
Owner: set to michaelld
Port: py-scipy added; py39-scipy removed
Status: newassigned

comment:2 Changed 6 days ago by RobK88

Port: py39-scipy added; py-scipy removed

comment:3 Changed 6 days ago by RobK88

It looks like the update to gcc10 fixed this issue.

py39-scipy now builds and installs just fine on Lion.

$ port installed py39-scipy 
The following ports are currently installed:
  py39-scipy @1.6.2_1+gfortran+openblas (active)

You can close this ticket.

comment:4 Changed 6 days ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

OK. I don't exactly know why the gcc10 update would have fixed this without the config log, but as it works for you and we have no other similar reports in the trac tickets, sounds fair.

comment:5 Changed 6 days ago by RobK88

Ken it might also be the recent update to py39-numpy that fixed the issue.

In any event, all appears to be well with the py39-scipy port at least on Lion.

comment:6 Changed 6 days ago by mf2k (Frank Schima)

Port: py-scipy added; py39-scipy removed
Note: See TracTickets for help on using tickets.