[OPEN-ILS-DEV] fedora14 SpiderMonkey vs TraceMonkey?

Grant Johnson fgjohnson at lojoh.ca
Sat Oct 1 18:14:12 EDT 2011


Hey Gents,

Lot's of logs below...
Trying to get Evergreen 2.0.9 installed on fedora14 now.
rhel proving to be unwieldy! :-)

Opensrf 2.0.1 installed and working.
All tests passed.  And I can even add 2 + 2

I am following instructions here:
http://evergreen-ils.org/dokuwiki/doku.php?id=server:2.0:install
yum'ing instead of aptitude'ing... and used a distribution target of
"fedora14".

Seems to be some dependencies not getting installed.
YAML wasn't installed - so I CPAN'd it.


Loads of stuff like the following and a complete failure after 7 min. of
screen scrolling!
I assume that fedora14 hasn't been "updated" as a target. (It's not listed
as a target - Just Debian and Ubuntu).
Something about SpiderMonkey?
Should TraceMonkey be used?  and what might be some  ramifications ?

http://blog.fpmurphy.com/2010/11/javascript-shell-on-fedora-14.html


Errors seem to start here in standard-out... Any ideas? ...
...
...

Warning: -L../js/src/Linux_All_DBG.OBJ/ changed to
-L/home/opensrf/Evergreen-ILS-2.0.9/JavaScript-SpiderMonkey-0.20/../js/src/Linux_All_DBG.OBJ/
Writing Makefile for JavaScript::SpiderMonkey
make[1]: Entering directory
`/home/opensrf/Evergreen-ILS-2.0.9/JavaScript-SpiderMonkey-0.20'
Skip blib/lib/JavaScript/SpiderMonkey.pm (unchanged)
gcc -c  -I../js/src/ -I../js/src/Linux_All_DBG.OBJ/ -D_REENTRANT
-D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"0.20\"
-DXS_VERSION=\"0.20\" -fPIC "-I/usr/lib64/perl5/CORE"  -DXP_UNIX -DE4X
SpiderMonkey.c
SpiderMonkey.xs: In function ‘getsetter_dispatcher’:
SpiderMonkey.xs:70:5: warning: cast from pointer to integer of different
size
SpiderMonkey.xs: In function ‘FunctionDispatcher’:
SpiderMonkey.xs:152:5: warning: cast from pointer to integer of different
size
SpiderMonkey.xs: In function
‘XS_JavaScript__SpiderMonkey_JS_DefineFunction’:
SpiderMonkey.xs:500:18: warning: cast from pointer to integer of different
size
SpiderMonkey.c: In function ‘XS_JavaScript__SpiderMonkey_JS_DefineObject’:
SpiderMonkey.xs:528:15: warning: unused variable ‘sv’
SpiderMonkey.c: At top level:
SpiderMonkey.xs:33:12: warning: ‘max_branch_operations’ defined but not used
Running Mkbootstrap for JavaScript::SpiderMonkey ()
chmod 644 SpiderMonkey.bs
rm -f blib/arch/auto/JavaScript/SpiderMonkey/SpiderMonkey.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
SpiderMonkey.o  -o blib/arch/auto/JavaScript/SpiderMonkey/SpiderMonkey.so
    \

-L/home/opensrf/Evergreen-ILS-2.0.9/JavaScript-SpiderMonkey-0.20/../js/src/Linux_All_DBG.OBJ
-ljs      \

chmod 755 blib/arch/auto/JavaScript/SpiderMonkey/SpiderMonkey.so
cp SpiderMonkey.bs blib/arch/auto/JavaScript/SpiderMonkey/SpiderMonkey.bs
chmod 644 blib/arch/auto/JavaScript/SpiderMonkey/SpiderMonkey.bs
Manifying blib/man3/JavaScript::SpiderMonkey.3pm
make[1]: Leaving directory
`/home/opensrf/Evergreen-ILS-2.0.9/JavaScript-SpiderMonkey-0.20'
make[1]: Entering directory
`/home/opensrf/Evergreen-ILS-2.0.9/JavaScript-SpiderMonkey-0.20'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/000readme.t ...... Failed 1/1 subtests
t/001properties.t .. Can't load
'/home/opensrf/Evergreen-ILS-2.0.9/JavaScript-SpiderMonkey-0.20/blib/arch/auto/JavaScript/SpiderMonkey/SpiderMonkey.so'
for module JavaScript::SpiderMonkey: libjs.so: cannot open shared object
file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
 at t/001properties.t line 15
Compilation failed in require at t/001properties.t line 15.
BEGIN failed--compilation aborted at t/001properties.t line 15.
t/001properties.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/002functions.t ... Can't load
'/home/opensrf/Evergreen-ILS-2.0.9/JavaScript-SpiderMonkey-0.20/blib/arch/auto/JavaScript/SpiderMonkey/SpiderMonkey.so'
for module JavaScript::SpiderMonkey: libjs.so: cannot open shared object
file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
 at t/002functions.t line 12
Compilation failed in require at t/002functions.t line 12.
BEGIN failed--compilation aborted at t/002functions.t line 12.
t/002functions.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
...
...
...

est Summary Report
-------------------
t/000readme.t    (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/001properties.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/002functions.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/003properties.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/004setget.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/005error.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/006objmeth.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/007funcret.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/00array.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/01doc-href.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/02nav-appv.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/03doc-write.t  (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/04loop.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/05form.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/06form2.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/07func.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/08func2.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/09meth.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/10elobj.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/11intret.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/12dblret.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/13strret.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/error.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=23, Tests=0,  1 wallclock secs ( 0.07 usr  0.03 sys +  1.42 cusr  0.21
csys =  1.73 CPU)
Result: FAIL
Failed 23/23 test programs. 0/0 subtests failed.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory
`/home/opensrf/Evergreen-ILS-2.0.9/JavaScript-SpiderMonkey-0.20'
make: *** [install_spidermonkey] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20111001/160ae5a7/attachment.htm>


More information about the Open-ils-dev mailing list