[MacPorts] #49651: nco @4.5.2_2 +gcc49 build failure
MacPorts
noreply at macports.org
Tue Nov 10 12:54:41 PST 2015
#49651: nco @4.5.2_2 +gcc49 build failure
----------------------------+--------------------------------
Reporter: gryphon.csd8@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: nco
----------------------------+--------------------------------
It appears that the nco build fails due to an issue in the ncoLexer, due
to an issue in the antlr port CharScanner.hpp "strcasecmp" routine, if I'm
reading the main.log properly.
I believe the issue is shown in this main.log excerpt:
{{{
:info:build /opt/local/bin/g++-mp-4.9 -DHAVE_CONFIG_H -I. -I../.. -I./
-I../nco -I/opt/local/include -I/opt/local/include -DNDEBUG
-I/opt/local/include -I/usr/include/malloc -I/opt/local/include/udunits2
-I/opt/local/include -DENABLE_NETCDF4 -I/opt/local/include
-I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2
-pipe -Os -c -o ncoParser.o ncoParser.cpp
:info:build In file included from ncoLexer.hpp:10:0,
:info:build from ncoLexer.cpp:2:
:info:build /opt/local/include/antlr/CharScanner.hpp: In member function
'bool antlr::CharScannerLiteralsLess::operator()(const string&, const
string&) const':
:info:build /opt/local/include/antlr/CharScanner.hpp:565:41: error:
'strcasecmp' was not declared in this scope
:info:build return (strcasecmp(x.c_str(),y.c_str())<0);
:info:build ^
:info:build /opt/local/bin/g++-mp-4.9 -DHAVE_CONFIG_H -I. -I../.. -I./
-I../nco -I/opt/local/include -I/opt/local/include -DNDEBUG
-I/opt/local/include -I/usr/include/malloc -I/opt/local/include/udunits2
-I/opt/local/include -DENABLE_NETCDF4 -I/opt/local/include
-I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2
-pipe -Os -c -o ncoTree.o ncoTree.cpp
:info:build make[3]: *** [fmc_gsl_cls.o] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build make[3]: *** [ncoLexer.o] Error 1
:info:build make[3]: Leaving directory
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49651>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list