[MacPorts] #53839: nco +gcc6 failing to build with missing symbols from antlr

MacPorts noreply at macports.org
Wed Mar 22 19:31:21 UTC 2017


#53839: nco +gcc6 failing to build with missing symbols from antlr
----------------------+----------------------
  Reporter:  gnurser  |      Owner:  tenomoto
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.4.1
Resolution:           |   Keywords:
      Port:  nco      |
----------------------+----------------------
Description changed by mf2k:

Old description:

> '''Mac OS 10.12.3, Xcode 8.2.1 with gcc6 @6.3.0_2, openmpi-gcc6
> '''
>

> nco build fails at linking stage with missing antlr symbols. First
> error:[[BR]]
>
> :info:build libtool: link: /opt/local/bin/g++-mp-6 -pipe -Os
> -Wl,-headerpad_max_install_names -o ncap2 Invoke.o ncap2.o ncap2_utl.o
> ncap2_att.o sdo_utl.o sym_cls.o fmc_cls.o fmc_all_cls.o fmc_gsl_cls.o
> prs_cls.o NcapVar.o NcapVarVector.o ncoLexer.o ncoParser.o ncoTree.o
> nco_gsl.o  -L../nco [[BR]]
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_nco/nco/work/nco-4.6.4/src/nco/.libs/libnco.a
> -L/opt/local/lib -lantlr -lhdf5_hl -lhdf5 -ldl -lz -lxerces-c
> -lvecLibFort -lexpat -lresolv -lintl -lm -lnetcdf -lcurl -lgsl -lgslcblas
> -ludunits2 -fopenmp[[BR]]
>
> :info:build Undefined symbols for architecture x86_64:[[BR]]
>
> :info:build   "antlr::ASTFactory::create(int,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&)", referenced from:[[BR]]
>
> :info:build       ncoParser::dmn_list_p()      in ncoParser.o

New description:

 '''Mac OS 10.12.3, Xcode 8.2.1 with gcc6 @6.3.0_2, openmpi-gcc6
 '''


 nco build fails at linking stage with missing antlr symbols. First error:
 {{{
 :info:build libtool: link: /opt/local/bin/g++-mp-6 -pipe -Os
 -Wl,-headerpad_max_install_names -o ncap2 Invoke.o ncap2.o ncap2_utl.o
 ncap2_att.o sdo_utl.o sym_cls.o fmc_cls.o fmc_all_cls.o fmc_gsl_cls.o
 prs_cls.o NcapVar.o NcapVarVector.o ncoLexer.o ncoParser.o ncoTree.o
 nco_gsl.o  -L../nco
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_nco/nco/work/nco-4.6.4/src/nco/.libs/libnco.a
 -L/opt/local/lib -lantlr -lhdf5_hl -lhdf5 -ldl -lz -lxerces-c -lvecLibFort
 -lexpat -lresolv -lintl -lm -lnetcdf -lcurl -lgsl -lgslcblas -ludunits2
 -fopenmp
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "antlr::ASTFactory::create(int,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > const&)", referenced from:
 :info:build       ncoParser::dmn_list_p()      in ncoParser.o
 }}}

--

--
Ticket URL: <https://trac.macports.org/ticket/53839#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list