Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lpellegr/e241c74f5d973caa0d48d1b82c8adacf to your computer and use it in GitHub Desktop.
Save lpellegr/e241c74f5d973caa0d48d1b82c8adacf to your computer and use it in GitHub Desktop.
2016/07/01 20:10:55 akmods: Building RPM using the command '/sbin/akmodsbuild --target x86_64 --kernels 4.6.3-300.fc24.x86_64 /usr/src/akmods/nvidia-kmod.latest'
/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:119:11: error: too many arguments to function 'get_user_pages'
ret = get_user_pages(current, mm, (unsigned long)address,
^~~~~~~~~~~~~~
In file included from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/common/inc/nv-linux.h:65:0,
from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:15:
include/linux/mm.h:1266:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:132:13: error: implicit declaration of function 'page_cache_release' [-Werror=implicit-function-declaration]
page_cache_release(user_pages[i]);
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:291: recipe for target '/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.o' failed
make[2]: *** [/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1433: recipe for target '_module_/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64' failed
make[1]: *** [_module_/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.6.3-300.fc24.x86_64'
Makefile:81: recipe for target 'modules' failed
make: *** [modules] Error 2
erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.x02nMp (%build)
Erreur de construction de RPM :
utilisateur mockbuild inexistant - utilisation de root
groupe mockbuild inexistant - utilisation de root
utilisateur mockbuild inexistant - utilisation de root
groupe mockbuild inexistant - utilisation de root
utilisateur mockbuild inexistant - utilisation de root
groupe mockbuild inexistant - utilisation de root
utilisateur mockbuild inexistant - utilisation de root
groupe mockbuild inexistant - utilisation de root
utilisateur mockbuild inexistant - utilisation de root
groupe mockbuild inexistant - utilisation de root
Mauvais statut de sortie pour /var/tmp/rpm-tmp.x02nMp (%build)
2016/07/01 20:10:58 akmodsbuild: * Rebuilding /usr/src/akmods/nvidia-kmod.latest for kernel(s) 4.6.3-300.fc24.x86_64: attention : utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: attention : groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: Installation de /usr/src/akmods/nvidia-kmod.latest
2016/07/01 20:10:58 akmodsbuild: Construction pour plate-formes cibles: x86_64
2016/07/01 20:10:58 akmodsbuild: Construction pour cible x86_64
2016/07/01 20:10:58 akmodsbuild: Exécution_de(%prep) : /bin/sh -e /var/tmp/rpm-tmp.v7uLJR
2016/07/01 20:10:58 akmodsbuild: + umask 022
2016/07/01 20:10:58 akmodsbuild: + cd /tmp/akmodsbuild.wgd5l9jf//BUILD
2016/07/01 20:10:58 akmodsbuild: + kmodtool --target x86_64 --repo rpmfusion --kmodname nvidia-kmod --filterfile /tmp/akmodsbuild.wgd5l9jf/SOURCES/nvidia-kmodtool-excludekernel-filterfile --obsolete-name nvidia-newest --obsolete-version 358.16 --for-kernels 4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: %package -n kmod-nvidia-4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: Summary: nvidia kernel module(s) for 4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: Group: System Environment/Kernel
2016/07/01 20:10:58 akmodsbuild: Provides: kernel-modules-for-kernel = 4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: Provides: nvidia-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
2016/07/01 20:10:58 akmodsbuild: Requires: nvidia-kmod-common >= %{?epoch:%{epoch}:}%{version}
2016/07/01 20:10:58 akmodsbuild: Requires(post): /usr/sbin/depmod
2016/07/01 20:10:58 akmodsbuild: Requires(postun): /usr/sbin/depmod
2016/07/01 20:10:58 akmodsbuild: Provides: kmod-nvidia-newest-4.6.3-300.fc24.x86_64 = 358.16
2016/07/01 20:10:58 akmodsbuild: Obsoletes: kmod-nvidia-newest-4.6.3-300.fc24.x86_64 < 358.16
2016/07/01 20:10:58 akmodsbuild: Requires: kernel-uname-r = 4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: BuildRequires: kernel-devel-uname-r = 4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: %post -n kmod-nvidia-4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: /usr/sbin/depmod -aeF /boot/System.map-4.6.3-300.fc24.x86_64 4.6.3-300.fc24.x86_64 > /dev/null || :
2016/07/01 20:10:58 akmodsbuild: %postun -n kmod-nvidia-4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: /usr/sbin/depmod -aF /boot/System.map-4.6.3-300.fc24.x86_64 4.6.3-300.fc24.x86_64 &> /dev/null || :
2016/07/01 20:10:58 akmodsbuild:
2016/07/01 20:10:58 akmodsbuild: %description -n kmod-nvidia-4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: This package provides the nvidia kernel modules built for the Linux
2016/07/01 20:10:58 akmodsbuild: kernel 4.6.3-300.fc24.x86_64 for the %{_target_cpu} family of processors.
2016/07/01 20:10:58 akmodsbuild: %files -n kmod-nvidia-4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: %defattr(644,root,root,755)
2016/07/01 20:10:58 akmodsbuild: %dir /usr/lib/modules/4.6.3-300.fc24.x86_64/extra
2016/07/01 20:10:58 akmodsbuild: /usr/lib/modules/4.6.3-300.fc24.x86_64/extra/nvidia/
2016/07/01 20:10:58 akmodsbuild:
2016/07/01 20:10:58 akmodsbuild:
2016/07/01 20:10:58 akmodsbuild:
2016/07/01 20:10:58 akmodsbuild: %global kmodinstdir_prefix /usr/lib/modules/
2016/07/01 20:10:58 akmodsbuild: %global kmodinstdir_postfix /extra/nvidia/
2016/07/01 20:10:58 akmodsbuild: %global kernel_versions 4.6.3-300.fc24.x86_64___%{_usrsrc}/kernels/4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild:
2016/07/01 20:10:58 akmodsbuild: + cd /tmp/akmodsbuild.wgd5l9jf/BUILD
2016/07/01 20:10:58 akmodsbuild: + rm -rf nvidia-kmod-358.16
2016/07/01 20:10:58 akmodsbuild: + /usr/bin/mkdir -p nvidia-kmod-358.16
2016/07/01 20:10:58 akmodsbuild: + cd nvidia-kmod-358.16
2016/07/01 20:10:58 akmodsbuild: + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
2016/07/01 20:10:58 akmodsbuild: + tar --use-compress-program xz -xf /usr/share/nvidia-kmod-358.16/nvidia-kmod-358.16-x86_64.tar.xz
2016/07/01 20:10:58 akmodsbuild: + echo 'Patch #0 (nv-linux-arm.patch):'
2016/07/01 20:10:58 akmodsbuild: Patch #0 (nv-linux-arm.patch):
2016/07/01 20:10:58 akmodsbuild: + /usr/bin/patch -p1 --fuzz=0
2016/07/01 20:10:58 akmodsbuild: patching file kernel/common/inc/nv-linux.h
2016/07/01 20:10:58 akmodsbuild: Hunk #1 succeeded at 256 (offset 16 lines).
2016/07/01 20:10:58 akmodsbuild: + echo 'Patch #1 (nv-linux-arm2.patch):'
2016/07/01 20:10:58 akmodsbuild: Patch #1 (nv-linux-arm2.patch):
2016/07/01 20:10:58 akmodsbuild: + /usr/bin/patch -p1 --fuzz=0
2016/07/01 20:10:58 akmodsbuild: patching file kernel/common/inc/nv-linux.h
2016/07/01 20:10:58 akmodsbuild: + echo 'Patch #2 (nv-linux-arm3.patch):'
2016/07/01 20:10:58 akmodsbuild: Patch #2 (nv-linux-arm3.patch):
2016/07/01 20:10:58 akmodsbuild: + /usr/bin/patch -p1 --fuzz=0
2016/07/01 20:10:58 akmodsbuild: patching file kernel/common/inc/nv-linux.h
2016/07/01 20:10:58 akmodsbuild: Hunk #1 succeeded at 455 (offset 1 line).
2016/07/01 20:10:58 akmodsbuild: + for kernel_version in 4.6.3-300.fc24.x86_64___/usr/src/kernels/4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: + cp -a kernel _kmod_build_4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: + exit 0
2016/07/01 20:10:58 akmodsbuild: Exécution_de(%build) : /bin/sh -e /var/tmp/rpm-tmp.x02nMp
2016/07/01 20:10:58 akmodsbuild: + umask 022
2016/07/01 20:10:58 akmodsbuild: + cd /tmp/akmodsbuild.wgd5l9jf//BUILD
2016/07/01 20:10:58 akmodsbuild: + cd nvidia-kmod-358.16
2016/07/01 20:10:58 akmodsbuild: + for kernel_version in 4.6.3-300.fc24.x86_64___/usr/src/kernels/4.6.3-300.fc24.x86_64
2016/07/01 20:10:58 akmodsbuild: + pushd _kmod_build_4.6.3-300.fc24.x86_64/
2016/07/01 20:10:58 akmodsbuild: /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64 /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16
2016/07/01 20:10:58 akmodsbuild: + make -j8 KERNEL_UNAME=4.6.3-300.fc24.x86_64 SYSSRC=/usr/src/kernels/4.6.3-300.fc24.x86_64 IGNORE_CC_MISMATCH=1 IGNORE_XEN_PRESENCE=1 IGNORE_PREEMPT_RT_PRESENCE=1 module
2016/07/01 20:10:58 akmodsbuild: make "CC=cc" KBUILD_VERBOSE= -C /usr/src/kernels/4.6.3-300.fc24.x86_64 M=/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64 ARCH=x86_64 NV_KERNEL_SOURCES=/usr/src/kernels/4.6.3-300.fc24.x86_64 NV_KERNEL_OUTPUT=/usr/src/kernels/4.6.3-300.fc24.x86_64 NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset" INSTALL_MOD_DIR=kernel/drivers/video modules
2016/07/01 20:10:58 akmodsbuild: make[1]: Entering directory '/usr/src/kernels/4.6.3-300.fc24.x86_64'
2016/07/01 20:10:58 akmodsbuild: SYMLINK /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-kernel.o
2016/07/01 20:10:58 akmodsbuild: SYMLINK /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia-modeset/nv-modeset-kernel.o
2016/07/01 20:10:58 akmodsbuild: CONFTEST: INIT_WORK
2016/07/01 20:10:58 akmodsbuild: CONFTEST: remap_pfn_range
2016/07/01 20:10:58 akmodsbuild: CONFTEST: follow_pfn
2016/07/01 20:10:58 akmodsbuild: CONFTEST: vmap
2016/07/01 20:10:58 akmodsbuild: CONFTEST: set_pages_uc
2016/07/01 20:10:58 akmodsbuild: CONFTEST: set_memory_uc
2016/07/01 20:10:58 akmodsbuild: CONFTEST: change_page_attr
2016/07/01 20:10:58 akmodsbuild: CONFTEST: set_memory_array_uc
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pci_get_class
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pci_choose_state
2016/07/01 20:10:58 akmodsbuild: CONFTEST: vm_insert_page
2016/07/01 20:10:58 akmodsbuild: CONFTEST: acpi_device_id
2016/07/01 20:10:58 akmodsbuild: CONFTEST: acquire_console_sem
2016/07/01 20:10:58 akmodsbuild: CONFTEST: console_lock
2016/07/01 20:10:58 akmodsbuild: CONFTEST: kmem_cache_create
2016/07/01 20:10:58 akmodsbuild: CONFTEST: on_each_cpu
2016/07/01 20:10:58 akmodsbuild: CONFTEST: smp_call_function
2016/07/01 20:10:58 akmodsbuild: CONFTEST: acpi_evaluate_integer
2016/07/01 20:10:58 akmodsbuild: CONFTEST: ioremap_cache
2016/07/01 20:10:58 akmodsbuild: CONFTEST: ioremap_wc
2016/07/01 20:10:58 akmodsbuild: CONFTEST: acpi_walk_namespace
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pci_domain_nr
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pci_dma_mapping_error
2016/07/01 20:10:58 akmodsbuild: CONFTEST: sg_alloc_table
2016/07/01 20:10:58 akmodsbuild: CONFTEST: sg_init_table
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pci_get_domain_bus_and_slot
2016/07/01 20:10:58 akmodsbuild: CONFTEST: get_num_physpages
2016/07/01 20:10:58 akmodsbuild: CONFTEST: efi_enabled
2016/07/01 20:10:58 akmodsbuild: CONFTEST: proc_create_data
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pde_data
2016/07/01 20:10:58 akmodsbuild: CONFTEST: proc_remove
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pm_vt_switch_required
2016/07/01 20:10:58 akmodsbuild: CONFTEST: drm_pci_set_busid
2016/07/01 20:10:58 akmodsbuild: CONFTEST: xen_ioemu_inject_msi
2016/07/01 20:10:58 akmodsbuild: CONFTEST: phys_to_dma
2016/07/01 20:10:58 akmodsbuild: CONFTEST: get_dma_ops
2016/07/01 20:10:58 akmodsbuild: CONFTEST: write_cr4
2016/07/01 20:10:58 akmodsbuild: CONFTEST: of_parse_phandle
2016/07/01 20:10:58 akmodsbuild: CONFTEST: for_each_online_node
2016/07/01 20:10:58 akmodsbuild: CONFTEST: node_end_pfn
2016/07/01 20:10:58 akmodsbuild: CONFTEST: remap_page_range
2016/07/01 20:10:58 akmodsbuild: CONFTEST: address_space_init_once
2016/07/01 20:10:58 akmodsbuild: CONFTEST: kbasename
2016/07/01 20:10:58 akmodsbuild: CONFTEST: fatal_signal_pending
2016/07/01 20:10:58 akmodsbuild: CONFTEST: list_cut_position
2016/07/01 20:10:58 akmodsbuild: CONFTEST: hlist_for_each_entry
2016/07/01 20:10:58 akmodsbuild: CONFTEST: i2c_adapter
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pm_message_t
2016/07/01 20:10:58 akmodsbuild: CONFTEST: irq_handler_t
2016/07/01 20:10:58 akmodsbuild: CONFTEST: acpi_device_ops
2016/07/01 20:10:58 akmodsbuild: CONFTEST: acpi_op_remove
2016/07/01 20:10:58 akmodsbuild: CONFTEST: outer_flush_all
2016/07/01 20:10:58 akmodsbuild: CONFTEST: proc_dir_entry
2016/07/01 20:10:58 akmodsbuild: CONFTEST: scatterlist
2016/07/01 20:10:58 akmodsbuild: CONFTEST: sg_table
2016/07/01 20:10:58 akmodsbuild: CONFTEST: file_operations
2016/07/01 20:10:58 akmodsbuild: CONFTEST: vm_operations_struct
2016/07/01 20:10:58 akmodsbuild: CONFTEST: pci_save_state
2016/07/01 20:10:58 akmodsbuild: CONFTEST: file_inode
2016/07/01 20:10:58 akmodsbuild: CONFTEST: task_struct
2016/07/01 20:10:58 akmodsbuild: CONFTEST: kuid_t
2016/07/01 20:10:58 akmodsbuild: CONFTEST: dma_ops
2016/07/01 20:10:58 akmodsbuild: CONFTEST: dma_map_ops
2016/07/01 20:10:58 akmodsbuild: CONFTEST: noncoherent_swiotlb_dma_ops
2016/07/01 20:10:58 akmodsbuild: CONFTEST: fault_flags
2016/07/01 20:10:58 akmodsbuild: CONFTEST: atomic64_type
2016/07/01 20:10:58 akmodsbuild: CONFTEST: address_space
2016/07/01 20:10:58 akmodsbuild: CONFTEST: backing_dev_info
2016/07/01 20:10:58 akmodsbuild: CONFTEST: dom0_kernel_present
2016/07/01 20:10:58 akmodsbuild: CONFTEST: drm_available
2016/07/01 20:10:58 akmodsbuild: CONFTEST: nvidia_grid_build
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-frontend.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-instance.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-acpi.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-cray.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-chrdev.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-dma.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-drm.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-gvi.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-i2c.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-mempool.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-mmap.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-p2p.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-pat.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-procfs.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-usermap.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-vm.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-vtophys.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-interface.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-pci.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-registry.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-usermap.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv-modeset-interface.o
2016/07/01 20:10:58 akmodsbuild: CC [M] /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/nv_uvm_interface.o
2016/07/01 20:10:58 akmodsbuild: In file included from ./arch/x86/include/asm/processor.h:15:0,
2016/07/01 20:10:58 akmodsbuild: from ./arch/x86/include/asm/cpufeature.h:4,
2016/07/01 20:10:58 akmodsbuild: from ./arch/x86/include/asm/thread_info.h:52,
2016/07/01 20:10:58 akmodsbuild: from include/linux/thread_info.h:54,
2016/07/01 20:10:58 akmodsbuild: from ./arch/x86/include/asm/preempt.h:6,
2016/07/01 20:10:58 akmodsbuild: from include/linux/preempt.h:59,
2016/07/01 20:10:58 akmodsbuild: from include/linux/spinlock.h:50,
2016/07/01 20:10:58 akmodsbuild: from include/linux/seqlock.h:35,
2016/07/01 20:10:58 akmodsbuild: from include/linux/time.h:5,
2016/07/01 20:10:58 akmodsbuild: from include/uapi/linux/timex.h:56,
2016/07/01 20:10:58 akmodsbuild: from include/linux/timex.h:56,
2016/07/01 20:10:58 akmodsbuild: from include/linux/sched.h:19,
2016/07/01 20:10:58 akmodsbuild: from include/linux/utsname.h:5,
2016/07/01 20:10:58 akmodsbuild: from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/common/inc/nv-linux.h:40,
2016/07/01 20:10:58 akmodsbuild: from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:15:
2016/07/01 20:10:58 akmodsbuild: /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c: In function 'os_lock_user_pages':
2016/07/01 20:10:58 akmodsbuild: ./arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
2016/07/01 20:10:58 akmodsbuild: #define current get_current()
2016/07/01 20:10:58 akmodsbuild: ^
2016/07/01 20:10:58 akmodsbuild: /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:119:26: note: in expansion of macro 'current'
2016/07/01 20:10:58 akmodsbuild: ret = get_user_pages(current, mm, (unsigned long)address,
2016/07/01 20:10:58 akmodsbuild: ^~~~~~~
2016/07/01 20:10:58 akmodsbuild: In file included from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/common/inc/nv-linux.h:65:0,
2016/07/01 20:10:58 akmodsbuild: from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:15:
2016/07/01 20:10:58 akmodsbuild: include/linux/mm.h:1266:6: note: expected 'long unsigned int' but argument is of type 'struct task_struct *'
2016/07/01 20:10:58 akmodsbuild: long get_user_pages(unsigned long start, unsigned long nr_pages,
2016/07/01 20:10:58 akmodsbuild: ^~~~~~~~~~~~~~
2016/07/01 20:10:58 akmodsbuild: /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:119:35: warning: passing argument 2 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
2016/07/01 20:10:58 akmodsbuild: ret = get_user_pages(current, mm, (unsigned long)address,
2016/07/01 20:10:58 akmodsbuild: ^~
2016/07/01 20:10:58 akmodsbuild: In file included from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/common/inc/nv-linux.h:65:0,
2016/07/01 20:10:58 akmodsbuild: from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:15:
2016/07/01 20:10:58 akmodsbuild: include/linux/mm.h:1266:6: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
2016/07/01 20:10:58 akmodsbuild: long get_user_pages(unsigned long start, unsigned long nr_pages,
2016/07/01 20:10:58 akmodsbuild: ^~~~~~~~~~~~~~
2016/07/01 20:10:58 akmodsbuild: /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:120:25: warning: passing argument 5 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
2016/07/01 20:10:58 akmodsbuild: page_count, write, force, user_pages, NULL);
2016/07/01 20:10:58 akmodsbuild: ^~~~~
2016/07/01 20:10:58 akmodsbuild: In file included from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/common/inc/nv-linux.h:65:0,
2016/07/01 20:10:58 akmodsbuild: from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:15:
2016/07/01 20:10:58 akmodsbuild: include/linux/mm.h:1266:6: note: expected 'struct page **' but argument is of type 'NvBool {aka unsigned char}'
2016/07/01 20:10:58 akmodsbuild: long get_user_pages(unsigned long start, unsigned long nr_pages,
2016/07/01 20:10:58 akmodsbuild: ^~~~~~~~~~~~~~
2016/07/01 20:10:58 akmodsbuild: /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:120:32: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
2016/07/01 20:10:58 akmodsbuild: page_count, write, force, user_pages, NULL);
2016/07/01 20:10:58 akmodsbuild: ^~~~~
2016/07/01 20:10:58 akmodsbuild: In file included from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/common/inc/nv-linux.h:65:0,
2016/07/01 20:10:58 akmodsbuild: from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:15:
2016/07/01 20:10:58 akmodsbuild: include/linux/mm.h:1266:6: note: expected 'struct vm_area_struct **' but argument is of type 'NvBool {aka unsigned char}'
2016/07/01 20:10:58 akmodsbuild: long get_user_pages(unsigned long start, unsigned long nr_pages,
2016/07/01 20:10:58 akmodsbuild: ^~~~~~~~~~~~~~
2016/07/01 20:10:58 akmodsbuild: /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:119:11: error: too many arguments to function 'get_user_pages'
2016/07/01 20:10:58 akmodsbuild: ret = get_user_pages(current, mm, (unsigned long)address,
2016/07/01 20:10:58 akmodsbuild: ^~~~~~~~~~~~~~
2016/07/01 20:10:58 akmodsbuild: In file included from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/common/inc/nv-linux.h:65:0,
2016/07/01 20:10:58 akmodsbuild: from /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:15:
2016/07/01 20:10:58 akmodsbuild: include/linux/mm.h:1266:6: note: declared here
2016/07/01 20:10:58 akmodsbuild: long get_user_pages(unsigned long start, unsigned long nr_pages,
2016/07/01 20:10:58 akmodsbuild: ^~~~~~~~~~~~~~
2016/07/01 20:10:58 akmodsbuild: /tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:132:13: error: implicit declaration of function 'page_cache_release' [-Werror=implicit-function-declaration]
2016/07/01 20:10:58 akmodsbuild: page_cache_release(user_pages[i]);
2016/07/01 20:10:58 akmodsbuild: ^~~~~~~~~~~~~~~~~~
2016/07/01 20:10:58 akmodsbuild: cc1: some warnings being treated as errors
2016/07/01 20:10:58 akmodsbuild: scripts/Makefile.build:291: recipe for target '/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.o' failed
2016/07/01 20:10:58 akmodsbuild: make[2]: *** [/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.o] Error 1
2016/07/01 20:10:58 akmodsbuild: make[2]: *** Waiting for unfinished jobs....
2016/07/01 20:10:58 akmodsbuild: Makefile:1433: recipe for target '_module_/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64' failed
2016/07/01 20:10:58 akmodsbuild: make[1]: *** [_module_/tmp/akmodsbuild.wgd5l9jf/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64] Error 2
2016/07/01 20:10:58 akmodsbuild: make[1]: Leaving directory '/usr/src/kernels/4.6.3-300.fc24.x86_64'
2016/07/01 20:10:58 akmodsbuild: Makefile:81: recipe for target 'modules' failed
2016/07/01 20:10:58 akmodsbuild: make: *** [modules] Error 2
2016/07/01 20:10:58 akmodsbuild: erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.x02nMp (%build)
2016/07/01 20:10:58 akmodsbuild:
2016/07/01 20:10:58 akmodsbuild:
2016/07/01 20:10:58 akmodsbuild: Erreur de construction de RPM :
2016/07/01 20:10:58 akmodsbuild: utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: utilisateur mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: groupe mockbuild inexistant - utilisation de root
2016/07/01 20:10:58 akmodsbuild: Mauvais statut de sortie pour /var/tmp/rpm-tmp.x02nMp (%build)
2016/07/01 20:10:58 akmodsbuild:
2016/07/01 20:10:58 akmods: Building rpms failed; see /var/cache/akmods/nvidia/358.16-2-for-4.6.3-300.fc24.x86_64.failed.log for details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment