Can't compile new sems 1.123.0

When I try to compile a new sems (1.123.0) I see following:

./package.sh
dpkg-buildpackage -us -uc -ui -b -j4
dpkg-buildpackage: info: source package sems
dpkg-buildpackage: info: source version 1.123.0
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Michael Furmur furmur@pm.me
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: sems-external-libs-dev (>= 0.3.0)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -b -j4 failed

What is ‘sems-external-libs-dev’ ? How to install or compile …

I tried to add ‘-d’ into dpkg-buildpackage command but then have other issues :slight_smile:

My last working sems version is 1.99.0 . My debian is 10 but I tried to compile over 12 also
The mistake was same .

Can you help me please ?

you can see build flow in CI manifest there https://github.com/yeti-switch/sems/blob/master/.github/workflows/build.yml

Thanks. It works with Debian 12.

For my sorry,I can’t use Debian 12 now. The platform is using Debian 11 and Debian 10.
I tried to compile in Debian 11 but have follow error:

14.14 In file included from …/core/AmDtlsConnection.h:16:
14.14 In file included from /usr/include/sems/third/botan/tls_policy.h:13:
14.14 /usr/include/sems/third/botan/tls_version.h:34:13: error: expected unqualified-id
14.14 using enum Version_Code;
14.14 ^
14.14 /usr/include/sems/third/botan/tls_version.h:42:34: error: use of undeclared identifier ‘TLS_V13’
14.14 return Protocol_Version(TLS_V13);
14.14 ^
14.14 /usr/include/sems/third/botan/tls_version.h:53:34: error: use of undeclared identifier ‘DTLS_V12’
14.14 return Protocol_Version(DTLS_V12);
14.14 ^
14.14 In file included from …/core/AmAudio.cpp:33:
14.14 In file included from …/core/AmRtpStream.h:39:
14.14 In file included from …/core/AmMediaTransport.h:6:
14.14 In file included from …/core/AmDtlsConnection.h:17:
14.14 In file included from /usr/include/sems/third/botan/tls_channel.h:15:
14.14 /usr/include/sems/third/botan/tls_alert.h:75:13: error: expected unqualified-id
14.14 using enum AlertType;
14.14 ^
14.14 4 errors generated.
14.14 ninja: build stopped: subcommand failed.

This is not SEMS issue but GCC requirements of Botan TLS library, see Release Notes — Botan

Version 3.0.0, 2023-04-11¶
Botan is now a C++20 codebase; 
compiler requirements have been increased to GCC 11, Clang 14, 
or MSVC 2022. (GH #2455 #3086)

You could try to install gcc11, but I recommend to update your system to debian 12.

Thanks for this information.

I have made follow:

cd /etc/apt/ && vim sources.list

deb Index of /debian/ testing main non-free contrib
deb http://http.us.debian.org/debian testing main contrib non-free
deb http://ftp.us.debian.org/debian testing main non-free contrib

apt update

echo “deb [arch=amd64] http://pkg.yeti-switch.org/debian/bookworm 1.13 main” > /etc/apt/sources.list.d/yeti.list
curl https://pkg.yeti-switch.org/key.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/pkg.yeti-switch.org.gpg
apt-get update
cd /usr/src/yeti-sems-sbc/ && apt -y --no-install-recommends build-dep .
cd /usr/src/sems && debuild -us -uc -b -j$(nproc)

… and I succeeded :slight_smile:

1 Like