Bug#1051909: ring: FTBFS: error: using typedef-name ‘using dht::Logger = struct dht::log::Logger’ after ‘struct’

Aurelien Jarno aurel32 at debian.org
Thu Sep 14 06:16:01 BST 2023


Source: ring
Version: 20230206.0~ds2-1.3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear maintainer,

ring fails to build from source. From my build log on amd64:

| /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I..  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DLIBJAMI_BUILD -DASIO_STANDALONE -I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include  -DPJ_AUTOCONF=1 -I/usr/include/jsoncpp  -I/<<PKGBUILDDIR>>/daemon/src -I/<<PKGBUILDDIR>>/daemon/src/config -I/<<PKGBUILDDIR>>/daemon/src/media -I/<<PKGBUILDDIR>>/daemon/test -I/<<PKGBUILDDIR>>/daemon/src/jami  -DPREFIX=\"/usr\" -DJAMI_DATADIR=\"/usr/share/jami\" -DENABLE_TRACE -DJAMI_REVISION=\"\" -DJAMI_DIRTY_REPO=\"dirty\" -DPJSIP_MAX_PKT_LEN=8000 -DPJ_AUTOCONF=1 -I../src/jamidht/eth -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG=1 -O3 -Wno-deprecated -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT client/conversation_interface.lo -MD -MP -MF $depbase.Tpo -c -o client/conversation_interface.lo client/conversation_interface.cpp &&\
| mv -f $depbase.Tpo $depbase.Plo
| make[4]: *** [Makefile:2669: account_factory.lo] Error 1
| make[4]: *** Waiting for unfinished jobs....
| libtool: compile:  g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DLIBJAMI_BUILD -DASIO_STANDALONE "-I/<<PKGBUILDDIR>>/daemon/contrib/x86_64-linux-gnu/include" -DPJ_AUTOCONF=1 -I/usr/include/jsoncpp "-I/<<PKGBUILDDIR>>/daemon/src" "-I/<<PKGBUILDDIR>>/daemon/src/config" "-I/<<PKGBUILDDIR>>/daemon/src/media" "-I/<<PKGBUILDDIR>>/daemon/test" "-I/<<PKGBUILDDIR>>/daemon/src/jami" -DPREFIX=\"/usr\" -DJAMI_DATADIR=\"/usr/share/jami\" -DENABLE_TRACE -DJAMI_REVISION=\"\" -DJAMI_DIRTY_REPO=\"dirty\" -DPJSIP_MAX_PKT_LEN=8000 -DPJ_AUTOCONF=1 -I../src/jamidht/eth -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG=1 -O3 -Wno-deprecated -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT client/conversation_interface.lo -MD -MP -MF client/.deps/conversation_interface.Tpo -c client/conversation_interface.cpp -o client/conversation_interface.o
| make[4]: *** [Makefile:2669: call.lo] Error 1
| make[4]: *** [Makefile:2669: manager.lo] Error 1
| make[4]: *** [Makefile:2669: conference.lo] Error 1
| In file included from ./jamidht/account_manager.h:28,
|                  from ./jamidht/conversation_module.h:25,
|                  from ./jamidht/jamiaccount.h:49,
|                  from client/datatransfer.cpp:26:
| ./jamidht/namedirectory.h:43:8: error: using typedef-name ‘using dht::Logger = struct dht::log::Logger’ after ‘struct’
|    43 | struct Logger;
|       |        ^~~~~~
| In file included from /usr/include/opendht/dhtrunner.h:28,
|                  from ./connectivity/connectionmanager.h:24,
|                  from ./jamidht/jamiaccount.h:46:
| /usr/include/opendht/logger.h:117:7: note: ‘using dht::Logger = struct dht::log::Logger’ has a previous declaration here
|   117 | using Logger = log::Logger;
|       |       ^~~~~~
| In file included from ./jamidht/account_manager.h:28,
|                  from ./jamidht/conversation_module.h:25,
|                  from ./jamidht/jamiaccount.h:49,
|                  from client/configurationmanager.cpp:39:
| ./jamidht/namedirectory.h:43:8: error: using typedef-name ‘using dht::Logger = struct dht::log::Logger’ after ‘struct’
|    43 | struct Logger;
|       |        ^~~~~~
| In file included from /usr/include/opendht/dhtrunner.h:28,
|                  from ./connectivity/connectionmanager.h:24,
|                  from ./jamidht/jamiaccount.h:46:
| /usr/include/opendht/logger.h:117:7: note: ‘using dht::Logger = struct dht::log::Logger’ has a previous declaration here
|   117 | using Logger = log::Logger;
|       |       ^~~~~~
| In file included from ./jamidht/account_manager.h:28,
|                  from ./jamidht/conversation_module.h:25,
|                  from ./jamidht/jamiaccount.h:49,
|                  from client/callmanager.cpp:38:
| ./jamidht/namedirectory.h:43:8: error: using typedef-name ‘using dht::Logger = struct dht::log::Logger’ after ‘struct’
|    43 | struct Logger;
|       |        ^~~~~~
| In file included from /usr/include/opendht/dhtrunner.h:28,
|                  from ./connectivity/connectionmanager.h:24,
|                  from ./jamidht/jamiaccount.h:46:
| /usr/include/opendht/logger.h:117:7: note: ‘using dht::Logger = struct dht::log::Logger’ has a previous declaration here
|   117 | using Logger = log::Logger;
|       |       ^~~~~~
| In file included from ./jamidht/account_manager.h:28,
|                  from ./jamidht/conversation_module.h:25,
|                  from ./jamidht/jamiaccount.h:49,
|                  from client/conversation_interface.cpp:33:
| ./jamidht/namedirectory.h:43:8: error: using typedef-name ‘using dht::Logger = struct dht::log::Logger’ after ‘struct’
|    43 | struct Logger;
|       |        ^~~~~~
| In file included from /usr/include/opendht/dhtrunner.h:28,
|                  from ./connectivity/connectionmanager.h:24,
|                  from ./jamidht/jamiaccount.h:46:
| /usr/include/opendht/logger.h:117:7: note: ‘using dht::Logger = struct dht::log::Logger’ has a previous declaration here
|   117 | using Logger = log::Logger;
|       |       ^~~~~~
| make[4]: *** [Makefile:2669: client/datatransfer.lo] Error 1
| make[4]: *** [Makefile:2669: client/callmanager.lo] Error 1
| make[4]: *** [Makefile:2669: client/configurationmanager.lo] Error 1
| make[4]: *** [Makefile:2669: client/conversation_interface.lo] Error 1
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/daemon/src'
| make[3]: *** [Makefile:594: all-recursive] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/daemon'
| make[2]: *** [Makefile:500: all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/daemon'
| make[1]: *** [debian/rules:90: override_dh_auto_build] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:23: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
 
A full build log on riscv64 is also available:
https://buildd.debian.org/status/fetch.php?pkg=ring&arch=riscv64&ver=20230206.0%7Eds2-1.3&stamp=1694612745&raw=0

Regards
Aurelien


More information about the Pkg-voip-maintainers mailing list