AnsweredAssumed Answered

Automake and Perl versions conflicts

Question asked by Felipe Magalhaes on Mar 27, 2020
Latest reply on Mar 30, 2020 by Felipe Magalhaes

I am trying to build my system image relying on Yocto/Poky. My target system is a P2020-RDB board. My base system is a Linux Mate 19.*

 

I am using the latest SDK supporting my target system (1.9) and have followed instructions regarding installing all needed dependencies. 

Now, when I get to part to actually build my fsl-image, I have an error. The end of the error log is:

 

in=Config.in \
&& ( sed -e "s,[@]configure_input[@],Generated from $in; do not edit by hand.,g" -e 's,[@]datadir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/aclocal,g' -e 's,[@]am__isrc[@],!!@!!am__isrc!!@!!,g' | /bin/bash ./config.status --file=- | sed -e 's,!!@!!am__isrc!!@!!,@''am__isrc@,g' ) </tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/work/x86_64-linux/automake-native/1.15-r0/automake-1.15/lib/Automake/Config.in >lib/Automake/Config.pm-t
in=t/ax/test-defs.in \
&& ( sed -e "s,[@]configure_input[@],Generated from $in; do not edit by hand.,g" -e 's,[@]datadir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/sysroots/x86_64-linux/usr/share/aclocal,g' -e 's,[@]am__isrc[@],!!@!!am__isrc!!@!!,g' | /bin/bash ./config.status --file=- | sed -e 's,!!@!!am__isrc!!@!!,@''am__isrc@,g' ) </tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/work/x86_64-linux/automake-native/1.15-r0/automake-1.15/$in >t/ax/test-defs.sh-t
if LC_ALL=C grep '@[a-zA-Z0-9_][a-zA-Z0-9_]*@' runtest-t; then echo "runtest contains unexpanded substitution (see lines above)"; exit 1; fi; chmod a-w runtest-t && mv -f runtest-t runtest
if LC_ALL=C grep '@[a-zA-Z0-9_][a-zA-Z0-9_]*@' lib/Automake/Config.pm-t; then echo "lib/Automake/Config.pm contains unexpanded substitution (see lines above)"; exit 1; fi; chmod a-w lib/Automake/Config.pm-t && mv -f lib/Automake/Config.pm-t lib/Automake/Config.pm
if LC_ALL=C grep '@[a-zA-Z0-9_][a-zA-Z0-9_]*@' t/ax/test-defs.sh-t; then echo "t/ax/test-defs.sh contains unexpanded substitution (see lines above)"; exit 1; fi; chmod a-w t/ax/test-defs.sh-t && mv -f t/ax/test-defs.sh-t t/ax/test-defs.sh
: && /bin/mkdir -p doc && { PATH='/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/work/x86_64-linux/automake-native/1.15-r0/build/t/wrap:'$PATH && export PATH; } && /usr/bin/perl /tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/work/x86_64-linux/automake-native/1.15-r0/automake-1.15/doc/help2man --output=doc/aclocal-1.15.1 aclocal-1.15
: && /bin/mkdir -p doc && { PATH='/tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/work/x86_64-linux/automake-native/1.15-r0/build/t/wrap:'$PATH && export PATH; } && /usr/bin/perl /tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/work/x86_64-linux/automake-native/1.15-r0/automake-1.15/doc/help2man --output=doc/automake-1.15.1 automake-1.15
help2man: can't get `--help' info from automake-1.15
Try `--no-discard-stderr' if option outputs to stderr
Makefile:3687: recipe for target 'doc/automake-1.15.1' failed
make: *** [doc/automake-1.15.1] Error 255
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /tools/NXP_SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.15733)

 

and it is related to this bitbake error: help2man: can't get `--help' info from automake-1.15 

 

Still, I have not been able to reproduce fix steps.

Is there any workaround for this?

Thanks in advance,

Outcomes