| Summary: | x11-drivers/nvidia-drivers-440.26 LC_ALL=ru_RU.UTF-8 - .../work/kernel/common/inc/nv-linux.h:131:10: фатальная ошибка: asm/system.h: Нет такого файла или каталога | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Serge Plyukhin <ua0zeh> |
| Component: | Current packages | Assignee: | Jeroen Roovers (RETIRED) <jer> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
The ebuild environment file |
||
|
Description
Serge Plyukhin
2019-10-22 07:08:35 UTC
Please attach the entire build log to this bug report. Created attachment 593608 [details]
build.log
Created attachment 593610 [details]
The ebuild environment file
kernel/conftest.sh says:
if grep -q -e "$file: No such file or directory" conftest_headers$$.log > /dev/null 2>&1; then
Additionally, nvidia-installer apparently already works around this (according to NVIDIA_Changelog):
======== Release 340 Entries ========
[...]
* Updated nvidia-installer to avoid problems with commands whose proper
functionality may be dependent on system localization (e.g. via the
LANG environment variable.) For example, some kernel configurations
may produce unusable kernel modules if LANG is set to a language
other than English.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed27473c455465e20eff60f0b623a6914a1e268 commit aed27473c455465e20eff60f0b623a6914a1e268 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-10-22 09:11:51 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-10-22 09:17:21 +0000 x11-drivers/nvidia-drivers: Fix conftest.sh locale expectations conftest.sh in 440.* expects to find "$file: No such file or directory" in compile test output for kernel headers, but with LC_ALL set, its translations will not trigger that, resulting in false positives for certain headers where the test intended to rule out false negatives. Fix this by setting the default locale in conftest.sh. Package-Manager: Portage-2.3.77, Repoman-2.3.17 Fixes: https://bugs.gentoo.org/698238 Signed-off-by: Jeroen Roovers <jer@gentoo.org> .../nvidia-drivers/files/nvidia-drivers-440.26-locale.patch | 13 +++++++++++++ x11-drivers/nvidia-drivers/nvidia-drivers-440.26.ebuild | 3 +++ 2 files changed, 16 insertions(+) |