Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot autobuilder: make[2]: c: Command not found
@ 2018-12-05  7:29 Alexey Brodkin
  2018-12-05  8:06 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Brodkin @ 2018-12-05  7:29 UTC (permalink / raw)
  To: buildroot

Hi Yann,

Just got a report about failed build, see
http://autobuild.buildroot.net/results/cb5/cb555a124bb3bdb9c5a3465673c21022d94cf2ca/

But there's definitely something strange there as instead of "gcc" command "c" gets executed,
see http://autobuild.buildroot.net/results/cb5/cb555a124bb3bdb9c5a3465673c21022d94cf2ca//build-end.log:
------------------------>8-----------------------
c -o option.o -pipe -ffunction-sections -O2 -g  -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/library -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-
5.6.3/qmake/generators -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/generators/unix
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/generators/win32 -I/home/buildroot/autobuild/run/instance-
0/output/build/qt5base-5.6.3/qmake/generators/mac -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/generators/integrity
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/include -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-
5.6.3/include/QtCore -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/include/QtCore/5.6.3
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/include/QtCore/5.6.3/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/mkspecs/linux-g++ -I/home/buildroot/autobuild/run/instance-
0/output/build/qt5base-5.6.3/tools/shared -DQT_VERSION_STR=\"5.6.3\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=6 -DQT_VERSION_PATCH=3 -DQT_BUILD_QMAKE
-DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT
-DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS
/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/option.cpp
make[2]: c: Command not found

make[2]: [option.o] Error 127 (ignored)
c -o property.o -pipe -ffunction-sections -O2 -g  -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/library -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-
5.6.3/qmake/generators -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/generators/unix
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/generators/win32 -I/home/buildroot/autobuild/run/instance-
0/output/build/qt5base-5.6.3/qmake/generators/mac -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/generators/integrity
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/include -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-
5.6.3/include/QtCore -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/include/QtCore/5.6.3
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/include/QtCore/5.6.3/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP
-I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/mkspecs/linux-g++ -I/home/buildroot/autobuild/run/instance-
0/output/build/qt5base-5.6.3/tools/shared -DQT_VERSION_STR=\"5.6.3\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=6 -DQT_VERSION_PATCH=3 -DQT_BUILD_QMAKE
-DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT
-DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS
/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake/property.cpp
make[2]: c: Command not found
------------------------>8-----------------------

Any thoughts?

-Alexey

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Buildroot autobuilder: make[2]: c: Command not found
  2018-12-05  7:29 [Buildroot] Buildroot autobuilder: make[2]: c: Command not found Alexey Brodkin
@ 2018-12-05  8:06 ` Yann E. MORIN
  2018-12-05 10:35   ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2018-12-05  8:06 UTC (permalink / raw)
  To: buildroot

Alexey, All,

On 2018-12-05 07:29 +0000, Alexey Brodkin spake thusly:
> Just got a report about failed build, see
> http://autobuild.buildroot.net/results/cb5/cb555a124bb3bdb9c5a3465673c21022d94cf2ca/
> 
> But there's definitely something strange there as instead of "gcc" command "c" gets executed,
> see http://autobuild.buildroot.net/results/cb5/cb555a124bb3bdb9c5a3465673c21022d94cf2ca//build-end.log:
> ------------------------>8-----------------------
> c -o option.o -pipe -ffunction-sections -O2 -g  -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake
[--SNIP--]
> make[2]: c: Command not found

It furiously looks like a variable was expanded to an empty string, and
thus a command in the form of:
    $(CC) -c -o blabla

got turned into this:
    -c -o blabla

which make interprets as running the 'c' command with blabla params,
but the leading dash instructs it to ignore any failure.

I've spun a build here to investigate. If I can't reproduce lcoally, I'll
see to try and reproduce it on my autobuild instance.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Buildroot autobuilder: make[2]: c: Command not found
  2018-12-05  8:06 ` Yann E. MORIN
@ 2018-12-05 10:35   ` Yann E. MORIN
  0 siblings, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2018-12-05 10:35 UTC (permalink / raw)
  To: buildroot

Alexey, All,

On 2018-12-05 09:06 +0100, Yann E. MORIN spake thusly:
> On 2018-12-05 07:29 +0000, Alexey Brodkin spake thusly:
> > Just got a report about failed build, see
> > http://autobuild.buildroot.net/results/cb5/cb555a124bb3bdb9c5a3465673c21022d94cf2ca/
> > 
> > But there's definitely something strange there as instead of "gcc" command "c" gets executed,
> > see http://autobuild.buildroot.net/results/cb5/cb555a124bb3bdb9c5a3465673c21022d94cf2ca//build-end.log:
> > ------------------------>8-----------------------
> > c -o option.o -pipe -ffunction-sections -O2 -g  -I/home/buildroot/autobuild/run/instance-0/output/build/qt5base-5.6.3/qmake
> [--SNIP--]
> > make[2]: c: Command not found
> I've spun a build here to investigate. If I can't reproduce lcoally, I'll
> see to try and reproduce it on my autobuild instance.

Unsurprisingly, I was not able to reproduce on my machine, but it indeed
breaks systematically on my autobuilder (i.e. it is not a fluke or a
parallel build issue.

I reverted c2ea056a1b (package/qt5/qt5base: use ccache for building host
code) and qt5base now builds again.

I'm investigating...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-05 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-05  7:29 [Buildroot] Buildroot autobuilder: make[2]: c: Command not found Alexey Brodkin
2018-12-05  8:06 ` Yann E. MORIN
2018-12-05 10:35   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox