#61711 closed defect (fixed)
pgplot fails to build on Apple Silicon
Reported by: | rth238 | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | sselgueta, reneeotten (Renee Otten) | |
Port: | pgplot |
Description (last modified by mf2k (Frank Schima))
End of main.log file (full one is also attached): :info:build Exit code: 2 :error:build Failed to build pgplot: command execution failed :debug:build Error code: CHILDSTATUS 43094 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_pgplot/pgplot/main.log for details.
Attachments (1)
Change History (13)
Changed 4 years ago by rth238
Attachment: | pgplot.main.log added |
---|
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Cc: | https://ports.macports.org/maintainer/github/MarcusCalhoun-Lopez removed |
---|---|
Description: | modified (diff) |
Owner: | set to MarcusCalhoun-Lopez |
Status: | new → assigned |
comment:3 follow-up: 6 Changed 4 years ago by jmroot (Joshua Root)
Keywords: | arm64 removed |
---|
I think this is more a GCC 11 thing than an Apple Silicon thing, the latter just happens to require the former.
comment:5 Changed 4 years ago by reneeotten (Renee Otten)
it appears that this should have been fixed (see #60442) where the compilers.allow_arguments_mismatch yes
was added in the Portfile... That doesn't seem to work anymore?
comment:6 Changed 4 years ago by reneeotten (Renee Otten)
Replying to jmroot:
I think this is more a GCC 11 thing than an Apple Silicon thing, the latter just happens to require the former.
Perhaps gccdevel
needs to be added in the compilers-1.0 PG (likely here)? I think that line should be changed to if {${fortran_compiler} in "gcc10 gccdevel"} {
if someone who experiences this issue wants to give that a try and report back, that would be helpful.
comment:7 Changed 4 years ago by rth238
Thanks for the suggestion. It took me a while to figure out where to look (I've been a user, but not very knowledgeable). I looked in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group and found the file I think you intended, compilers-1.0.tcl and edited line 731 to be:
if {${fortran_compiler} eq "gcc10 gccdevel"} {
I then issued the commands sudo port clean pgplot sudo port install pgplot
but got the same errors... So unless I didn't follow your suggestion correctly, this does not seem to be the issue. Regardless, thanks for your suggestion!
comment:8 Changed 4 years ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:9 Changed 4 years ago by reneeotten (Renee Otten)
I *think* that the change I just merged should fix this... Please try sudo port selfupdate ; sudo port clean --all pgplot ; sudo port -dv install pgplot
and report back!
comment:10 Changed 4 years ago by reneeotten (Renee Otten)
Cc: | reneeotten added |
---|
main.log