Morganamilo / paru

Feature packed AUR helper
GNU General Public License v3.0
6.25k stars 237 forks source link

thread 'main' panicked at 'called Option::unwrap() on a None value', src/install.rs:1974:53 #755

Closed Lyapsus closed 2 years ago

Lyapsus commented 2 years ago

Affected Version

paru v1.10.0 - libalpm v13.0.1

Description

I get an error message whatever I write next to "_use_llvm_lto=" in PKGBUILD trying to install linux-cachyos. makepkg does the job just fine. Odd thing is that an error can be reproduced only if you write anything to "_use_llvm_lto=" in PKGBUILD.

Output

Details user@device ~> export RUST_BACKTRACE=full; paru --fm vim -S linux-cachyos; export RUST_BACKTRACE=0 [sudo] password for user: :: Resolving dependencies... :: Calculating conflicts... :: Calculating inner conflicts... Aur (1) linux-cachyos-5.17.8-1 :: Proceed to review? [Y/n]: :: Downloading PKGBUILDs... PKGBUILDs up to date :: Proceed with installation? [Y/n]: fetching devel info... ==> Making package: linux-cachyos-lto 5.17.8-1 (Mon 16 May 2022 02:31:14 AM CEST) ==> Retrieving sources... -> Found linux-5.17.8.tar.xz -> Found config -> Found 0001-bore-sched.patch -> Found 0001-arch.patch -> Found 0001-latency_nice.patch -> Found 0002-anbox.patch -> Found 0003-bbr2.patch -> Found 0004-cachy.patch -> Found 0005-migrate.patch -> Found 0006-clearlinux.patch -> Found 0007-cpu.patch -> Found 0008-fixes-miscellaneous.patch -> Found 0009-fs-patches.patch -> Found 0010-hwmon.patch -> Found 0011-lru-le9.patch -> Found 0012-spf-lru.patch -> Found 0013-xanmod.patch -> Found 0014-lrng.patch -> Found 0015-ck-hrtimer.patch -> Found auto-cpu-optimization.sh ==> Validating source files with sha256sums... linux-5.17.8.tar.xz ... Passed config ... Passed 0001-bore-sched.patch ... Passed 0001-arch.patch ... Passed 0001-latency_nice.patch ... Passed 0002-anbox.patch ... Passed 0003-bbr2.patch ... Passed 0004-cachy.patch ... Passed 0005-migrate.patch ... Passed 0006-clearlinux.patch ... Passed 0007-cpu.patch ... Passed 0008-fixes-miscellaneous.patch ... Passed 0009-fs-patches.patch ... Passed 0010-hwmon.patch ... Passed 0011-lru-le9.patch ... Passed 0012-spf-lru.patch ... Passed 0013-xanmod.patch ... Passed 0014-lrng.patch ... Passed 0015-ck-hrtimer.patch ... Passed auto-cpu-optimization.sh ... Passed ==> Making package: linux-cachyos-lto 5.17.8-1 (Mon 16 May 2022 02:31:18 AM CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found linux-5.17.8.tar.xz -> Found config -> Found 0001-bore-sched.patch -> Found 0001-arch.patch -> Found 0001-latency_nice.patch -> Found 0002-anbox.patch -> Found 0003-bbr2.patch -> Found 0004-cachy.patch -> Found 0005-migrate.patch -> Found 0006-clearlinux.patch -> Found 0007-cpu.patch -> Found 0008-fixes-miscellaneous.patch -> Found 0009-fs-patches.patch -> Found 0010-hwmon.patch -> Found 0011-lru-le9.patch -> Found 0012-spf-lru.patch -> Found 0013-xanmod.patch -> Found 0014-lrng.patch -> Found 0015-ck-hrtimer.patch -> Found auto-cpu-optimization.sh ==> Validating source files with sha256sums... linux-5.17.8.tar.xz ... Passed config ... Passed 0001-bore-sched.patch ... Passed 0001-arch.patch ... Passed 0001-latency_nice.patch ... Passed 0002-anbox.patch ... Passed 0003-bbr2.patch ... Passed 0004-cachy.patch ... Passed 0005-migrate.patch ... Passed 0006-clearlinux.patch ... Passed 0007-cpu.patch ... Passed 0008-fixes-miscellaneous.patch ... Passed 0009-fs-patches.patch ... Passed 0010-hwmon.patch ... Passed 0011-lru-le9.patch ... Passed 0012-spf-lru.patch ... Passed 0013-xanmod.patch ... Passed 0014-lrng.patch ... Passed 0015-ck-hrtimer.patch ... Passed auto-cpu-optimization.sh ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting linux-5.17.8.tar.xz with bsdtar ==> Starting prepare()... Setting version... Applying patch 0001-bore-sched.patch... patching file include/linux/sched.h Hunk #1 succeeded at 548 (offset -28 lines). patching file init/Kconfig Hunk #1 succeeded at 1262 (offset -20 lines). patching file kernel/sched/core.c Hunk #1 succeeded at 9316 (offset -5 lines). patching file kernel/sched/debug.c patching file kernel/sched/fair.c Hunk #2 succeeded at 95 (offset -14 lines). Hunk #3 succeeded at 855 (offset -18 lines). Hunk #4 succeeded at 879 (offset -18 lines). Hunk #5 succeeded at 5743 (offset -43 lines). Hunk #6 succeeded at 7410 (offset -44 lines). patching file kernel/sched/features.h patching file kernel/sched/sched.h Applying patch 0001-arch.patch... patching file Documentation/admin-guide/kernel-parameters.txt patching file drivers/char/Kconfig patching file drivers/char/random.c patching file fs/nfs/client.c patching file fs/nfs/fs_context.c patching file include/linux/interrupt.h patching file include/linux/nfs_fs_sb.h patching file include/linux/rcutiny.h patching file include/linux/rcutree.h patching file include/linux/user_namespace.h patching file init/Kconfig patching file kernel/fork.c patching file kernel/rcu/tree.c patching file kernel/sysctl.c patching file kernel/time/tick-sched.c patching file kernel/time/tick-sched.h patching file kernel/user_namespace.c Applying patch 0001-latency_nice.patch... patching file include/linux/sched.h Hunk #1 succeeded at 563 (offset 3 lines). Hunk #2 succeeded at 780 (offset 3 lines). patching file include/uapi/linux/sched.h patching file include/uapi/linux/sched/types.h patching file init/init_task.c patching file kernel/sched/core.c Hunk #10 succeeded at 10646 (offset 4 lines). Hunk #11 succeeded at 10684 (offset 4 lines). Hunk #12 succeeded at 10906 (offset 4 lines). Hunk #13 succeeded at 11008 (offset 4 lines). patching file kernel/sched/debug.c Hunk #1 succeeded at 1048 (offset 5 lines). patching file kernel/sched/fair.c Hunk #1 succeeded at 5609 (offset 25 lines). Hunk #2 succeeded at 5731 (offset 25 lines). Hunk #3 succeeded at 5755 (offset 25 lines). Hunk #4 succeeded at 7057 (offset 28 lines). Hunk #5 succeeded at 7127 (offset 28 lines). Hunk #6 succeeded at 7238 (offset 28 lines). Hunk #7 succeeded at 11232 (offset 31 lines). Hunk #8 succeeded at 11572 (offset 31 lines). Hunk #9 succeeded at 11671 (offset 31 lines). Hunk #10 succeeded at 11802 (offset 31 lines). patching file kernel/sched/sched.h patching file tools/include/uapi/linux/sched.h Applying patch 0002-anbox.patch... patching file drivers/android/Kconfig patching file drivers/android/Makefile patching file drivers/android/binder_alloc.c patching file drivers/staging/android/Kconfig patching file drivers/staging/android/Makefile patching file drivers/staging/android/ashmem.c patching file fs/file.c patching file kernel/fork.c patching file kernel/sched/core.c Hunk #1 succeeded at 6981 (offset 11 lines). patching file kernel/task_work.c patching file mm/memory.c patching file mm/shmem.c Hunk #1 succeeded at 4142 (offset 2 lines). patching file security/security.c Applying patch 0003-bbr2.patch... patching file include/linux/tcp.h patching file include/net/inet_connection_sock.h patching file include/net/tcp.h patching file include/uapi/linux/inet_diag.h patching file net/ipv4/Kconfig patching file net/ipv4/Makefile patching file net/ipv4/bpf_tcp_ca.c patching file net/ipv4/tcp.c patching file net/ipv4/tcp_bbr.c patching file net/ipv4/tcp_bbr2.c patching file net/ipv4/tcp_cong.c patching file net/ipv4/tcp_input.c patching file net/ipv4/tcp_output.c patching file net/ipv4/tcp_rate.c patching file net/ipv4/tcp_timer.c Applying patch 0004-cachy.patch... patching file Documentation/admin-guide/kernel-parameters.txt Hunk #2 succeeded at 4406 (offset 6 lines). patching file Documentation/admin-guide/pm/cpuidle.rst patching file Makefile patching file arch/Kconfig patching file arch/x86/include/asm/cpufeatures.h patching file arch/x86/include/asm/mwait.h patching file arch/x86/kernel/process.c patching file drivers/cpufreq/Kconfig patching file drivers/cpufreq/cpufreq_ondemand.c patching file drivers/hid/usbhid/hid-core.c patching file drivers/input/evdev.c patching file include/linux/pageblock-flags.h patching file include/linux/pagemap.h patching file init/Kconfig patching file kernel/Kconfig.hz patching file kernel/rcu/Kconfig patching file kernel/rcu/tree_nocb.h patching file kernel/sched/core.c patching file kernel/sched/fair.c Hunk #1 succeeded at 38 (offset 3 lines). Hunk #2 succeeded at 63 (offset 3 lines). Hunk #3 succeeded at 99 (offset 3 lines). Hunk #4 succeeded at 164 (offset 9 lines). patching file mm/compaction.c patching file mm/internal.h patching file mm/page-writeback.c patching file mm/page_alloc.c patching file mm/vmpressure.c patching file mm/vmscan.c patching file scripts/Makefile.lib patching file scripts/Makefile.modfinal Applying patch 0005-migrate.patch... patching file include/linux/sched.h patching file kernel/sched/fair.c Hunk #1 succeeded at 1047 (offset 43 lines). Hunk #2 succeeded at 4234 (offset 43 lines). Hunk #3 succeeded at 4266 (offset 43 lines). Hunk #4 succeeded at 4361 (offset 43 lines). Hunk #5 succeeded at 7030 (offset 76 lines). Hunk #6 succeeded at 7038 (offset 76 lines). Hunk #7 succeeded at 7062 (offset 76 lines). Hunk #8 succeeded at 7073 (offset 76 lines). Hunk #9 succeeded at 7805 (offset 114 lines). patching file kernel/sched/features.h Hunk #1 succeeded at 111 (offset 11 lines). Applying patch 0006-clearlinux.patch... patching file arch/x86/include/asm/topology.h patching file arch/x86/include/asm/vdso/processor.h patching file arch/x86/kernel/alternative.c patching file arch/x86/kernel/cpu/intel_epb.c patching file arch/x86/kernel/itmt.c patching file arch/x86/kernel/tsc.c patching file arch/x86/mm/fault.c patching file block/blk-core.c patching file drivers/Makefile patching file drivers/ata/libahci.c patching file drivers/base/firmware_loader/main.c patching file drivers/char/random.c Hunk #1 succeeded at 1684 (offset 6 lines). patching file drivers/cpufreq/intel_pstate.c patching file drivers/idle/intel_idle.c patching file drivers/input/serio/i8042.c patching file drivers/net/dummy.c patching file drivers/nvme/host/core.c patching file drivers/pci/pci.c patching file drivers/powercap/intel_rapl_common.c patching file drivers/thermal/intel/intel_powerclamp.c patching file fs/xattr.c patching file include/linux/jbd2.h patching file include/linux/sched.h Hunk #1 succeeded at 1053 (offset 7 lines). patching file include/linux/wait.h patching file include/uapi/linux/if_bonding.h patching file init/do_mounts.c patching file kernel/locking/rwsem.c patching file kernel/module.c patching file kernel/sched/debug.c Hunk #1 succeeded at 965 (offset 5 lines). patching file kernel/sched/wait.c patching file kernel/watchdog.c patching file mm/compaction.c patching file mm/ksm.c patching file mm/page_alloc.c Hunk #1 succeeded at 6860 (offset 24 lines). Hunk #2 succeeded at 6942 (offset 24 lines). patching file net/ipv4/inet_connection_sock.c patching file net/ipv4/tcp.c Hunk #1 succeeded at 4605 (offset 1 line). Applying patch 0007-cpu.patch... patching file Makefile patching file arch/x86/Kconfig.cpu patching file arch/x86/Makefile patching file arch/x86/include/asm/vermagic.h patching file init/Kconfig Hunk #1 succeeded at 1401 (offset 20 lines). Hunk #2 succeeded at 1416 (offset 20 lines). patching file tools/power/cpupower/Makefile patching file tools/power/cpupower/lib/acpi_cppc.c patching file tools/power/cpupower/lib/acpi_cppc.h patching file tools/power/cpupower/lib/cpufreq.c patching file tools/power/cpupower/lib/cpufreq.h patching file tools/power/cpupower/man/cpupower-frequency-info.1 patching file tools/power/cpupower/utils/cpufreq-info.c patching file tools/power/cpupower/utils/helpers/amd.c patching file tools/power/cpupower/utils/helpers/cpuid.c patching file tools/power/cpupower/utils/helpers/helpers.h patching file tools/power/cpupower/utils/helpers/misc.c Applying patch 0008-fixes-miscellaneous.patch... patching file Documentation/admin-guide/kernel-parameters.txt patching file Makefile Hunk #1 succeeded at 988 (offset 1 line). patching file arch/x86/crypto/chacha-avx512vl-x86_64.S patching file arch/x86/include/asm/pci.h patching file arch/x86/kernel/msr.c patching file arch/x86/pci/common.c patching file drivers/ata/ahci.c patching file drivers/cpufreq/intel_pstate.c patching file drivers/i2c/busses/Kconfig patching file drivers/i2c/busses/Makefile patching file drivers/i2c/busses/i2c-nct6775.c patching file drivers/i2c/busses/i2c-piix4.c patching file drivers/infiniband/core/addr.c patching file drivers/pci/controller/Makefile patching file drivers/pci/controller/intel-nvme-remap.c patching file drivers/pci/quirks.c patching file drivers/scsi/sd.c patching file drivers/scsi/sd.h patching file drivers/tty/Kconfig patching file fs/f2fs/Kconfig patching file fs/f2fs/checkpoint.c patching file fs/f2fs/compress.c patching file fs/f2fs/data.c patching file fs/f2fs/dir.c patching file fs/f2fs/f2fs.h patching file fs/f2fs/file.c patching file fs/f2fs/gc.c patching file fs/f2fs/inline.c patching file fs/f2fs/namei.c patching file fs/f2fs/node.c patching file fs/f2fs/recovery.c patching file fs/f2fs/segment.c patching file fs/f2fs/super.c patching file fs/f2fs/sysfs.c patching file fs/f2fs/verity.c patching file fs/f2fs/xattr.c patching file include/uapi/linux/vt.h patching file init/Makefile patching file kernel/cpu.c patching file mm/filemap.c patching file mm/shmem.c Hunk #2 succeeded at 2495 (offset 2 lines). Hunk #3 succeeded at 2507 (offset 2 lines). Hunk #4 succeeded at 2518 (offset 2 lines). Hunk #5 succeeded at 2564 (offset 2 lines). Hunk #6 succeeded at 2580 (offset 2 lines). patching file net/sched/Kconfig patching file scripts/mkcompile_h patching file tools/objtool/check.c patching file drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c patching file fs/xfs/xfs_buf.c patching file fs/xfs/xfs_buf.h patching file fs/xfs/xfs_filestream.c patching file fs/xfs/xfs_trans.h Applying patch 0009-fs-patches.patch... patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 3925 (offset 1 line). Hunk #2 succeeded at 3984 (offset 1 line). patching file fs/btrfs/btrfs_inode.h patching file fs/btrfs/inode.c Hunk #1 succeeded at 5972 (offset -11 lines). Hunk #2 succeeded at 5984 (offset -11 lines). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 3744 (offset 1 line). Hunk #2 succeeded at 3758 (offset 1 line). Hunk #3 succeeded at 3769 (offset 1 line). Hunk #4 succeeded at 3820 (offset 1 line). Hunk #5 succeeded at 3904 (offset 1 line). Hunk #6 succeeded at 3938 (offset 1 line). Hunk #7 succeeded at 3962 (offset 1 line). Hunk #8 succeeded at 3984 (offset 1 line). Hunk #9 succeeded at 4036 (offset 1 line). Hunk #10 succeeded at 4092 (offset 1 line). Hunk #11 succeeded at 5977 (offset 13 lines). Hunk #12 succeeded at 6018 (offset 13 lines). Hunk #13 succeeded at 6026 (offset 13 lines). Hunk #14 succeeded at 6082 (offset 13 lines). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 6043 (offset 13 lines). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 3527 (offset 1 line). Hunk #2 succeeded at 3588 (offset 1 line). Hunk #3 succeeded at 3600 (offset 1 line). patching file fs/btrfs/inode.c Hunk #1 succeeded at 6532 (offset -11 lines). Hunk #2 succeeded at 9210 (offset -13 lines). Hunk #3 succeeded at 9497 (offset -13 lines). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 6819 (offset 13 lines). patching file fs/btrfs/tree-log.h patching file fs/btrfs/inode.c Hunk #2 succeeded at 4061 (offset -11 lines). Hunk #3 succeeded at 4118 (offset -11 lines). Hunk #4 succeeded at 4161 (offset -11 lines). Hunk #5 succeeded at 6541 (offset -11 lines). Hunk #6 succeeded at 9032 (offset -13 lines). Hunk #7 succeeded at 9174 (offset -13 lines). Hunk #8 succeeded at 9191 (offset -13 lines). Hunk #9 succeeded at 9224 (offset -13 lines). Hunk #10 succeeded at 9336 (offset -13 lines). Hunk #11 succeeded at 9468 (offset -13 lines). Hunk #12 succeeded at 9513 (offset -13 lines). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 6827 (offset 13 lines). Hunk #2 succeeded at 6838 (offset 13 lines). Hunk #3 succeeded at 6860 (offset 13 lines). patching file fs/btrfs/tree-log.h patching file fs/btrfs/inode.c Hunk #1 succeeded at 4127 (offset -11 lines). Hunk #2 succeeded at 9049 (offset -13 lines). Hunk #3 succeeded at 9151 (offset -13 lines). Hunk #4 succeeded at 9206 (offset -13 lines). Hunk #5 succeeded at 9310 (offset -13 lines). Hunk #6 succeeded at 9414 (offset -13 lines). Hunk #7 succeeded at 9460 (offset -13 lines). Hunk #8 succeeded at 9474 (offset -13 lines). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 6841 (offset 13 lines). Hunk #2 succeeded at 6871 (offset 13 lines). Hunk #3 succeeded at 6904 (offset 13 lines). Hunk #4 succeeded at 6918 (offset 13 lines). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 3496 (offset 1 line). Hunk #2 succeeded at 3677 (offset 1 line). Hunk #3 succeeded at 3717 (offset 1 line). Hunk #4 succeeded at 3855 (offset 1 line). Hunk #5 succeeded at 3930 (offset 1 line). Hunk #6 succeeded at 4182 (offset 1 line). Hunk #7 succeeded at 4218 (offset 1 line). Hunk #8 succeeded at 4715 (offset 1 line). Hunk #9 succeeded at 5731 (offset 1 line). Hunk #10 succeeded at 5781 with fuzz 2 (offset 1 line). Hunk #11 succeeded at 5830 (offset 13 lines). Hunk #12 succeeded at 5856 (offset 13 lines). Hunk #13 succeeded at 5874 (offset 13 lines). Hunk #14 succeeded at 5996 (offset 13 lines). Hunk #15 succeeded at 6944 (offset 13 lines). Hunk #16 succeeded at 6957 (offset 13 lines). Hunk #17 succeeded at 7034 (offset 13 lines). patching file fs/btrfs/tree-log.h patching file fs/btrfs/ctree.c patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 5721 (offset 1 line). Hunk #2 succeeded at 5764 (offset 1 line). Hunk #3 succeeded at 5786 with fuzz 1 (offset 1 line). Hunk #4 succeeded at 5814 (offset 13 lines). Hunk #5 succeeded at 5846 (offset 13 lines). Hunk #6 succeeded at 5883 (offset 13 lines). Hunk #7 succeeded at 5922 (offset 13 lines). Hunk #8 succeeded at 5943 (offset 13 lines). Hunk #9 succeeded at 5992 (offset 13 lines). patching file fs/btrfs/ctree.c patching file fs/btrfs/ctree.c patching file fs/btrfs/file.c patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 4983 (offset 1 line). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 4694 (offset 1 line). Hunk #2 succeeded at 4740 (offset 1 line). Hunk #3 succeeded at 4752 (offset 1 line). patching file fs/btrfs/reflink.c patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 4437 (offset 1 line). Hunk #2 succeeded at 4463 (offset 1 line). Hunk #3 succeeded at 4604 (offset 1 line). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 4447 (offset 1 line). Hunk #2 succeeded at 4466 (offset 1 line). Hunk #3 succeeded at 4542 (offset 1 line). Hunk #4 succeeded at 4624 (offset 1 line). patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 5731 (offset 1 line). patching file fs/btrfs/btrfs_inode.h patching file fs/btrfs/file.c patching file fs/btrfs/inode.c Hunk #2 succeeded at 4895 (offset -11 lines). Hunk #3 succeeded at 6152 (offset -11 lines). Hunk #4 succeeded at 8744 (offset -13 lines). Hunk #5 succeeded at 9952 (offset -13 lines). patching file fs/btrfs/reflink.c patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 6044 (offset 13 lines). patching file fs/btrfs/reflink.c patching file fs/btrfs/extent_io.c Hunk #1 succeeded at 3534 (offset 1 line). Hunk #2 succeeded at 3607 (offset 1 line). Hunk #3 succeeded at 3948 (offset 1 line). patching file fs/btrfs/tree-log.c patching file fs/btrfs/extent_io.c Hunk #1 succeeded at 3610 (offset 1 line). patching file fs/btrfs/inode.c Hunk #1 succeeded at 8114 (offset -13 lines). patching file fs/btrfs/extent_map.c patching file fs/btrfs/tests/extent-map-tests.c patching file fs/btrfs/tree-log.c Hunk #1 succeeded at 7047 (offset 13 lines). Hunk #2 succeeded at 7071 (offset 13 lines). patching file fs/btrfs/zstd.c patching file block/Kconfig.iosched patching file block/Kconfig patching file include/linux/blkdev.h patching file block/Kconfig.iosched patching file block/elevator.c patching file block/elevator.h patching file block/mq-deadline.c patching file block/blk-mq-debugfs.c patching file block/blk-rq-qos.c patching file block/blk-rq-qos.h patching file include/linux/blkdev.h patching file block/blk-mq-debugfs.c patching file block/blk-rq-qos.h patching file block/blk-wbt.c patching file block/blk-wbt.h patching file block/blk-cgroup.c patching file block/blk-iolatency.c patching file block/blk-mq-debugfs.c patching file block/blk-rq-qos.h patching file block/blk.h patching file block/blk-iocost.c Hunk #2 succeeded at 2821 (offset 10 lines). Hunk #3 succeeded at 2832 (offset 10 lines). Hunk #4 succeeded at 2873 (offset 10 lines). Hunk #5 succeeded at 2897 (offset 10 lines). Hunk #6 succeeded at 3175 (offset 10 lines). Hunk #7 succeeded at 3186 (offset 10 lines). Hunk #8 succeeded at 3341 (offset 10 lines). Hunk #9 succeeded at 3352 (offset 10 lines). Hunk #10 succeeded at 3452 (offset 10 lines). patching file block/blk-mq-debugfs.c patching file block/blk-rq-qos.h patching file block/Kconfig patching file block/blk-cgroup.c patching file block/blk-ioprio.c patching file block/blk-ioprio.h patching file block/blk-mq-debugfs.c patching file block/blk-rq-qos.c patching file block/blk-rq-qos.h patching file block/blk-mq-debugfs.c patching file block/blk-rq-qos.h patching file block/blk-sysfs.c patching file block/blk-core.c patching file block/blk-mq.c Hunk #1 succeeded at 2033 (offset -7 lines). Hunk #2 succeeded at 2049 (offset -7 lines). Applying patch 0010-hwmon.patch... patching file Documentation/hwmon/asus_ec_sensors.rst patching file Documentation/hwmon/asus_wmi_ec_sensors.rst patching file MAINTAINERS patching file drivers/hwmon/Kconfig patching file drivers/hwmon/Makefile patching file drivers/hwmon/asus-ec-sensors.c patching file drivers/hwmon/asus_wmi_sensors.c patching file drivers/hwmon/nct6775-core.c (renamed from drivers/hwmon/nct6775.c) patching file drivers/hwmon/nct6775-platform.c patching file drivers/hwmon/nct6775.h Applying patch 0011-lru-le9.patch... patching file Documentation/admin-guide/mm/index.rst patching file Documentation/admin-guide/mm/multigen_lru.rst patching file Documentation/admin-guide/sysctl/vm.rst patching file Documentation/vm/index.rst patching file Documentation/vm/multigen_lru.rst patching file arch/Kconfig Hunk #1 succeeded at 1333 (offset 13 lines). patching file arch/arm64/include/asm/pgtable.h patching file arch/x86/Kconfig patching file arch/x86/include/asm/pgtable.h patching file arch/x86/mm/pgtable.c patching file fs/exec.c patching file fs/fuse/dev.c patching file include/linux/cgroup.h patching file include/linux/memcontrol.h patching file include/linux/mm.h patching file include/linux/mm_inline.h patching file include/linux/mm_types.h patching file include/linux/mmzone.h patching file include/linux/nodemask.h patching file include/linux/page-flags-layout.h patching file include/linux/page-flags.h patching file include/linux/pgtable.h patching file include/linux/sched.h Hunk #1 succeeded at 921 (offset 6 lines). patching file include/linux/swap.h patching file kernel/bounds.c patching file kernel/cgroup/cgroup-internal.h patching file kernel/exit.c patching file kernel/fork.c patching file kernel/sched/core.c Hunk #1 succeeded at 4994 (offset 11 lines). patching file kernel/sysctl.c patching file mm/Kconfig patching file mm/huge_memory.c patching file mm/memcontrol.c patching file mm/memory.c patching file mm/mm_init.c patching file mm/mmzone.c patching file mm/rmap.c patching file mm/swap.c patching file mm/vmscan.c patching file mm/workingset.c Applying patch 0012-spf-lru.patch... patching file arch/arm64/Kconfig patching file arch/arm64/mm/fault.c patching file arch/powerpc/Kconfig patching file arch/powerpc/mm/fault.c patching file arch/x86/Kconfig patching file arch/x86/mm/fault.c patching file drivers/gpu/drm/i915/i915_gpu_error.c patching file include/linux/mm.h patching file include/linux/mm_types.h patching file include/linux/mmap_lock.h patching file include/linux/mmu_notifier.h patching file include/linux/percpu-rwsem.h patching file include/linux/vm_event.h patching file include/linux/vm_event_item.h patching file include/linux/vmstat.h patching file kernel/fork.c patching file kernel/locking/percpu-rwsem.c patching file mm/Kconfig patching file mm/Kconfig.debug patching file mm/debug.c patching file mm/memory.c patching file mm/mmap.c patching file mm/vmstat.c Applying patch 0013-xanmod.patch... patching file Documentation/admin-guide/kernel-parameters.txt patching file block/mq-deadline.c patching file init/Kconfig Hunk #1 succeeded at 1314 (offset 20 lines). patching file kernel/rcu/rcutorture.c patching file kernel/rcu/tree.c patching file kernel/rcu/tree_plugin.h patching file kernel/sched/autogroup.c patching file kernel/sched/wait.c patching file net/ipv4/netfilter/Kconfig patching file net/mac80211/iface.c patching file net/netfilter/Kconfig patching file net/netfilter/Makefile patching file net/netfilter/xt_FULLCONENAT.c Applying patch 0014-lrng.patch... patching file MAINTAINERS patching file crypto/drbg.c patching file crypto/jitterentropy-kcapi.c patching file crypto/jitterentropy.c patching file drivers/char/Kconfig patching file drivers/char/Makefile patching file drivers/char/lrng/Kconfig patching file drivers/char/lrng/Makefile patching file drivers/char/lrng/lrng_aux.c patching file drivers/char/lrng/lrng_chacha20.c patching file drivers/char/lrng/lrng_chacha20.h patching file drivers/char/lrng/lrng_drbg.c patching file drivers/char/lrng/lrng_drng.c patching file drivers/char/lrng/lrng_es_archrandom.c patching file drivers/char/lrng/lrng_es_aux.c patching file drivers/char/lrng/lrng_es_irq.c patching file drivers/char/lrng/lrng_es_irq.h patching file drivers/char/lrng/lrng_es_jent.c patching file drivers/char/lrng/lrng_es_mgr.c patching file drivers/char/lrng/lrng_health.c patching file drivers/char/lrng/lrng_interfaces.c patching file drivers/char/lrng/lrng_internal.h patching file drivers/char/lrng/lrng_kcapi.c patching file drivers/char/lrng/lrng_kcapi_hash.c patching file drivers/char/lrng/lrng_kcapi_hash.h patching file drivers/char/lrng/lrng_numa.c patching file drivers/char/lrng/lrng_proc.c patching file drivers/char/lrng/lrng_selftest.c patching file drivers/char/lrng/lrng_switch.c patching file drivers/char/lrng/lrng_testing.c patching file include/crypto/drbg.h patching file include/crypto/internal/jitterentropy.h (renamed from crypto/jitterentropy.h) patching file include/linux/lrng.h Applying patch 0015-ck-hrtimer.patch... patching file drivers/accessibility/speakup/speakup_acntpc.c patching file drivers/accessibility/speakup/speakup_apollo.c patching file drivers/accessibility/speakup/speakup_decext.c patching file drivers/accessibility/speakup/speakup_decpc.c patching file drivers/accessibility/speakup/speakup_dectlk.c patching file drivers/accessibility/speakup/speakup_dtlk.c patching file drivers/accessibility/speakup/speakup_keypc.c patching file drivers/accessibility/speakup/synth.c patching file drivers/block/swim.c patching file drivers/char/ipmi/ipmi_msghandler.c patching file drivers/char/ipmi/ipmi_ssif.c patching file drivers/comedi/drivers/ni_mio_common.c patching file drivers/gpu/drm/vmwgfx/vmwgfx_irq.c patching file drivers/hwmon/fam15h_power.c patching file drivers/iio/light/tsl2563.c patching file drivers/media/i2c/msp3400-driver.c patching file drivers/media/pci/cx18/cx18-gpio.c patching file drivers/media/pci/ivtv/ivtv-gpio.c patching file drivers/media/pci/ivtv/ivtv-ioctl.c patching file drivers/media/pci/ivtv/ivtv-streams.c patching file drivers/media/radio/radio-mr800.c patching file drivers/media/radio/radio-tea5777.c patching file drivers/media/radio/tea575x.c patching file drivers/mfd/ucb1x00-core.c patching file drivers/misc/sgi-xp/xpc_channel.c patching file drivers/net/can/usb/peak_usb/pcan_usb.c patching file drivers/net/usb/lan78xx.c patching file drivers/net/usb/usbnet.c patching file drivers/net/wireless/intel/ipw2x00/ipw2100.c patching file drivers/parport/ieee1284.c patching file drivers/parport/ieee1284_ops.c patching file drivers/platform/x86/intel_ips.c patching file drivers/rtc/rtc-wm8350.c patching file drivers/scsi/fnic/fnic_scsi.c patching file drivers/scsi/lpfc/lpfc_scsi.c patching file drivers/scsi/snic/snic_scsi.c patching file drivers/staging/rts5208/rtsx.c patching file drivers/staging/unisys/visornic/visornic_main.c patching file drivers/video/fbdev/omap/hwa742.c patching file drivers/video/fbdev/pxafb.c patching file fs/btrfs/delalloc-space.c patching file include/linux/freezer.h patching file include/linux/sched.h patching file kernel/sysctl.c patching file kernel/time/clockevents.c patching file kernel/time/hrtimer.c patching file kernel/time/timer.c patching file net/core/pktgen.c patching file sound/pci/maestro3.c patching file sound/soc/codecs/rt5631.c patching file sound/soc/codecs/wm8350.c patching file sound/soc/codecs/wm8900.c patching file sound/soc/codecs/wm9713.c patching file sound/soc/soc-dapm.c patching file sound/usb/line6/pcm.c Setting config... ---------------------------------- | APPLYING AUTO-CPU-OPTIMIZATION | ---------------------------------- [*] DETECTED CPU (MARCH) : SKYLAKE Selecting BORE Scheduler... Enabling LLVM FULL LTO... Setting tick rate to 750Hz... Disabling NUMA from kernel config... Disabling MQ-Deadline I/O scheduler... Disabling Kyber I/O scheduler... Setting performance governor... Enabling tickless idle... Enabling tickless idle... Enabling KBUILD_CFLAGS -O3... Disabling TCP_CONG_CUBIC... Enabling FULLCONENAT... Enabling SPECULATIVE_PAGE_FAULT LRU... Enabling multigenerational LRU... Enabling Linux Random Number Generator ... Enable USER_NS_UNPRIVILEGED Enable WINE FASTSYNC Applying default config... 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 .config:2181:warning: override: PCIEASPM_PERFORMANCE changes choice state .config:3235:warning: override: reassigning to symbol CX_ECAT .config:3362:warning: override: reassigning to symbol NET_VENDOR_MICROSOFT .config:3363:warning: override: reassigning to symbol MICROSOFT_MANA # # configuration written to .config # Prepared linux-cachyos-lto version 5.17.8-1-cachyos-lto ==> Sources are ready. linux-cachyos-5.17.8-1: parsing pkg list... thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/install.rs:1974:53 stack backtrace: 0: 0x5601ebdc247f - 1: 0x5601ebaf3e4c - 2: 0x5601ebd92824 - 3: 0x5601ebdc485a - 4: 0x5601ebdc5814 - 5: 0x5601ebdc525b - 6: 0x5601ebdc51f6 - 7: 0x5601ebdc51b2 - 8: 0x5601eb999a82 - 9: 0x5601eb999bdc - 10: 0x5601ebc2ea31 - 11: 0x5601ebac0dfc - 12: 0x5601eba3d1d4 - 13: 0x5601eba89468 - 14: 0x5601eba79fca - 15: 0x5601eba78d80 - 16: 0x5601ebaba366 - 17: 0x5601eb9cab24 - 18: 0x5601eba9aaf3 - 19: 0x5601ebac2a9b - 20: 0x7eff686f534c - __libc_start_call_main 21: 0x7eff686f5405 - __libc_start_main_alias_1 22: 0x5601eb9ac645 - 23: 0x0 -

paru.conf

Details # # $PARU_CONF # /etc/paru.conf # ~/.config/paru/paru.conf # # See the paru.conf(5) manpage for options # # GENERAL OPTIONS # [options] PgpFetch Devel Provides DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg #AurOnly BottomUp #RemoveMake SudoLoop #UseAsk SaveChanges CombinedUpgrade #CleanAfter UpgradeMenu NewsOnUpgrade #SkipReview #LocalRepo #Chroot #Sign #SignDb #KeepRepoCache # # Binary OPTIONS # #[bin] #FileManager = vifm #MFlags = --skippgpcheck #Sudo = doas

pacman.conf

Details # # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives # # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ #HookDir = /etc/pacman.d/hooks/ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -L -C - -f -o %o %u #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled #Architecture = auto Architecture = x86_64 x86_64_v3 # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = #IgnoreGroup = #NoUpgrade = #NoExtract = # Misc options #UseSyslog Color ILoveCandy #NoProgressBar CheckSpace #VerbosePkgLists ParallelDownloads = 1 # By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages. SigLevel = Required DatabaseOptional LocalFileSigLevel = Optional #RemoteFileSigLevel = Required # NOTE: You must run `pacman-key --init` before first using pacman; the local # keyring can then be populated with the keys of all official Arch Linux # packagers with `pacman-key --populate archlinux`. # # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. # # The testing repositories are disabled by default. To enable, uncomment the # repo name header and Include lines. You can add preferred servers immediately # after the header, and they will be used before the default mirrors. #[testing] #Include = /etc/pacman.d/mirrorlist [core-x86-64-v3] Include = /etc/pacman.d/alhp-mirrorlist [extra-x86-64-v3] Include = /etc/pacman.d/alhp-mirrorlist [community-x86-64-v3] Include = /etc/pacman.d/alhp-mirrorlist [archlinux-club] Server = https://www.archlinux.club/x86_64/ [core] Include = /etc/pacman.d/mirrorlist [extra] Include = /etc/pacman.d/mirrorlist #[community-testing] #Include = /etc/pacman.d/mirrorlist [community] Include = /etc/pacman.d/mirrorlist # If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here. #[multilib-testing] #Include = /etc/pacman.d/mirrorlist [multilib] Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom] #SigLevel = Optional TrustAll #Server = file:///home/custompkgs
Morganamilo commented 2 years ago
if [ -n "$_use_llvm_lto" ]; then
    pkgsuffix=cachyos-lto
    pkgbase=linux-$pkgsuffix

else
    pkgsuffix=cachyos
    pkgbase=linux-$pkgsuffix
fi

Paru assumes the pkgbase doesn't change. A package should probably not be doing this but paru shouldn't crash on it.

Morganamilo commented 2 years ago

I've fixed this by making it properly error. I have no plans to make paru work with dynamic pkgnames at the moment.