← Back to team overview

enterprise-support team mailing list archive

[Bug 2123950] [NEW] FTBFS with GCC-15

 

Public bug reported:

Currently krb5 FTBFS with gcc-15 in questing archive rebuild:
https://launchpad.net/ubuntu/+archive/test-rebuild-20250910-questing/+packages?field.name_filter=krb5&field.status_filter=published&field.series_filter=

../../../src/lib/rpc/auth_none.c: In function ‘authnone_wrap’:
../../../src/lib/rpc/auth_none.c:146:18: error: too many arguments to function ‘xfunc’; expected 0, have 2
  146 |         return ((*xfunc)(xdrs, xwhere));
      |                 ~^~~~~~~ ~~~~
make[5]: *** [Makefile:1018: auth_none.so] Error 1
make[5]: *** Waiting for unfinished jobs....
../../../src/lib/rpc/authgss_prot.c: In function ‘gssrpc_xdr_rpc_gss_wrap_data’:
../../../src/lib/rpc/authgss_prot.c:145:47: error: too many arguments to function ‘xdr_func’; expected 0, have 2
  145 |         if (!xdr_u_int32(&tmpxdrs, &seq) || !(*xdr_func)(&tmpxdrs, xdr_ptr))
      |                                              ~^~~~~~~~~~ ~~~~~~~~
../../../src/lib/rpc/authgss_prot.c: In function ‘gssrpc_xdr_rpc_gss_unwrap_data’:
../../../src/lib/rpc/authgss_prot.c:197:22: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  197 |         if (xdr_func == xdr_void || xdr_ptr == NULL)
      |                      ^~
../../../src/lib/rpc/authgss_prot.c:249:22: error: too many arguments to function ‘xdr_func’; expected 0, have 2
  249 |                     (*xdr_func)(&tmpxdrs, xdr_ptr));
      |                     ~^~~~~~~~~~ ~~~~~~~~
../../../src/lib/rpc/auth_unix.c: In function ‘authunix_wrap’:
../../../src/lib/rpc/auth_unix.c:328:18: error: too many arguments to function ‘xfunc’; expected 0, have 2
  328 |         return ((*xfunc)(xdrs, xwhere));
      |                 ~^~~~~~~ ~~~~

This issue was already fixed in upstream on:
https://github.com/krb5/krb5/commit/4b9d7f7c107f01a61600fddcd8cde3812d0366a2

I've had to do some small backporting as other patches in the package
were newer than this upstream change.

I've made a build here:
https://launchpad.net/~ebarretto/+archive/ubuntu/devel-testing/+packages?field.name_filter=krb5&field.status_filter=published&field.series_filter=

** Affects: krb5 (Ubuntu)
     Importance: Undecided
     Assignee: Eduardo Barretto (ebarretto)
         Status: In Progress

** Affects: krb5 (Debian)
     Importance: Unknown
         Status: Unknown

** Description changed:

- Currently krb5 FTBFS with gcc-15 in questing.
+ Currently krb5 FTBFS with gcc-15 in questing archive rebuild:
+ https://launchpad.net/ubuntu/+archive/test-rebuild-20250910-questing/+packages?field.name_filter=krb5&field.status_filter=published&field.series_filter=
  
  ../../../src/lib/rpc/auth_none.c: In function ‘authnone_wrap’:
  ../../../src/lib/rpc/auth_none.c:146:18: error: too many arguments to function ‘xfunc’; expected 0, have 2
-   146 |         return ((*xfunc)(xdrs, xwhere));
-       |                 ~^~~~~~~ ~~~~
+   146 |         return ((*xfunc)(xdrs, xwhere));
+       |                 ~^~~~~~~ ~~~~
  make[5]: *** [Makefile:1018: auth_none.so] Error 1
  make[5]: *** Waiting for unfinished jobs....
  ../../../src/lib/rpc/authgss_prot.c: In function ‘gssrpc_xdr_rpc_gss_wrap_data’:
  ../../../src/lib/rpc/authgss_prot.c:145:47: error: too many arguments to function ‘xdr_func’; expected 0, have 2
-   145 |         if (!xdr_u_int32(&tmpxdrs, &seq) || !(*xdr_func)(&tmpxdrs, xdr_ptr))
-       |                                              ~^~~~~~~~~~ ~~~~~~~~
+   145 |         if (!xdr_u_int32(&tmpxdrs, &seq) || !(*xdr_func)(&tmpxdrs, xdr_ptr))
+       |                                              ~^~~~~~~~~~ ~~~~~~~~
  ../../../src/lib/rpc/authgss_prot.c: In function ‘gssrpc_xdr_rpc_gss_unwrap_data’:
  ../../../src/lib/rpc/authgss_prot.c:197:22: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
-   197 |         if (xdr_func == xdr_void || xdr_ptr == NULL)
-       |                      ^~
+   197 |         if (xdr_func == xdr_void || xdr_ptr == NULL)
+       |                      ^~
  ../../../src/lib/rpc/authgss_prot.c:249:22: error: too many arguments to function ‘xdr_func’; expected 0, have 2
-   249 |                     (*xdr_func)(&tmpxdrs, xdr_ptr));
-       |                     ~^~~~~~~~~~ ~~~~~~~~
+   249 |                     (*xdr_func)(&tmpxdrs, xdr_ptr));
+       |                     ~^~~~~~~~~~ ~~~~~~~~
  ../../../src/lib/rpc/auth_unix.c: In function ‘authunix_wrap’:
  ../../../src/lib/rpc/auth_unix.c:328:18: error: too many arguments to function ‘xfunc’; expected 0, have 2
-   328 |         return ((*xfunc)(xdrs, xwhere));
-       |                 ~^~~~~~~ ~~~~
- 
+   328 |         return ((*xfunc)(xdrs, xwhere));
+       |                 ~^~~~~~~ ~~~~
  
  This issue was already fixed in upstream on:
  https://github.com/krb5/krb5/commit/4b9d7f7c107f01a61600fddcd8cde3812d0366a2
  
  I've had to do some small backporting as other patches in the package
  were newer than this upstream change.
  
  I've made a build here:
  https://launchpad.net/~ebarretto/+archive/ubuntu/devel-testing/+packages?field.name_filter=krb5&field.status_filter=published&field.series_filter=

** Bug watch added: Debian Bug tracker #1097099
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097099

** Also affects: krb5 (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097099
   Importance: Unknown
       Status: Unknown

** Changed in: krb5 (Ubuntu)
       Status: New => In Progress

** Changed in: krb5 (Ubuntu)
     Assignee: (unassigned) => Eduardo Barretto (ebarretto)

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to krb5 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/2123950

Title:
  FTBFS with GCC-15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/2123950/+subscriptions