Public bug reported:

bctoolbox currently blocks the libmbedtls transition from 2.28.8 to
3.6.2

bctoolbox 5.2.0-2 fails to build:

[ 50%] Building CXX object src/CMakeFiles/bctoolbox.dir/containers/map.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_CONFIG_H 
-Dbctoolbox_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /usr/include/decaf -g -O3 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/bctoolbox-5.2.0-2.1build3 
-Wdate-time -D_FORTIFY_SOURCE=3 -std=c++11 -fPIC  -Wall -Wuninitialized 
-Wno-error=pragmas -Werror -Wextra -Wno-unused-parameter 
-Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers 
-fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations 
-MD -MT src/CMakeFiles/bctoolbox.dir/containers/map.cc.o -MF 
CMakeFiles/bctoolbox.dir/containers/map.cc.o.d -o 
CMakeFiles/bctoolbox.dir/containers/map.cc.o -c 
/<<PKGBUILDDIR>>/src/containers/map.cc
/<<PKGBUILDDIR>>/src/crypto/mbedtls.c: In function ‘bctbx_signing_key_parse’:
/<<PKGBUILDDIR>>/src/crypto/mbedtls.c:135:13: error: too few arguments to 
function ‘mbedtls_pk_parse_key’
  135 |         err=mbedtls_pk_parse_key((mbedtls_pk_context *)key, (const 
unsigned char *)buffer, buffer_length, password, password_length);
      |             ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mbedtls/ssl_ciphersuites.h:16,
                 from /usr/include/mbedtls/ssl.h:20,
                 from /<<PKGBUILDDIR>>/src/crypto/mbedtls.c:27:
/usr/include/mbedtls/pk.h:1109:5: note: declared here
 1109 | int mbedtls_pk_parse_key(mbedtls_pk_context *ctx,

** Affects: bctoolbox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091291

Title:
  bctoolbox blocks libmbedtls transition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bctoolbox/+bug/2091291/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to