#69022 closed defect (fixed)

Psfex macport not working

Reported by: umbramortem Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: psfex

Description

I am trying to install PSFex via macports and it did not wokr

Change History (7)

comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

What error message did you get? If it failed to build, attach the main.log file.

comment:2 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

I see that psfex depends on atlas and that atlas does not build on recent macOS, so if you are on recent macOS, that will be a reason why it cannot be installed.

I also see that the port is out of date and that the current version of psfex supports using openblas—which does work on recent macOS—instead of atlas, so maybe just updating the port will fix the problem. Let me try to do that now.

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

In 562ebe90a1cdc555d5274a31b6d8c1087d458273/macports-ports (master):

psfex: Update to 3.24.2

See: #69022

comment:4 Changed 11 months ago by umbramortem

Yesterday when I tried installing I got the following error message

Error: Port psfex not found

Today, I tried again, and got the following messages

atlas is known to fail. Try to install anyway? [y/N]: y
--->  Fetching archive for atlas
--->  Attempting to fetch atlas-3.10.2_2.darwin_23.x86_64.tbz2 from https://packages.macports.org/atlas
--->  Attempting to fetch atlas-3.10.2_2.darwin_23.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/atlas
--->  Attempting to fetch atlas-3.10.2_2.darwin_23.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/atlas
--->  Fetching distfiles for atlas
--->  Attempting to fetch atlas3.10.2.tar.bz2 from https://distfiles.macports.org/atlas
--->  Attempting to fetch lapack-3.6.0.tgz from https://distfiles.macports.org/atlas
--->  Verifying checksums for atlas
--->  Extracting atlas
--->  Applying patches to atlas
--->  Configuring atlas
Selected C compiler: /usr/bin/clang
Error: Failed to configure atlas: Atlas could not detect any fortran compiler. If you really don’t need the fortran interface to be built, please use the +nofortran option, else install a fortran compiler (e.g. gcc4X) before building Atlas.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_atlas/atlas/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port atlas failed

The message regarding the gfortran compilers seems odd since I have the classic gfortran compiler installed.

Thanks for your kind attention.

Last edited 11 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Run sudo port selfupdate to receive the change I made yesterday, in which psfex will no longer depend on atlas.

comment:6 Changed 11 months ago by umbramortem

I updated and tried installing once again. It seems that it's working now.

Thanks

comment:7 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.