I was upgrading my silverblue and get that error, the rpm-ostree logs with journalctl -t
'rpm-ostree(akmod-nvidia.post)' i get the output below
jul 27 09:21:00 i7 rpm-ostree(akmod-nvidia.post)[15916]: Building
/usr/src/akmods/nvidia-kmod-465.24.02-1.fc34.src.rpm for kernel 5.13.4-200.fc34.x86_64
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: 456 | .atomic_disable =
nv_drm_plane_atomic_disable,
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: |
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]:
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia-drm/nvidia-drm-crtc.c:456:23:
note: (near initialization for 'nv_plane_helper_funcs.>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: cc1: some warnings being treated
as errors
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: make[2]: ***
[scripts/Makefile.build:273:
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia-drm/nvidia-drm-crtc.o]
Error 1
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: make[2]: *** Waiting for
unfinished jobs....
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: ./tools/objtool/objtool orc
generate --module --no-fp --retpoline --uaccess
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: ./tools/objtool/objtool orc
generate --module --no-fp --retpoline --uaccess
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]:
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia-drm/nvidia-drm-modeset.c:
In function '__will_generate_flip_event':
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]:
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia-drm/nvidia-drm-modeset.c:96:23:
warning: unused variable 'primary_plane' [-Wunused-v>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: 96 | struct drm_plane
*primary_plane = crtc->primary;
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: |
^~~~~~~~~~~~~
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: ./tools/objtool/objtool orc
generate --module --no-fp --retpoline --uaccess
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: ./tools/objtool/objtool orc
generate --module --no-fp --retpoline --uaccess
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: ./tools/objtool/objtool orc
generate --module --no-fp --retpoline --uaccess
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: ./tools/objtool/objtool orc
generate --module --no-fp --retpoline --uaccess
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: ./tools/objtool/objtool orc
generate --module --no-fp --retpoline --uaccess
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64/nvidia>
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: make[1]: *** [Makefile:1853:
/tmp/akmodsbuild.1TseLRQJ/BUILD/nvidia-kmod-465.24.02/_kmod_build_5.13.4-200.fc34.x86_64]
Error 2
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: make[1]: Leaving directory
'/usr/src/kernels/5.13.4-200.fc34.x86_64'
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: make: *** [Makefile:80: modules]
Error 2
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: erro: Status de saída de
/var/tmp/rpm-tmp.TxYflI inválido (%build)
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: Erros na construção do RPM:
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: Unable to open sqlite
database /usr/share/rpm/rpmdb.sqlite: unable to open database file
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: cannot open Packages index
using sqlite - Operação não permitida (1)
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: não foi possível abrir o
banco de dados de pacotes em /usr/share/rpm
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: user mockbuild does not exist
- using root
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: group mock does not exist -
using root
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: user mockbuild does not exist
- using root
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: group mock does not exist -
using root
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: Unable to open sqlite
database /usr/share/rpm/rpmdb.sqlite: unable to open database file
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: cannot open Packages index
using sqlite - Operação não permitida (1)
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: não foi possível abrir o
banco de dados de pacotes em /usr/share/rpm
jul 27 09:21:56 i7 rpm-ostree(akmod-nvidia.post)[21620]: Status de saída de
/var/tmp/rpm-tmp.TxYflI inválido (%build)
I hope it helps to fix this.
Best regards,
Fábio
Show replies by date