Opened 3 years ago

Closed 2 years ago

#56170 closed defect (fixed)

wgrib2: Build failed

Reported by: faragoerkan Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: wgrib2

Description (last modified by ryandesign (Ryan Schmidt))

--->  Building wgrib2
Error: Failed to build wgrib2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_wgrib2/wgrib2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port ncarg failed

Attachments (2)

main.log (116.4 KB) - added by GeneralDuke9 2 years ago.
main.2.log (283.9 KB) - added by dschlaep (daniel) 2 years ago.
Main log from sudo port install wgrib2

Download all attachments as: .zip

Change History (9)

comment:1 Changed 3 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: ncarg-wrib2 removed
Owner: set to tenomoto
Port: wgrib2 added; ncarg removed
Status: newassigned
Summary: ncarg installation wgrib2 errorwgrib2: Build failed

Please attach the main.log file.

Changed 2 years ago by GeneralDuke9

Attachment: main.log added

comment:2 Changed 2 years ago by GeneralDuke9

I'm experiencing the same issue on macOS 10.13.3. I've attached main.log.

Last edited 2 years ago by GeneralDuke9 (previous) (diff)

Changed 2 years ago by dschlaep (daniel)

Attachment: main.2.log added

Main log from sudo port install wgrib2

comment:3 Changed 2 years ago by dschlaep (daniel)

I'm having the same issue on macOS 10.13.3 where installation of wgrib2 fails with

:info:build GDT.c:10:10: fatal error: 'grib2.h' file not found
:info:build #include "grib2.h"
:info:build          ^
:info:build 1 error generated.
:info:build make[1]: *** [GDT.o] Error 1

comment:4 Changed 2 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: assignedclosed

In 4d8e70889b10ff95f3d9dbcdbf2f2bf94d721b36/macports-ports:

cdo: fix build and link against proj rather than proj4

Closes: #56170

comment:5 Changed 2 years ago by GeneralDuke9

Compilation still fails; I need to copy grib2.h from the work dir of wgrib2 to /opt/local/lib/proj5/include by hand to make it compile properly.

comment:6 Changed 2 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: closedreopened

comment:7 Changed 2 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: reopenedclosed

In f1dcb78ec6e192adeec0e6c2c39ff39ece4a8560/macports-ports:

wgrib2: fix build error due to missing grib2.h

Closes: #56170

Note: See TracTickets for help on using tickets.