[Nix-dev] Builder for ati-drivers-14.12 failed after kernel update to linux 4.0?
Matthias Beyer
mail at beyermatthias.de
Sat May 9 08:04:19 CEST 2015
Hi,
On 09-05-2015 04:59:07, Kirill Elagin wrote:
> What was the actual error message? It was right above the lines you pasted.
>
Oh, okay, here they are:
[...]
make[1]: Entering directory '/nix/store/arib8dxj7sflg3qcbnamzzjvqx9ckmp3-linux-4.0-dev/lib/modules/4.0.0/build'
CC [M] /tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
CC [M] /tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
CC [M] /tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_Slot_No_Hotplug':
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:836:20: warning: unused variable 'pdev' [-Wunused-variable]
struct pci_dev *pdev = (struct pci_dev *)data;
^
CC [M] /tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'kcl_mem_pat_setup':
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4474:9: error: implicit declaration of function 'read_cr4' [-Werror=implicit-function-declaration]
cr4 = read_cr4();
^
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4475:9: error: implicit declaration of function 'write_cr4' [-Werror=implicit-function-declaration]
write_cr4(cr4 & ~X86_CR4_PGE);
^
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'kasSetExecutionLevel':
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4822:5: error: implicit declaration of function '__get_cpu_var' [-Werror=implicit-function-declaration]
orig_level = __get_cpu_var(kasExecutionLevel);
^
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4823:38: error: lvalue required as left operand of assignment
__get_cpu_var(kasExecutionLevel) = level;
^
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6399:12: warning: 'KCL_fpu_save_init' defined but not used [-Wunused-function]
static int KCL_fpu_save_init(struct task_struct *tsk)
^
cc1: some warnings being treated as errors
/nix/store/arib8dxj7sflg3qcbnamzzjvqx9ckmp3-linux-4.0-dev/lib/modules/4.0.0/source/scripts/Makefile.build:258: recipe for target '/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o' failed
make[4]: *** [/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/nix/store/arib8dxj7sflg3qcbnamzzjvqx9ckmp3-linux-4.0-dev/lib/modules/4.0.0/source/Makefile:1390: recipe for target '_module_/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x' failed
make[3]: *** [_module_/tmp/nix-build-ati-drivers-14.12-4.0.drv-0/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
Makefile:145: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/nix/store/arib8dxj7sflg3qcbnamzzjvqx9ckmp3-linux-4.0-dev/lib/modules/4.0.0/build'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
+ exitHandler
+ exitCode=2
+ set +e
+ closeNest
+ '[' 0 -gt 0 ']'
+ '[' -n '' ']'
+ '[' 2 '!=' 0 ']'
+ runHook failureHook
+ local hookName=failureHook
+ shift
+ local var=failureHook
+ [[ failureHook =~ Hook$ ]]
+ var+=s
+ eval 'local -a dummy=("${failureHooks[@]}")'
++ dummy=("${failureHooks[@]}")
++ local -a dummy
+ for hook in '"_callImplicitHook 0 $hookName"' '"${dummy[@]}"'
+ _eval '_callImplicitHook 0 failureHook'
+ local 'code=_callImplicitHook 0 failureHook'
+ shift
++ type -t _callImplicitHook 0 failureHook
+ '[' function = function ']'
+ eval '_callImplicitHook 0 failureHook "$@"'
++ _callImplicitHook 0 failureHook
++ local def=0
++ local hookName=failureHook
++ case "$(type -t $hookName)" in
+++ type -t failureHook
++ '[' -z '' ']'
++ return 0
+ return 0
+ '[' -n '' ']'
+ exit 2
builder for ‘/nix/store/kkczd3n160im83kwj1719p1r8d3cwkxn-ati-drivers-14.12-4.0.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/p5p9bsy7vvc3wz3jdqy0bnaiamra4wfl-nixos-15.05pre60905.2d8cfe7.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/p5p9bsy7vvc3wz3jdqy0bnaiamra4wfl-nixos-15.05pre60905.2d8cfe7.drv’ failed
So it seems that these are compiler errors... if I'm not entirely mistaken here.
--
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer
Proudly sent with mutt.
Happily signed with gnupg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150509/7b49ccfc/attachment.bin
More information about the nix-dev
mailing list