bitbake error: help2man: can't get `--help' info from automake-1.15

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bitbake error: help2man: can't get `--help' info from automake-1.15

11,245 Views
jcall
Contributor II

I got past the first hurdle I was having with bitbake in regards to it using the wrong git command, but I hit another snag....automake? I'm not sure I understand the error message

Commands:

DISTRO=fsl-imx-x11 MACHINE=imx6ull14x14evk source fsl-setup-release.sh -b 14x14evk

bitbake core-image-base

Output

NOTE: Executing RunQueue Tasks
WARNING: libmpc-native-1.0.3-r0 do_fetch: Failed to fetch URL http://www.multiprecision.org/mpc/download/mpc-1.0.3.tar.gz, attempting MIRRORS if available
WARNING: cryptodev-linux-native-1.8-r0 do_fetch: Failed to fetch URL http://download.gna.org/cryptodev-linux/cryptodev-linux-1.8.tar.gz, attempting MIRRORS if available
WARNING: pigz-native-2.3.3-r0 do_fetch: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.3.tar.gz, attempting MIRRORS if available
ERROR: automake-native-1.15-r0 do_compile: oe_runmake failed
ERROR: automake-native-1.15-r0 do_compile: Function failed: do_compile (log file is located at /home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.26843)
ERROR: Logfile of failure stored in: /home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.26843
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| rm -f bin/automake bin/automake-t bin/automake-t2 \
|   && /bin/mkdir -p bin \
|   && in=bin/automake.in && ( sed -e "s,[@]configure_input[@],Generated from $in; do not edit by hand.,g" -e 's,[@]datadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/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' ) <../automake-1.15/$in >bin/automake-t \
|   && /usr/bin/perl -w ../automake-1.15/bin/gen-perl-protos bin/automake-t > bin/automake-t2 \
|   && mv -f bin/automake-t2 bin/automake-t \
|   && chmod a+x,a-w bin/automake-t && mv -f bin/automake-t bin/automake
| rm -f bin/aclocal bin/aclocal-t bin/aclocal-t2 \
|   && /bin/mkdir -p bin \
|   && in=bin/aclocal.in && ( sed -e "s,[@]configure_input[@],Generated from $in; do not edit by hand.,g" -e 's,[@]datadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/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' ) <../automake-1.15/$in >bin/aclocal-t \
|   && /usr/bin/perl -w ../automake-1.15/bin/gen-perl-protos bin/aclocal-t > bin/aclocal-t2 \
|   && mv -f bin/aclocal-t2 bin/aclocal-t \
|   && chmod a+x,a-w bin/aclocal-t && mv -f bin/aclocal-t bin/aclocal
| rm -f t/ax/shell-no-trail-bslash t/ax/shell-no-trail-bslash-t
| rm -f t/ax/cc-no-c-o t/ax/cc-no-c-o-t
| rm -f runtest runtest-t
| : \
|   && /bin/mkdir -p doc \
|   && f=`echo doc/aclocal.1 | sed 's|.*/||; s|\.1$||; s,x,x,'` \
|   && echo ".so man1/$f-1.15.1" > doc/aclocal.1
| : \
|   && /bin/mkdir -p doc \
|   && f=`echo doc/automake.1 | sed 's|.*/||; s|\.1$||; s,x,x,'` \
|   && echo ".so man1/$f-1.15.1" > doc/automake.1
| in=t/ax/shell-no-trail-bslash.in \
|   && /bin/mkdir -p t/ax \
|   && ( sed -e "s,[@]configure_input[@],Generated from $in; do not edit by hand.,g" -e 's,[@]datadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/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' ) <../automake-1.15/$in >t/ax/shell-no-trail-bslash-t \
|   && chmod a+x t/ax/shell-no-trail-bslash-t
| in=t/ax/cc-no-c-o.in \
|   && /bin/mkdir -p t/ax \
|   && ( sed -e "s,[@]configure_input[@],Generated from $in; do not edit by hand.,g" -e 's,[@]datadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/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' ) <../automake-1.15/$in >t/ax/cc-no-c-o-t \
|   && chmod a+x t/ax/cc-no-c-o-t
| in=t/ax/runtest.in \
|   && /bin/mkdir -p t/ax \
|   && ( sed -e "s,[@]configure_input[@],Generated from $in; do not edit by hand.,g" -e 's,[@]datadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/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' ) <../automake-1.15/$in >runtest-t \
|   && chmod a+x runtest-t
| rm -f lib/Automake/Config.pm lib/Automake/Config.pm-t
| /bin/mkdir -p lib/Automake
| rm -f t/ax/test-defs.sh t/ax/test-defs.sh-t
| make[1]: Entering directory '/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/work/x86_64-linux/automake-native/1.15-r0/build'
| /bin/mkdir -p t/ax
| in=Config.in \
|   && ( sed -e "s,[@]configure_input[@],Generated from $in; do not edit by hand.,g" -e 's,[@]datadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/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' ) <../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[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share,g' -e 's,[@]amdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15/am,g' -e 's,[@]bindir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/bin,g' -e 's,[@]docdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/doc/automake,g' -e 's,[@]pkgvdatadir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]scriptdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/automake-1.15,g' -e 's,[@]automake_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.15,g' -e 's,[@]system_acdir[@],/home/jcall/yocto/fsl-release-bsp/14x14evk/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' ) <../automake-1.15/$in >t/ax/test-defs.sh-t
| make[1]: Leaving directory '/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/work/x86_64-linux/automake-native/1.15-r0/build'
| if LC_ALL=C grep '@[a-zA-Z0-9_][a-zA-Z0-9_]*@' t/ax/shell-no-trail-bslash-t; then echo "t/ax/shell-no-trail-bslash contains unexpanded substitution (see lines above)"; exit 1; fi; chmod a-w t/ax/shell-no-trail-bslash-t && mv -f t/ax/shell-no-trail-bslash-t t/ax/shell-no-trail-bslash
| 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_]*@' t/ax/cc-no-c-o-t; then echo "t/ax/cc-no-c-o contains unexpanded substitution (see lines above)"; exit 1; fi; chmod a-w t/ax/cc-no-c-o-t && mv -f t/ax/cc-no-c-o-t t/ax/cc-no-c-o
| 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
| 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
| : && /bin/mkdir -p doc && { PATH='/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/work/x86_64-linux/automake-native/1.15-r0/build/t/wrap:'$PATH && export PATH; } && /usr/bin/perl ../automake-1.15/doc/help2man --output=doc/aclocal-1.15.1 aclocal-1.15
| : && /bin/mkdir -p doc && { PATH='/home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/work/x86_64-linux/automake-native/1.15-r0/build/t/wrap:'$PATH && export PATH; } && /usr/bin/perl ../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
| ERROR: Function failed: do_compile (log file is located at /home/jcall/yocto/fsl-release-bsp/14x14evk/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.26843)
ERROR: Task 337 (virtual:native:/home/jcall/yocto/fsl-release-bsp/sources/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 131 tasks of which 21 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  virtual:native:/home/jcall/yocto/fsl-release-bsp/sources/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

Pointers appreciated as always

Labels (4)
6 Replies

5,706 Views
brian_stark
Contributor I

Pretty new to bitbake and I am having difficulty applying the patch.

automake-Backport-perl-5.22-fix.patch:

diff --git a/meta/recipes-devtools/automake/automake/0001-automake-port-to-Perl-5.22-and-later.patch b/meta/recipes-devtools/automake/automake/0001-automake-port-to-Perl-5.22-and-later.patch
new file mode 100644
index 0000000000..0e6895fb4b
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/0001-automake-port-to-Perl-5.22-and-later.patch
@@ -0,0 +1,32 @@
+From 13f00eb4493c217269b76614759e452d8302955e Mon Sep 17 00:00:00 2001
+From: Paul Eggert <eggert@cs.ucla.edu>
+Date: Thu, 31 Mar 2016 16:35:29 -0700
+Subject: [PATCH] automake: port to Perl 5.22 and later
+
+Without this change, Perl 5.22 complains "Unescaped left brace in
+regex is deprecated" and this is planned to become a hard error in
+Perl 5.26. See:
+http://search.cpan.org/dist/perl-5.22.0/pod/perldelta.pod#A_literal_%22{%22_should_now_be_escaped_in_a_pattern
+* bin/automake.in (substitute_ac_subst_variables): Escape left brace.
+
+Upstream-Status: Backport [13f00eb4493c217269b76614759e452d8302955e]
+---
+ bin/automake.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/automake.in b/bin/automake.in
+index a3a0aa318..2c8f31e14 100644
+--- a/bin/automake.in
++++ b/bin/automake.in
+@@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker
+ sub substitute_ac_subst_variables
+ {
+ my ($text) = @_;
+- $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
++ $text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+ return $text;
+ }
+
+--
+2.11.0
+
diff --git a/meta/recipes-devtools/automake/automake_1.15.bb b/meta/recipes-devtools/automake/automake_1.15.bb
index a6904c8a91..902dd63db1 100644
--- a/meta/recipes-devtools/automake/automake_1.15.bb
+++ b/meta/recipes-devtools/automake/automake_1.15.bb
@@ -24,6 +24,7 @@ SRC_URI += "file://python-libdir.patch \
file://performance.patch \
file://new_rt_path_for_test-driver.patch \
file://automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch \
+ file://0001-automake-port-to-Perl-5.22-and-later.patch \
"

SRC_URI[md5sum] = "716946a105ca228ab545fc37a70df3a3"

automake_1.15.bb:

require automake.inc
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS_class-native = "autoconf-native"

NAMEVER = "${@oe.utils.trim_version("${PV}", 2)}"

RDEPENDS_${PN} += "\
autoconf \
perl \
perl-module-bytes \
perl-module-data-dumper \
perl-module-strict \
perl-module-text-parsewords \
perl-module-thread-queue \
perl-module-threads \
perl-module-vars "

RDEPENDS_${PN}_class-native = "autoconf-native perl-native-runtime"

SRC_URI += " file://python-libdir.patch \
file://py-compile-compile-only-optimized-byte-code.patch \
file://buildtest.patch \
file://automake-Backport-perl-5.22-fix.patch \
"

SRC_URI[md5sum] = "716946a105ca228ab545fc37a70df3a3"
SRC_URI[sha256sum] = "7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924"

CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl"

do_install_append () {
install -d ${D}${datadir}
}

BBCLASSEXTEND = "native nativesdk"

Output from bitbake:

viking@viking-X10DRH:~/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb$ bitbake fsl-image-full
WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 3388 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:00
Parsing of 2698 .bb files complete (2697 cached, 1 parsed). 3387 targets, 249 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-18.04"
TARGET_SYS = "powerpc-fsl-linux"
MACHINE = "t1040d4rdb"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "2.0"
TUNE_FEATURES = "m32 fpu-hard e5500"
TARGET_FPU = "hard"
meta
meta-yocto
meta-yocto-bsp = "HEAD:9a211a4a2c1bfcb292dc97d8dcac149bca9e3f1b"
meta-oe
meta-multimedia
meta-gnome
meta-networking
meta-perl
meta-python
meta-ruby
meta-filesystems
meta-webserver
meta-xfce = "HEAD:dc5634968b270dde250690609f0015f881db81f2"
meta-freescale = "HEAD:7facbdb726e2dda0515e084c2066a4b8dd99c6d2"
meta-freescale-internal = "HEAD:4829293f807e35a1111e79763294fc8b98b97810"
meta-freescale-extra = "HEAD:bee911b027e0480b034674d0ddee3fcb06d2e985"
meta-virtualization = "HEAD:042425c1d98bdd7e44a62789bd03b375045266f5"
meta-java = "HEAD:8b776ac68f9af4596be3824152bcf0bc6b67fa1d"
meta-openstack
meta-openstack-aio-deploy
meta-openstack-compute-deploy
meta-openstack-compute-test-config
meta-openstack-controller-deploy
meta-openstack-controller-test-config
meta-openstack-qemu
meta-openstack-swift-deploy
meta-cloud-services = "HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb"
meta-security = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777"
meta-nxp-npi-1703 = "jethro-sdk-v2.0-ga-17.03:d8f8d3a5d3ee18f881466938b847cef9b08c4a35"

NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 2324 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Command Error: exit status: 1 Output:
Applying patch automake-Backport-perl-5.22-fix.patch
patching file meta/recipes-devtools/automake/automake/0001-automake-port-to-Perl-5.22-and-later.patch
can't find file to patch at input line 43
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/meta/recipes-devtools/automake/automake_1.15.bb b/meta/recipes-devtools/automake/automake_1.15.bb
|index a6904c8a91..902dd63db1 100644
|--- a/meta/recipes-devtools/automake/automake_1.15.bb
|+++ b/meta/recipes-devtools/automake/automake_1.15.bb
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch automake-Backport-perl-5.22-fix.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_patch.5565
ERROR: Task 559 (virtual:native:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 48 tasks of which 35 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
virtual:native:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_patch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 Kudos

5,706 Views
abdurrehman
Contributor III

Future stumblers, please apply this patch on poky to get rid of the error:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/patch/meta/recipes-devtools/automake?id=4f064564fd59... 

5,706 Views
christianx
Contributor I

I have read that it may because automake-1.15 isn't compatible with too recent Perl version.  you can replace automake recipe with a newer version, or downgrade Perl (but i dunno which version works through). 

0 Kudos

5,706 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi John

"Failed to fetch", you must have some trouble with your network..

0 Kudos

5,706 Views
jcall
Contributor II

Thanks for the reply...I was more concerned with the automake error than the fetch warning (it said it was trying other mirrors)

I know that my general internet is fine...are you able to get the ftp files in question? If the problem persists maybe it would be worth diagnosing those specific sites...

But first I'd really like to address the error

Thanks again

0 Kudos

5,706 Views
jcall
Contributor II

A savvy friend of mine pointed out that the url (at least in the case of the byacc fetch) should be ftp://ftp.invisible-island.net/byacc/byacc-20150711.tgz but it was trying to fetch ftp://invisible-island.net/byacc/byacc-20150711.tgz (without the ftp subdomain prefix)...unfortunately i can't find this URL anywhere except in logs, so I'm not sure how it gets obtained by bitbake

0 Kudos