[MacPorts] #42200: re2 @20140110: build failure on Snow Leopard: undefined symbols
MacPorts
noreply at macports.org
Sun Jan 19 18:17:29 PST 2014
#42200: re2 @20140110: build failure on Snow Leopard: undefined symbols
---------------------+--------------------------------
Reporter: egall@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: re2
---------------------+--------------------------------
Re-building my ports on my new drive, and I ran into this error when
trying to build re2:
{{{
/usr/bin/g++-4.2 -dynamiclib -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch x86_64 -arch i386
-exported_symbols_list libre2.symbols.darwin -o obj/dylib/libre2.dylib.0
obj/dylib/util/arena.o obj/dylib/util/hash.o obj/dylib/util/rune.o
obj/dylib/util/stringpiece.o obj/dylib/util/stringprintf.o
obj/dylib/util/strutil.o obj/dylib/util/valgrind.o
obj/dylib/re2/bitstate.o obj/dylib/re2/compile.o obj/dylib/re2/dfa.o
obj/dylib/re2/filtered_re2.o obj/dylib/re2/mimics_pcre.o
obj/dylib/re2/nfa.o obj/dylib/re2/onepass.o obj/dylib/re2/parse.o
obj/dylib/re2/perl_groups.o obj/dylib/re2/prefilter.o
obj/dylib/re2/prefilter_tree.o obj/dylib/re2/prog.o obj/dylib/re2/re2.o
obj/dylib/re2/regexp.o obj/dylib/re2/set.o obj/dylib/re2/simplify.o
obj/dylib/re2/tostring.o obj/dylib/re2/unicode_casefold.o
obj/dylib/re2/unicode_groups.o
Undefined symbols:
"operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char>
>&, re2::StringPiece const&)", referenced from:
-exported_symbol[s_list] command line option
ld: symbol(s) not found
collect2: ld returned 1 exit status
Undefined symbols:
"operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char>
>&, re2::StringPiece const&)", referenced from:
-exported_symbol[s_list] command line option
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/.tmp/cchkM1cx.out
(No such file or directory)
make: *** [obj/dylib/libre2.dylib] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/re2'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_re2/re2/work/re2"
&& /usr/bin/make -j2 -w all CXX="/usr/bin/g++-4.2" CXXFLAGS="-Os -arch
x86_64 -arch i386" LDFLAGS="-L/opt/local/lib
-Wl,-headerpad_max_install_names -arch x86_64 -arch i386"
Exit code: 2
Error: org.macports.build for port re2 returned: command execution failed
DEBUG: Error code: CHILDSTATUS 23644 2
}}}
I do '''''not''''' remember this happening previously, so I guess r115779
must have introduced it... Anyways it looks like an issue with the c++
standard library...
--
Ticket URL: <https://trac.macports.org/ticket/42200>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list