The current yarn ebuild is missing executable flags on "node-gyp". Example of building cerebros: yarn install v0.21.3 [1/4] Resolving packages... [2/4] Fetching packages... (...) [3/4] Linking dependencies... (...) [4/4] Building fresh packages... [1/3] ⠂ chromedriver [2/3] ⠂ electron-prebuilt [3/3] ⠂ nslog [-/3] ⠂ waiting... error (...)/cerebro-0.2.7/node_modules/nslog: Command failed. Exit code: 126 Command: sh Arguments: -c node-gyp rebuild Directory: (...)/cerebro-0.2.7/node_modules/nslog Output: sh: /usr/lib64/node_modules/yarn/bin/node-gyp-bin/node-gyp: Permission denied info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. # ls -l /usr/lib64/node_modules/yarn/bin/node-gyp-bin/node-gyp -rw-r--r-- 1 root root 172 Mar 27 21:00 /usr/lib64/node_modules/yarn/bin/node-gyp-bin/node-gyp After +x on this file, yarn builds.
Do you mean sys-apps/yarn?
Sorry, of course it was sys-apps/yarn...
Fixed in yarn-0.21.3-r1: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5855a264086df35ad224c20f44c024316e0f3e