Running phase: unpackPhase unpacking source archive /nix/store/wzj9bi08pvb9gc70j520idi5nhk7b8h3-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ARCH=x86_64 CROSS_COMPILE= KBUILD_OUTPUT=/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/build KERNELRELEASE=5.10.234-hardened1 KDIR=/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/build INSTALL_MOD_PATH=/nix/store/rh4p4l5lcgwr5nyvfzsrhvrkxsynb774-tuxedo-drivers-5.10.234-4.12.1 make -C /nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/build M=/build/source -- INSTALL_MOD_PATH=/nix/store/rh4p4l5lcgwr5nyvfzsrhvrkxsynb774-tuxedo-drivers-5.10.234-4.12.1 KDIR=/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/build KERNELRELEASE=5.10.234-hardened1 KBUILD_OUTPUT=/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/build CROSS_COMPILE= ARCH=x86_64 SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash modules make[1]: Entering directory '/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/build' CC [M] /build/source/src/ite_8291/ite_8291.o CC [M] /build/source/src/ite_8291_lb/ite_8291_lb.o CC [M] /build/source/src/ite_8297/ite_8297.o CC [M] /build/source/src/ite_829x/ite_829x.o CC [M] /build/source/src/tuxedo_compatibility_check/tuxedo_compatibility_check.o CC [M] /build/source/src/tuxedo_io/tuxedo_io.o /build/source/src/tuxedo_io/tuxedo_io.c: In function 'clevo_ioctl_interface': /build/source/src/tuxedo_io/tuxedo_io.c:317:25: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 317 | u8 fanspeeds[3] = { argument & 0xff, argument >> 8 & 0xff, argument >> 16 & 0xff }; | ^~ /build/source/src/tuxedo_io/tuxedo_io.c: In function 'uw_set_tdp': /build/source/src/tuxedo_io/tuxedo_io.c:632:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 632 | int min_tdp_status = uw_get_tdp_min(tdp_index); | ^~~ CC [M] /build/source/src/tuxedo_nb02_nvidia_power_ctrl/tuxedo_nb02_nvidia_power_ctrl.o CC [M] /build/source/src/tuxedo_nb05/tuxedo_nb05_keyboard.o /build/source/src/tuxedo_nb05/tuxedo_nb05_keyboard.c: In function 'tuxedo_nb05_keyboard_remove': /build/source/src/tuxedo_nb05/tuxedo_nb05_keyboard.c:181:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 181 | struct driver_data_t *driver_data = dev_get_drvdata(&wdev->dev); | ^~~~~~ CC [M] /build/source/src/tuxedo_nb05/tuxedo_nb05_kbd_backlight.o /build/source/src/tuxedo_nb05/tuxedo_nb05_kbd_backlight.c: In function 'nb05_leds_set_brightness': /build/source/src/tuxedo_nb05/tuxedo_nb05_kbd_backlight.c:51:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 51 | const struct dmi_system_id *sysid; | ^~~~~ CC [M] /build/source/src/tuxedo_nb05/tuxedo_nb05_power_profiles.o /build/source/src/tuxedo_nb05/tuxedo_nb05_power_profiles.c: In function 'write_profile': /build/source/src/tuxedo_nb05/tuxedo_nb05_power_profiles.c:126:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 126 | int err = nb05_wmi_aa_method(1, &profile, &out); | ^~~ /build/source/src/tuxedo_nb05/tuxedo_nb05_power_profiles.c: In function 'tuxedo_nb05_power_profiles_probe': /build/source/src/tuxedo_nb05/tuxedo_nb05_power_profiles.c:331:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 331 | const struct platform_device_info pinfo = { | ^~~~~ /build/source/src/tuxedo_nb05/tuxedo_nb05_power_profiles.c: In function 'tuxedo_nb05_power_profiles_remove': /build/source/src/tuxedo_nb05/tuxedo_nb05_power_profiles.c:361:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 361 | struct driver_data_t *driver_data = dev_get_drvdata(&wdev->dev); | ^~~~~~ CC [M] /build/source/src/tuxedo_nb05/tuxedo_nb05_ec.o CC [M] /build/source/src/tuxedo_nb05/tuxedo_nb05_sensors.o /build/source/src/tuxedo_nb05/tuxedo_nb05_sensors.c:171:17: warning: initialization discards 'const' qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 171 | .info = tuxedo_nb05_hwmon_info | ^~~~~~~~~~~~~~~~~~~~~~ CC [M] /build/source/src/tuxedo_nb05/tuxedo_nb05_fan_control.o /build/source/src/tuxedo_nb05/tuxedo_nb05_fan_control.c: In function 'tuxedo_nb05_fan_control_remove': /build/source/src/tuxedo_nb05/tuxedo_nb05_fan_control.c:525:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 525 | struct driver_data_t *driver_data = dev_get_drvdata(&pdev->dev); | ^~~~~~ CC [M] /build/source/src/tuxedo_nb04/tuxedo_nb04_keyboard.o /build/source/src/tuxedo_nb04/tuxedo_nb04_keyboard.c: In function 'tuxedo_nb04_keyboard_remove': /build/source/src/tuxedo_nb04/tuxedo_nb04_keyboard.c:161:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 161 | struct driver_data_t *driver_data = dev_get_drvdata(&wdev->dev); | ^~~~~~ CC [M] /build/source/src/tuxedo_nb04/tuxedo_nb04_wmi_ab.o CC [M] /build/source/src/tuxedo_nb04/tuxedo_nb04_wmi_bs.o CC [M] /build/source/src/tuxedo_nb04/tuxedo_nb04_sensors.o /build/source/src/tuxedo_nb04/tuxedo_nb04_sensors.c:235:17: warning: initialization discards 'const' qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 235 | .info = tuxedo_nb04_sensors_info | ^~~~~~~~~~~~~~~~~~~~~~~~ CC [M] /build/source/src/tuxedo_nb04/tuxedo_nb04_power_profiles.o /build/source/src/tuxedo_nb04/tuxedo_nb04_power_profiles.c: In function 'tuxedo_nb04_power_profiles_remove': /build/source/src/tuxedo_nb04/tuxedo_nb04_power_profiles.c:227:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 227 | struct driver_data_t *driver_data = dev_get_drvdata(&pdev->dev); | ^~~~~~ CC [M] /build/source/src/tuxedo_nb04/tuxedo_nb04_kbd_backlight.o CC [M] /build/source/src/tuxedo_tuxi/tuxi_acpi.o CC [M] /build/source/src/tuxedo_tuxi/tuxedo_tuxi_fan_control.o /build/source/src/tuxedo_tuxi/tuxedo_tuxi_fan_control.c:341:17: warning: initialization discards 'const' qualifier from pointer target type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers8;;] 341 | .info = hwmcinfo | ^~~~~~~~ /build/source/src/tuxedo_tuxi/tuxedo_tuxi_fan_control.c: In function 'tuxedo_tuxi_fan_control_remove': /build/source/src/tuxedo_tuxi/tuxedo_tuxi_fan_control.c:387:9: warning: ISO C90 forbids mixed declarations and code [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-after-statement-Wdeclaration-after-statement8;;] 387 | struct driver_data_t *driver_data = dev_get_drvdata(&pdev->dev); | ^~~~~~ CC [M] /build/source/src/stk8321/stk8321.o /build/source/src/stk8321/stk8321.c: In function 'stk8321_apply_orientation': /build/source/src/stk8321/stk8321.c:365:59: error: passing argument 2 of 'iio_read_mount_matrix' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types8;;] 365 | ret = iio_read_mount_matrix(&client->dev, &data->orientation); | ^~~~~~~~~~~~~~~~~~ | | | struct iio_mount_matrix * In file included from /nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/source/include/linux/iio/buffer.h:10, from /build/source/src/stk8321/stk8321.c:26: /nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/source/include/linux/iio/iio.h:130:59: note: expected 'const char *' but argument is of type 'struct iio_mount_matrix *' 130 | int iio_read_mount_matrix(struct device *dev, const char *propname, | ~~~~~~~~~~~~^~~~~~~~ /build/source/src/stk8321/stk8321.c:365:23: error: too few arguments to function 'iio_read_mount_matrix' 365 | ret = iio_read_mount_matrix(&client->dev, &data->orientation); | ^~~~~~~~~~~~~~~~~~~~~ /nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/source/include/linux/iio/iio.h:130:5: note: declared here 130 | int iio_read_mount_matrix(struct device *dev, const char *propname, | ^~~~~~~~~~~~~~~~~~~~~ /build/source/src/stk8321/stk8321.c: At top level: /build/source/src/stk8321/stk8321.c:482:8: error: type defaults to 'int' in declaration of 'DEFINE_SIMPLE_DEV_PM_OPS' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Werror=implicit-int8;;] 482 | static DEFINE_SIMPLE_DEV_PM_OPS(stk8321_pm_ops, stk8321_suspend, | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/stk8321/stk8321.c:483:33: warning: parameter names (without types) in function declaration [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeclaration-missing-parameter-type-Wdeclaration-missing-parameter-type8;;] 483 | stk8321_resume); | ^~~~~~~~~~~~~~ /build/source/src/stk8321/stk8321.c:501:23: error: implicit declaration of function 'pm_sleep_ptr' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration8;;] 501 | .pm = pm_sleep_ptr(&stk8321_pm_ops), | ^~~~~~~~~~~~ /build/source/src/stk8321/stk8321.c:501:37: error: 'stk8321_pm_ops' undeclared here (not in a function); did you mean 'stk8321_probe'? 501 | .pm = pm_sleep_ptr(&stk8321_pm_ops), | ^~~~~~~~~~~~~~ | stk8321_probe /build/source/src/stk8321/stk8321.c:482:8: warning: 'DEFINE_SIMPLE_DEV_PM_OPS' declared 'static' but never defined [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-function-Wunused-function8;;] 482 | static DEFINE_SIMPLE_DEV_PM_OPS(stk8321_pm_ops, stk8321_suspend, | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/stk8321/stk8321.c:472:12: warning: 'stk8321_resume' defined but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-function-Wunused-function8;;] 472 | static int stk8321_resume(struct device *dev) | ^~~~~~~~~~~~~~ /build/source/src/stk8321/stk8321.c:462:12: warning: 'stk8321_suspend' defined but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-function-Wunused-function8;;] 462 | static int stk8321_suspend(struct device *dev) | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[5]: *** [/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/source/scripts/Makefile.build:286: /build/source/src/stk8321/stk8321.o] Error 1 make[4]: *** [/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/source/scripts/Makefile.build:503: /build/source/src/stk8321] Error 2 make[3]: *** [/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/source/scripts/Makefile.build:503: /build/source/src] Error 2 make[2]: *** [/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/source/Makefile:1832: /build/source] Error 2 make[1]: *** [/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/source/Makefile:192: __sub-make] Error 2 make[1]: Leaving directory '/nix/store/1s4zpg8mdxln5yip9y38s9a1drdfmnqr-linux-hardened-5.10.234-dev/lib/modules/5.10.234-hardened1/build' make: *** [Makefile:10: all] Error 2