[Pkg-freeipa-devel] Bug#1091274: jss: FTBFS on armhf: JSSOAEPParameterSpec.c:63:56: error: passing argument 4 of ‘JSS_FromByteArray’ from incompatible pointer type [-Wincompatible-pointer-types]
Lucas Nussbaum
lucas at debian.org
Mon Dec 23 17:30:53 GMT 2024
Source: jss
Version: 5.5.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20241223 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, this package failed to build
on armhf.
This package currently has binary packages on armhf, so this is a regression.
Also, there are no known issues on amd64 or arm64 according to recent (a couple
days ago) rebuilds.
The rebuild was done using an armhf chroot on an AWS "m6g" instance (Graviton2
CPU).
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/crypto && /usr/bin/cc -fPIC -D_FORTIFY_SOURCE=2 -Wdate-time -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Werror=format-security -Wformat -fstack-clash-protection -fstack-protector-strong -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Werror=implicit-function-declaration -O2 -g -O2 -Wall -std=gnu99 -Wno-cast-function-type -Wno-unused-parameter -Wno-unknown-warning-option -Wno-unused-but-set-variable -Werror-implicit-function-declaration -Wno-switch -I/<<PKGBUILDDIR>>/build/include/jss -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -I/usr/lib/jvm/default-java/include -I/usr/include/nspr -I/usr/include/nss -L/usr/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -o /<<PKGBUILDDIR>>/build/lib/JSSOAEPParameterSpec.o -c /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/crypto/JSSOAEPParameterSpec.c
> /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/crypto/JSSOAEPParameterSpec.c: In function ‘oaep_GetSpecifiedSourceData’:
> /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/crypto/JSSOAEPParameterSpec.c:63:56: error: passing argument 4 of ‘JSS_FromByteArray’ from incompatible pointer type [-Wincompatible-pointer-types]
> 63 | if (!JSS_FromByteArray(env, data, (uint8_t **)ret, ret_len)) {
> | ^~~~~~~
> | |
> | CK_ULONG * {aka long unsigned int *}
> In file included from /<<PKGBUILDDIR>>/native/src/main/native/org/mozilla/jss/crypto/JSSOAEPParameterSpec.c:9:
> /<<PKGBUILDDIR>>/build/include/jss/jssutil.h:350:13: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
> 350 | size_t *length);
> | ~~~~~~~~^~~~~~
> At top level:
> cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
> make[4]: *** [CMakeFiles/generate_c.dir/build.make:163: lib/JSSOAEPParameterSpec.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/12/23/jss_5.5.0-1_unstable-armhf.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241223;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241223&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 Pkg-freeipa-devel
mailing list