Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885763 - x11-drivers/xf86-video-nouveau-1.0.17 - nv_driver.c: error: call to undeclared function wfbScreenInit; ISO C99
Summary: x11-drivers/xf86-video-nouveau-1.0.17 - nv_driver.c: error: call to undeclare...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: clang-16-porting
  Show dependency tree
 
Reported: 2022-12-13 10:44 UTC by Toralf Förster
Modified: 2022-12-13 10:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.56 KB, text/plain)
2022-12-13 10:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,171.43 KB, text/plain)
2022-12-13 10:44 UTC, Toralf Förster
Details
environment (environment,107.50 KB, text/plain)
2022-12-13 10:44 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,699 bytes, application/x-bzip)
2022-12-13 10:44 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.45 KB, application/x-bzip)
2022-12-13 10:44 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.56 KB, application/x-bzip)
2022-12-13 10:44 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,374.51 KB, application/x-bzip)
2022-12-13 10:44 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,1.46 KB, application/x-bzip)
2022-12-13 10:44 UTC, Toralf Förster
Details
x11-drivers:xf86-video-nouveau-1.0.17:20221213-101903.log (x11-drivers:xf86-video-nouveau-1.0.17:20221213-101903.log,23.84 KB, text/plain)
2022-12-13 10:44 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-12-13 10:44:02 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..    -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1   -I/usr/include/libdrm -I/usr/include/libdrm/nouveau  -I/usr/include/libdrm  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-decla
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..    -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1   -I/usr/include/libdrm -I/usr/include/libdrm/nouveau  -I/usr/include/libdrm  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-decla
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/libdrm -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall 
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..    -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1   -I/usr/include/libdrm -I/usr/include/libdrm/nouveau  -I/usr/include/libdrm  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-decla
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/libdrm -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall 
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/libdrm -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall 
nv_driver.c:1451:9: error: call to undeclared function 'wfbScreenInit'; ISO C99
      and later do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221211-150005

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p8 [openjdk-17]
2)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
5)	Eclipse Temurin JRE 8.352_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm
  [5]   openjdk-jre-bin-8 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.2 *

  HEAD of ::gentoo
commit 5db9e294831c31ef205e7c58f8056e46b8ac9b6d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 13 09:46:50 2022 +0000

    2022-12-13 09:46:49 UTC

emerge -qpvO x11-drivers/xf86-video-nouveau
[ebuild  N    ] x11-drivers/xf86-video-nouveau-1.0.17
Comment 1 Toralf Förster gentoo-dev 2022-12-13 10:44:03 UTC
Created attachment 842417 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-13 10:44:04 UTC
Created attachment 842419 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-13 10:44:06 UTC
Created attachment 842421 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-13 10:44:07 UTC
Created attachment 842423 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-13 10:44:08 UTC
Created attachment 842425 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-13 10:44:09 UTC
Created attachment 842427 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-13 10:44:11 UTC
Created attachment 842429 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-13 10:44:11 UTC
Created attachment 842431 [details]
var.tmp.clang.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-12-13 10:44:12 UTC
Created attachment 842433 [details]
x11-drivers:xf86-video-nouveau-1.0.17:20221213-101903.log