Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944092 - x11-drivers/nvidia-drivers-565.57.01-r3 fails to compile: functions.h:75:2: error: error dma_buf_export() conftest failed!
Summary: x11-drivers/nvidia-drivers-565.57.01-r3 fails to compile: functions.h:75:2: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-20 08:04 UTC by Agostino Sarubbo
Modified: 2024-11-24 11:01 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,901.94 KB, text/plain)
2024-11-20 08:04 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-20 08:04:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-drivers/nvidia-drivers-565.57.01-r3 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-20 08:04:29 UTC
Created attachment 910453 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-11-24 11:01:18 UTC
The bug has been closed via the following commit(s):

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

commit ffde87904058de783332dbb129ec94578ca399d2
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-11-24 08:17:39 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-11-24 10:53:26 +0000

    x11-drivers/nvidia-drivers: pass -std=gnu17 for gcc15 for now
    
    Seems to be quite a few issues and may not be trivial to fix, upstream
    already has some sanity checks to pickup that conftests failed and it
    should be fixed properly in time.
    
    Using KERNEL_CC to ensure it's used everywhere for modules, esp.
    conftest.sh. Non-modules parts seems fine with c23.
    
    For 390/470, just add it to the list of other permanent (ugly)
    workarounds and update's 470 comment given it's no longer supported.
    Due for removal from the tree in roughly 2 years or less and so just
    need to hold on until then.
    
    Closes: https://bugs.gentoo.org/944092
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild  | 13 +++++++------
 .../nvidia-drivers/nvidia-drivers-470.256.02-r2.ebuild    | 15 +++++++--------
 .../nvidia-drivers/nvidia-drivers-535.216.01-r1.ebuild    |  6 ++++++
 .../nvidia-drivers/nvidia-drivers-550.127.05-r1.ebuild    |  6 ++++++
 x11-drivers/nvidia-drivers/nvidia-drivers-550.135.ebuild  |  6 ++++++
 .../nvidia-drivers/nvidia-drivers-550.40.80.ebuild        |  6 ++++++
 .../nvidia-drivers/nvidia-drivers-565.57.01-r3.ebuild     |  6 ++++++
 7 files changed, 44 insertions(+), 14 deletions(-)