[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1075379: pesign: ftbfs with GCC-14



Package: src:pesign
Version: 116-7
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/pesign_116-7_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
ar rv libdpe.a libdpe.o pe_addcert.o pe_allocspace.o pe_begin.o pe_end.o pe_error.o pe_getdatadir.o pe_getpehdr.o pe_getscn.o pe_getshdr.o pe_nextscn.o pe_opthdr.o pe_rawfile.o pe_readall.o pe_update.o pe_updatefile.o pe_updatenull.o
ar: creating libdpe.a
a - libdpe.o
a - pe_addcert.o
a - pe_allocspace.o
a - pe_begin.o
a - pe_end.o
a - pe_error.o
a - pe_getdatadir.o
a - pe_getpehdr.o
a - pe_getscn.o
a - pe_getshdr.o
a - pe_nextscn.o
a - pe_opthdr.o
a - pe_rawfile.o
a - pe_readall.o
a - pe_update.o
a - pe_updatefile.o
a - pe_updatenull.o
gcc-ranlib -D libdpe.a
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libdpe'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make -f /<<PKGBUILDDIR>>/Make.deps \
	SOURCES="cms_common.c content_info.c errno-guard.c oid.c password.c signed_data.c signer_info.c text.c ucs2.c util.c  pesign_context.c actions.c client.c efikeygen.c pesigcheck.c pesigcheck_context.c certdb.c pesign.c pesign_context.c actions.c daemon.c file_pe.c file_kmod.c pesign_kmod.c pesum.c pesign_context.c actions.c file_pe.c file_kmod.c pesign_kmod.c" \
	PKGS="efivar nss nspr popt uuid" \
	deps
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
echo SOURCES=cms_common.c content_info.c errno-guard.c oid.c password.c signed_data.c signer_info.c text.c ucs2.c util.c  pesign_context.c actions.c client.c efikeygen.c pesigcheck.c pesigcheck_context.c certdb.c pesign.c pesign_context.c actions.c daemon.c file_pe.c file_kmod.c pesign_kmod.c pesum.c pesign_context.c actions.c file_pe.c file_kmod.c pesign_kmod.c
SOURCES=cms_common.c content_info.c errno-guard.c oid.c password.c signed_data.c signer_info.c text.c ucs2.c util.c pesign_context.c actions.c client.c efikeygen.c pesigcheck.c pesigcheck_context.c certdb.c pesign.c pesign_context.c actions.c daemon.c file_pe.c file_kmod.c pesign_kmod.c pesum.c pesign_context.c actions.c file_pe.c file_kmod.c pesign_kmod.c
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o authvar.o authvar.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o authvar_context.o authvar_context.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cms_common.o cms_common.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o content_info.o content_info.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o errno-guard.o errno-guard.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o oid.o oid.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o password.o password.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o signed_data.o signed_data.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o signer_info.o signer_info.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o text.o text.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ucs2.o ucs2.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr   -Wl,-z,relro  -fno-merge-constants -fvar-tracking -fvar-tracking-assignments -fkeep-inline-functions -Wl,--fatal-warnings,--no-allow-shlib-undefined,--default-symver -Wl,-O2 -Wl,--no-undefined-version -Wl,-z,relro,-z,now -Wl,--no-add-needed,--no-copy-dt-needed-entries,--as-needed -pie  -Wdate-time -D_FORTIFY_SOURCE=2 -o authvar authvar.o authvar_context.o cms_common.o content_info.o errno-guard.o oid.o password.o signed_data.o signe
 r_info.o text.o ucs2.o util.o  -lefivar -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lpopt 
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o client.o client.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pesign_context.o pesign_context.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o actions.o actions.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wincert.o wincert.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cms_pe_common.o cms_pe_common.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr   -Wl,-z,relro  -fno-merge-constants -fvar-tracking -fvar-tracking-assignments -fkeep-inline-functions -Wl,--fatal-warnings,--no-allow-shlib-undefined,--default-symver -Wl,-O2 -Wl,--no-undefined-version -Wl,-z,relro,-z,now -Wl,--no-add-needed,--no-copy-dt-needed-entries,--as-needed -pie  -Wdate-time -D_FORTIFY_SOURCE=2 -o client client.o pesign_context.o actions.o cms_common.o content_info.o errno-guard.o oid.o password.o signed_data.
 o signer_info.o text.o ucs2.o util.o wincert.o cms_pe_common.o  -lefivar -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lpopt  /<<PKGBUILDDIR>>/libdpe/libdpe.a
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr -I/usr/include/uuid  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o efikeygen.o efikeygen.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr -I/usr/include/uuid   -Wl,-z,relro  -fno-merge-constants -fvar-tracking -fvar-tracking-assignments -fkeep-inline-functions -Wl,--fatal-warnings,--no-allow-shlib-undefined,--default-symver -Wl,-O2 -Wl,--no-undefined-version -Wl,-z,relro,-z,now -Wl,--no-add-needed,--no-copy-dt-needed-entries,--as-needed -pie  -Wdate-time -D_FORTIFY_SOURCE=2 -o efikeygen efikeygen.o cms_common.o content_info.o errno-guard.o oid.o password.o signed_data.o
  signer_info.o text.o ucs2.o util.o  -lefivar -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lpopt -luuid 
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers  -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_x86_64 -I../include '-DRUNDIR="/run/"'   -Wmaybe-uninitialized -grecord-gcc-switches    -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr  -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pesigcheck.o pesigcheck.c
pesigcheck.c: In function ‘check_signature’:
pesigcheck.c:243:34: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
  243 |         reasonps = calloc(sizeof(struct reason), 512);
      |                                  ^~~~~~
pesigcheck.c:243:34: note: earlier argument should specify number of elements, later size of each element
pesigcheck.c:284:53: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
  284 |                         new_reasons = calloc(sizeof(struct reason), num_reasons);
      |                                                     ^~~~~~
pesigcheck.c:284:53: note: earlier argument should specify number of elements, later size of each element
cc1: all warnings being treated as errors
make[2]: *** [/<<PKGBUILDDIR>>/Make.rules:34: pesigcheck.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:29: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:15: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: