[Bug 211171] audio/ncmpcpp crashes after start with "Abort (Core dumped)" or "Abort trap (Core dumped)"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 17 10:09:24 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211171
Bug ID: 211171
Summary: audio/ncmpcpp crashes after start with "Abort (Core
dumped)" or "Abort trap (Core dumped)"
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: artur.zych at gmail.com
CC: yamagi at yamagi.org
CC: yamagi at yamagi.org
Flags: maintainer-feedback?(yamagi at yamagi.org)
Created attachment 172604
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172604&action=edit
dmesg
Hi,
At the beginning just consider that I'm new to the FreeBSD and don't have much
technical background to work with.
I'm using FreeBSD 11 Stable:
uname -a
FreeBSD logic 11.0-BETA1 FreeBSD 11.0-BETA1 #0 r302783: Thu Jul 14 20:59:02
CEST 2016 root at logic:/usr/obj/usr/src/sys/MIND amd64
I've installed musicpd (works fine) and ncmpc (works fine), and ncmpcpp 0.7.4
(crashes). I've tried installing ncmpcpp from ports and binary package - both
with the same result:
$ ncmpcpp
Abort trap (core dumped)
root at logic:/usr/home/apz # ncmpcpp
Abort (core dumped)
I have also tried to install the program directly from source (configure, make
install), both 0.7.4 and 0.7.3 versions.
The classic installation didin't work.
This is what I got at the beginning when running make:
root at logic:~/3rd_party_sources/ncmpcpp-0.7.4 # make
make all-recursive
Making all in src
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include
-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
-I/usr/local/include/ncurses/ncursesw -I/usr/local/include/ncurses
-I/usr/local/include -I/usr/local/include/taglib -g -O2 -std=c++0x -MT
status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.cpp
status.cpp: In function 'void {anonymous}::initialize_status()':
status.cpp:160:71: error: 'setsockopt' was not declared in this scope
setsockopt(Mpd.GetFD(), IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(flag));
^
*** Error code 1
Stop.
make[2]: stopped in /root/3rd_party_sources/ncmpcpp-0.7.4/src
*** Error code 1
Stop.
make[1]: stopped in /root/3rd_party_sources/ncmpcpp-0.7.4
*** Error code 1
Stop.
make: stopped in /root/3rd_party_sources/ncmpcpp-0.7.4
But I managed to remedy this by adding:
#include <sys/types.h>
#include <sys/socket.h>
to the status.cpp
But then I get a lot of errors at install stage:
root at logic:~/3rd_party_sources/ncmpcpp-0.7.4 # make install
Making install in src
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include
-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
-I/usr/local/include/ncurses/ncursesw -I/usr/local/include/ncurses
-I/usr/local/include -I/usr/local/include/taglib -g -O2 -std=c++0x -MT
status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.cpp
mv -f .deps/status.Tpo .deps/status.Po
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -std=c++0x -o
ncmpcpp comparators.o html.o option_parser.o string.o type_conversions.o
wide_string.o actions.o bindings.o browser.o charset.o clock.o
configuration.o curl_handle.o display.o enums.o format.o global.o help.o
helpers.o lastfm.o lastfm_service.o lyrics.o lyrics_fetcher.o
macro_utilities.o media_library.o mpdpp.o mutable_song.o ncmpcpp.o outputs.o
playlist.o playlist_editor.o screen.o screen_type.o scrollpad.o
search_engine.o sel_items_adder.o server_info.o settings.o song.o song_info.o
song_list.o sort_playlist.o status.o statusbar.o tag_editor.o tags.o
tiny_tag_editor.o title.o visualizer.o window.o -lboost_filesystem
-lboost_system -lboost_locale -lboost_program_options -lboost_regex
-L/usr/local/lib -licuuc -licudata -lboost_thread -L/usr/local/lib
-lmpdclient -lreadline -lpthread -L/usr/local/lib -rpath /usr/local/lib
-lncursesw -ltinfow -L/usr/local/lib -lcurl -L/usr/local/lib -ltag
libtool: link: g++ -g -O2 -std=c++0x -o ncmpcpp comparators.o html.o
option_parser.o string.o type_conversions.o wide_string.o actions.o bindings.o
browser.o charset.o clock.o configuration.o curl_handle.o display.o enums.o
format.o global.o help.o helpers.o lastfm.o lastfm_service.o lyrics.o
lyrics_fetcher.o macro_utilities.o media_library.o mpdpp.o mutable_song.o
ncmpcpp.o outputs.o playlist.o playlist_editor.o screen.o screen_type.o
scrollpad.o search_engine.o sel_items_adder.o server_info.o settings.o song.o
song_info.o song_list.o sort_playlist.o status.o statusbar.o tag_editor.o
tags.o tiny_tag_editor.o title.o visualizer.o window.o -lboost_filesystem
-lboost_system -lboost_locale -lboost_program_options -lboost_regex
-L/usr/local/lib -licuuc -licudata -lboost_thread -lmpdclient -lreadline
-lpthread -lncursesw -ltinfow -lcurl -ltag -Wl,-rpath -Wl,/usr/local/lib
option_parser.o: In function
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::match_prefix()':
/usr/local/include/boost/regex/v4/perl_matcher_common.hpp:333: undefined
reference to `boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >
>::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > > > const&)'
option_parser.o: In function `bool
boost::regex_match<__gnu_cxx::__normal_iterator<char const*, std::string>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::string> > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char>
> >(__gnu_cxx::__normal_iterator<char const*, std::string>,
__gnu_cxx::__normal_iterator<char const*, std::string>,
boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::string>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::string> > > >&, boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > > const&,
boost::regex_constants::_match_flags)':
/usr/local/include/boost/regex/v4/perl_matcher.hpp:374: undefined reference to
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >, 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)'
option_parser.o: In function
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::match_match()':
/usr/local/include/boost/regex/v4/perl_matcher_non_recursive.hpp:991: undefined
reference to `boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >
>::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > > > const&)'
actions.o: In function `Actions::EditLibraryAlbum::run()':
/root/3rd_party_sources/ncmpcpp-0.7.4/src/actions.cpp:1455: undefined reference
to `TagLib::String::String(std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&,
TagLib::String::Type)'
browser.o: In function `Browser::getDirectory(std::string)':
/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to
`boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry
const&, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
browser.o: In function `(anonymous
namespace)::getLocalDirectoryRecursively(std::vector<MPD::Song,
std::allocator<MPD::Song> >&, std::string const&)':
/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to
`boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry
const&, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
browser.o: In function `(anonymous namespace)::clearDirectory(std::string
const&)':
/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to
`boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry
const&, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to
`boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry
const&, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
charset.o: In function `Charset::toUtf8From(std::string const&, char const*)':
/usr/local/include/boost/locale/encoding.hpp:75: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char> >
boost::locale::conv::to_utf<char>(char const*, char const*, std::string const&,
boost::locale::conv::method_type)'
charset.o: In function `Charset::fromUtf8To(std::string const&, char const*)':
/usr/local/include/boost/locale/encoding.hpp:75: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char> >
boost::locale::conv::to_utf<char>(char const*, char const*, std::string const&,
boost::locale::conv::method_type)'
charset.o: In function `Charset::utf8ToLocale(std::string const&)':
/usr/local/include/boost/locale/encoding.hpp:84: undefined reference to
`std::string boost::locale::conv::from_utf<char>(char const*, char const*,
std::string const&, boost::locale::conv::method_type)'
charset.o: In function `Charset::localeToUtf8(std::string const&)':
/usr/local/include/boost/locale/encoding.hpp:75: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char> >
boost::locale::conv::to_utf<char>(char const*, char const*, std::string const&,
boost::locale::conv::method_type)'
charset.o: In function `Charset::utf8ToLocale(std::string&&)':
/usr/local/include/boost/locale/encoding.hpp:84: undefined reference to
`std::string boost::locale::conv::from_utf<char>(char const*, char const*,
std::string const&, boost::locale::conv::method_type)'
charset.o: In function `Charset::localeToUtf8(std::string&&)':
/usr/local/include/boost/locale/encoding.hpp:75: undefined reference to
`std::basic_string<char, std::char_traits<char>, std::allocator<char> >
boost::locale::conv::to_utf<char>(char const*, char const*, std::string const&,
boost::locale::conv::method_type)'
charset.o: In function `boost::locale::generator::operator()(std::string
const&) const':
/usr/local/include/boost/locale/generator.hpp:202: undefined reference to
`boost::locale::generator::generate(std::string const&) const'
/usr/local/include/boost/locale/generator.hpp:202: undefined reference to
`boost::locale::generator::generate(std::string const&) const'
configuration.o: In function `configure(int, char**)':
/root/3rd_party_sources/ncmpcpp-0.7.4/src/configuration.cpp:76: undefined
reference to
`boost::program_options::options_description::options_description(std::string
const&, unsigned int, unsigned int)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/configuration.cpp:97: undefined
reference to `boost::program_options::operator<<(std::ostream&,
boost::program_options::options_description const&)'
configuration.o: In function
`boost::program_options::variables_map::operator[](std::string const&) const':
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string const&)
const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string const&)
const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string const&)
const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string const&)
const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string const&)
const'
configuration.o:/usr/local/include/boost/program_options/variables_map.hpp:155:
more undefined references to
`boost::program_options::abstract_variables_map::operator[](std::string const&)
const' follow
configuration.o: In function `boost::program_options::typed_value<std::string,
char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::string>
> const&) const':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:170:
undefined reference to `boost::program_options::validate(boost::any&,
std::vector<std::string, std::allocator<std::string> > const&, std::string*,
int)'
configuration.o: In function
`boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t,
std::string const&, std::string const&, int)':
/usr/local/include/boost/program_options/errors.hpp:372: undefined reference to
`boost::program_options::error_with_option_name::error_with_option_name(std::string
const&, std::string const&, std::string const&, int)'
configuration.o: In function
`boost::program_options::basic_parsed_options<char>
boost::program_options::parse_command_line<char>(int, char const* const*,
boost::program_options::options_description const&, int,
boost::function1<std::pair<std::string, std::string>, std::string const&>)':
/usr/local/include/boost/program_options/detail/convert.hpp:79: undefined
reference to `boost::program_options::to_internal(std::string const&)'
configuration.o: In function
`boost::program_options::basic_parsed_options<char>
boost::program_options::parse_command_line<char>(int, char const* const*,
boost::program_options::options_description const&, int,
boost::function1<std::pair<std::string, std::string>, std::string const&>)':
/usr/local/include/boost/program_options/detail/parsers.hpp:43: undefined
reference to
`boost::program_options::detail::cmdline::cmdline(std::vector<std::string,
std::allocator<std::string> > const&)'
configuration.o: In function
`boost::program_options::basic_command_line_parser<char>::extra_parser(boost::function1<std::pair<std::string,
std::string>, std::string const&>)':
/usr/local/include/boost/program_options/detail/parsers.hpp:77: undefined
reference to
`boost::program_options::detail::cmdline::set_additional_parser(boost::function1<std::pair<std::string,
std::string>, std::string const&>)'
configuration.o: In function `void
boost::program_options::validate<std::string, char>(boost::any&,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&,
std::vector<std::string, std::allocator<std::string> >*, int)':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:149:
undefined reference to `boost::program_options::validate(boost::any&,
std::vector<std::string, std::allocator<std::string> > const&, std::string*,
int)'
/usr/local/include/boost/program_options/detail/value_semantic.hpp:153:
undefined reference to
`boost::program_options::invalid_option_value::invalid_option_value(std::string
const&)'
configuration.o: In function `void boost::program_options::validate<int,
char>(boost::any&, std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&, int*, long)':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:92:
undefined reference to
`boost::program_options::invalid_option_value::invalid_option_value(std::string
const&)'
configuration.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x30):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(std::string
const&) const'
configuration.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x38):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(std::string
const&) const'
configuration.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE]+0x30):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(std::string
const&) const'
configuration.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE]+0x38):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(std::string
const&) const'
configuration.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(std::string
const&) const'
configuration.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30):
more undefined references to
`boost::program_options::error_with_option_name::substitute_placeholders(std::string
const&) const' follow
configuration.o:(.rodata._ZTVN5boost15program_options11typed_valueISscEE[_ZTVN5boost15program_options11typed_valueISscEE]+0x38):
undefined reference to
`boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&,
std::vector<std::string, std::allocator<std::string> > const&, bool) const'
configuration.o:(.rodata._ZTVN5boost15program_options11typed_valueIicEE[_ZTVN5boost15program_options11typed_valueIicEE]+0x38):
undefined reference to
`boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&,
std::vector<std::string, std::allocator<std::string> > const&, bool) const'
configuration.o:(.rodata._ZTVN5boost15program_options11typed_valueISt6vectorISsSaISsEEcEE[_ZTVN5boost15program_options11typed_valueISt6vectorISsSaISsEEcEE]+0x38):
undefined reference to
`boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&,
std::vector<std::string, std::allocator<std::string> > const&, bool) const'
lastfm_service.o: In function `bool
boost::regex_search<__gnu_cxx::__normal_iterator<char const*, std::string>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::string> > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char>
> >(__gnu_cxx::__normal_iterator<char const*, std::string>,
__gnu_cxx::__normal_iterator<char const*, std::string>,
boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::string>,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::string> > > >&, boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags,
__gnu_cxx::__normal_iterator<char const*, std::string>)':
/usr/local/include/boost/regex/v4/perl_matcher.hpp:374: undefined reference to
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >, 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)'
lastfm_service.o: In function
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::match_prefix()':
/usr/local/include/boost/regex/v4/perl_matcher_common.hpp:333: undefined
reference to `boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > >
>::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char
const*, std::string> > > > const&)'
tags.o: In function `(anonymous namespace)::tagList(MPD::MutableSong const&,
std::string (MPD::Song::*)(unsigned int) const) [clone .constprop.120]':
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:50: undefined reference to
`TagLib::String::String(std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&, TagLib::String::Type)'
tags.o: In function `Tags::write(MPD::MutableSong&)':
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:149: undefined reference to
`TagLib::String::String(std::string const&, TagLib::String::Type)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:149: undefined reference to
`TagLib::String::String(std::string const&, TagLib::String::Type)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:149: undefined reference to
`TagLib::String::String(std::string const&, TagLib::String::Type)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:149: undefined reference to
`TagLib::String::String(std::string const&, TagLib::String::Type)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:149: undefined reference to
`TagLib::String::String(std::string const&, TagLib::String::Type)'
tags.o:/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:149: more undefined
references to `TagLib::String::String(std::string const&,
TagLib::String::Type)' follow
tags.o: In function `Tags::write(MPD::MutableSong&)':
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:121: undefined reference to
`TagLib::String::String(std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&, TagLib::String::Type)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:122: undefined reference to
`TagLib::String::String(std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&, TagLib::String::Type)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:123: undefined reference to
`TagLib::String::String(std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&, TagLib::String::Type)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:134: undefined reference to
`TagLib::String::String(std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&, TagLib::String::Type)'
/root/3rd_party_sources/ncmpcpp-0.7.4/src/tags.cpp:135: undefined reference to
`TagLib::String::String(std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&, TagLib::String::Type)'
collect2: error: ld returned 1 exit status
*** Error code 1
Stop.
make[1]: stopped in /root/3rd_party_sources/ncmpcpp-0.7.4/src
*** Error code 1
Stop.
make: stopped in /root/3rd_party_sources/ncmpcpp-0.7.4
root at logic:~/3rd_party_sources/ncmpcpp-0.7.4 #
I have boost, as well as taglib:
root at logic:~/3rd_party_sources/ncmpcpp-0.7.4 # pkg info taglib
taglib-1.10
Name : taglib
Version : 1.10
Installed on : Sat Jul 16 12:43:32 2016 CEST
Origin : audio/taglib
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : audio
Licenses : MPL or LGPL21
Maintainer : jhale at FreeBSD.org
WWW : http://taglib.github.com/
Comment : Library for manipulating ID3 tags and Ogg comments
Options :
RCC : off
root at logic:~/3rd_party_sources/ncmpcpp-0.7.4 # pkg info boost-libs
boost-libs-1.55.0_12
Name : boost-libs
Version : 1.55.0_12
Installed on : Sun Jul 17 00:40:23 2016 CEST
Origin : devel/boost-libs
Architecture : freebsd:11:x86:64
Prefix : /usr/local
Categories : devel
Licenses :
Maintainer : office at FreeBSD.org
WWW : http://www.boost.org/
Comment : Free portable C++ libraries (without Boost.Python)
Options :
DEBUG : off
ICONV : on
ICU : on
OPTIMIZED_CFLAGS: off
VERBOSE_BUILD : off
Shared Libs required:
libicuuc.so.55
libicui18n.so.55
libicudata.so.55
Shared Libs provided:
libboost_math_tr1.so.1.55.0
libboost_program_options.so.1.55.0
libboost_random.so.1.55.0
libboost_prg_exec_monitor.so.1.55.0
libboost_math_tr1f.so.1.55.0
libboost_unit_test_framework.so.1.55.0
libboost_thread.so.1.55.0
libboost_math_c99.so.1.55.0
libboost_context.so.1.55.0
libboost_serialization.so.1.55.0
libboost_wserialization.so.1.55.0
libboost_locale.so.1.55.0
libboost_date_time.so.1.55.0
libboost_log_setup.so.1.55.0
libboost_log.so.1.55.0
libboost_timer.so.1.55.0
libboost_chrono.so.1.55.0
libboost_regex.so.1.55.0
libboost_signals.so.1.55.0
libboost_iostreams.so.1.55.0
libboost_graph.so.1.55.0
libboost_filesystem.so.1.55.0
libboost_system.so.1.55.0
libboost_atomic.so.1.55.0
libboost_coroutine.so.1.55.0
libboost_math_c99f.so.1.55.0
libboost_wave.so.1.55.0
Annotations :
repo_type : binary
repository : FreeBSD
Flat size : 127MiB
Description :
Boost provides free peer-reviewed portable C++ source libraries.
I can't attach the coredump, as it's 6MB, so I'm only adding dmesg.
If you need anything more, just ask ;)
Thanks,
Artur
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list