Skip to content

Kernel upgrade breaks yarn

Description:

yarn install fails after upgrading from linux-6.8.9.arch1-2-x86_64 to linux-6.9.1.arch1-1-x86_64

Additional info:

  • package version(s): 1.22.2 (Also happens with yarn 3.7.0)
  • config and/or log files: N/A
  • link to upstream bug report, if any: Not an upstream report, but helped me to identify the problem: https://bugs.gentoo.org/931942

Steps to reproduce:

  1. Install updates including a 6.9 kernel
  2. Run yarn install
  3. Check output for failing module builds. In log files, errors can be found like this:
# This file contains the result of Yarn building a package (@swc/core@yarn:3.7.0)
# Script name: postinstall

Error: spawn ETXTBSY
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at Object.spawn (node:child_process:760:9)

Steps to remedy

Downgrade kernel to version 6.8.9

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information