Skip to content

Linux - fails at building libjs with mutliple jobs allowed #3

@JensAyton

Description

@JensAyton

BerliOS bug #18624
(Category: OS specific, Priority: 5)

Submitted by: lonevvolf

OOlite versions 1.76.1, 1.76 , 1.75.x
GCC ObjC version : 4.7.0 , 4.6.x

Commands :

sed -i "/ADDITIONAL_OBJCFLAGS/s/=/= -fobjc-exceptions/" GNUmakefile
make -f libjs.make debug=no
make -f Makefile release

Output

Updating Javascript sources...

cd deps/Cocoa-deps/scripts && ./update-mozilla.sh

Configuring Javascript library...

cd deps/Cross-platform-deps/mozilla/js/src/build-release && ../configure --disable-shared-js --enable-threadsafe --with-system-nspr --disable-tests --enable-trace-jscalls
libjs not present, initial download needed.
Downloading libjs source from http://jens.ayton.se/oolite/deps/firefox-4.0.source.js-only.tbz...
/bin/sh: line 0: cd: deps/Cross-platform-deps/mozilla/js/src/build-release: No such file or directory
make: *** [deps/Cross-platform-deps/mozilla/js/src/build-release/config_stamp] Error 1
make: *** Waiting for unfinished jobs....
Download complete, expanding archive...
Cleaning up.
Successfully updated libjs.
mkdir -p deps/Cross-platform-deps/mozilla/js/src/build-release
==> ERROR: A failure occurred in build().
Aborting...

workaround :

MAKEFLAGS="$MAKEFLAGS -j1"
sed -i "/ADDITIONAL_OBJCFLAGS/s/=/= -fobjc-exceptions/" GNUmakefile
make -f libjs.make debug=no
make -f Makefile release

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions