[Debian-iot-maintainers] Bug#1077403: mbedtls: FTBFS: macros.h:138:46: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
Lucas Nussbaum
lucas at debian.org
Mon Jul 29 06:43:38 BST 2024
Source: mbedtls
Version: 2.28.8-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240728 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/aria.c.o -MF CMakeFiles/mbedcrypto.dir/aria.c.o.d -o CMakeFiles/mbedcrypto.dir/aria.c.o -c /<<PKGBUILDDIR>>/library/aria.c
> In file included from /<<PKGBUILDDIR>>/tests/include/test/ssl_helpers.h:17,
> from /<<PKGBUILDDIR>>/tests/src/test_helpers/ssl_helpers.c:11:
> /<<PKGBUILDDIR>>/tests/src/test_helpers/ssl_helpers.c: In function ‘mbedtls_test_ssl_endpoint_certificate_init’:
> /<<PKGBUILDDIR>>/tests/include/test/macros.h:138:46: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
> 138 | (pointer) = mbedtls_calloc(sizeof(*(pointer)), \
> | ^
> /<<PKGBUILDDIR>>/tests/src/test_helpers/ssl_helpers.c:557:5: note: in expansion of macro ‘TEST_CALLOC’
> 557 | TEST_CALLOC(cert->ca_cert, 1);
> | ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/tests/include/test/macros.h:138:46: note: earlier argument should specify number of elements, later size of each element
> 138 | (pointer) = mbedtls_calloc(sizeof(*(pointer)), \
> | ^
> /<<PKGBUILDDIR>>/tests/src/test_helpers/ssl_helpers.c:557:5: note: in expansion of macro ‘TEST_CALLOC’
> 557 | TEST_CALLOC(cert->ca_cert, 1);
> | ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/tests/include/test/macros.h:138:46: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
> 138 | (pointer) = mbedtls_calloc(sizeof(*(pointer)), \
> | ^
> /<<PKGBUILDDIR>>/tests/src/test_helpers/ssl_helpers.c:558:5: note: in expansion of macro ‘TEST_CALLOC’
> 558 | TEST_CALLOC(cert->cert, 1);
> | ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/tests/include/test/macros.h:138:46: note: earlier argument should specify number of elements, later size of each element
> 138 | (pointer) = mbedtls_calloc(sizeof(*(pointer)), \
> | ^
> /<<PKGBUILDDIR>>/tests/src/test_helpers/ssl_helpers.c:558:5: note: in expansion of macro ‘TEST_CALLOC’
> 558 | TEST_CALLOC(cert->cert, 1);
> | ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/tests/include/test/macros.h:138:46: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
> 138 | (pointer) = mbedtls_calloc(sizeof(*(pointer)), \
> | ^
> /<<PKGBUILDDIR>>/tests/src/test_helpers/ssl_helpers.c:559:5: note: in expansion of macro ‘TEST_CALLOC’
> 559 | TEST_CALLOC(cert->pkey, 1);
> | ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/tests/include/test/macros.h:138:46: note: earlier argument should specify number of elements, later size of each element
> 138 | (pointer) = mbedtls_calloc(sizeof(*(pointer)), \
> | ^
> /<<PKGBUILDDIR>>/tests/src/test_helpers/ssl_helpers.c:559:5: note: in expansion of macro ‘TEST_CALLOC’
> 559 | TEST_CALLOC(cert->pkey, 1);
> | ^~~~~~~~~~~
> [ 2%] Building C object library/CMakeFiles/mbedcrypto.dir/asn1parse.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/asn1parse.c.o -MF CMakeFiles/mbedcrypto.dir/asn1parse.c.o.d -o CMakeFiles/mbedcrypto.dir/asn1parse.c.o -c /<<PKGBUILDDIR>>/library/asn1parse.c
> [ 2%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_cipher.c.o
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_cipher.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_cipher.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_cipher.c.o -c /<<PKGBUILDDIR>>/tests/src/drivers/test_driver_cipher.c
> [ 3%] Building C object library/CMakeFiles/mbedcrypto.dir/asn1write.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/asn1write.c.o -MF CMakeFiles/mbedcrypto.dir/asn1write.c.o.d -o CMakeFiles/mbedcrypto.dir/asn1write.c.o -c /<<PKGBUILDDIR>>/library/asn1write.c
> [ 3%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_key_management.c.o
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_key_management.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_key_management.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_key_management.c.o -c /<<PKGBUILDDIR>>/tests/src/drivers/test_driver_key_management.c
> [ 4%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_mac.c.o
> [ 4%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_signature.c.o
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_mac.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_mac.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_mac.c.o -c /<<PKGBUILDDIR>>/tests/src/drivers/test_driver_mac.c
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_signature.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_signature.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_signature.c.o -c /<<PKGBUILDDIR>>/tests/src/drivers/test_driver_signature.c
> [ 4%] Building C object library/CMakeFiles/mbedcrypto.dir/base64.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/base64.c.o -MF CMakeFiles/mbedcrypto.dir/base64.c.o.d -o CMakeFiles/mbedcrypto.dir/base64.c.o -c /<<PKGBUILDDIR>>/library/base64.c
> [ 4%] Building C object library/CMakeFiles/mbedcrypto.dir/bignum.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/bignum.c.o -MF CMakeFiles/mbedcrypto.dir/bignum.c.o.d -o CMakeFiles/mbedcrypto.dir/bignum.c.o -c /<<PKGBUILDDIR>>/library/bignum.c
> [ 4%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_size.c.o
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_size.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_size.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_size.c.o -c /<<PKGBUILDDIR>>/tests/src/drivers/test_driver_size.c
> [ 4%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/fake_external_rng_for_test.c.o
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/fake_external_rng_for_test.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/fake_external_rng_for_test.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/fake_external_rng_for_test.c.o -c /<<PKGBUILDDIR>>/tests/src/fake_external_rng_for_test.c
> [ 4%] Building C object library/CMakeFiles/mbedcrypto.dir/blowfish.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/blowfish.c.o -MF CMakeFiles/mbedcrypto.dir/blowfish.c.o.d -o CMakeFiles/mbedcrypto.dir/blowfish.c.o -c /<<PKGBUILDDIR>>/library/blowfish.c
> [ 4%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/helpers.c.o
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/helpers.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/helpers.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/helpers.c.o -c /<<PKGBUILDDIR>>/tests/src/helpers.c
> [ 4%] Building C object library/CMakeFiles/mbedcrypto.dir/camellia.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/camellia.c.o -MF CMakeFiles/mbedcrypto.dir/camellia.c.o.d -o CMakeFiles/mbedcrypto.dir/camellia.c.o -c /<<PKGBUILDDIR>>/library/camellia.c
> [ 5%] Building C object library/CMakeFiles/mbedcrypto.dir/ccm.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/ccm.c.o -MF CMakeFiles/mbedcrypto.dir/ccm.c.o.d -o CMakeFiles/mbedcrypto.dir/ccm.c.o -c /<<PKGBUILDDIR>>/library/ccm.c
> [ 5%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/psa_crypto_helpers.c.o
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/psa_crypto_helpers.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/psa_crypto_helpers.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/psa_crypto_helpers.c.o -c /<<PKGBUILDDIR>>/tests/src/psa_crypto_helpers.c
> [ 5%] Building C object library/CMakeFiles/mbedcrypto.dir/chacha20.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/cc -Dmbedcrypto_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/3rdparty/everest/include -I/<<PKGBUILDDIR>>/library -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest -I/<<PKGBUILDDIR>>/3rdparty/everest/include/everest/kremlib -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -fPIC -MD -MT library/CMakeFiles/mbedcrypto.dir/chacha20.c.o -MF CMakeFiles/mbedcrypto.dir/chacha20.c.o.d -o CMakeFiles/mbedcrypto.dir/chacha20.c.o -c /<<PKGBUILDDIR>>/library/chacha20.c
> [ 6%] Building C object CMakeFiles/mbedtls_test.dir/tests/src/psa_exercise_key.c.o
> /usr/bin/cc -I/<<PKGBUILDDIR>>/tests/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/library -g -O2 -Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var -D__DEB_CANARY_CFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__DEB_CANARY_CPPFLAGS_2aedcba61ca55ceb62d785c6b7f10a83__ -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -MD -MT CMakeFiles/mbedtls_test.dir/tests/src/psa_exercise_key.c.o -MF CMakeFiles/mbedtls_test.dir/tests/src/psa_exercise_key.c.o.d -o CMakeFiles/mbedtls_test.dir/tests/src/psa_exercise_key.c.o -c /<<PKGBUILDDIR>>/tests/src/psa_exercise_key.c
> cc1: all warnings being treated as errors
> make[3]: *** [CMakeFiles/mbedtls_test_helpers.dir/build.make:79: CMakeFiles/mbedtls_test_helpers.dir/tests/src/test_helpers/ssl_helpers.c.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/07/28/mbedtls_2.28.8-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Debian-iot-maintainers
mailing list