Opened 9 years ago
Closed 9 years ago
#49096 closed defect (fixed)
grib_api @1.13.1 +gcc49 +python27 build error
Reported by: | luomo1138@… | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | pgf, bucky.prof@…, iskren.y.g@…, glenda.denicolo@…, ryandesign (Ryan Carsten Schmidt) |
Port: | grib_api |
Description
Hello,
I cannot install grib_api 1.13.1 with +gcc49 +python27.
---> Building grib_api Error: org.macports.build for port grib_api returned: command execution failed Please see the log file for port grib_api for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_grib_api/grib_api/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port grib_api failed
There seems to be an error related to openjpeg.
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_grib_api/grib_api/work/grib_api-1.13.1/src/grib_openjpeg_encoding.c:47:2: error: use of undeclared identifier 'opj_event_mgr_t' :info:build opj_event_mgr_t event_mgr = {0,}; /* event manager */ :info:build ^
I have
openjpeg @2.1.0_0 (active) openjpeg15 @1.5.1_0 (active)
installed.
I have attached the main.log file.
Do you have any suggestions?
Thanks.
Attachments (2)
Change History (10)
Changed 9 years ago by luomo1138@…
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to takeshi@… |
---|---|
Port: | grib_api added |
comment:3 follow-ups: 5 8 Changed 9 years ago by pgf
The undeclared identifiers causing the problem are not found in /opt/local/include/openjpeg-2.1
but are present in /opt/local/include/openjpeg-1.5
.
I tested a modified Portfile in my local repository where I changed the dependency from openjpeg to openjpeg15 and it worked.
comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | bucky.prof@… iskren.y.g@… added |
---|---|
Keywords: | haspatch added |
comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to piergiuseppe.fogli@…:
The undeclared identifiers causing the problem are not found in
/opt/local/include/openjpeg-2.1
but are present in/opt/local/include/openjpeg-1.5
.
I tested a modified Portfile in my local repository where I changed the dependency from openjpeg to openjpeg15 and it worked.
Strange: grib_api was deliberately changed to use openjpeg 2 in r137865 and r137868, back in June. Curious that we would now all of a sudden be getting build failures 4 months later.
comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | glenda.denicolo@… added |
---|
Has duplicate #49480.
comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
I've filed a bug report with the developers: https://software.ecmwf.int/issues/browse/SUP-1438
comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to piergiuseppe.fogli@…:
The undeclared identifiers causing the problem are not found in
/opt/local/include/openjpeg-2.1
but are present in/opt/local/include/openjpeg-1.5
.
I tested a modified Portfile in my local repository where I changed the dependency from openjpeg to openjpeg15 and it worked.
For now I'm changing the port back to using openjpeg15 in r141804. Thanks for the patch.
main.log