Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834579 - sys-libs/glibc-2.35 with musl toolchain - ../.../stdio.h: error: unknown type name _gnuc_va_list
Summary: sys-libs/glibc-2.35 with musl toolchain - ../.../stdio.h: error: unknown type...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 16:07 UTC by Toralf Förster
Modified: 2022-04-12 09:57 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.26 KB, text/plain)
2022-03-04 16:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,70.42 KB, text/plain)
2022-03-04 16:07 UTC, Toralf Förster
Details
environment (environment,152.38 KB, text/plain)
2022-03-04 16:07 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.15 KB, application/x-bzip)
2022-03-04 16:07 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.00 KB, application/x-bzip)
2022-03-04 16:07 UTC, Toralf Förster
Details
sys-libs:glibc-2.35:20220304-160231.log.bz2 (sys-libs:glibc-2.35:20220304-160231.log.bz2,158.48 KB, application/x-bzip)
2022-03-04 16:07 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,193.76 KB, application/x-bzip)
2022-03-04 16:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-03-04 16:07:05 UTC
In file included from ../include/stdio.h:14,
                 from ../argp/argp.h:23,
                 from ../include/argp.h:2,
                 from memusagestat.c:20:
../libio/stdio.h:52:9: error: unknown type name '__gnuc_va_list'
   52 | typedef __gnuc_va_list va_list;
      |         ^~~~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.59.0 *
php cli:

  HEAD of ::gentoo
commit 476a26ed6d187742ec6b3d405fd1fbfda9e2a2c0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Mar 4 15:07:00 2022 +0000

    2022-03-04 15:06:58 UTC

emerge -qpvO sys-libs/glibc
[ebuild  N    ] sys-libs/glibc-2.35  USE="clone3 gd multiarch (ssp) (static-libs) -audit -caps -cet -compile-locales (-crypt) (-custom-cflags) -doc -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux) -suid (-systemd) -systemtap -test (-vanilla)"
Comment 1 Toralf Förster gentoo-dev 2022-03-04 16:07:06 UTC
Created attachment 766239 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-04 16:07:08 UTC
Created attachment 766240 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-03-04 16:07:15 UTC
Created attachment 766241 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-04 16:07:17 UTC
Created attachment 766242 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-04 16:07:21 UTC
Created attachment 766243 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-03-04 16:07:27 UTC
Created attachment 766244 [details]
sys-libs:glibc-2.35:20220304-160231.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-03-04 16:07:28 UTC
Created attachment 766245 [details]
temp.tar.bz2
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2022-03-15 00:19:10 UTC
sys-libs/glibc should be masked in musl profiles; if it isn't, that's a bug

features/musl/package.mask:
sys-libs/glibc

@musl, hardened: You should probably doublecheck the profile inheritance.
Something is fishy here.
Comment 9 Larry the Git Cow gentoo-dev 2022-03-19 17:39:08 UTC
The bug has been referenced in the following commit(s):

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

commit 1c9dcdba33971e9b3f9037f1979f3798d736ab80
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-19 17:35:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-19 17:36:26 +0000

    profiles/default/linux: drop trailing slash from musl inherit in 'parent' file
    
    We keep seeing reports of collisions between musl/glibc but this shouldn't
    be possible as glibc is masked on musl profiles.
    
    Not clear if this is causing our issue but it's at the very least superfluous
    and maybe even wrong.
    
    Bug: https://bugs.gentoo.org/831063
    Bug: https://bugs.gentoo.org/834579
    Bug: https://bugs.gentoo.org/631568
    Bug: https://bugs.gentoo.org/611094
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/default/linux/amd64/17.0/musl/parent                  | 2 +-
 profiles/default/linux/arm/17.0/musl/parent                    | 2 +-
 profiles/default/linux/arm64/17.0/musl/parent                  | 2 +-
 profiles/default/linux/powerpc/ppc32/17.0/musl/hardened/parent | 2 +-
 profiles/default/linux/powerpc/ppc32/17.0/musl/parent          | 2 +-
 profiles/default/linux/riscv/20.0/rv64gc/lp64d/musl/parent     | 2 +-
 profiles/default/linux/x86/17.0/musl/parent                    | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-12 09:57:20 UTC
https://bugs.gentoo.org/831063#c14