[MacPorts] #49096: grib_api @1.13.1 +gcc49 +python27 build error
#49096: grib_api @1.13.1 +gcc49 +python27 build error -------------------------+-------------------------------- Reporter: luomo1138@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: -------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/49096> MacPorts <https://www.macports.org/> Ports system for OS X
#49096: grib_api @1.13.1 +gcc49 +python27 build error --------------------------+----------------------- Reporter: luomo1138@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: grib_api | --------------------------+----------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => takeshi@… * port: => grib_api -- Ticket URL: <https://trac.macports.org/ticket/49096#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49096: grib_api @1.13.1 +gcc49 +python27 build error --------------------------+----------------------- Reporter: luomo1138@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: grib_api | --------------------------+----------------------- Comment (by 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}}} .[[BR]] I tested a modified Portfile in my local repository where I changed the dependency from openjpeg to openjpeg15 and it worked. -- Ticket URL: <https://trac.macports.org/ticket/49096#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49096: grib_api @1.13.1 +gcc49 +python27 build error --------------------------+----------------------- Reporter: luomo1138@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: grib_api | --------------------------+----------------------- Changes (by ryandesign@…): * cc: bucky.prof@…, iskren.y.g@… (added) * keywords: => haspatch Comment: Has duplicates #49377 and #49414. -- Ticket URL: <https://trac.macports.org/ticket/49096#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49096: grib_api @1.13.1 +gcc49 +python27 build error --------------------------+----------------------- Reporter: luomo1138@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: grib_api | --------------------------+----------------------- Comment (by ryandesign@…): Replying to [comment:3 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}}} .[[BR]] 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. -- Ticket URL: <https://trac.macports.org/ticket/49096#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49096: grib_api @1.13.1 +gcc49 +python27 build error --------------------------+----------------------- Reporter: luomo1138@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: grib_api | --------------------------+----------------------- Changes (by ryandesign@…): * cc: glenda.denicolo@… (added) Comment: Has duplicate #49480. -- Ticket URL: <https://trac.macports.org/ticket/49096#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49096: grib_api @1.13.1 +gcc49 +python27 build error --------------------------+----------------------- Reporter: luomo1138@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: grib_api | --------------------------+----------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: I've filed a bug report with the developers: https://software.ecmwf.int/issues/browse/SUP-1438 -- Ticket URL: <https://trac.macports.org/ticket/49096#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49096: grib_api @1.13.1 +gcc49 +python27 build error --------------------------+----------------------- Reporter: luomo1138@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: grib_api | --------------------------+----------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:3 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}}} .[[BR]] 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. -- Ticket URL: <https://trac.macports.org/ticket/49096#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts