Summary: | =sys-libs/glibc-2.29-r4 reports a warning: libc-modules.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tt_1 <herrtimson> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mattst88, slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
compressed build log
output from emerge --info |
Created attachment 586708 [details]
output from emerge --info
fun fact: =glibc-2.29-r4 emerged fine, despite the fatal error! I've seen this too. To reiterate the obvious: it's not an error WRT any build failures. Possible an effect of handling CPPFLAGS handling where appropriate: https://bugs.gentoo.org/686248 I'll look at it. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=7283a01fc3dd7523793c28d8acd04ce7fd049389 commit 7283a01fc3dd7523793c28d8acd04ce7fd049389 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-09-01 16:08:26 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-09-01 16:14:27 +0000 crossdev: set --without-headers by default In https://sourceware.org/PR24577 we discovered that riscv can't really install libc headers as it needs a cross-compiler. Before this change we had the following default build order: - cross-binutils - kernel/libc headers - stage1 gcc - glibc - stage2 gcc After this change it's: - cross-binutils - stage1 gcc - kernel headers - glibc - stage2 gcc Users can still fors headers installation with '--ith-headers' option. Bug: https://sourceware.org/PR24577 Bug: https://bugs.gentoo.org/692052 Bug: https://bugs.gentoo.org/686248 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> crossdev | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8893df0d11de029e26b31bc3310e43ccb6b35dc3 commit 8893df0d11de029e26b31bc3310e43ccb6b35dc3 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-09-01 16:47:47 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-09-01 16:50:41 +0000 sys-libs/glibc: revert CPPFLAGS fix for cross-compilers In https://sourceware.org/PR24577 we discovered that riscv can't really install libc headers as it needs a cross-compiler. This revert reintroduces riscv bootstrap on crossdev. To workaround it use the -without-headers option until it's a crossdev's default. Bug: https://sourceware.org/PR24577 Bug: https://bugs.gentoo.org/692052 Bug: https://bugs.gentoo.org/686248 Package-Manager: Portage-2.3.74, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/glibc/Manifest | 4 +- sys-libs/glibc/glibc-2.29-r5.ebuild | 1473 ++++++++++++++++++++++++++++++++++ sys-libs/glibc/glibc-2.30-r1.ebuild | 1482 +++++++++++++++++++++++++++++++++++ sys-libs/glibc/glibc-9999.ebuild | 2 +- 4 files changed, 2959 insertions(+), 2 deletions(-) Should be all set now. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3ba8bbca17e9a7cc21c7211491f3848af92e5d commit 6d3ba8bbca17e9a7cc21c7211491f3848af92e5d Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-09-01 17:05:37 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-09-01 17:05:48 +0000 sys-devel/crossdev: bump up to 20190901 Set --without-headers by default In https://sourceware.org/PR24577 we discovered that riscv can't really install libc headers as it needs a cross-compiler. Before this change we had the following default build order: - cross-binutils - kernel/libc headers - stage1 gcc - glibc - stage2 gcc After this change it's: - cross-binutils - stage1 gcc - kernel headers - glibc - stage2 gcc Users can still use old headers installation with '--with-headers' option. Bug: https://sourceware.org/PR24577 Bug: https://bugs.gentoo.org/692052 Closes: https://bugs.gentoo.org/686248 Package-Manager: Portage-2.3.74, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/crossdev/Manifest | 1 + sys-devel/crossdev/crossdev-20190901.ebuild | 36 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) |
Created attachment 586706 [details] compressed build log from the build.log cat build.log | grep error: -b1 28120- -U_FORTIFY_SOURCE -Iinclude -I/var/tmp/portage/sys-libs/glibc-2.29-r4/work/build-x86-x86_64-pc-linux-gnu-nptl -Isysdeps/unix/sysv/linux/i386/i686 -Isysdeps/i386/i686/nptl -Isysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/x86/include -Isysdeps/unix/sysv/linux/x86 -Isysdeps/x86/nptl -Isysdeps/i386/nptl -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux -Isysdeps/nptl -Isysdeps/pthread -Isysdeps/gnu -Isysdeps/unix/inet -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu/multiarch -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686/multiarch -Isysdeps/i386/i686 -Isysdeps/i386/fpu -Isysdeps/x86/fpu/include -Isysdeps/x86/fpu -Isysdeps/i386 -Isysdeps/x86 -Isysdeps/wordsize-32 -Isysdeps/ieee754/float128 -Isysdeps/ieee754/ldbl-96/include -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /usr/include -xc - -o /var/tmp/portage/sys-libs/glibc-2.29-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.hT 29331:cc1: fatal error: /var/tmp/portage/sys-libs/glibc-2.29-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h: No such file or directory 29502-compilation terminated. and since I'm on multilib, the same error again: 41359- -U_FORTIFY_SOURCE -Iinclude -I/var/tmp/portage/sys-libs/glibc-2.29-r4/work/build-x86-x86_64-pc-linux-gnu-nptl -Isysdeps/unix/sysv/linux/i386/i686 -Isysdeps/i386/i686/nptl -Isysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/x86/include -Isysdeps/unix/sysv/linux/x86 -Isysdeps/x86/nptl -Isysdeps/i386/nptl -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux -Isysdeps/nptl -Isysdeps/pthread -Isysdeps/gnu -Isysdeps/unix/inet -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu/multiarch -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686/multiarch -Isysdeps/i386/i686 -Isysdeps/i386/fpu -Isysdeps/x86/fpu/include -Isysdeps/x86/fpu -Isysdeps/i386 -Isysdeps/x86 -Isysdeps/wordsize-32 -Isysdeps/ieee754/float128 -Isysdeps/ieee754/ldbl-96/include -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /usr/include -xc - -o /var/tmp/portage/sys-libs/glibc-2.29-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.hT 42570:cc1: fatal error: /var/tmp/portage/sys-libs/glibc-2.29-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h: No such file or directory 42741-compilation terminated.