When I build spidermonkey:31 (dev-lang/spidermonkey-31.2.0_rc0:31::mozilla) there are many broken symlinks in /usr/include/mozjs-31/. They do point to a directory in /var/tmp/portage, obviously some build directory. If you need more informations please tell :) HTH, holgersson Reproducible: Always Steps to Reproduce: 1. layman -S mozilla 2. emerge -1 spidermonkey:31 3. ls -l /usr/include/mozjs-31/
Out of curiosity, I investigated a bit on this. Obviously, it is intended to install the includes as symlinks. The rules are defined here: js/src/_build_manifests/install/dist_include "1" before each entry means symlink, while we would need "2" (i.e., copy -- see python/mozbuild/mozpack/manifests.py for the details). An easy fix would be to invoke a sed -e 's/^1/2/' on dist_include (or all dist_* manifest files to prevent future problems). Works fine so far. Also note that SpiderMonkey 31.5.0 is available.
Reported upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1143421
I'll look into this when I update the ebuild to 31.5
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system. Thank You for your support and understanding The Mozilla Team