# Can't compile new sems 1.123.0

**URL:** <https://community.yeti-switch.org/t/cant-compile-new-sems-1-123-0/706>\
**Category:** Yeti installation and upgrade\
**Created:** [November 3, 2023, 9:31am UTC](https://community.yeti-switch.org/t/cant-compile-new-sems-1-123-0/706 "2023-11-03T09:31:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkokov](https://community.yeti-switch.org/letter_avatar/dkokov/32/6_449c533f586939b6e5f246632a46421f.png) [@dkokov](https://community.yeti-switch.org/u/dkokov)\
**Post date:** [November 3, 2023, 9:31am UTC](https://community.yeti-switch.org/t/cant-compile-new-sems-1-123-0/706/1 "2023-11-03T09:31:20Z")

</div>

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](mailto: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 🙂

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 ?

---

<div class="post-metadata">

**Author:** ![dmitry.s](https://community.yeti-switch.org/user_avatar/community.yeti-switch.org/dmitry.s/32/179_2.png) [@dmitry.s](https://community.yeti-switch.org/u/dmitry.s)\
**Post date:** [November 3, 2023, 11:37am UTC](https://community.yeti-switch.org/t/cant-compile-new-sems-1-123-0/706/2 "2023-11-03T11:37:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dkokov](https://community.yeti-switch.org/letter_avatar/dkokov/32/6_449c533f586939b6e5f246632a46421f.png) [@dkokov](https://community.yeti-switch.org/u/dkokov)\
**Post date:** [November 8, 2023, 9:21am UTC](https://community.yeti-switch.org/t/cant-compile-new-sems-1-123-0/706/3 "2023-11-08T09:21:52Z")

</div>

Thanks. It works with Debian 12.

---

<div class="post-metadata">

**Author:** ![dkokov](https://community.yeti-switch.org/letter_avatar/dkokov/32/6_449c533f586939b6e5f246632a46421f.png) [@dkokov](https://community.yeti-switch.org/u/dkokov)\
**Post date:** [March 18, 2024, 10:59am UTC](https://community.yeti-switch.org/t/cant-compile-new-sems-1-123-0/706/4 "2024-03-18T10:59:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dmitry.s](https://community.yeti-switch.org/user_avatar/community.yeti-switch.org/dmitry.s/32/179_2.png) [@dmitry.s](https://community.yeti-switch.org/u/dmitry.s)\
**Post date:** [March 20, 2024, 9:57pm UTC](https://community.yeti-switch.org/t/cant-compile-new-sems-1-123-0/706/5 "2024-03-20T21:57:42Z")

</div>

This is not SEMS issue but GCC requirements of Botan TLS library, see [Release Notes — Botan](https://botan.randombit.net/news.html)

```auto
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.

---

<div class="post-metadata">

**Author:** ![dkokov](https://community.yeti-switch.org/letter_avatar/dkokov/32/6_449c533f586939b6e5f246632a46421f.png) [@dkokov](https://community.yeti-switch.org/u/dkokov)\
**Post date:** [April 10, 2024, 6:24am UTC](https://community.yeti-switch.org/t/cant-compile-new-sems-1-123-0/706/6 "2024-04-10T06:24:59Z")

</div>

Thanks for this information.

I have made follow:

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

deb [Index of /debian/](http://mirrors.xmission.com/debian/) testing main non-free contrib  
deb [http://http.us.debian.org/debian](http://http.us.debian.org/debian) testing main contrib non-free  
deb [http://ftp.us.debian.org/debian](http://ftp.us.debian.org/debian) testing main non-free contrib

apt update

echo “deb [arch=amd64] [http://pkg.yeti-switch.org/debian/bookworm](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](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 🙂
