Opened 9 years ago

Closed 9 years ago

#6574 closed defect (fixed)

JS broken with Perl 5.22

Reported by: Chris Staub Owned by: bdubbs@…
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal 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 Fernando de Oliveira, 9 years ago

Type: enhancementdefect

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?

Last edited 9 years ago by Fernando de Oliveira (previous) (diff)

comment:2 by Fernando de Oliveira, 9 years ago

I've fixed previous comment: s/can can/can someone/

comment:3 by bdubbs@…, 9 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:4 by bdubbs@…, 9 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.

comment:5 by bdubbs@…, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 16099.

Note: See TracTickets for help on using tickets.