pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [head] multimedia/kscd linking error



You will have to rebuild MusicBrainz to get it to link to libstdc++.so.8. I've had many such occasions when I recently did 'pkg_rolling-replace -uvk' on my laptop; they are not caught by the pkgsrc tools. I still have a list of about 60 packages linking to libstdc++.so.7 which I eventually intend to rebuild (obviously they are still OK for the leaves as libstdc++.so.7 does not get removed by the OS upgrades, but for packages whose shared libraries are used by other packages it appears one has to do it manually).

I can't test kscd myself, as I haven't compiled kde4 (I did successfully compile meta-pkgs/kf5, but have no idea what to do with it...).

Chavdar Ivanov

On Wed, 3 Jan 2018 at 08:53 BERTRAND Joel <joel.bertrand%systella.fr@localhost> wrote:
        Hello and happy new year,

        For several week, I have noticed that kscd cannot be built without
error on NetBSD/amd64 (-8 BETA):

...
[100%] Linking CXX executable kscd
ld: warning: libstdc++.so.7, needed by
/usr/src/pkgsrc/multimedia/kscd/work/.buildlink/lib/libmusicbrainz3.so,
may conflict with libstdc++.so.8
/usr/lib/librpcsvc.so.1: warning: warning: this program uses
xdr_peername(), which is deprecated and buggy.
/usr/lib/librpcsvc.so.1: warning: warning: this program uses
xdr_domainname(), which is deprecated and buggy.
/usr/lib/librpcsvc.so.1: warning: warning: this program uses
xdr_mapname(), which is deprecated and buggy.
CMakeFiles/kscd.dir/mbmanager.o: In function `MBManager::discUpload()':
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:184:
undefined reference to `MusicBrainz::readDisc(std::string const&)'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:185:
undefined reference to
`MusicBrainz::getSubmissionUrl(MusicBrainz::Disc*, std::string const&, int)'
CMakeFiles/kscd.dir/mbmanager.o: In function
`MBManager::discLookup(QString const&)':
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:54:
undefined reference to `MusicBrainz::WebService::WebService(std::string
const&, int, std::string const&, std::string const&, std::string const&,
std::string const&)'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:60:
undefined reference to `MusicBrainz::WebService::setHost(std::string
const&)'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:75:
undefined reference to `MusicBrainz::readDisc(std::string const&)'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:77:
undefined reference to
`MusicBrainz::Query::Query(MusicBrainz::IWebService*, std::string const&)'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:82:
undefined reference to `MusicBrainz::Disc::getId() const'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:82:
undefined reference to `MusicBrainz::ReleaseFilter::discId(std::string
const&)'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:96:
undefined reference to `MusicBrainz::Query::getReleaseById(std::string
const&, MusicBrainz::ReleaseIncludes const*)'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:98:
undefined reference to `MusicBrainz::Release::getTitle() const'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:99:
undefined reference to `MusicBrainz::Artist::getName() const'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:112:
undefined reference to `MusicBrainz::Artist::getName() const'
/usr/src/pkgsrc/multimedia/kscd/work/kscd-4.14.3/mbmanager.cpp:111:
undefined reference to `MusicBrainz::Track::getTitle() const'
--- kscd ---
*** [kscd] Error code 1

        I don't find any declaration of MusicBrainz class in *.h. How can I fix
this issue ?

        Best regards,

        JB


Home | Main Index | Thread Index | Old Index