Bug#866796: ring: FTBFS against msgpack-c 2.x
James McCoy
jamessan at debian.org
Sat Jul 1 19:14:05 UTC 2017
Source: ring
Version: 20170626.1.1335994~dfsg1-1
Severity: important
Tags: upstream
User: msgpack-c at packages.debian.org
Usertags: msgpack-c-2.x
While performing rebuilds of packages which Build-Depend on
libmsgpack-dev with the 2.x version in experimental, I found that ring
FTBFS:
make[5]: Entering directory '/<<PKGBUILDDIR>>/daemon/bin'
g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include -DBOOST_SYSTEM_NO_DEPRECATED -I../src -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-c++-1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I../src/dring -DTOP_BUILDDIR=\"$(cd ".."; pwd)\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DPJ_AUTOCONF=1 -I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include -MT dring-main.o -MD -MP -MF .deps/dring-main.Tpo -c -o dring-main.o `test -f 'main.cpp' || echo './'`main.cpp
mv -f .deps/dring-main.Tpo .deps/dring-main.Po
../doltlibtool --tag=CXX --mode=link g++ -I../src -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-c++-1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I../src/dring -DTOP_BUILDDIR=\"$(cd ".."; pwd)\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DPJ_AUTOCONF=1 -I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include -Wl,-z,relro -Wl,-z,now -Wl,-Bsymbolic -ldl -L/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/lib -lcryptopp -o dring dring-main.o dbus/libclient_dbus.la -ldbus-c++-1 -ldbus-1 ../src/libring.la -lnatpmp -lboost_random -lboost_system -lgsm -lrestbed
libtool: link: g++ -I../src -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-c++-1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I../src/dring "-DTOP_BUILDDIR=\"/<<PKGBUILDDIR>>/daemon\"" -g -O2 "-fdebug-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DPJ_AUTOCONF=1 "-I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include" -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-Bsymbolic -o dring dring-main.o -L/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/lib dbus/.libs/libclient_dbus.a -ldbus-c++-1 -ldbus-1 ../src/.libs/libring.a -lpjsua2-x86_64-pc-linux-gnu -lpjsua-x86_64-pc-linux-gnu -lpjsip-ua-x86_64-pc-linux-gnu -lpjsip-simple-x86_64-pc-linux-gnu -lpjsip-x86_64-pc-linux-gnu -lpjmedia-codec-x86_64-pc-linux-gnu -lpjmedia-videodev-x86_64-pc-linux-gnu -lpjmedia-audiodev-x86_64-pc-linux-gnu -lpjmedia-x86_64-pc-linux-gnu -lpjnath-x86_64-pc-linux-gnu -lpjlib-util-x86_64-pc-linux-gnu -lsrtp-x86_64-pc-linux-gnu -lpj-x86_64-pc-linux-gnu -lopus -luuid -lpthread -lasound -lpulse -lsamplerate -lsndfile -lyaml-cpp -ljsoncpp -lupnp -lthreadutil -lixml -lopendht -lnettle -lgnutls -largon2 -lrt -lz -lpcre -lspeexdsp -ldl -lcryptopp -lavcodec -lavformat -lavdevice -lswscale -lavutil -ludev -lX11 -lva-drm -lva-x11 -lva -lnatpmp -lboost_random -lboost_system -lgsm -lrestbed -pthread
../src/.libs/libring.a(libringacc_la-ringaccount.o): In function `ring::RingAccount::useIdentity(std::pair<std::shared_ptr<dht::crypto::PrivateKey>, std::shared_ptr<dht::crypto::Certificate> > const&)':
./daemon/src/ringdht/ringaccount.cpp:914: undefined reference to `dht::Value::msgpack_unpack(msgpack::v2::object)'
../src/.libs/libring.a(libringacc_la-ringaccount.o): In function `dht::IceCandidates::msgpack_unpack(msgpack::v2::object)':
/usr/include/opendht/default_types.h:190: undefined reference to `dht::unpackBlob(msgpack::v2::object&)'
../src/.libs/libring.a(libringacc_la-ringaccount.o): In function `msgpack::v1::adaptor::convert<dht::crypto::RevocationList, void>::operator()(msgpack::v2::object const&, dht::crypto::RevocationList&) const':
/usr/include/msgpack/v1/object.hpp:204: undefined reference to `dht::crypto::RevocationList::msgpack_unpack(msgpack::v2::object)'
../src/.libs/libring.a(libringacc_la-ringaccount.o): In function `dht::IceCandidates::msgpack_unpack(msgpack::v2::object)':
/usr/include/opendht/default_types.h:190: undefined reference to `dht::unpackBlob(msgpack::v2::object&)'
../src/.libs/libring.a(libringacc_la-ringaccount.o): In function `msgpack::v1::adaptor::convert<dht::crypto::RevocationList, void>::operator()(msgpack::v2::object const&, dht::crypto::RevocationList&) const':
/usr/include/msgpack/v1/object.hpp:204: undefined reference to `dht::crypto::RevocationList::msgpack_unpack(msgpack::v2::object)'
../src/.libs/libring.a(libringacc_la-ringaccount.o): In function `dht::IceCandidates::msgpack_unpack(msgpack::v2::object)':
/usr/include/opendht/default_types.h:190: undefined reference to `dht::unpackBlob(msgpack::v2::object&)'
collect2: error: ld returned 1 exit status
Makefile:625: recipe for target 'dring' failed
make[5]: *** [dring] Error 1
I haven't looked into ring's code, but there were some API breaking
changes in 2.x.
2.0.0
-----
* Removed pointer version of msgpack::unpack APIs. Use reference version
instead
* Removed MSGPACK_DISABLE_LEGACY_CONVERT. msgpack::object::convert(T*) is
removed by default. Use msgpack::object::convert(T&) instead
* Removed msgpacl::type::nil. Use nil_t or define MSGPACK_USE_LECACY_NIL
* Removed std::string to msgpack::object conversion
2.1.0
-----
* Fix object internal data type is float if msgpack format is float32
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ring_20170626.1.1335994~dfsg1-1.gz
Type: application/gzip
Size: 84649 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20170701/c741434c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20170701/c741434c/attachment-0001.sig>
More information about the Pkg-voip-maintainers
mailing list