Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944006 - =app-crypt/mit-krb5-1.21.3-r1 fails with c23/gcc-15.0.0_pre20241117-r2: auth_none.c:146:18: error: too many arguments to function ‘xfunc’
Summary: =app-crypt/mit-krb5-1.21.3-r1 fails with c23/gcc-15.0.0_pre20241117-r2: auth_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-11-19 14:51 UTC by tdr
Modified: 2024-11-22 16:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build fail log (mit-krb5-1.21.3-r1:20241119-095310.log,399.00 KB, text/plain)
2024-11-19 14:52 UTC, tdr
Details
emerge --info (tdr-emerge--info.txt,6.30 KB, text/plain)
2024-11-19 14:52 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-11-19 14:51:19 UTC
gcc-15.0.0_pre20241117 default to using -std=gnu23 (which is stricter)

Reproducible: Always

Steps to Reproduce:
emerge =gcc-15.0.0_pre20241117-r2:
emerge =app-crypt/mit-krb5-1.21.3-r1 
Actual Results:  
var/tmp/portage/app-crypt/mit-krb5-1.21.3-r1/work/krb5-1.21.3/src/lib/rpc/auth_none.c: In function ‘authnone_wrap’:
/var/tmp/portage/app-crypt/mit-krb5-1.21.3-r1/work/krb5-1.21.3/src/lib/rpc/auth_none.c:146:18: error: too many arguments to function ‘xfunc’
  146 |         return ((*xfunc)(xdrs, xwhere));
      |                 ~^~~~~~~



builds with -std=gnu17
also builds with gcc:15.0.0_pre20241110
Comment 1 tdr 2024-11-19 14:52:07 UTC
Created attachment 910214 [details]
build fail log
Comment 2 tdr 2024-11-19 14:52:48 UTC
Created attachment 910216 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-11-22 16:42:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a3e488d9726cf06e31cbc6285746bd5b5b301b

commit 65a3e488d9726cf06e31cbc6285746bd5b5b301b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-22 16:37:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-22 16:42:07 +0000

    app-crypt/mit-krb5: build w/ -std=gnu17
    
    There's a PR upstream to fix this but in the past when I've tried to
    backport patches, they won't apply, so just use gnu17 for now.
    
    Closes: https://bugs.gentoo.org/944006
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild | 3 +++
 1 file changed, 3 insertions(+)