Package: glewlwyd
Version: 2.5.2-3
Severity: serious
Tags: ftbfs
Unfortunately it seems that even after the cross-fetch fix, glewlwyd still
FTBFS as a
result of changes in iddawc/rhonabwy.
/usr/bin/cc -D_GNU_SOURCE -Dschememodoauth2_EXPORTS -I/include -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -fPIC -Wextra -std=gnu99 -MD -MT
CMakeFiles/schememodoauth2.dir/src/scheme/oauth2.c.o -MF
CMakeFiles/schememodoauth2.dir/src/scheme/oauth2.c.o.d -o
CMakeFiles/schememodoauth2.dir/src/scheme/oauth2.c.o -c /<<PKGBUILDDIR>>/src/scheme/oauth2.c
/<<PKGBUILDDIR>>/src/scheme/oauth2.c: In function 'complete_session_identify':
/<<PKGBUILDDIR>>/src/scheme/oauth2.c:265:32: error: implicit declaration of
function 'i_load_userinfo'; did you mean 'i_get_userinfo'?
[-Werror=implicit-function-declaration]
265 | if ((res = i_load_userinfo(&i_session)) == I_OK &&
i_session.j_userinfo != NULL) {
| ^~~~~~~~~~~~~~~
| i_get_userinfo
/<<PKGBUILDDIR>>/src/scheme/oauth2.c: In function
'user_auth_scheme_module_init':
/<<PKGBUILDDIR>>/src/scheme/oauth2.c:1197:28: error: implicit declaration of
function 'i_load_openid_config'; did you mean 'i_get_openid_config'?
[-Werror=implicit-function-declaration]
1197 | } else if (i_load_openid_config(&i_session) != I_OK) {
| ^~~~~~~~~~~~~~~~~~~~
| i_get_openid_config
make -f CMakeFiles/protocol_oidc.dir/build.make
CMakeFiles/protocol_oidc.dir/depend
<-------snip---->
/usr/bin/cc -D_GNU_SOURCE -Dprotocol_register_EXPORTS -I/include -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -fPIC -Wextra -std=gnu99 -MD -MT
CMakeFiles/protocol_register.dir/src/plugin/register.c.o -MF
CMakeFiles/protocol_register.dir/src/plugin/register.c.o.d -o
CMakeFiles/protocol_register.dir/src/plugin/register.c.o -c
/<<PKGBUILDDIR>>/src/plugin/register.c
/<<PKGBUILDDIR>>/src/plugin/protocol_oidc.c: In function 'check_parameters':
/<<PKGBUILDDIR>>/src/plugin/protocol_oidc.c:272:45: error: implicit declaration
of function 'r_jwks_import_from_str'; did you mean 'r_jwks_import_from_uri'?
[-Werror=implicit-function-declaration]
272 | if (r_jwks_init(&jwks) != RHN_OK || r_jwks_import_from_str(jwks,
json_string_value(json_object_get(j_params, "jwks-public"))) != RHN_OK) {
| ^~~~~~~~~~~~~~~~~~~~~~
| r_jwks_import_from_uri
I initially saw this on a raspbian bookworm-staging autobuilder, but I was also
able to reproduce
it in a Debian sid chroot.
I found upstream patches fixing the above errors and applied them in raspbian
bookworm-staging,
I also imported the cross-fetch fix into raspbian bookworm-staging from Debian
sid. After doing
so I was able to get a successful build of glewlwyd. A debdiff should appear
soon at
https://debdiffs.raspbian.org/main/g/glewlwyd
P.S. The cross-fetch fix also seems to be blocked from migrating to debian
testing as a result
of an autopkgtest failure.