Source: gvm-libs Version: 22.14.0-1 Severity: serious Tags: ftbfs Justification: ftbfs X-Debbugs-Cc: sop...@offensive-security.com User: de...@kali.org Usertags: origin-kali
The package version 22.14.0 fails to build on 32-bit architectures (i386, armel and armhf) [ 53%] Linking C executable version-test cd /<<PKGBUILDDIR>>/obj-i686-linux-gnu/base && /usr/bin/cmake -E cmake_link_script CMakeFiles/version-test.dir/link.txt --verbose=1 /<<PKGBUILDDIR>>/util/compressutils_tests.c: In function ‘compressutils__can_compress_and_uncompress_without_header’: /<<PKGBUILDDIR>>/util/compressutils_tests.c:27:52: error: passing argument 3 of ‘gvm_compress’ from incompatible pointer type [-Wincompatible-pointer-types] 27 | gvm_compress (testdata, strlen (testdata) + 1, &compressed_len); | ^~~~~~~~~~~~~~~ | | | size_t * {aka unsigned int *} In file included from /<<PKGBUILDDIR>>/util/compressutils_tests.c:6: /<<PKGBUILDDIR>>/util/compressutils.c:41:69: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’} 41 | gvm_compress (const void *src, unsigned long srclen, unsigned long *dstlen) | ~~~~~~~~~~~~~~~^~~~~~ /<<PKGBUILDDIR>>/util/compressutils_tests.c:34:49: error: passing argument 3 of ‘gvm_uncompress’ from incompatible pointer type [-Wincompatible-pointer-types] 34 | gvm_uncompress (compressed, compressed_len, &uncompressed_len); | ^~~~~~~~~~~~~~~~~ | | | size_t * {aka unsigned int *} /<<PKGBUILDDIR>>/util/compressutils.c:109:71: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’} 109 | gvm_uncompress (const void *src, unsigned long srclen, unsigned long *dstlen) | ~~~~~~~~~~~~~~~^~~~~~ /<<PKGBUILDDIR>>/util/compressutils_tests.c: In function ‘compressutils__can_compress_and_uncompress_with_header’: /<<PKGBUILDDIR>>/util/compressutils_tests.c:45:63: error: passing argument 3 of ‘gvm_compress_gzipheader’ from incompatible pointer type [-Wincompatible-pointer-types] 45 | gvm_compress_gzipheader (testdata, strlen (testdata) + 1, &compressed_len); | ^~~~~~~~~~~~~~~ | | | size_t * {aka unsigned int *} /<<PKGBUILDDIR>>/util/compressutils.c:180:41: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’} 180 | unsigned long *dstlen) | ~~~~~~~~~~~~~~~^~~~~~ /<<PKGBUILDDIR>>/util/compressutils_tests.c:56:49: error: passing argument 3 of ‘gvm_uncompress’ from incompatible pointer type [-Wincompatible-pointer-types] 56 | gvm_uncompress (compressed, compressed_len, &uncompressed_len); | ^~~~~~~~~~~~~~~~~ | | | size_t * {aka unsigned int *} /<<PKGBUILDDIR>>/util/compressutils.c:109:71: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’} 109 | gvm_uncompress (const void *src, unsigned long srclen, unsigned long *dstlen) | ~~~~~~~~~~~~~~~^~~~~~ /<<PKGBUILDDIR>>/util/compressutils_tests.c: In function ‘compressutils__can_uncompress_using_reader’: /<<PKGBUILDDIR>>/util/compressutils_tests.c:66:63: error: passing argument 3 of ‘gvm_compress_gzipheader’ from incompatible pointer type [-Wincompatible-pointer-types] 66 | gvm_compress_gzipheader (testdata, strlen (testdata) + 1, &compressed_len); | ^~~~~~~~~~~~~~~ | | | size_t * {aka unsigned int *} /<<PKGBUILDDIR>>/util/compressutils.c:180:41: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’} 180 | unsigned long *dstlen) | ~~~~~~~~~~~~~~~^~~~~~ /<<PKGBUILDDIR>>/util/compressutils_tests.c: In function ‘compressutils__can_uncompress_using_fd_reader’: /<<PKGBUILDDIR>>/util/compressutils_tests.c:88:63: error: passing argument 3 of ‘gvm_compress_gzipheader’ from incompatible pointer type [-Wincompatible-pointer-types] 88 | gvm_compress_gzipheader (testdata, strlen (testdata) + 1, &compressed_len); | ^~~~~~~~~~~~~~~ | | | size_t * {aka unsigned int *} /<<PKGBUILDDIR>>/util/compressutils.c:180:41: note: expected ‘long unsigned int *’ but argument is of type ‘size_t *’ {aka ‘unsigned int *’} 180 | unsigned long *dstlen) | ~~~~~~~~~~~~~~~^~~~~~ /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -std=c11 -Wall -Wextra -Wpedantic -Wmissing-prototypes -Wshadow -Wsequence-point -D_ISOC11_SOURCE -D_DEFAULT_SOURCE -Wl,-z,relro -Wl,-z,now -rdynamic -g -lgcov --coverage "CMakeFiles/version-test.dir/version_tests.c.o" -o version-test -lcgreen -L/usr/lib/i386-linux-gnu -lglib-2.0 -Wl,-z,relro -Wl,-z,now /<<PKGBUILDDIR>>/util/compressutils_tests.c: In function ‘compressutils__can_uncompress_using_reader’: /<<PKGBUILDDIR>>/util/compressutils_tests.c:70:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 70 | write (compressed_fd, compressed, compressed_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/util/compressutils_tests.c:77:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 77 | fread (uncompressed, 1, 30, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/util/compressutils_tests.c: In function ‘compressutils__can_uncompress_using_fd_reader’: /<<PKGBUILDDIR>>/util/compressutils_tests.c:92:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 92 | write (compressed_fd, compressed, compressed_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/util/compressutils_tests.c:101:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 101 | fread (uncompressed, 1, 30, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [util/CMakeFiles/compressutils-test.dir/build.make:79: util/CMakeFiles/compressutils-test.dir/compressutils_tests.c.o] Error 1 make[5]: Leaving directory '/<<PKGBUILDDIR>>/obj-i686-linux-gnu' make[4]: *** [CMakeFiles/Makefile2:808: util/CMakeFiles/compressutils-test.dir/all] Error 2 make[4]: *** Waiting for unfinished jobs.... -- System Information: Debian Release: trixie/sid APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.11.2-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled