Opened 11 months ago
Closed 11 months ago
#68603 closed defect (worksforme)
Failed to build gperf: command execution failed
Reported by: | SanthoshK-PSI (Santhosh) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | gperf |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Trying to install petsc, after reinstalling Macports to the latest Sonoma version.
$ sudo port install petsc +gcc12 +mumps +parmetis configure.cxx_stdlib=libstdc++
But I get this error:
---> Attempting to fetch gperf-3.1_0.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/gperf ---> Building gperf Error: Failed to build gperf: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/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
The main.log file is attached
Attachments (2)
Change History (11)
Changed 11 months ago by SanthoshK-PSI (Santhosh)
Attachment: | main.2.log added |
---|
comment:1 Changed 11 months ago by jmroot (Joshua Root)
Please generate a clean log: https://guide.macports.org/#project.tickets.prerequisites
comment:2 Changed 11 months ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | Sonoma Macports gperf removed |
Owner: | set to MarcusCalhoun-Lopez |
Port: | gperf added |
Status: | new → assigned |
comment:3 Changed 11 months ago by jmroot (Joshua Root)
Also, configure.cxx_stdlib=libstdc++
is not going to work on any recent macOS version.
comment:4 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:5 follow-up: 6 Changed 11 months ago by SanthoshK-PSI (Santhosh)
%sudo port clean Password: Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/**"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory.
I tried without the configure.cxx this time,
% sudo port install petsc +gcc12 +mumps +parmetis
But here is the error message:
Continue? [Y/n]: y ---> Fetching archive for gperf ---> Attempting to fetch gperf-3.1_0.darwin_23.arm64.tbz2 from https://packages.macports.org/gperf ---> Attempting to fetch gperf-3.1_0.darwin_23.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gperf ---> Attempting to fetch gperf-3.1_0.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/gperf ---> Building gperf Error: Failed to build gperf: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/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
Changed 11 months ago by SanthoshK-PSI (Santhosh)
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_petsc/petsc/main.log
comment:6 Changed 11 months ago by jmroot (Joshua Root)
Replying to SanthoshK-PSI:
%sudo port clean Password: Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/**"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory.
You need to specify the port to clean, i.e. sudo port clean gperf
.
comment:7 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
You attached the main.log for petsc but we need to see the main.log of the port that is failing to build, i.e. gperf.
comment:8 Changed 11 months ago by SanthoshK-PSI (Santhosh)
Sorry, I thought I attached both files. But good news - installation worked after clean gperf. I am sure I tried this multiple times before. Not sure what made it work this time. Anyway , thank you for the help.
comment:9 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_petsc/petsc/