aegypius / overlay

Gentoo overlay
http://aegypius.github.io/overlay/
31 stars 8 forks source link

[Linux>Gentoo] emerge app-editors/atom-bin-1.18.0::aegypius failed #65

Closed FlorentDancy closed 7 years ago

FlorentDancy commented 7 years ago

Hi,

I can't install the latest version of Atom Bin on Gentoo. Considering the error log, looks like a typo somewhere maybe? I've checked the different paths in the ebuild, but can't manage to find anything weird... :/

If you need more info, don't hesitate to reach out to me!

Thanks,

Flo


Error

>>> Install atom-bin-1.18.0 into /var/tmp/portage/app-editors/atom-bin-1.18.0/image/ category app-editors
chmod: cannot access '/var/tmp/portage/app-editors/atom-bin-1.18.0/image//usr/share/atom/resources/app/node_modules/github/bin/*': No such file or directory
 * ERROR: app-editors/atom-bin-1.18.0::aegypius failed (install phase):
 *   fperms failed
 * 
 * If you need support, post the output of `emerge --info '=app-editors/atom-bin-1.18.0::aegypius'`,
 * the complete build log and the output of `emerge -pqv '=app-editors/atom-bin-1.18.0::aegypius'`.
 * The complete build log is located at '/var/tmp/portage/app-editors/atom-bin-1.18.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/atom-bin-1.18.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-editors/atom-bin-1.18.0/work/atom-bin-1.18.0'
 * S: '/var/tmp/portage/app-editors/atom-bin-1.18.0/work/atom-bin-1.18.0'

OS Version

$ uname -a
Linux faisan2 4.11.1-gentoo #1 SMP Mon May 15 11:10:57 PDT 2017 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux
aegypius commented 7 years ago

Thanks for the report, I will check that as soon as I can. It's seem that it's related to the new git/github integration. I struggled to get it working I may have forgotten something.

FlorentDancy commented 7 years ago

@aegypius thanks for your quick answer, and good luck in the resolution of this issue!

aegypius commented 7 years ago

That's weird ! I just successfully build this package on my desktop, I am trying to build it on a vanilla gentoo in the meantime could you share me /var/tmp/portage/app-editors/atom-bin-1.18.0/temp/build.log on https://pastebin.com/ or https://gist.github.com/ ?

FlorentDancy commented 7 years ago

@aegypius here it is! https://gist.github.com/FlorentDancy/3d4a833c6fe3eede3f9402d4d3a53124

aegypius commented 7 years ago

Thanks ! Not as verbose as I would think. Nevermind, once I am able to reproduce this failure, I might have a clue. Have you tried to install it several times ?

FlorentDancy commented 7 years ago

I haven't. I just tried yesterday to upgrade it to 1.18.0, that's it!

hobbit-lol commented 7 years ago

Same problem with exactly the same error.log, tried several times.

aegypius commented 7 years ago

Thanks for the update. I will try to figure this out.

aegypius commented 7 years ago

Ok, I still fail to reproduce your error. I just created an testing ebuild that skip the fperm stuff on github atom package. Could you try it ? You can use the following command :

sudo sh -c 'ACCEPT_KEYWORDS="**" emerge -1 =app-editors/atom-bin-9999'

Thanks for your patience

steffenweber commented 7 years ago

I had the same issue. A workaround was to remove all four fperms lines referring to node_modules/github and node_modules/dugite. Then Atom installed (but Git integration was broken, of course).

Now atom-bin-1.18.0-r1 has fixed the problem for me, it works out of the box.

aegypius commented 7 years ago

Thanks @steffenweber for the report ! @FlorentDancy & @hobbit-lol does app-editors/atom-bin-1.18.0-r1 fixed the problem for you too ?

hobbit-lol commented 7 years ago

@aegypius same error as before https://gist.github.com/hobbit-lol/53ed9aba58f3ffa73bbcb5a0c0ab3738

aegypius commented 7 years ago

Thanks @hobbit-lol, could you try with

sudo sh -c 'ACCEPT_KEYWORDS="**" emerge -1 =app-editors/atom-bin-9999'

I skipped your fperms failure (unless the debug USE flag is set) to see if its the only problem you have is regarding to github package.

hobbit-lol commented 7 years ago

@aegypius I think fperms doesn't work well with wildcards, I just replace fperms lines @steffenweber mentioned before with fperms -R without wildcard, and that works fine.

hobbit-lol commented 7 years ago

@aegypius atom-bin-9999 fails with https://gist.github.com/hobbit-lol/449767bdbf7af844842339b4042f3eed

aegypius commented 7 years ago

@hobbit-lol

@aegypius I think fperms doesn't work well with wildcards, I just replace fperms lines @steffenweber mentioned before with fperms -R without wildcard, and that works fine.

I will try that !

aegypius commented 7 years ago

@FlorentDancy @hobbit-lol I just published a new take for app-editors/atom-bin-9999, I hope everyhting will work now

FlorentDancy commented 7 years ago

@aegypius it works for me: was able to emerge atom-bin, and they open Atom!

Thanks :)

aegypius commented 7 years ago

Fixed in app-editors/atom-bin-0.18.0-r2, feel free to update to this version

FlorentDancy commented 7 years ago

I just installed it and it works perfectly. Thanks again @aegypius!

aegypius commented 7 years ago

You're welcome !