Opened 6 months ago

Last modified 6 months ago

#68632 reopened defect

Failed to configure scotch

Reported by: SanthoshK-PSI (Santhosh) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc: catap (Kirill A. Korinsky)
Port: scotch

Description

sudo port install petsc +gcc12 +mumps +parmetis

Results in this error:

--->  Computing dependencies for petsc
The following dependencies will be installed: 
 mumps
 python39
 scotch
 sowing
Continue? [Y/n]: y
--->  Fetching archive for scotch
--->  Attempting to fetch scotch-7.0.4_0+gcc12+mpich.darwin_23.arm64.tbz2 from https://packages.macports.org/scotch
--->  Attempting to fetch scotch-7.0.4_0+gcc12+mpich.darwin_23.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/scotch
--->  Attempting to fetch scotch-7.0.4_0+gcc12+mpich.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/scotch
--->  Fetching distfiles for scotch
--->  Verifying checksums for scotch
--->  Extracting scotch
--->  Configuring scotch
Error: Failed to configure scotch: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/build/CMakeFiles/CMakeError.log
Error: Failed to configure scotch: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port petsc failed

main.log attached

Attachments (4)

main.log (17.4 KB) - added by SanthoshK-PSI (Santhosh) 6 months ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/main.log
CMakeError.log (15.6 KB) - added by SanthoshK-PSI (Santhosh) 6 months ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/build/CMakeFiles/CMakeError.log
CMakeError.2.log (10.5 KB) - added by Matteo-Malve 6 months ago.
main.2.log (121.9 KB) - added by Matteo-Malve 6 months ago.

Download all attachments as: .zip

Change History (18)

Changed 6 months ago by SanthoshK-PSI (Santhosh)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/main.log

Changed 6 months ago by SanthoshK-PSI (Santhosh)

Attachment: CMakeError.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/build/CMakeFiles/CMakeError.log

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

Cc: catap added
Keywords: sonoma added
Owner: set to MarcusCalhoun-Lopez
Port: scotch added
Status: newassigned
Version: 2.8.1

comment:2 Changed 6 months ago by Matteo-Malve

I cannot install this library as well....

(base) ################## ~ % sudo port install scotch
Password:
--->  Computing dependencies for scotch
--->  Fetching archive for scotch
--->  Attempting to fetch scotch-7.0.4_0+mpich.darwin_23.arm64.tbz2 from https://fra.de.packages.macports.org/scotch
--->  Attempting to fetch scotch-7.0.4_0+mpich.darwin_23.arm64.tbz2 from https://cph.dk.packages.macports.org/scotch
--->  Attempting to fetch scotch-7.0.4_0+mpich.darwin_23.arm64.tbz2 from https://mse.uk.packages.macports.org/scotch
--->  Configuring scotch
Error: Failed to configure scotch: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/build/CMakeFiles/CMakeError.log
Error: Failed to configure scotch: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port scotch failed

I attach CMakeError.log and main.log

Changed 6 months ago by Matteo-Malve

Attachment: CMakeError.2.log added

Changed 6 months ago by Matteo-Malve

Attachment: main.2.log added

comment:3 Changed 6 months ago by catap (Kirill A. Korinsky)

I'll take look on this one later today or on this week. Thanks or logs.

comment:4 in reply to:  3 Changed 6 months ago by Matteo-Malve

Replying to catap:

I'll take look on this one later today or on this week. Thanks or logs.

Thank you very much. No pressure. It's nice to hear back from developers when they take charge of a ticket. I appreciate it.

comment:5 Changed 6 months ago by catap (Kirill A. Korinsky)

Possible duplicated of https://trac.macports.org/ticket/68337

Anyway, Xcode 15.0.0 has a few issues which related to linker and gcc; as far as I see you're using xcode 15 and probably update of xcode will fix your issue.

See: https://trac.macports.org/ticket/68225#comment:23

Last edited 6 months ago by catap (Kirill A. Korinsky) (previous) (diff)

comment:6 in reply to:  5 Changed 6 months ago by Matteo-Malve

Replying to catap:

Possible duplicated of https://trac.macports.org/ticket/68337

Anyway, Xcode 15.0.0 has a few issues which related to linker and gcc; as far as I see you're using xcode 15 and probably update of xcode will fix your issue.

See: https://trac.macports.org/ticket/68225#comment:23

Just to clarify, I have the latest version of Xcode 15.0.1, excluding the latest beta. Should I downgrade to Xcode 14 ?

comment:7 in reply to:  5 Changed 6 months ago by SanthoshK-PSI (Santhosh)

Replying to catap:

Possible duplicated of https://trac.macports.org/ticket/68337

Anyway, Xcode 15.0.0 has a few issues which related to linker and gcc; as far as I see you're using xcode 15 and probably update of xcode will fix your issue.

See: https://trac.macports.org/ticket/68225#comment:23

Thank you for looking into it. I have the latest version: Xcode 15.0.1 Build version 15A507

comment:8 Changed 6 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 9c28a19e57386db254fd93d912cced309518224b/macports-ports (master):

mpi PG: enforce ld_classic for mpich

Closes: #68632

comment:9 Changed 6 months ago by Matteo-Malve

Resolution: fixed
Status: closedreopened

The problem persists. Not solved at all. For both 2 people active here. Last suggestiona were:

  • Upgrade Xcode, but we both have latest version (Not even CommandLineTools for Xcode15.1 beta2, last release works)
  • Downgrade to Xcode 14.x, which is not possible on MacOs Sonoma

Changing an OS is not a solution. Pls fix this installation bug, on which many other libraries depend upon.

comment:10 Changed 6 months ago by catap (Kirill A. Korinsky)

Matteo, base on build bot log: https://build.macports.org/builders/ports-14_x86_64-builder/builds/9110 I may assume that current failure can be https://trac.macports.org/ticket/68346 which was reported to upstream and blocked by upstream: https://github.com/pmodels/mpich/issues/6684

Possible that all of these mess is came from Xcode 15 bug in linker and everyone is waiting with hope that Xcode 15.1 will clean it up.

P.S. I haven't switched to macOS 14 because it isn't stable enough for my usual using, so, I'm debuging it blindly :(

comment:11 Changed 6 months ago by catap (Kirill A. Korinsky)

Seems that update mpich should be enough to fix this, and similar issue.

I'm on this.

comment:12 Changed 6 months ago by catap (Kirill A. Korinsky)

A blind shot is ready as https://github.com/macports/macports-ports/pull/21315 ; if you may test it on macOS 14 / arm64 I'll be appricieted

comment:13 Changed 6 months ago by catap (Kirill A. Korinsky)

I've updated my test mac mini to

macOS 13.6 22G120 arm64
Xcode 15.0.1 15A507

and had suceffuly install scotch via MacPorts.

May I ask you to make another try?

comment:14 Changed 6 months ago by SanthoshK-PSI (Santhosh)

I still have the same error (scotch) while installing petsc, which is what I want to do ultimately

sudo port install petsc +gcc12 +mumps +parmetis

Results in

--->  Fetching archive for scotch
--->  Attempting to fetch scotch-7.0.4_0+gcc12+mpich.darwin_23.arm64.tbz2 from https://packages.macports.org/scotch
--->  Attempting to fetch scotch-7.0.4_0+gcc12+mpich.darwin_23.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/scotch
--->  Attempting to fetch scotch-7.0.4_0+gcc12+mpich.darwin_23.arm64.tbz2 from https://mse.uk.packages.macports.org/scotch
--->  Configuring scotch
Error: Failed to configure scotch: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/build/CMakeFiles/CMakeError.log
Error: Failed to configure scotch: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port petsc failed

However, fresh install os scotch seems to work

sudo port install scotch
--->  Computing dependencies for scotch
The following dependencies will be installed: 
 gcc13
 gcc13-libcxx
 mpich-default

So, is +gcc12 the problem?

Note: See TracTickets for help on using tickets.