[MacPorts] #59664: source-highlight @3.1.9 does not build on PPC Mac OS X 10.5.8, Leopard, because new source-highlight binary cannot produc HTML doc from Java source file

MacPorts noreply at macports.org
Sun Dec 22 00:00:19 UTC 2019


#59664: source-highlight @3.1.9 does not build on PPC Mac OS X 10.5.8, Leopard,
because new source-highlight binary cannot produc HTML doc from Java source
file
-------------------------------+----------------------
  Reporter:  ballapete         |      Owner:  (none)
      Type:  defect            |     Status:  reopened
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.6.2
Resolution:                    |   Keywords:  leopard
      Port:  source-highlight  |
-------------------------------+----------------------

Comment (by ballapete):

 With `GCC 7.4` compilation fails:

 {{{
 Making all in src
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_textproc_source-highlight/source-
 highlight/work/source-highlight-3.1.9/src'
 /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I..  -I../gl -I../gl -I../lib
 -I/opt/local/include -I/opt/local/include  -pipe -Os -arch ppc -MT check-
 regexp_cmd.o -MD -MP -MF .deps/check-regexp_cmd.Tpo -c -o check-
 regexp_cmd.o check-regexp_cmd.c
 mv -f .deps/check-regexp_cmd.Tpo .deps/check-regexp_cmd.Po
 /opt/local/bin/g++-mp-7 -DHAVE_CONFIG_H -I. -I..  -I../gl -I../gl -I../lib
 -I/opt/local/include -I/opt/local/include  -pipe -Os -arch ppc -MT check-
 regexp.o -MD -MP -MF .deps/check-regexp.Tpo -c -o check-regexp.o check-
 regexp.cpp
 mv -f .deps/check-regexp.Tpo .deps/check-regexp.Po
 /bin/sh ../libtool  --tag=CXX   --mode=link /opt/local/bin/g++-mp-7  -pipe
 -Os -arch ppc -L/opt/local/lib -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch ppc -o check-regexp check-
 regexp_cmd.o check-regexp.o -lboost_regex-mt ../gl/libgnu.la
 libtool: link: /opt/local/bin/g++-mp-7 -pipe -Os -arch ppc
 -Wl,-headerpad_max_install_names -arch ppc -o check-regexp check-
 regexp_cmd.o check-regexp.o  -L/opt/local/lib -lboost_regex-mt
 ../gl/.libs/libgnu.a
 Undefined symbols for architecture ppc:
 "boost::re_detail_107100::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char
 const*, char const*) const", referenced from:
       __gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >
 boost::re_detail_107100::re_is_set_member<__gnu_cxx::__normal_iterator<char
 const*, std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >, char, boost::regex_traits<char,
 boost::cpp_regex_traits<char> >, unsigned
 int>(__gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >, boost::re_detail_107100::re_set_long<unsigned
 int> const*, boost::re_detail_107100::regex_data<char,
 boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, bool)
 in check-regexp.o
 "boost::re_detail_107100::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char
 const*, char const*) const", referenced from:
       __gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >
 boost::re_detail_107100::re_is_set_member<__gnu_cxx::__normal_iterator<char
 const*, std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >, char, boost::regex_traits<char,
 boost::cpp_regex_traits<char> >, unsigned
 int>(__gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >, boost::re_detail_107100::re_set_long<unsigned
 int> const*, boost::re_detail_107100::regex_data<char,
 boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, bool)
 in check-regexp.o
   "boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
 const*, std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >,
 std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > > > >, boost::regex_traits<char,
 boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char,
 boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&,
 boost::regex_constants::_match_flags)", referenced from:
       _main in check-regexp.o
   "boost::match_results<__gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >,
 std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > > > >
 >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char
 const*, std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >,
 std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > > > > > const&)", referenced from:
 boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
 const*, std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >,
 std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > > > >, boost::regex_traits<char,
 boost::cpp_regex_traits<char> > >::match_match() in check-regexp.o
 boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
 const*, std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >,
 std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
 std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> > > > >, boost::regex_traits<char,
 boost::cpp_regex_traits<char> > >::match_prefix() in check-regexp.o
 ld: symbol(s) not found for architecture ppc
 collect2: error: ld returned 1 exit status
 make[2]: *** [check-regexp] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_textproc_source-highlight/source-
 highlight/work/source-highlight-3.1.9/src'
 make[1]: *** [all-recursive] Error 1
 }}}

 Could be a statement `configure.cxxflags-append -std=c++11` is needed for
 `Portfile`, because `port` does not seem to be able to use it when given
 as additional argument(s)…

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


More information about the macports-tickets mailing list