Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1082851 > unrolled thread

Bug#1000471: glewlwyd FTBFS can't find functions.

Started bypeter green <plugwash@p10link.net>
First post2021-11-23 21:30 +0100
Last post2021-11-23 22:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1000471: glewlwyd FTBFS can't find functions. peter green <plugwash@p10link.net> - 2021-11-23 21:30 +0100
    Bug#1000471: glewlwyd FTBFS can't find functions. Nicolas Mora <nicolas@babelouest.org> - 2021-11-23 22:30 +0100

#1082851 — Bug#1000471: glewlwyd FTBFS can't find functions.

Frompeter green <plugwash@p10link.net>
Date2021-11-23 21:30 +0100
SubjectBug#1000471: glewlwyd FTBFS can't find functions.
Message-ID<DmKAq-6y-9@gated-at.bofh.it>
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.

[toc] | [next] | [standalone]


#1082866

FromNicolas Mora <nicolas@babelouest.org>
Date2021-11-23 22:30 +0100
Message-ID<DmLwt-FJ-3@gated-at.bofh.it>
In reply to#1082851
Hello,

Le 2021-11-23 à 15 h 20, peter green a écrit :
> 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.
> 
Thanks, that's because the dependencies were updated lately, and some 
api was changed.

I have the package glewlwyd 2.6.0 ready to upload, as soon as 
node-i18next-http-backend 1.3.1+dfsg-3 will be available on my schroot, 
today or tomorrow.

/Nicolas

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web