nerves-web-kiosk / kiosk_system_rpi3

Nerves QtWebEngine Kiosk system for Raspberry Pi 3
Apache License 2.0
67 stars 25 forks source link

Build error trying to build qt5webkit 5.8.0 via Docker #2

Closed orestis closed 7 years ago

orestis commented 7 years ago

I got this:

>>> qt5webkit 5.8.0 Building...........................................................................................................................................................................................................................................................................could not compile dependency :kiosk_system_rpi3, "mix compile" failed. You can recompile this dependency with "mix deps.compile kiosk_system_rpi3", update it with "mix deps.update kiosk_system_rpi3" or clean it with "mix deps.clean kiosk_system_rpi3"
==> fw
** (Mix) Nerves Docker provider encountered an error.
See build.log for more details.

And relevant final lines of build.log:

{standard input}: Assembler messages:
{standard input}:121567: Warning: end of file not at end of a line; newline inserted
{standard input}:123010: Error: unrecognized symbol type ""
arm-unknown-linux-gnueabihf-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [.obj/inspector/InspectorAllInOne.o] Error 4
Makefile.WebCore.Target:150339: recipe for target '.obj/inspector/InspectorAllInOne.o' failed
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [sub-Target-pri-make_first-ordered] Error 2
Makefile.WebCore:68: recipe for target 'sub-Target-pri-make_first-ordered' failed
Makefile:222: recipe for target 'sub-Source-WebCore-WebCore-pro-make_first-ordered' failed
make[2]: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2
make[1]: *** [/nerves/build/build/qt5webkit-5.8.0/.stamp_built] Error 2
package/pkg-generic.mk:227: recipe for target '/nerves/build/build/qt5webkit-5.8.0/.stamp_built' failed
make: *** [_all] Error 2
Makefile:16: recipe for target '_all' failed

Any pointers?

orestis commented 7 years ago

Turns out this is a sign of Out of Memory error. By default Docker on Mac gives 2GB to the containers. I increased it to 6GB and have moved on from this.