Bug#880996: ring: FTBFS on mips64el

2017-11-07 Thread James Cowgill
Hi,

On 06/11/17 19:48, Sebastian Ramacher wrote:
> Source: ring
> Version: 20170912.1.912f772~dfsg1-2
> Severity: serious
> Tags: sid buster
> Control: block 880355 by -1
> 
> ring FTBFS on mips64el during the libva transition:
[...]
> | ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
> `ring::RingAccount::useIdentity(std::pair  std::shared_ptr > const&)':
> | ./daemon/src/ringdht/ringaccount.cpp:845: undefined reference to 
> `dht::Value::msgpack_unpack(msgpack::v1::object)'
> | ./daemon/src/ringdht/ringaccount.cpp:845: undefined reference to 
> `dht::Value::msgpack_unpack(msgpack::v1::object)'
> | ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
> `msgpack::v1::type::detail::convert_integer_sign false>::convert(msgpack::v1::object const&)':
> | /usr/include/msgpack/v1/adaptor/int.hpp:46: undefined reference to 
> `dht::unpackBlob(msgpack::v1::object&)'
> | ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
> `dht::IceCandidates::msgpack_unpack(msgpack::v1::object)':
> | /usr/include/opendht/default_types.h:190: undefined reference to 
> `dht::unpackBlob(msgpack::v1::object&)'
> | ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
> `msgpack::v1::type::detail::convert_integer_sign false>::convert(msgpack::v1::object const&)':
> | /usr/include/msgpack/v1/adaptor/int.hpp:46: undefined reference to 
> `dht::unpackBlob(msgpack::v1::object&)'
> | ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
> `dht::IceCandidates::msgpack_unpack(msgpack::v1::object)':
> | /usr/include/opendht/default_types.h:190: undefined reference to 
> `dht::unpackBlob(msgpack::v1::object&)'
> | ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
> `msgpack::v1::type::detail::convert_integer_sign false>::convert(msgpack::v1::object const&)':
> | /usr/include/msgpack/v1/adaptor/int.hpp:46: undefined reference to 
> `dht::unpackBlob(msgpack::v1::object&)'
> | 
> ../src/.libs/libring.a(libringacc_la-ringaccount.o):/usr/include/opendht/default_types.h:190:
>  more undefined references to `dht::unpackBlob(msgpack::v1::object&)' follow
> | ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
> `msgpack::v1::adaptor::convert void>::operator()(msgpack::v1::object const&, dht::crypto::RevocationList&) 
> const':
> | /usr/include/msgpack/v1/object.hpp:209: undefined reference to 
> `dht::crypto::RevocationList::msgpack_unpack(msgpack::v1::object)'
> | /usr/include/msgpack/v1/object.hpp:209: undefined reference to 
> `dht::crypto::RevocationList::msgpack_unpack(msgpack::v1::object)'
> | collect2: error: ld returned 1 exit status
> | Makefile:628: recipe for target 'dring' failed

The problem is that ring forces the use of the msgpack v1 API, but
opendht uses whatever the default msgpack API was when it was built.
When opendht was originally uploaded this was v1 and everything was
good. Around 1 month ago, opendht was binNMUed on just mips64el and this
caused the mips64el version of opendht to use v2 of the API. Ring then
FTBFS on mips64el because it tried to use the v1 functions which don't
exist anymore.

There needs to be some agreement between ring and opendht as to what
msgpack API to use (both use v1 or v2). I'm not sure what the best
option is, but I would guess that forcing opendht to v1 would fix this.

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Bug#880996: ring: FTBFS on mips64el

2017-11-06 Thread Sebastian Ramacher
Source: ring
Version: 20170912.1.912f772~dfsg1-2
Severity: serious
Tags: sid buster
Control: block 880355 by -1

ring FTBFS on mips64el during the libva transition:
| ../doltlibtool  --tag=CXX   --mode=link g++-6 -I../src 
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-c++-1 -I/usr/include/dbus-1.0 
-I/usr/lib/mips64el-linux-gnuabi64/dbus-1.0/include -I../src/dring 
-DTOP_BUILDDIR=\"$(cd ".."; pwd)\" -g -O2 -fdebug-prefix-map=/<>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-DMSGPACK_DEFAULT_API_VERSION=1 -DPJ_AUTOCONF=1  
-I/<>/daemon/contrib/mips64el-linux-gnuabi64/include  -Wl,-z,relro 
-Wl,-z,now -Wl,-Bsymbolic -ldl 
-L/<>/daemon/contrib/mips64el-linux-gnuabi64/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++-6 -I../src -DDBUS_API_SUBJECT_TO_CHANGE 
-I/usr/include/dbus-c++-1 -I/usr/include/dbus-1.0 
-I/usr/lib/mips64el-linux-gnuabi64/dbus-1.0/include -I../src/dring 
"-DTOP_BUILDDIR=\"/<>/daemon\"" -g -O2 
"-fdebug-prefix-map=/<>=." -fstack-protector-strong -Wformat 
-Werror=format-security -DMSGPACK_DEFAULT_API_VERSION=1 -DPJ_AUTOCONF=1 
"-I/<>/daemon/contrib/mips64el-linux-gnuabi64/include" -Wl,-z 
-Wl,relro -Wl,-z -Wl,now -Wl,-Bsymbolic -o dring dring-main.o  
-L/<>/daemon/contrib/mips64el-linux-gnuabi64/lib 
dbus/.libs/libclient_dbus.a -ldbus-c++-1 -ldbus-1 ../src/.libs/libring.a 
-lpjsua2-mips64el-unknown-linux-gnuabi64 
-lpjsua-mips64el-unknown-linux-gnuabi64 
-lpjsip-ua-mips64el-unknown-linux-gnuabi64 
-lpjsip-simple-mips64el-unknown-linux-gnuabi64 
-lpjsip-mips64el-unknown-linux-gnuabi64 
-lpjmedia-codec-mips64el-unknown-linux-gnuabi64 
-lpjmedia-videodev-mips64el-unknown-linux-gnuabi64 
-lpjmedia-audiodev-mips64el-unknown-linux-gnuabi64 
-lpjmedia-mips64el-unknown-linux-gnuabi64 
-lpjnath-mips64el-unknown-linux-gnuabi64 
-lpjlib-util-mips64el-unknown-linux-gnuabi64 
-lsrtp-mips64el-unknown-linux-gnuabi64 -lpj-mips64el-unknown-linux-gnuabi64 
-lopus -luuid -lpthread -lasound -lpulse -lsamplerate -lsndfile -lyaml-cpp 
-ljsoncpp -lupnp -lthreadutil -lixml -lopendht -lnettle -lgnutls -largon2 -lrt 
-lz -lpcre -lspeexdsp -L/usr/lib -ldl -lcryptopp -lavcodec -lavformat 
-lavdevice -lswscale -lavutil -ludev -lX11 -lvdpau -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 const&)':
| ./daemon/src/ringdht/ringaccount.cpp:845: undefined reference to 
`dht::Value::msgpack_unpack(msgpack::v1::object)'
| ./daemon/src/ringdht/ringaccount.cpp:845: undefined reference to 
`dht::Value::msgpack_unpack(msgpack::v1::object)'
| ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
`msgpack::v1::type::detail::convert_integer_sign::convert(msgpack::v1::object const&)':
| /usr/include/msgpack/v1/adaptor/int.hpp:46: undefined reference to 
`dht::unpackBlob(msgpack::v1::object&)'
| ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
`dht::IceCandidates::msgpack_unpack(msgpack::v1::object)':
| /usr/include/opendht/default_types.h:190: undefined reference to 
`dht::unpackBlob(msgpack::v1::object&)'
| ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
`msgpack::v1::type::detail::convert_integer_sign::convert(msgpack::v1::object const&)':
| /usr/include/msgpack/v1/adaptor/int.hpp:46: undefined reference to 
`dht::unpackBlob(msgpack::v1::object&)'
| ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
`dht::IceCandidates::msgpack_unpack(msgpack::v1::object)':
| /usr/include/opendht/default_types.h:190: undefined reference to 
`dht::unpackBlob(msgpack::v1::object&)'
| ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
`msgpack::v1::type::detail::convert_integer_sign::convert(msgpack::v1::object const&)':
| /usr/include/msgpack/v1/adaptor/int.hpp:46: undefined reference to 
`dht::unpackBlob(msgpack::v1::object&)'
| 
../src/.libs/libring.a(libringacc_la-ringaccount.o):/usr/include/opendht/default_types.h:190:
 more undefined references to `dht::unpackBlob(msgpack::v1::object&)' follow
| ../src/.libs/libring.a(libringacc_la-ringaccount.o): In function 
`msgpack::v1::adaptor::convert::operator()(msgpack::v1::object const&, dht::crypto::RevocationList&) 
const':
| /usr/include/msgpack/v1/object.hpp:209: undefined reference to 
`dht::crypto::RevocationList::msgpack_unpack(msgpack::v1::object)'
| /usr/include/msgpack/v1/object.hpp:209: undefined reference to 
`dht::crypto::RevocationList::msgpack_unpack(msgpack::v1::object)'
| collect2: error: ld returned 1 exit status
| Makefile:628: recipe for target 'dring' failed

See
https://buildd.debian.org/status/fetch.php?pkg=ring=mips64el=20170912.1.912f772~dfsg1-2+b1=1509883418=0
for the full build log.

Cheers
-- 
Sebastian Ramacher


signature.asc