FX30 Legato 16.10.1.m3 build error with make command

Hi,

I’m trying to build the Legato 16.10.1.m3 package but it’s failing with the following error. I’ve looked all over the forum for a solution but haven’t found one yet. Hope someone here has seen this before and can help me. I’m running it on Ubuntu 18.04.2 LTS 64bit.

Thanks!

Eddie

ERROR: Function failed: do_compile (log file is located at /home/eddie435/wp85/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/temp/log.do_compile.18331)
ERROR: Logfile of failure stored in: /home/eddie435/wp85/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/temp/log.do_compile.18331
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| : && /bin/mkdir -p doc && { PATH=’/home/eddie435/wp85/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/build/t/wrap’:$PATH && export PATH; } && /usr/bin/perl /home/eddie435/wp85/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/automake-1.14.1/doc/help2man --output=doc/automake-1.14.1 automake-1.14
| help2man: can’t get --help' info from automake-1.14** **| Try–no-discard-stderr’ if option outputs to stderr
| Makefile:3707: recipe for target ‘doc/automake-1.14.1’ failed
| make: *** [doc/automake-1.14.1] Error 255
| ERROR: oe_runmake failed
| WARNING: /home/eddie435/wp85/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/temp/run.do_compile.18331:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /home/eddie435/wp85/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/temp/log.do_compile.18331)
ERROR: Task 803 (virtual:native:/home/eddie435/wp85/poky/meta/recipes-devtools/automake/automake_1.14.1.bb, do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 914 tasks of which 913 didn’t need to be rerun and 1 failed.
No currently running tasks (40 of 2559)
Summary: 1 task failed:
virtual:native:/home/eddie435/wp85/poky/meta/recipes-devtools/automake/automake_1.14.1.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:151: recipe for target ‘image_bin’ failed
make: *** [image_bin] Error 1

Hi Eddie,
Could you please use 16.04 to build instead? The build system hasn’t been adapted for 18.04 yet.
BR,
Chris

Thanks Chris!

I got the Legato 16.10.1m3 package built and working in Developer Studio for my FX30S 3G modem. Building and downloading apps to the modem with no problem now. Thanks.

Regards,

Eddie

I have the same error: (with Ubuntu 18.04.1 LTS /64Bit)

ERROR: Function failed: do_compile (log file is located at /home/ravi/legato/v16.10.3/yocto/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/temp/log.do_compile.25087)
ERROR: Logfile of failure stored in: /home/ravi/legato/v16.10.3/yocto/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/temp/log.do_compile.25087
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1
| : && /bin/mkdir -p doc && { PATH=’/home/ravi/legato/v16.10.3/yocto/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/build/t/wrap’:$PATH && export PATH; } && /usr/bin/perl /home/ravi/legato/v16.10.3/yocto/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/automake-1.14.1/doc/help2man --output=doc/automake-1.14.1 automake-1.14
| help2man: can’t get --help' info from automake-1.14 | Try–no-discard-stderr’ if option outputs to stderr
| Makefile:3707: recipe for target ‘doc/automake-1.14.1’ failed
| make: *** [doc/automake-1.14.1] Error 255
| ERROR: oe_runmake failed
| WARNING: /home/ravi/legato/v16.10.3/yocto/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/temp/run.do_compile.25087:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /home/ravi/legato/v16.10.3/yocto/build_bin/tmp/work/x86_64-linux/automake-native/1.14.1-r0/temp/log.do_compile.25087)

Is there any solution for this?

Regards
RP

RP,

I never resolved this error. I just went a different direction and decided to use Developer Studio instead.

This link helped me to configure Developer Studio to work and compile for the FX30S modem with legato-16.10.1.m3 firmware:

https://forum.sierrawireless.com/t/starting-out-with-the-fx30s-and-questions-abound/14077/13?u=eddie435

Hope this helped.

Eddie

Hi RP,
The WP85 R14 yocto build is not supported on Ubuntu 18.04. Could you please try 16.04 or 14.04?
BR,
Chris