akmods fails on all the 6.8.x kernels.
rpm -qa|grep
akmod
akmods-0.5.8-8.fc40.noarch
akmod-nvidia-470xx-470.223.02-2.fc40.x86_64
2024/03/30 13:49:13 akmodsbuild: 3656 | const char
*nv_firmware_path(
2024/03/30 13:49:13 akmodsbuild: |
^~~~~~~~~~~~~~~~
2024/03/30 13:49:13 akmodsbuild:
/tmp/akmodsbuild.WQUcpM4R/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_6.8.2-300.fc40.x86_64/nvidia/nv-acpi.c:644:22:
error: implicit declaration of function ‘acpi_bus_get_device’; did
you mean ‘acpi_is_pnp_device’? [-Wimplicit-function-declaration]
2024/03/30 13:49:13 akmodsbuild: 644 | retVal =
acpi_bus_get_device(nvif_parent_gpu_handle, &device);
2024/03/30 13:49:13 akmodsbuild: |
^~~~~~~~~~~~~~~~~~~
2024/03/30 13:49:13 akmodsbuild: |
acpi_is_pnp_device
2024/03/30 13:49:13 akmodsbuild: make[3]: ***
[scripts/Makefile.build:243:
/tmp/akmodsbuild.WQUcpM4R/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_6.8.2-300.fc40.x86_64/nvidia/nv-i2c.o]
Error 1
2024/03/30 13:49:13 akmodsbuild: make[3]: ***
[scripts/Makefile.build:243:
/tmp/akmodsbuild.WQUcpM4R/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_6.8.2-300.fc40.x86_64/nvidia/nv-acpi.o]
Error 1
2024/03/30 13:49:13 akmodsbuild: make[3]: ***
[scripts/Makefile.build:243:
/tmp/akmodsbuild.WQUcpM4R/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_6.8.2-300.fc40.x86_64/nvidia/nv.o]
Error 1
2024/03/30 13:49:13 akmodsbuild:
/tmp/akmodsbuild.WQUcpM4R/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_6.8.2-300.fc40.x86_64/nvidia/nv-dma.c:
In function ‘nv_dma_gem_object_unreference_unlocked’:
2024/03/30 13:49:13 akmodsbuild:
/tmp/akmodsbuild.WQUcpM4R/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_6.8.2-300.fc40.x86_64/nvidia/nv-dma.c:978:5:
error: implicit declaration of function
‘drm_gem_object_put_unlocked’; did you mean
‘drm_gem_object_lookup’? [-Wimplicit-function-declaration]
2024/03/30 13:49:13 akmodsbuild: 978 |
drm_gem_object_put_unlocked(gem);
2024/03/30 13:49:13 akmodsbuild: |
^~~~~~~~~~~~~~~~~~~~~~~~~~~
2024/03/30 13:49:13 akmodsbuild: | drm_gem_object_lookup
2024/03/30 13:49:13 akmodsbuild: make[3]: ***
[scripts/Makefile.build:243:
/tmp/akmodsbuild.WQUcpM4R/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_6.8.2-300.fc40.x86_64/nvidia/nv-dma.o]
Error 1
2024/03/30 13:49:13 akmodsbuild: make[2]: ***
[/usr/src/kernels/6.8.2-300.fc40.x86_64/Makefile:1939:
/tmp/akmodsbuild.WQUcpM4R/BUILD/nvidia-470xx-kmod-470.223.02/_kmod_build_6.8.2-300.fc40.x86_64]
Error 2
2024/03/30 13:49:13 akmodsbuild: make[1]: *** [Makefile:252:
__sub-make] Error 2
2024/03/30 13:49:13 akmodsbuild: make[1]: Leaving directory
'/usr/src/kernels/6.8.2-300.fc40.x86_64'
2024/03/30 13:49:13 akmodsbuild: make: *** [Makefile:80: modules]
Error 2
2024/03/30 13:49:13 akmodsbuild: error: Bad exit status from
/var/tmp/rpm-tmp.qdrjr5 (%build)
2024/03/30 13:49:13 akmodsbuild:
2024/03/30 13:49:13 akmodsbuild: RPM build errors:
2024/03/30 13:49:13 akmodsbuild: Bad exit status from
/var/tmp/rpm-tmp.qdrjr5 (%build)
2024/03/30 13:49:13 akmodsbuild:
2024/03/30 13:49:13 akmods: Building rpms failed; see
/var/cache/akmods/nvidia-470xx/470.223.02-2-for-6.8.2-300.fc40.x86_64.failed.log
for details
The installer direct from NVIDIA also fails to complete
# Check that
the tmp directory is executable
# Make path absolute if not already
if ! echo "$TMPROOT" | grep -q "^/"; then
TMPROOT=`pwd`/"$TMPROOT";
fi
if [ ! -d "$TMPROOT" ]; then
mkdir -p "$TMPROOT" || {
echo "Unable to create temp directory $TMPROOT"
exit 1
}
fi
TMPDIR="$TMPROOT"
TMPFILE=`mktemp "$TMPDIR/makeself.XXXXXXXX" 2> /dev/null`
if [ "a$TMPFILE" = "a" ]; then
echo "Unable to create temporary file in $TMPDIR"
exit 1
fi
chmod +x "$TMPFILE"
# Try to execute, see what happens
"$TMPFILE" > /dev/null 2>&1 || {
echo "ERROR: Temporary directory $TMPDIR is not executable -
use the " \
"--tmpdir option to specify a different one."
rm "$TMPFILE"
exit 1;
}
ERROR: Temporary directory /tmp is not executable - use the
--tmpdir option to specify a different one.
-- _______________________________________________ test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue