Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614094 - sys-apps/yarn-0.21.3: Missing executable flags
Summary: sys-apps/yarn-0.21.3: Missing executable flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: tsmksubc
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2017-03-27 19:04 UTC by Daniel Augustin
Modified: 2017-04-29 00:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Augustin 2017-03-27 19:04:14 UTC
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.
Comment 1 Harri Nieminen (Moiman) 2017-03-28 16:12:58 UTC
Do you mean sys-apps/yarn?
Comment 2 Daniel Augustin 2017-03-28 21:38:39 UTC
Sorry, of course it was sys-apps/yarn...