* Package: x11-drivers/xf86-video-nv-2.1.22:0 * Repository: gentoo * Maintainer: x11@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xf86-video-nv-2.1.22.tar.xz to /var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work >>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work >>> Preparing source in /var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22 ... * Running elibtoolize in: xf86-video-nv-2.1.22/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying ppc64le/2.4.4 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22 ... * econf: updating xf86-video-nv-2.1.22/config.sub with /usr/share/gnuconfig/config.sub * econf: updating xf86-video-nv-2.1.22/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/xf86-video-nv-2.1.22 --htmldir=/usr/share/doc/xf86-video-nv-2.1.22/html --with-sysroot=/ --libdir=/usr/lib64 --disable-dependency-tracking --disable-selective-werror --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking for clang options needed to detect all undeclared functions... (cached) none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether __clang__ is declared... yes checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking if clang supports -Werror=unknown-warning-option... yes checking if clang supports -Werror=unused-command-line-argument... yes checking if clang supports -Wall... yes checking if clang supports -Wpointer-arith... yes checking if clang supports -Wmissing-declarations... yes checking if clang supports -Wformat=2... yes checking if clang supports -Wstrict-prototypes... yes checking if clang supports -Wmissing-prototypes... yes checking if clang supports -Wnested-externs... yes checking if clang supports -Wbad-function-cast... yes checking if clang supports -Wold-style-definition... yes checking if clang supports -Wdeclaration-after-statement... yes checking if clang supports -Wunused... yes checking if clang supports -Wuninitialized... yes checking if clang supports -Wshadow... yes checking if clang supports -Wmissing-noreturn... yes checking if clang supports -Wmissing-format-attribute... yes checking if clang supports -Wredundant-decls... yes checking if clang supports -Wlogical-op... no configure: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/issues checking if clang supports -Wimplicit... yes checking if clang supports -Wnonnull... yes checking if clang supports -Winit-self... yes checking if clang supports -Wmain... yes checking if clang supports -Wmissing-braces... yes checking if clang supports -Wsequence-point... yes checking if clang supports -Wreturn-type... yes checking if clang supports -Wtrigraphs... yes checking if clang supports -Warray-bounds... yes checking if clang supports -Wwrite-strings... yes checking if clang supports -Waddress... yes checking if clang supports -Wint-to-pointer-cast... yes checking if clang supports -Wpointer-to-int-cast... yes checking if clang supports -pedantic... yes checking if clang supports -Werror... yes checking if clang supports -Werror=attributes... yes checking whether make supports nested variables... yes checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if DPMSExtension is defined... yes checking for XORG... yes checking for XEXT... yes checking whether XSERVER_LIBPCIACCESS is declared... yes checking for PCIACCESS... yes checking for xaa.h... no checking whether to include XAA support... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/temp/clang14.log' -> '/var/tmp/clang/x11-drivers/xf86-video-nv-2.1.22/clang14.log' '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/temp/clang15.log' -> '/var/tmp/clang/x11-drivers/xf86-video-nv-2.1.22/clang15.log' >>> Compiling source in /var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22' Making all in src make[2]: Entering directory '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22/src' /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o nv_cursor.lo nv_cursor.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o nv_dac.lo nv_dac.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o nv_dga.lo nv_dga.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o nv_driver.lo nv_driver.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c nv_cursor.c -fPIC -DPIC -o .libs/nv_cursor.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c nv_dac.c -fPIC -DPIC -o .libs/nv_dac.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c nv_driver.c -fPIC -DPIC -o .libs/nv_driver.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c nv_dga.c -fPIC -DPIC -o .libs/nv_dga.o nv_driver.c:2631:16: error: call to undeclared function 'xf86DisableRandR'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] xf86DisableRandR(); ^ nv_driver.c:2631:16: note: did you mean 'xf86DisableIO'? /usr/include/xorg/xf86_OSproc.h:116:23: note: 'xf86DisableIO' declared here extern _X_EXPORT void xf86DisableIO(void); ^ 1 error generated. make[2]: *** [Makefile:585: nv_driver.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22/src' make[1]: *** [Makefile:445: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22' make: *** [Makefile:377: all] Error 2 * ERROR: x11-drivers/xf86-video-nv-2.1.22::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-nv-2.1.22::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-nv-2.1.22::gentoo'`. * The complete build log is located at '/var/log/portage/x11-drivers:xf86-video-nv-2.1.22:20221004-124600.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/temp/environment'. * Working directory: '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22' * S: '/var/tmp/portage/x11-drivers/xf86-video-nv-2.1.22/work/xf86-video-nv-2.1.22'