Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2016 10:09:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211171] audio/ncmpcpp crashes after start with "Abort (Core dumped)" or "Abort trap (Core dumped)"
Message-ID:  <bug-211171-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211171

            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@FreeBSD.org
          Reporter: artur.zych@gmail.com
                CC: yamagi@yamagi.org
                CC: yamagi@yamagi.org
             Flags: maintainer-feedback?(yamagi@yamagi.org)

Created attachment 172604
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172604&action=
=3Dedit
dmesg

Hi,

At the beginning just consider that I'm new to the FreeBSD and don't have m=
uch
technical background to work with.

I'm using FreeBSD 11 Stable:=20

uname -a=20
FreeBSD logic 11.0-BETA1 FreeBSD 11.0-BETA1 #0 r302783: Thu Jul 14 20:59:02
CEST 2016     root@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 - bo=
th
with the same result:

$ ncmpcpp
Abort trap (core dumped)

root@logic:/usr/home/apz # ncmpcpp
Abort (core dumped)

I have also tried to install the program directly from source (configure, m=
ake
install), both 0.7.4 and 0.7.3 versions.=20
The classic installation didin't work.
This is what I got at the beginning when running make:

root@logic:~/3rd_party_sources/ncmpcpp-0.7.4 # make=20
make  all-recursive
Making all in src
g++ -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include   -I/usr/local/include=
=20=20
-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=3D200112L -D_XOPEN_SOURCE=3D=
600
-I/usr/local/include/ncurses/ncursesw -I/usr/local/include/ncurses
-I/usr/local/include -I/usr/local/include/taglib  -g -O2 -std=3Dc++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@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=
=20=20
-D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=3D200112L -D_XOPEN_SOURCE=3D=
600
-I/usr/local/include/ncurses/ncursesw -I/usr/local/include/ncurses
-I/usr/local/include -I/usr/local/include/taglib  -g -O2 -std=3Dc++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=3DCXX    --mode=3Dlink g++   -g -O2 -std=3Dc++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=
=20
helpers.o lastfm.o lastfm_service.o  lyrics.o lyrics_fetcher.o=20
macro_utilities.o media_library.o  mpdpp.o mutable_song.o ncmpcpp.o  output=
s.o
playlist.o playlist_editor.o  screen.o screen_type.o scrollpad.o=20
search_engine.o sel_items_adder.o  server_info.o settings.o song.o  song_in=
fo.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=3Dc++0x -o ncmpcpp comparators.o html.o
option_parser.o string.o type_conversions.o wide_string.o actions.o binding=
s.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 cons=
t*,
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<c=
har>
> >(__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: undef=
ined
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 cons=
t*,
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 refer=
ence
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 con=
st&,
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 con=
st&,
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 con=
st&,
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 con=
st&,
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::stri=
ng
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&) cons=
t':
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string con=
st&)
const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string con=
st&)
const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string con=
st&)
const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string con=
st&)
const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined
reference to
`boost::program_options::abstract_variables_map::operator[](std::string con=
st&)
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 con=
st&)
const' follow
configuration.o: In function `boost::program_options::typed_value<std::stri=
ng,
char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::str=
ing>
> 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 referenc=
e 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(boos=
t::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::func=
tion1<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::st=
ring
const&)'
configuration.o: In function `void boost::program_options::validate<int,
char>(boost::any&, std::vector<std::basic_string<char, std::char_traits<cha=
r>,
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::st=
ring
const&)'
configuration.o:(.rodata._ZTVN5boost16exception_detail19error_info_injector=
INS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detai=
l19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x30):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(st=
d::string
const&) const'
configuration.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19er=
ror_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boo=
st16exception_detail10clone_implINS0_19error_info_injectorINS_15program_opt=
ions20invalid_option_valueEEEEE]+0x38):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(st=
d::string
const&) const'
configuration.o:(.rodata._ZTVN5boost16exception_detail19error_info_injector=
INS_15program_options16validation_errorEEE[_ZTVN5boost16exception_detail19e=
rror_info_injectorINS_15program_options16validation_errorEEE]+0x30):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(st=
d::string
const&) const'
configuration.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19er=
ror_info_injectorINS_15program_options16validation_errorEEEEE[_ZTVN5boost16=
exception_detail10clone_implINS0_19error_info_injectorINS_15program_options=
16validation_errorEEEEE]+0x38):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(st=
d::string
const&) const'
configuration.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_Z=
TVN5boost15program_options16validation_errorE]+0x30):
undefined reference to
`boost::program_options::error_with_option_name::substitute_placeholders(st=
d::string
const&) const'
configuration.o:(.rodata._ZTVN5boost15program_options20invalid_option_value=
E[_ZTVN5boost15program_options20invalid_option_valueE]+0x30):
more undefined references to
`boost::program_options::error_with_option_name::substitute_placeholders(st=
d::string
const&) const' follow
configuration.o:(.rodata._ZTVN5boost15program_options11typed_valueISscEE[_Z=
TVN5boost15program_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[_ZT=
VN5boost15program_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_valueISt6vecto=
rISsSaISsEEcEE[_ZTVN5boost15program_options11typed_valueISt6vectorISsSaISsE=
EcEE]+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<c=
har>
> >(__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_fl=
ags,
__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 cons=
t*,
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 undefin=
ed
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@logic:~/3rd_party_sources/ncmpcpp-0.7.4 #=20

I have boost, as well as taglib:
root@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@FreeBSD.org
WWW            : http://taglib.github.com/
Comment        : Library for manipulating ID3 tags and Ogg comments
Options        :
        RCC            : off

root@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       :=20
Maintainer     : office@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211171-13>