On Wed, Apr 25, 2018 at 8:03 AM, Oliver Graute <oliver.gra...@gmail.com> wrote: > Hello list, > > I try to compile yocto jethro environment which is working > on a Ubuntu 14.04 installation. But not on a Kubuntu 16.04. > > The compilations stops on gettext-native. > > bitbake -k fsl-image-mfgtool-initramfs > > make[5]: Entering directory > '/home/us/build-imx6ulevk-mfgtool/tmp/work/x86_64-linux/gettext-native/0.19.4-r0/build/gettext-tools/src' > | ../x86_64-linux-libtool --tag=CC --mode=link gcc > -isystem/home/us/build-imx6ulevk-mfgtool/tmp/sysroots/x86_64-linux/usr/include > -O2 -pipe -release 0.19.4 ../gnulib-lib/libgettextlib.la -lc -no-undefined > -L/home/us/build-imx6ulevk-mfgtool/tmp/sysroots/x86_64-linux/usr/lib > -L/home/us/build-imx6ulevk-mfgtool/tmp/sysroots/x86_64-linux/lib > -Wl,-rpath-link,/home/us/build-imx6ulevk-mfgtool/tmp/sysroots/x86_64-linux/usr/lib > > -Wl,-rpath-link,/home/us/build-imx6ulevk-mfgtool/tmp/sysroots/x86_64-linux/lib > > -Wl,-rpath,/home/us/build-imx6ulevk-mfgtool/tmp/sysroots/x86_64-linux/usr/lib > -Wl,-rpath,/home/us/build-imx6ulevk-mfgtool/tmp/sysroots/x86_64-linux/lib > -Wl,-O1 -o libgettextsrc.la -rpath > /home/us/build-imx6ulevk-mfgtool/tmp/sysroots/x86_64-linux/usr/lib > libgettextsrc_la-message.lo libgettextsrc_la-po-error.lo > libgettextsrc_la-po-xerror.lo libgettextsrc_la-read-catalog-abstract.lo > libgettextsrc_la-po-lex.lo libgettextsrc_la-po-gram-gen.lo > libgettextsrc_la-po-charset.lo libgett ex > tsrc_la-read-po.lo libgettextsrc_la-read-properties.lo > libgettextsrc_la-read-stringtable.lo libgettextsrc_la-open-catalog.lo > libgettextsrc_la-dir-list.lo libgettextsrc_la-str-list.lo > libgettextsrc_la-read-catalog.lo libgettextsrc_la-color.lo > libgettextsrc_la-write-catalog.lo libgettextsrc_la-write-properties.lo > libgettextsrc_la-write-stringtable.lo libgettextsrc_la-write-po.lo > libgettextsrc_la-msgl-ascii.lo libgettextsrc_la-msgl-iconv.lo > libgettextsrc_la-msgl-equal.lo libgettextsrc_la-msgl-cat.lo > libgettextsrc_la-msgl-header.lo libgettextsrc_la-msgl-english.lo > libgettextsrc_la-msgl-check.lo libgettextsrc_la-file-list.lo > libgettextsrc_la-msgl-charset.lo libgettextsrc_la-po-time.lo > libgettextsrc_la-plural-exp.lo libgettextsrc_la-plural-eval.lo > libgettextsrc_la-plural-table.lo libgettextsrc_la-format.lo > libgettextsrc_la-format-c.lo libgettextsrc_la-format-sh.lo > libgettextsrc_la-format-python.lo libgettextsrc_la-format-python-brace.lo > libgettextsrc_la-format-lisp.lo libgettext sr > c_la-format-elisp.lo libgettextsrc_la-format-librep.lo > libgettextsrc_la-format-scheme.lo libgettextsrc_la-format-java.lo > libgettextsrc_la-format-csharp.lo libgettextsrc_la-format-awk.lo > libgettextsrc_la-format-pascal.lo libgettextsrc_la-format-ycp.lo > libgettextsrc_la-format-tcl.lo libgettextsrc_la-format-perl.lo > libgettextsrc_la-format-perl-brace.lo libgettextsrc_la-format-php.lo > libgettextsrc_la-format-gcc-internal.lo > libgettextsrc_la-format-gfc-internal.lo libgettextsrc_la-format-qt.lo > libgettextsrc_la-format-qt-plural.lo libgettextsrc_la-format-kde.lo > libgettextsrc_la-format-boost.lo libgettextsrc_la-format-lua.lo > libgettextsrc_la-format-javascript.lo libgettextsrc_la-read-desktop.lo > | x86_64-linux-libtool: error: 'libgettextsrc_la-message.lo' is not a valid > libtool object
libgettextsrc_la-message.lo should be a short text file. Could you find it in your build tree and post a copy? > | Makefile:2285: recipe for target 'libgettextsrc.la' failed > | make[5]: *** [libgettextsrc.la] Error 1 > | make[5]: Leaving directory > '/home/us/build-imx6ulevk-mfgtool/tmp/work/x86_64-linux/gettext-native/0.19.4-r0/build/gettext-tools/src' > | Makefile:2206: recipe for target 'all' failed > | make[4]: *** [all] Error 2 > | make[4]: Leaving directory > '/home/us/build-imx6ulevk-mfgtool/tmp/work/x86_64-linux/gettext-native/0.19.4-r0/build/gettext-tools/src' > | Makefile:1698: recipe for target 'all-recursive' failed > | make[3]: *** [all-recursive] Error 1 > | make[3]: Leaving directory > '/home/us/build-imx6ulevk-mfgtool/tmp/work/x86_64-linux/gettext-native/0.19.4-r0/build/gettext-tools' > | Makefile:1564: recipe for target 'all' failed > | make[2]: *** [all] Error 2 > | make[2]: Leaving directory > '/home/us/build-imx6ulevk-mfgtool/tmp/work/x86_64-linux/gettext-native/0.19.4-r0/build/gettext-tools' > | Makefile:380: recipe for target 'all-recursive' failed > | make[1]: *** [all-recursive] Error 1 > | make[1]: Leaving directory > '/home/us/build-imx6ulevk-mfgtool/tmp/work/x86_64-linux/gettext-native/0.19.4-r0/build' > | Makefile:336: recipe for target 'all' failed > | make: *** [all] Error 2 > | ERROR: oe_runmake failed > | ERROR: Function failed: do_compile (log file is located at > /home/us/build-imx6ulevk-mfgtool/tmp/work/x86_64-linux/gettext-native/0.19.4-r0/temp/log.do_compile.5336) > ERROR: Task 531 > (virtual:native:/home/us/build/os-poky/meta/recipes-core/gettext/gettext_0.19.4.bb, > do_compile) failed with exit code '1' > > > I already tried to reinstall libtool but without success. > > Some ideas whats the cause for this error? At a guess, something a little unusual with the setup of your Kubuntu system. Combining Ubuntu 16.04 with OE 2.0 isn't so out of the ordinary and others would certainly have hit the problem before now if it was always seen. Did you install all the standard host dependencies? https://www.yoctoproject.org/docs/2.0/yocto-project-qs/yocto-project-qs.html#packages Did you manually upgrade or downgrade any of these host tools? Or is the Kubuntu system a fairly clean generic installation? -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto