Hi all,
I have a build that's breaking on my Debian machine.

I think that some SCons parsing removes `gcc` leaving only "o" as a
command (probably "o" as an "output file" option passed to GCC).

Would somebody know this one off the shelf, or I will have to dig into
the build scripts?

BR,
Drasko


drasko at Hegel:~/iotivity$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
drasko at Hegel:~/iotivity$ scons
scons: Reading SConscript files ...
Checking for C library boost_program_options... (cached) yes
Checking for C library boost_program_options... (cached) yes
Checking for C library boost_program_options... (cached) yes
Checking for C library boost_program_options... (cached) yes
Checking for C library boost_program_options... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C library boost_system... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: out/linux/x86_64/release
gcc -o out/linux/x86_64/release/extlibs/cjson/cJSON.o -c -std=c99
-Wall -fPIC -Os -m64 -DNDEBUG -DWITH_POSIX
-Iout/linux/x86_64/release/extlibs/cjson -Iextlibs/cjson
-Iout/linux/x86_64/release/resource/csdk/ocsocket/include
-Iresource/csdk/ocsocket/include
-Iout/linux/x86_64/release/resource/csdk/logger/include
-Iresource/csdk/logger/include
-Iout/linux/x86_64/release/resource/csdk/ocrandom/include
-Iresource/csdk/ocrandom/include
-Iout/linux/x86_64/release/resource/csdk/ocmalloc/include
-Iresource/csdk/ocmalloc/include
-Iout/linux/x86_64/release/resource/csdk/libcoap
-Iresource/csdk/libcoap
-Iout/linux/x86_64/release/resource/csdk/occoap/include
-Iresource/csdk/occoap/include
-Iout/linux/x86_64/release/resource/csdk/stack/include
-Iresource/csdk/stack/include
-Iout/linux/x86_64/release/resource/csdk/stack/include/internal
-Iresource/csdk/stack/include/internal
-Iout/linux/x86_64/release/resource/oc_logger/include
-Iresource/oc_logger/include -Iextlibs/cereal/include
extlibs/cjson/cJSON.c
gcc -o out/linux/x86_64/release/extlibs/cjson/cJSON.os -c -std=c99
-Wall -fPIC -Os -m64 -fPIC -DNDEBUG -DWITH_POSIX
-Iout/linux/x86_64/release/extlibs/cjson -Iextlibs/cjson
-Iout/linux/x86_64/release/resource/csdk/ocsocket/include
-Iresource/csdk/ocsocket/include
-Iout/linux/x86_64/release/resource/csdk/logger/include
-Iresource/csdk/logger/include
-Iout/linux/x86_64/release/resource/csdk/ocrandom/include
-Iresource/csdk/ocrandom/include
-Iout/linux/x86_64/release/resource/csdk/ocmalloc/include
-Iresource/csdk/ocmalloc/include
-Iout/linux/x86_64/release/resource/csdk/libcoap
-Iresource/csdk/libcoap
-Iout/linux/x86_64/release/resource/csdk/occoap/include
-Iresource/csdk/occoap/include
-Iout/linux/x86_64/release/resource/csdk/stack/include
-Iresource/csdk/stack/include
-Iout/linux/x86_64/release/resource/csdk/stack/include/internal
-Iresource/csdk/stack/include/internal
-Iout/linux/x86_64/release/resource/oc_logger/include
-Iresource/oc_logger/include -Iextlibs/cereal/include
extlibs/cjson/cJSON.c
o 
out/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/DiscomfortIndexSensor.os
-c -std=c++0x -Wall -DLINUX -pthread -Os -m64 -fPIC -fPIC -DNDEBUG
-Iextlibs/cereal/include -Iresource -Iresource/include
-Iresource/oc_logger/include -Iresource/csdk/stack/include
-Iresource/csdk/ocsocket/include -Iresource/csdk/ocrandom/include
-Iresource/csdk/logger/include
-Iout/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/include
-Iservice/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/include
-Iout/linux/x86_64/release/service/soft-sensor-manager/SSMCore/src/SSMInterface
-Iservice/soft-sensor-manager/SSMCore/src/SSMInterface
service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/DiscomfortIndexSensor.cpp
sh: 1: o: not found
o 
out/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/SysTimer.os
-c -std=c++0x -Wall -DLINUX -pthread -Os -m64 -fPIC -fPIC -DNDEBUG
-Iextlibs/cereal/include -Iresource -Iresource/include
-Iresource/oc_logger/include -Iresource/csdk/stack/include
-Iresource/csdk/ocsocket/include -Iresource/csdk/ocrandom/include
-Iresource/csdk/logger/include
-Iout/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/include
-Iservice/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/include
-Iout/linux/x86_64/release/service/soft-sensor-manager/SSMCore/src/SSMInterface
-Iservice/soft-sensor-manager/SSMCore/src/SSMInterface
service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/SysTimer.cpp
sh: 1: o: not found
o 
out/linux/x86_64/release/service/soft-sensor-manager/libDiscomfortIndexSensor.so
-s -m64 -shared
out/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/DiscomfortIndexSensor.os
out/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/SysTimer.os
-Lout/linux/x86_64/release -L. -lboost_thread -lboost_system
sh: 1: o: not found
Install file: 
"out/linux/x86_64/release/service/soft-sensor-manager/libDiscomfortIndexSensor.so"
as "out/linux/x86_64/release/libDiscomfortIndexSensor.so"
scons: *** [out/linux/x86_64/release/libDiscomfortIndexSensor.so]
out/linux/x86_64/release/service/soft-sensor-manager/libDiscomfortIndexSensor.so:
No such file or directory
scons: building terminated because of errors.
drasko at Hegel:~/iotivity$

Reply via email to