Opened 11 years ago
Closed 11 years ago
#6574 closed defect (fixed)
JS broken with Perl 5.22
| Reported by: | Chris Staub | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.8 |
| Component: | BOOK | Version: | SVN |
| Severity: | medium | Keywords: | |
| Cc: |
Description
Both versions of Mozilla JS - 17.0.0 and 24.2.0 - fail to build correctly when using Perl 5.22. I found a patch here - http://svnweb.freebsd.org/ports/head/lang/spidermonkey24/files/patch-config_milestone.pl?revision=383886&view=markup - though it can be fixed with a sed:
sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl
This works for both versions of JS.
Change History (5)
comment:1 by , 11 years ago
| Type: | enhancement → defect |
|---|
comment:3 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 11 years ago
Investigating, I was able to confirm for for both js-17 and js-24 in a chroot environment.
Interesting side note: js-24 fails at configure with a python environment problem. configure works in a full up environment. The configure issue does not seem to be related to perl. If I comment out the problem lines in configure, the build works fine with the sed. Since this seems to be just a chroot issue, I'll not but anything in the book about it.

Chris, perhaps this can be called a defect. Thanks for reporting and giving the solution.
Cannot take it, because I am using perl-5.20.2.
Please, can someone examine and eventually take this ticket?