Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 854561

Summary: app-crypt/mit-krb5-1.20 - /.../kdb.h: error: unknown type name time_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: kerberos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/krb5/krb5/commit/c3958cec43b598b25484b9805224c56f25f7a755
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-crypt:mit-krb5-1.20:20220627-004640.log.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2022-06-27 07:22:56 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H  -I../../include -I/var/tmp/portage/app-crypt/mit-krb5-1.20/work/krb5-1.20/src/include -I/var/tmp/portage/app-crypt/mit-krb5-1.20/work/krb5-1.20/src/kadmin/cli -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_A
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H  -I../../include -I/var/tmp/portage/app-crypt/mit-krb5-1.20/work/krb5-1.20/src/include -I/var/tmp/portage/app-crypt/mit-krb5-1.20/work/krb5-1.20/src/kadmin/cli -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_A
In file included from /var/tmp/portage/app-crypt/mit-krb5-1.20/work/krb5-1.20/src/kadmin/cli/kadmin.h:61,
                 from /var/tmp/portage/app-crypt/mit-krb5-1.20/work/krb5-1.20/src/kadmin/cli/ss_wrapper.c:30:
/var/tmp/portage/app-crypt/mit-krb5-1.20/work/krb5-1.20/src/include/kdb.h:365:73: error: unknown type name 'time_t'; did you mean 'size_t'?
  365 | krb5_error_code krb5_db_get_age ( krb5_context kcontext, char *db_name, time_t *t );
      |                                                                         ^~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20220627-000918

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
Python 3.9.13
Available Rust versions:
  (none found)
php cli:

  HEAD of ::gentoo
commit 374af3baa6ad0ad2d98e8e7e9595b67517eea01a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 26 22:16:37 2022 +0000

    2022-06-26 22:16:37 UTC

emerge -qpvO app-crypt/mit-krb5
[ebuild  N    ] app-crypt/mit-krb5-1.20  USE="nls -doc -keyutils -lmdb -openldap -pkinit (-selinux) -test -threads -xinetd" CPU_FLAGS_X86="aes"
Comment 1 Toralf Förster gentoo-dev 2022-06-27 07:22:57 UTC
Created attachment 787934 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-27 07:22:58 UTC
Created attachment 787937 [details]
app-crypt:mit-krb5-1.20:20220627-004640.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-06-27 07:22:59 UTC
Created attachment 787940 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-27 07:23:01 UTC
Created attachment 787943 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-27 07:23:02 UTC
Created attachment 787946 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-27 07:23:03 UTC
Created attachment 787949 [details]
logs.tar.bz2
Comment 7 Matt Turner gentoo-dev 2022-09-02 03:49:20 UTC
Looks to be fixed by $URL.
Comment 8 Larry the Git Cow gentoo-dev 2022-09-02 05:52:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1df08748602b2f8fac92f1c1bfb236c13d456fc6

commit 1df08748602b2f8fac92f1c1bfb236c13d456fc6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-02 05:41:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-02 05:41:03 +0000

    app-crypt/mit-krb5: fix build w/ musl and gcc-12
    
    Closes: https://bugs.gentoo.org/854561
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/mit-krb5/mit-krb5-1.20.ebuild | 1 +
 1 file changed, 1 insertion(+)