Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 540876

Summary: [mozilla overlay] dev-lang/spidermonkey-31.2.0_rc0 - broken symlinks in /usr/include/mozjs-31/
Product: Gentoo Linux Reporter: Nils Freydank <holgersson>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal CC: blshadow, endymion+gentoo, holgersson, jj, nikoli, russell, sven.koehler, tdalman, walch.martin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 543344    

Description Nils Freydank 2015-02-21 06:50:09 UTC
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/
Comment 1 Tolga Dalman 2015-03-15 15:01:54 UTC
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.
Comment 2 Tolga Dalman 2015-03-15 15:15:05 UTC
Reported upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1143421
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2015-07-22 01:59:20 UTC
I'll look into this when I update the ebuild to 31.5
Comment 4 Jory A. Pratt gentoo-dev 2017-08-26 17:56:20 UTC
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