Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907411 - x11-drivers/nvidia-drivers-470.182.03 - /.../nv-mmap.c: error: assignment of read-only member vm_flags
Summary: x11-drivers/nvidia-drivers-470.182.03 - /.../nv-mmap.c: error: assignment of ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-30 13:09 UTC by Toralf Förster
Modified: 2023-05-30 13:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.77 KB, text/plain)
2023-05-30 13:09 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,96.91 KB, application/x-bzip)
2023-05-30 13:09 UTC, Toralf Förster
Details
environment (environment,169.00 KB, text/plain)
2023-05-30 13:09 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,931 bytes, application/x-bzip)
2023-05-30 13:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.99 KB, application/x-bzip)
2023-05-30 13:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,46.49 KB, application/x-bzip)
2023-05-30 13:09 UTC, Toralf Förster
Details
x11-drivers:nvidia-drivers-470.182.03:20230530-123505.log (x11-drivers:nvidia-drivers-470.182.03:20230530-123505.log,48.20 KB, text/plain)
2023-05-30 13:09 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 2023-05-30 13:09:39 UTC
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work/kernel/common/inc/nv-linux.h:1767,
                 from /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work/kernel/nvidia/nv-mmap.c:14:
/var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work/kernel/common/inc/nv-proto.h:40:13: note: previous declaration of nv_encode_caching with type int(pgprot_t *, NvU32,  NvU32) {aka int(struct pgprot *, unsigned int,  unsigned int)}
   40 | int         nv_encode_caching           (pgprot_t *, NvU32, NvU32);
      |             ^~~~~~~~~~~~~~~~~
/var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work/kernel/nvidia/nv-mmap.c: In function nvidia_mmap_helper:
/var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work/kernel/nvidia/nv-mmap.c:599:23: error: assignment of read-only member vm_flags
  599 |         vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND;
      |                       ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j3-20230522-174516

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0
  [2]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
5)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm
  [5]   openjdk-jre-bin-17 

php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit 578f64a2d7e8ede2bba18e41069d997701ef76d4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue May 30 12:32:00 2023 +0000

    2023-05-30 12:32:00 UTC

emerge -qpvO x11-drivers/nvidia-drivers
[ebuild  N    ] x11-drivers/nvidia-drivers-470.182.03  USE="X driver static-libs tools -dist-kernel -persistenced -wayland" ABI_X86="(64) -32"
Comment 1 Toralf Förster gentoo-dev 2023-05-30 13:09:40 UTC
Created attachment 862886 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-30 13:09:42 UTC
Created attachment 862887 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-05-30 13:09:43 UTC
Created attachment 862888 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-05-30 13:09:44 UTC
Created attachment 862889 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-05-30 13:09:45 UTC
Created attachment 862890 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-30 13:09:46 UTC
Created attachment 862891 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-30 13:09:47 UTC
Created attachment 862892 [details]
x11-drivers:nvidia-drivers-470.182.03:20230530-123505.log
Comment 8 Ionen Wolkens gentoo-dev 2023-05-30 13:12:29 UTC
 * Found sources for kernel version:
 *     6.3.4-gentoo-dist

 * Kernel 6.3 is either known to break this version of nvidia-drivers
 * or was not tested with it. It is recommended to use one of:
 *   <=sys-kernel/gentoo-kernel-6.2.x
 *   <=sys-kernel/gentoo-sources-6.2.x