Error building Gateway Agent: scons: *** [ws] Error 1

asked 2015-03-17 16:16:17 -0700

wongni gravatar image

updated 2015-03-17 16:16:43 -0700

I am following the steps in https://wiki.allseenalliance.org/gateway/getting_started . However, I encountered a build error in Building the Gateway Agent.

$ scons BINDINGS=cpp OS=linux CPU=x86 VARIANT=debug BUILD_SERVICES_SAMPLES=off POLICYDB=on ALLJOYN_DISTDIR=$AJ_ROOT/core/alljoyn/build/linux/x86/debug/dist
scons: Reading SConscript files ...
BULLSEYE_BIN not specified
GTEST_DIR not specified skipping common unit test build
BULLSEYE_BIN not specified
GTEST_DIR not specified skipping About Service unit test build
GTEST_DIR not specified skipping alljoyn_core unit test build

scons: warning: Ignoring missing SConscript 'build/linux/x86/debug/obj/services/about/SConscript'
File "/home/sesa288124/alljoyn/core/alljoyn/alljoyn_core/samples/eventaction/SConscript", line 35, in <module>
scons: done reading SConscript files.
scons: Building targets ...
wsbuild(["ws"], ["/home/sesa288124/alljoyn/core/alljoyn/build_core/$DISTDIR"])
Evaluating whitespace compliance...
Config: /home/sesa288124/alljoyn/core/alljoyn/build_core/tools/conf/ajuncrustify.cfg
Note: enter 'scons -h' to see whitespace (WS) options
whitespace check /home/sesa288124/alljoyn/core/alljoyn/build_core/tools/conf/ajuncrustify.cfg
WS total run time: 0.01 seconds
scons: *** [ws] Error 1
scons: building terminated because of errors.
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-03-19 15:39:21 -0700

georgen gravatar image

@wongni we updated the tool used to check the whitespace this week from uncrustify v0.57 to uncrustify v0.61 it looks like the Gatway Agent is still pointing to the older config file that was renamed from ajuncrustify.cfg to ajuncrustify.0.57.cfg. It looks like the Gateway Agent still needs to be updated. Till it is updated using the build option WS=off is perfectly acceptable.

edit flag offensive delete publish link more

answered 2015-03-18 07:12:15 -0700

wongni gravatar image

I added "WS=off' to scons build options to work around the issue. Now I don't have any build errors.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-03-17 16:16:17 -0700

Seen: 209 times

Last updated: Mar 17 '15