==> Making package: linux-t2 6.16.1-1 (Sat 04 Oct 2025 08:38:16 PM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading v6.16.1-arch1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13770 0 13770 0 0 12662 0 --:--:-- 0:00:01 --:--:-- 12662 100 6773k 0 6773k 0 0 3720k 0 --:--:-- 0:00:01 --:--:-- 9209k 100 14.5M 0 14.5M 0 0 5219k 0 --:--:-- 0:00:02 --:--:-- 8439k 100 21.9M 0 21.9M 0 0 5879k 0 --:--:-- 0:00:03 --:--:-- 8211k 100 29.7M 0 29.7M 0 0 6319k 0 --:--:-- 0:00:04 --:--:-- 8155k 100 37.5M 0 37.5M 0 0 6589k 0 --:--:-- 0:00:05 --:--:-- 8098k 100 44.7M 0 44.7M 0 0 6694k 0 --:--:-- 0:00:06 --:--:-- 7773k 100 52.0M 0 52.0M 0 0 6794k 0 --:--:-- 0:00:07 --:--:-- 7692k 100 58.5M 0 58.5M 0 0 6770k 0 --:--:-- 0:00:08 --:--:-- 7449k 100 63.2M 0 63.2M 0 0 6569k 0 --:--:-- 0:00:09 --:--:-- 6808k 100 67.7M 0 67.7M 0 0 6409k 0 --:--:-- 0:00:10 --:--:-- 6199k 100 72.2M 0 72.2M 0 0 6258k 0 --:--:-- 0:00:11 --:--:-- 5658k 100 76.8M 0 76.8M 0 0 6134k 0 --:--:-- 0:00:12 --:--:-- 5095k 100 81.2M 0 81.2M 0 0 6018k 0 --:--:-- 0:00:13 --:--:-- 4680k 100 86.0M 0 86.0M 0 0 5943k 0 --:--:-- 0:00:14 --:--:-- 4700k 100 91.7M 0 91.7M 0 0 5932k 0 --:--:-- 0:00:15 --:--:-- 4902k 100 99.4M 0 99.4M 0 0 6052k 0 --:--:-- 0:00:16 --:--:-- 5566k 100 106M 0 106M 0 0 6132k 0 --:--:-- 0:00:17 --:--:-- 6125k 100 114M 0 114M 0 0 6197k 0 --:--:-- 0:00:18 --:--:-- 6689k 100 121M 0 121M 0 0 6274k 0 --:--:-- 0:00:19 --:--:-- 7254k 100 129M 0 129M 0 0 6348k 0 --:--:-- 0:00:20 --:--:-- 7669k 100 136M 0 136M 0 0 6406k 0 --:--:-- 0:00:21 --:--:-- 7597k 100 144M 0 144M 0 0 6457k 0 --:--:-- 0:00:22 --:--:-- 7615k 100 151M 0 151M 0 0 6515k 0 --:--:-- 0:00:23 --:--:-- 7718k 100 158M 0 158M 0 0 6546k 0 --:--:-- 0:00:24 --:--:-- 7625k 100 166M 0 166M 0 0 6587k 0 --:--:-- 0:00:25 --:--:-- 7582k 100 173M 0 173M 0 0 6624k 0 --:--:-- 0:00:26 --:--:-- 7572k 100 181M 0 181M 0 0 6668k 0 --:--:-- 0:00:27 --:--:-- 7634k 100 188M 0 188M 0 0 6687k 0 --:--:-- 0:00:28 --:--:-- 7504k 100 195M 0 195M 0 0 6703k 0 --:--:-- 0:00:29 --:--:-- 7485k 100 203M 0 203M 0 0 6742k 0 --:--:-- 0:00:30 --:--:-- 7542k 100 210M 0 210M 0 0 6765k 0 --:--:-- 0:00:31 --:--:-- 7524k 100 217M 0 217M 0 0 6790k 0 --:--:-- 0:00:32 --:--:-- 7462k 100 225M 0 225M 0 0 6813k 0 --:--:-- 0:00:33 --:--:-- 7540k 100 232M 0 232M 0 0 6837k 0 --:--:-- 0:00:34 --:--:-- 7630k 100 239M 0 239M 0 0 6853k 0 --:--:-- 0:00:35 --:--:-- 7541k 100 240M 0 240M 0 0 6847k 0 --:--:-- 0:00:36 --:--:-- 7467k -> Found config -> Cloning patches git repo... Cloning into bare repository '/home/veerya/build-kernel/linux-t2-arch/patches'... ==> Validating source files with sha256sums... v6.16.1-arch1.tar.gz ... Passed config ... Passed patches ... Skipped ==> Extracting sources... -> Extracting v6.16.1-arch1.tar.gz with bsdtar -> Creating working copy of patches git repo... Cloning into 'patches'... done. ==> Starting prepare()... Setting version... HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # CLEAN scripts/basic CLEAN scripts/kconfig CLEAN include/config include/generated .config Applying patch 1001-Add-apple-bce-driver.patch... patching file drivers/staging/apple-bce/Makefile patching file drivers/staging/apple-bce/apple_bce.c patching file drivers/staging/apple-bce/apple_bce.h patching file drivers/staging/apple-bce/audio/audio.c patching file drivers/staging/apple-bce/audio/audio.h patching file drivers/staging/apple-bce/audio/description.h patching file drivers/staging/apple-bce/audio/pcm.c patching file drivers/staging/apple-bce/audio/pcm.h patching file drivers/staging/apple-bce/audio/protocol.c patching file drivers/staging/apple-bce/audio/protocol.h patching file drivers/staging/apple-bce/audio/protocol_bce.c patching file drivers/staging/apple-bce/audio/protocol_bce.h patching file drivers/staging/apple-bce/mailbox.c patching file drivers/staging/apple-bce/mailbox.h patching file drivers/staging/apple-bce/queue.c patching file drivers/staging/apple-bce/queue.h patching file drivers/staging/apple-bce/queue_dma.c patching file drivers/staging/apple-bce/queue_dma.h patching file drivers/staging/apple-bce/vhci/command.h patching file drivers/staging/apple-bce/vhci/queue.c patching file drivers/staging/apple-bce/vhci/queue.h patching file drivers/staging/apple-bce/vhci/transfer.c patching file drivers/staging/apple-bce/vhci/transfer.h patching file drivers/staging/apple-bce/vhci/vhci.c patching file drivers/staging/apple-bce/vhci/vhci.h Applying patch 1002-Put-apple-bce-in-drivers-staging.patch... patching file drivers/staging/Kconfig patching file drivers/staging/Makefile Hunk #1 succeeded at 14 (offset -15 lines). patching file drivers/staging/apple-bce/Kconfig patching file drivers/staging/apple-bce/Makefile Applying patch 1003-Fix-sparse-errors.patch... patching file drivers/staging/apple-bce/apple_bce.h Applying patch 1004-Fix-freezing-on-turning-off-camera.patch... patching file drivers/staging/apple-bce/vhci/transfer.c patching file drivers/staging/apple-bce/vhci/transfer.h Applying patch 2008-i915-4-lane-quirk-for-mbp15-1.patch... patching file drivers/gpu/drm/i915/display/intel_ddi.c Hunk #1 succeeded at 4832 (offset 139 lines). patching file drivers/gpu/drm/i915/display/intel_quirks.c Hunk #1 succeeded at 66 (offset 2 lines). Hunk #2 succeeded at 243 (offset 2 lines). patching file drivers/gpu/drm/i915/display/intel_quirks.h Applying patch 2009-apple-gmux-allow-switching-to-igpu-at-probe.patch... patching file drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c Hunk #1 succeeded at 2305 (offset 254 lines). patching file drivers/gpu/vga/vga_switcheroo.c Hunk #1 FAILED at 438. 1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/vga/vga_switcheroo.c.rej patching file drivers/pci/vgaarb.c patching file drivers/platform/x86/apple-gmux.c ==> ERROR: A failure occurred in prepare(). Aborting...