wgrib2 installation error

Tao Zhang tao.zhang at colorado.edu
Wed May 18 15:31:07 UTC 2022


Hi,

   When I install wgrib2 into my Macbook pro (10.14.6), I get the 
following error.
   Does anyone have the same issue? What causes this issue?
   How to fix this it?

   Thanks
   Tao


--->  Attempting to fetch gcc10-10.2.0_4.darwin_18.x86_64.tbz2 from 
https://ywg.ca.packages.macports.org/mirror/macports/packages/gcc10
--->  Attempting to fetch gcc10-10.2.0_4.darwin_18.x86_64.tbz2 from 
https://mse.uk.packages.macports.org/gcc10
--->  Fetching distfiles for gcc10
--->  Attempting to fetch gcc-10.2.0.tar.xz from 
https://bigsearcher.com/mirrors/gcc/snapshots/10.2.0/
--->  Attempting to fetch gcc-10.2.0.tar.xz from 
https://distfiles.macports.org/gcc10
--->  Attempting to fetch gcc-10.2.0.tar.xz from 
https://mirrors.kernel.org/gnu/gcc/gcc-10.2.0/
--->  Attempting to fetch gcc-10.2.0.tar.xz from 
https://ywg.ca.distfiles.macports.org/mirror/macports/distfiles/gcc10
--->  Attempting to fetch gcc-10.2.0.tar.xz from 
http://mirrors.ibiblio.org/gnu/ftp/gnu/gcc/gcc-10.2.0
--->  Attempting to fetch gcc-10.2.0.tar.xz from 
https://mirror.its.dal.ca/gnu/gcc/gcc-10.2.0/
--->  Attempting to fetch gcc-10.2.0.tar.xz from 
ftp://gcc.gnu.org/pub/gcc/releases/gcc-10.2.0/
--->  Verifying checksums for gcc10
--->  Extracting gcc10
--->  Applying patches to gcc10
--->  Configuring gcc10
Error: gcc10 cannot be built while libunwind-headers is active.
Error: Please forcibly deactivate libunwind-headers, e.g. by running:
Error:
Error:     sudo port -f deactivate libunwind-headers
Error:
Error: Then try again. You can reactivate libunwind-headers again later.
Error: Failed to configure gcc10: libunwind-headers is active
Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/gcc10/main.log 
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port wgrib2 failed




More information about the macports-users mailing list