Package Details: lib32-js 24.2.0-2

Git Clone URL: https://aur.archlinux.org/lib32-js.git (read-only)
Package Base: lib32-js
Description: JavaScript interpreter and libraries (32-bit)
Upstream URL: https://developer.mozilla.org/En/SpiderMonkey/24
Licenses: MPL
Submitter: jtts
Maintainer: wookietreiber
Last Packager: wookietreiber
Votes: 58
Popularity: 0.000000
First Submitted: 2012-11-01 02:21
Last Updated: 2015-06-13 09:55

Latest Comments

ripps818 commented on 2014-07-05 07:03

Build fails during check():

TEST-PASS | testToInt8 | ok
testToUint8TwiceUint8Range
Traceback (most recent call last):
File "./jit-test/jit_test.py", line 17, in <module>
import jittests
File "/tmp/yaourt-tmp-ripps/aur-lib32-js/src/mozjs-24.2.0/js/src/tests/lib/jittests.py", line 22, in <module>
from progressbar import ProgressBar, NullProgressBar
ImportError: cannot import name NullProgressBar
TEST-PASS | testToUint8TwiceUint8Range | ok
testStringBuffer_finishString
Makefile:312: recipe for target 'check-jit-test' failed
make: *** [check-jit-test] Error 1
make: *** Waiting for unfinished jobs....

I have both python-progressbar and python2-progressbar installed

Roken commented on 2014-05-02 16:18

Well, it seems 24.2.0-2 fixes what ailed it. It just built fine here, now.

lluixhi commented on 2014-05-02 13:45

@techmunk with that diff I was able to get further, but it's still failing on a test:

FAILURES:
--ion-eager lib32-js/src/mozjs-24.2.0/js/src/jit-test/tests/basic/bug698584.js
TIMEOUTS:
Makefile:312: recipe for target 'check-jit-test' failed
make: *** [check-jit-test] Error 2
==> ERROR: A failure occurred in check().

lluixhi commented on 2014-05-02 13:44

@techmunk with that diff, I got further, but now it's failing on a test.

FAILURES:
--ion-eager /tmp/pacaurtmp-adb/lib32-js/src/mozjs-24.2.0/js/src/jit-test/tests/basic/bug698584.js
TIMEOUTS:
Makefile:312: recipe for target 'check-jit-test' failed
make: *** [check-jit-test] Error 2
==> ERROR: A failure occurred in check().

techmunk commented on 2014-05-02 01:11

I was able to fix this with this diff.

http://pastebin.com/gSkHVEFF

techmunk commented on 2014-05-02 01:10

I was able to fix this with this diff.


--- ../lib32-js-virgin/PKGBUILD 2014-04-27 21:34:36.000000000 +1000
+++ PKGBUILD 2014-05-02 10:58:40.771147474 +1000
@@ -29,7 +29,8 @@ build() {

export CC='gcc -m32'
export CXX='g++ -m32'
- export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+ export PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig
+ export AR=ar

# FORTIFY_SOURCE causes errors
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=+([0-9])/}"
@@ -39,7 +40,7 @@ build() {
# there is no 32-bit nspr-config, so manual cflags and libs
# TODO update once in a while
./configure --prefix=/usr \
- --target=i686-pc-linux-gnu \
+ --target=i686-pc-linux \
--libdir=/usr/lib32 \
--with-nspr-cflags='-I/usr/include/nspr' \
--with-nspr-libs='-L/usr/lib32 -lplds4 -lplc4 -lnspr4 -lpthread' \

wookietreiber commented on 2014-04-29 21:03

Sorry for the inconvenience, I get the same error now, too. I did, however, succussfully build it on April 27:

$ pacman -Qi lib32-js | head -2
Name : lib32-js
Version : 24.2.0-1

I still wonder, what the difference is between now and my successful build on Apr 27 ... the error seems to suggest it is about the static lib. Anyone has enough time to fiddle around with it, because I, unfortunately, do not?

contrebasse commented on 2014-04-29 19:03

I have the same error.

Roken commented on 2014-04-29 06:46

I'm getting teh same build failure:

g++ -m32 -o pm_linux.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/pm_linux.o.pp /tmp/packerbuild-1000/lib32-js/lib32-js/src/mozjs-24.2.0/js/src/perf/pm_linux.cpp
rm -f libjs_static.a libjs_static.a.desc
/tmp/packerbuild-1000/lib32-js/lib32-js/src/mozjs-24.2.0/js/src/_virtualenv/bin/python ./config/expandlibs_exec.py --depend .deps/.//libjs_static.a.pp --target libjs_static.a --extract -- : cr libjs_static.a bignum-dtoa.o bignum.o cached-powers.o diy-fp.o double-conversion.o fast-dtoa.o fixed-dtoa.o strtod.o HashFunctions.o Poison.o SHA1.o Decimal.o ArgumentsObject.o BytecodeCompiler.o BytecodeEmitter.o CharacterEncoding.o DateTime.o Debugger.o Eval.o ExecutableAllocator.o FoldConstants.o ForkJoin.o GlobalObject.o Interpreter.o Intl.o Iteration.o LifoAlloc.o MapObject.o Marking.o Memory.o Module.o Monitor.o NameFunctions.o Nursery.o Object.o ObjectImpl.o PageBlock.o ParallelArray.o ParseMaps.o ParseNode.o Parser.o Probes.o Profilers.o PropertyKey.o RegExp.o RegExpObject.o RegExpStatics.o RootMarking.o SPSProfiler.o ScopeObject.o SelfHosting.o Shape.o Stack.o Statistics.o StoreBuffer.o String.o StringBuffer.o TestingFunctions.o ThreadPool.o TokenStream.o Unicode.o Verifier.o Xdr.o YarrCanonicalizeUCS2.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o Zone.o jsalloc.o jsanalyze.o jsapi.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jscrashreport.o jsdate.o jsdbgapi.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsinfer.o jsiter.o jsmath.o jsmemorymetrics.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsperf.o jsprf.o jspropertytree.o jsproxy.o jsreflect.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswatchpoint.o jsweakmap.o jsworkers.o jswrapper.o prmjtime.o sharkctl.o AliasAnalysis.o AsmJS.o AsmJSLink.o AsmJSSignalHandlers.o BacktrackingAllocator.o Bailouts.o BaselineBailouts.o BaselineCompiler-shared.o BaselineCompiler.o BaselineFrame.o BaselineFrameInfo.o BaselineIC.o BaselineInspector.o BaselineJIT.o BitSet.o BytecodeAnalysis.o C1Spewer.o CodeGenerator-shared.o CodeGenerator.o EdgeCaseAnalysis.o EffectiveAddressAnalysis.o Ion.o IonAnalysis.o IonBuilder.o IonCaches.o IonFrames.o IonMacroAssembler.o IonSpewer.o JSONSpewer.o PerfSpewer.o LICM.o LIR.o LinearScan.o LiveRangeAllocator.o Lowering-shared.o Lowering.o MCallOptimize.o MIR.o MIRGraph.o MoveResolver.o ParallelArrayAnalysis.o ParallelFunctions.o RangeAnalysis.o RegisterAllocator.o Safepoints.o Snapshots.o StupidAllocator.o TypePolicy.o UnreachableCodeElimination.o VMFunctions.o ValueNumbering.o Assembler-x86-shared.o BaselineCompiler-x86-shared.o BaselineIC-x86-shared.o CodeGenerator-x86-shared.o IonFrames-x86-shared.o Lowering-x86-shared.o MoveEmitter-x86-shared.o Assembler-x86.o Bailouts-x86.o BaselineCompiler-x86.o BaselineIC-x86.o CodeGenerator-x86.o Lowering-x86.o MacroAssembler-x86.o Trampoline-x86.o ExecutableAllocatorPosix.o OSAllocatorPosix.o ARMAssembler.o MacroAssemblerARM.o MacroAssemblerX86Common.o YarrJIT.o pm_linux.o
Traceback (most recent call last):
File "./config/expandlibs_exec.py", line 340, in <module>
main()
File "./config/expandlibs_exec.py", line 321, in main
proc = subprocess.Popen(args, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
File "/usr/lib64/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
config/rules.mk:963: recipe for target 'libjs_static.a' failed
make[1]: *** [libjs_static.a] Error 1
make[1]: Leaving directory '/tmp/packerbuild-1000/lib32-js/lib32-js/src/mozjs-24.2.0/js/src'
config/rules.mk:678: recipe for target 'default' failed
make: *** [default] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

Roken commented on 2014-04-29 06:45

I'm getting the same build failure. A bit more of the trace:

[code]g++ -m32 -o pm_linux.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I./../../intl/icu/source/common -I./../../intl/icu/source/i18n -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/pm_linux.o.pp /tmp/packerbuild-1000/lib32-js/lib32-js/src/mozjs-24.2.0/js/src/perf/pm_linux.cpp
rm -f libjs_static.a libjs_static.a.desc
/tmp/packerbuild-1000/lib32-js/lib32-js/src/mozjs-24.2.0/js/src/_virtualenv/bin/python ./config/expandlibs_exec.py --depend .deps/.//libjs_static.a.pp --target libjs_static.a --extract -- : cr libjs_static.a bignum-dtoa.o bignum.o cached-powers.o diy-fp.o double-conversion.o fast-dtoa.o fixed-dtoa.o strtod.o HashFunctions.o Poison.o SHA1.o Decimal.o ArgumentsObject.o BytecodeCompiler.o BytecodeEmitter.o CharacterEncoding.o DateTime.o Debugger.o Eval.o ExecutableAllocator.o FoldConstants.o ForkJoin.o GlobalObject.o Interpreter.o Intl.o Iteration.o LifoAlloc.o MapObject.o Marking.o Memory.o Module.o Monitor.o NameFunctions.o Nursery.o Object.o ObjectImpl.o PageBlock.o ParallelArray.o ParseMaps.o ParseNode.o Parser.o Probes.o Profilers.o PropertyKey.o RegExp.o RegExpObject.o RegExpStatics.o RootMarking.o SPSProfiler.o ScopeObject.o SelfHosting.o Shape.o Stack.o Statistics.o StoreBuffer.o String.o StringBuffer.o TestingFunctions.o ThreadPool.o TokenStream.o Unicode.o Verifier.o Xdr.o YarrCanonicalizeUCS2.o YarrInterpreter.o YarrPattern.o YarrSyntaxChecker.o Zone.o jsalloc.o jsanalyze.o jsapi.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jscrashreport.o jsdate.o jsdbgapi.o jsdtoa.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsinfer.o jsiter.o jsmath.o jsmemorymetrics.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsperf.o jsprf.o jspropertytree.o jsproxy.o jsreflect.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswatchpoint.o jsweakmap.o jsworkers.o jswrapper.o prmjtime.o sharkctl.o AliasAnalysis.o AsmJS.o AsmJSLink.o AsmJSSignalHandlers.o BacktrackingAllocator.o Bailouts.o BaselineBailouts.o BaselineCompiler-shared.o BaselineCompiler.o BaselineFrame.o BaselineFrameInfo.o BaselineIC.o BaselineInspector.o BaselineJIT.o BitSet.o BytecodeAnalysis.o C1Spewer.o CodeGenerator-shared.o CodeGenerator.o EdgeCaseAnalysis.o EffectiveAddressAnalysis.o Ion.o IonAnalysis.o IonBuilder.o IonCaches.o IonFrames.o IonMacroAssembler.o IonSpewer.o JSONSpewer.o PerfSpewer.o LICM.o LIR.o LinearScan.o LiveRangeAllocator.o Lowering-shared.o Lowering.o MCallOptimize.o MIR.o MIRGraph.o MoveResolver.o ParallelArrayAnalysis.o ParallelFunctions.o RangeAnalysis.o RegisterAllocator.o Safepoints.o Snapshots.o StupidAllocator.o TypePolicy.o UnreachableCodeElimination.o VMFunctions.o ValueNumbering.o Assembler-x86-shared.o BaselineCompiler-x86-shared.o BaselineIC-x86-shared.o CodeGenerator-x86-shared.o IonFrames-x86-shared.o Lowering-x86-shared.o MoveEmitter-x86-shared.o Assembler-x86.o Bailouts-x86.o BaselineCompiler-x86.o BaselineIC-x86.o CodeGenerator-x86.o Lowering-x86.o MacroAssembler-x86.o Trampoline-x86.o ExecutableAllocatorPosix.o OSAllocatorPosix.o ARMAssembler.o MacroAssemblerARM.o MacroAssemblerX86Common.o YarrJIT.o pm_linux.o
Traceback (most recent call last):
File "./config/expandlibs_exec.py", line 340, in <module>
main()
File "./config/expandlibs_exec.py", line 321, in main
proc = subprocess.Popen(args, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
File "/usr/lib64/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
config/rules.mk:963: recipe for target 'libjs_static.a' failed
make[1]: *** [libjs_static.a] Error 1
make[1]: Leaving directory '/tmp/packerbuild-1000/lib32-js/lib32-js/src/mozjs-24.2.0/js/src'
config/rules.mk:678: recipe for target 'default' failed
make: *** [default] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
[/code]

All comments