Buildfehler Spark mit Yocto

Yocto/OE
Antworten
Tann
Einsteiger
Einsteiger
Beiträge: 101
Registriert: Dienstag 6. März 2012, 13:24

Buildfehler Spark mit Yocto

Beitrag von Tann »

Code: Alles auswählen

thomas@thomas:~/ffteam/poky/build-spark$ bitbake neutrino-image
Loading cache: 100% |############################################################################################################| ETA:  00:00:00
Loaded 1371 entries from dependency cache.
Parsing recipes: 100% |##########################################################################################################| Time: 00:00:01
Parsing of 968 .bb files complete (961 cached, 7 parsed). 1377 targets, 56 skipped, 2 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "sh4-poky-linux"
MACHINE           = "spark"
DISTRO            = "poky"
DISTRO_VERSION    = "1.7.3"
TUNE_FEATURES     = "sh4"
meta              
meta-yocto        
meta-yocto-bsp    = "dizzy:8ef55cc0da13c96349f665987f2bcf9e64eebf8a"
meta-stlinux      = "master:08ee2062362eaf939aeed4516f89151265b08698"
meta-neutrino-mp  = "master:40b2a8ae865b02636fe4017051f19674ca295d93"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/temp/log.do_compile.5833)
ERROR: Logfile of failure stored in: /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/temp/log.do_compile.5833
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'sh-common', 'common-linux', 'common-glibc', 'sh4-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j2
| make  all-recursive
| make[1]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build'
| Making all in include
| make[2]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build/include'
| Making all in libxml
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build/include/libxml'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build/include/libxml'
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build/include'
| make[3]: Nothing to be done for `all-am'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build/include'
| make[2]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build/include'
| Making all in .
| make[2]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build'
| ./sh4-poky-linux-libtool  --tag=CC   --mode=link sh4-poky-linux-gcc  -ml -m4 --sysroot=/home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark -D_REENTRANT   -O2 -pipe -g -feliminate-unused-debug-types -fexceptions -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wno-long-long   -Wl,--version-script=/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/libxml2-2.9.1/libxml2.syms -version-info 11:1:9 -ldl -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ldl -o libxml2.la -rpath /usr/lib SAX.lo entities.lo encoding.lo error.lo parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo  catalog.lo globals.lo threads.lo c14n.lo xmlstring.lo buf.lo xmlregexp.lo xmlschemas.lo xmlschemastypes.lo xmlunicode.lo  xmlreader.lo relaxng.lo dict.lo SAX2.lo xmlwriter.lo legacy.lo chvalid.lo pattern.lo xmlsave.lo xmlmodule.lo schematron.lo xzlib.lo   -lz   -lm
| sh4-poky-linux-libtool: link: `encoding.lo' is not a valid libtool object
| make[2]: *** [libxml2.la] Error 1
| make[2]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/temp/run.do_compile.5833:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/libxml2/2.9.1-r0/temp/log.do_compile.5833)
ERROR: Task 1643 (/home/thomas/ffteam/poky/meta/recipes-core/libxml/libxml2_2.9.1.bb, do_compile) failed with exit code '1'
ERROR: Function failed: do_compile (log file is located at /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/temp/log.do_compile.5831)
ERROR: Logfile of failure stored in: /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/temp/log.do_compile.5831
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'sh-common', 'common-linux', 'common-glibc', 'sh4-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j2
| Making all in gnulib-local
| make[1]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gnulib-local'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gnulib-local'
| Making all in gettext-runtime
| make[1]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime'
| make  all-recursive
| make[2]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime'
| Making all in doc
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/doc'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/doc'
| Making all in intl
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/intl'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/intl'
| Making all in intl-java
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/intl-java'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/intl-java'
| Making all in intl-csharp
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/intl-csharp'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/intl-csharp'
| Making all in gnulib-lib
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/gnulib-lib'
| make  all-recursive
| make[4]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/gnulib-lib'
| make[5]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/gnulib-lib'
| make[5]: Nothing to be done for `all-am'.
| make[5]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/gnulib-lib'
| make[4]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/gnulib-lib'
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/gnulib-lib'
| Making all in src
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/src'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/src'
| Making all in po
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/po'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/po'
| Making all in man
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/man'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/man'
| Making all in m4
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/m4'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/m4'
| Making all in tests
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/tests'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime/tests'
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime'
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime'
| make[2]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime'
| make[1]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-runtime'
| Making all in gettext-tools
| make[1]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools'
| make  all-recursive
| make[2]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools'
| Making all in doc
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/doc'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/doc'
| Making all in intl
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/intl'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/intl'
| Making all in gnulib-lib
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/gnulib-lib'
| make  all-am
| make[4]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/gnulib-lib'
| make[4]: Nothing to be done for `all-am'.
| make[4]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/gnulib-lib'
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/gnulib-lib'
| Making all in libgrep
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/libgrep'
| make  all-am
| make[4]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/libgrep'
| make[4]: Nothing to be done for `all-am'.
| make[4]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/libgrep'
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/libgrep'
| Making all in src
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/src'
| make  all-am
| make[4]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/src'
| make[4]: Nothing to be done for `all-am'.
| make[4]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/src'
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/src'
| Making all in libgettextpo
| make[3]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/libgettextpo'
| make  all-am
| make[4]: Entering directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/libgettextpo'
| ../sh4-poky-linux-libtool  --tag=CC   --mode=link sh4-poky-linux-gcc  -ml -m4 --sysroot=/home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark -std=gnu99  -O2 -pipe -g -feliminate-unused-debug-types -version-info 5:2:5 -rpath /usr/lib -lc -no-undefined  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o libgettextpo.la -rpath /usr/lib gettext-po.lo str-list.lo dir-list.lo message.lo msgl-ascii.lo po-error.lo po-xerror.lo write-catalog.lo write-po.lo open-catalog.lo po-charset.lo po-lex.lo po-gram-gen.lo read-po.lo read-catalog-abstract.lo read-catalog.lo plural-table.lo format-c.lo format-sh.lo format-python.lo format-python-brace.lo format-lisp.lo format-elisp.lo format-librep.lo format-scheme.lo format-java.lo format-javascript.lo format-csharp.lo format-awk.lo format-pascal.lo format-ycp.lo format-tcl.lo format-perl.lo format-perl-brace.lo format-php.lo format-gcc-internal.lo format-gfc-internal.lo format-qt.lo format-qt-plural.lo format-kde.lo format-boost.lo format-lua.lo format.lo plural-exp.lo plural-eval.lo msgl-check.lo  libgnu.la
| sh4-poky-linux-libtool: link: `format-python-brace.lo' is not a valid libtool object
| make[4]: *** [libgettextpo.la] Error 1
| make[4]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/libgettextpo'
| make[3]: *** [all] Error 2
| make[3]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools/libgettextpo'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/build/gettext-tools'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/temp/run.do_compile.5831:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/gettext/0.18.3.2-r0/temp/log.do_compile.5831)
ERROR: Task 814 (/home/thomas/ffteam/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 741 tasks of which 736 didn't need to be rerun and 2 failed.
Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
  /home/thomas/ffteam/poky/meta/recipes-core/libxml/libxml2_2.9.1.bb, do_compile
  /home/thomas/ffteam/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
thomas@thomas:~/ffteam/poky/build-spark$ 

seife
Developer
Beiträge: 4187
Registriert: Sonntag 2. November 2003, 12:36

Re: neutrino-MP bauen mit Yocto/OpenEmbedded, Kurzanleitung

Beitrag von seife »

Das ist komisch, daß bei zwei verschiedenen Targets plötzlich derselbe fehler auftritt.
Da ist aber nicht zufällig die Platte voll oder sowas?

Ansonsten müsstest du dir mal die angemeckerten object files anschauen (mit file, objdump oder notfalls mit hexdump) um rauszufinden, was an denen komisch ist. Ferndiagnose fällt mir da keine ein.

Mit der Anleitung hat das aber nichts zu tun, dazu lieber extra Threads aufmachen, sonst wird das schnell unübersichtlich hier.

Offtopic: by doc
Habe das mal in ein neues Topic abgetrennt.
doc
Contributor
Beiträge: 1623
Registriert: Donnerstag 10. Januar 2002, 20:03

Re: Buildfehler Spark mit Yocto

Beitrag von doc »

Mal ein Schuss ins Blaue ...

Für den Raspi muss man auf einem amd64 Debian, wenn man Cross bauen will, ein paar 32Bit Runtime Pakete nachinstallieren. Sollte, wenn es falsch ist, nicht zu viel Festplatten platz benötigen. :wink:

Code: Alles auswählen

sudo apt-get install lib32stdc++6 lib32z1
Na schönen Dank Herr Schwanke!
Ein toller Sommer! :-(
seife
Developer
Beiträge: 4187
Registriert: Sonntag 2. November 2003, 12:36

Re: Buildfehler Spark mit Yocto

Beitrag von seife »

Ich glaube nicht daß es daran liegt, da hätte schon vorher was schief gehen müssen. Zuvor wurden schon "ein paar" Pakete gebaut, bestimmt auch welche, die libtool benutzen, und plötzlich funktioniert es nicht mehr, bei zwei unterschiedlichen Paketen gleichzeitig.

Die Einfachste Erklärung wäre "Platte voll" und die beiden *.lo sind deswegen 0 Bytes groß, oder zumindest abgeschnitten.

(außerdem baut das OE ja auch nativ normal alles selbst was es benötigt).
Tann
Einsteiger
Einsteiger
Beiträge: 101
Registriert: Dienstag 6. März 2012, 13:24

Re: Buildfehler Spark mit Yocto

Beitrag von Tann »

Festplatte war voll
hatte Platz heute dann geschafft 6,1GB dann bau wieder angestossen und nun die Meldung

finde nicht wie ich den nochmal das drüber bauen lass
seife
Developer
Beiträge: 4187
Registriert: Sonntag 2. November 2003, 12:36

Re: Buildfehler Spark mit Yocto

Beitrag von seife »

bitbake libxml2 -c cleansstate
bitbake gettext -c cleansstate

Dann
bitbake neutrino-image
Tann
Einsteiger
Einsteiger
Beiträge: 101
Registriert: Dienstag 6. März 2012, 13:24

Re: Buildfehler Spark mit Yocto

Beitrag von Tann »

Code: Alles auswählen

thomas@thomas:~/ffteam/poky/build-spark$ bitbake neutrino-image
Loading cache: 100% |#########################################################################################################################################################| ETA:  00:00:00
Loaded 1371 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################| Time: 00:00:01
Parsing of 968 .bb files complete (961 cached, 7 parsed). 1377 targets, 56 skipped, 2 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "sh4-poky-linux"
MACHINE           = "spark"
DISTRO            = "poky"
DISTRO_VERSION    = "1.7.3"
TUNE_FEATURES     = "sh4"
meta              
meta-yocto        
meta-yocto-bsp    = "dizzy:8ef55cc0da13c96349f665987f2bcf9e64eebf8a"
meta-stlinux      = "master:08ee2062362eaf939aeed4516f89151265b08698"
meta-neutrino-mp  = "master:40b2a8ae865b02636fe4017051f19674ca295d93"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: The recipe flex is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/flex
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-zh-tw
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-nl
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-eo
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-ru
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-es
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-hr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-pt-br
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-dev
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-ko
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-ptest
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-en+quot
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-dbg
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-ca
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-zh-cn
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-da
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-sr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-vi
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-de
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-staticdev
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-tr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-pl
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-doc
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-ga
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-fi
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-fr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-en+boldquot
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-sv
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-reverse/flex-locale-ro
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/shlibs2/flex.list
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/ga-translation/flex-locale-ga
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/ru-translation/flex-locale-ru
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/eo-translation/flex-locale-eo
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/de-translation/flex-locale-de
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/fr-translation/flex-locale-fr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/ro-translation/flex-locale-ro
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/zh-cn-translation/flex-locale-zh-cn
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/sv-translation/flex-locale-sv
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/en+boldquot-translation/flex-locale-en+boldquot
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/tr-translation/flex-locale-tr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/pt-br-translation/flex-locale-pt-br
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/zh-tw-translation/flex-locale-zh-tw
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/hr-translation/flex-locale-hr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/nl-translation/flex-locale-nl
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/da-translation/flex-locale-da
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-zh-tw
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-nl
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-eo
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-ru
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-es
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-hr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-pt-br
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-ko
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-en+quot
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-ca
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-zh-cn
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-da
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-sr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-vi
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-de
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-tr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-pl
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-ga
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-fi
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-fr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-en+boldquot
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-sv
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/flex-locale/flex-locale-ro
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/pl-translation/flex-locale-pl
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/ca-translation/flex-locale-ca
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/es-translation/flex-locale-es
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/sr-translation/flex-locale-sr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/en+quot-translation/flex-locale-en+quot
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/vi-translation/flex-locale-vi
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/fi-translation/flex-locale-fi
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime-rprovides/ko-translation/flex-locale-ko
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-pl.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-zh-tw
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-nl
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-eo.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-eo
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ru
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-hr.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-pt-br.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-es
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-hr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-zh-tw.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-pt-br
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-dev
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ko
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-ptest
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ga.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-staticdev.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ca.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-doc.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-en+quot
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-en+boldquot.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-dbg
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-da.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-vi.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ro.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ca
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-en+quot.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-zh-cn
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-ptest.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-sv.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ko.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-da
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-sr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-vi
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-de
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-sr.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-nl.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-staticdev
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ru.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-zh-cn.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-tr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-pl
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-fr.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-es.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-de.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-doc
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ga
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-dbg.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-fi
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-fr
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-fi.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-tr.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-en+boldquot
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-dev.packaged
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-sv
 /home/thomas/ffteam/poky/build-spark/tmp/sysroots/spark/pkgdata/runtime/flex-locale-ro
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/thomas/ffteam/poky/build-spark/tmp/work/sh4-poky-linux/flex/2.5.39-r0/temp/log.do_packagedata.22105
ERROR: Task 2433 (/home/thomas/ffteam/poky/meta/recipes-devtools/flex/flex_2.5.39.bb, do_packagedata) failed with exit code '1'
Waiting for 2 running tasks to finish:
0: perl-5.20.0-r1 do_compile (pid 28321)
1: python-2.7.3-r0.3 do_compile (pid 14440)
oben dein tip klappte
es baute weiter, dann stürzte mein pc ab, neustart pc, wieder an - bau angemacht kamen 4 meldungen - selbe befehl genommen wie in dein tip nur für die angemeckerten Pakete
flex, python und noch 2
wieder gestartet nun baut es zwar aber so ne meldung wie obendrüber mit drin
seife
Developer
Beiträge: 4187
Registriert: Sonntag 2. November 2003, 12:36

Re: Buildfehler Spark mit Yocto

Beitrag von seife »

Zuerst würde ich den PC fixen daß er nicht mehr abstürzt, du hattest ja schon vorher das Problem daß du nicht alle cores benutzen konntest, ohne daß er gecrashed ist oder sich ausgeschaltet hat.
Alternativ einen anderen funktionierenden PC benutzen.

Diese ganzen seltsamen Buildfehler (und da dachte ich bei einigen schon "könnte das von kaputtem Speicher / CPU kommen?") die du hast hatte ich alle noch nie, und ich habe schon verschiedene Distributionen durchprobiert damit. Das Yocto/OE ist insgesamt inzwischen auch sehr ausgereift und gut gewartet, tausende bauen damit täglich, deswegen haben mich deine Probleme umso mehr gewundert.
Allerdings achte ich penibel auf zwei sachen:
* meine Hardware ist in ordnung und stabil
* meine Platte läuft nicht voll. Nicht umsonst schreibe ich irgendwo in der Anleitung daß 100GB Plattenplatz frei sein sollen.

Wenn du das gemacht hast, dann das machen was dort in der Meldung steht: ./tmp/ löschen und nochmal probieren.

Aber solange du das auf offensichtlich defekter Hardware probierst, kann dir hier keiner helfen.
dbt
Administrator
Beiträge: 2654
Registriert: Donnerstag 28. September 2006, 18:18
Kontaktdaten:

Re: Buildfehler Spark mit Yocto

Beitrag von dbt »

Hat diesmal lange durchgehalten. leider steigt es hier bei mir aus. :(

Code: Alles auswählen

| make[2]: Leaving directory `/home/dbt/bs/yocto-poky-stl/build-stl/tmp/work/i686-linux/util-linux-native/2.24.2-r1/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/dbt/bs/yocto-poky-stl/build-stl/tmp/work/i686-linux/util-linux-native/2.24.2-r1/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/dbt/bs/yocto-poky-stl/build-stl/tmp/work/i686-linux/util-linux-native/2.24.2-r1/temp/run.do_compile.14046:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/dbt/bs/yocto-poky-stl/build-stl/tmp/work/i686-linux/util-linux-native/2.24.2-r1/temp/log.do_compile.14046)
ERROR: Task 422 (virtual:native:/home/dbt/bs/yocto-poky-stl/meta/recipes-core/util-linux/util-linux_2.24.2.bb, do_compile) failed with exit code '1'
Waiting for 1 running tasks to finish:
0: neutrino-mp-3.01+gitAUTOINC+f5c72d35c8-r1 do_compile (pid 14134)
...
seife
Developer
Beiträge: 4187
Registriert: Sonntag 2. November 2003, 12:36

Re: Buildfehler Spark mit Yocto

Beitrag von seife »

Ohne Fehlermeldung kann man da leider nichts zu sagen. Dummerweise hast du nur das Ende kopiert, aber interessant ist immer der Anfang, das weißt du ja :-)
Schau dir halt das erwähnte Logfile an, da wird ein Hinweis drin stehen was schief geht.
dbt
Administrator
Beiträge: 2654
Registriert: Donnerstag 28. September 2006, 18:18
Kontaktdaten:

Re: Buildfehler Spark mit Yocto

Beitrag von dbt »

log.do_compile.26691.txt
Das ist das buildlog.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
seife
Developer
Beiträge: 4187
Registriert: Sonntag 2. November 2003, 12:36

Re: Buildfehler Spark mit Yocto

Beitrag von seife »

hm...

Code: Alles auswählen

/home/dbt/bs/yocto-poky-stl/build-stl/tmp/sysroots/i686-linux/usr/lib/libncursesw.so.5: undefined reference to `waddnwstr'
/home/dbt/bs/yocto-poky-stl/build-stl/tmp/sysroots/i686-linux/usr/lib/libncursesw.so.5: undefined reference to `wbkgrnd'
/home/dbt/bs/yocto-poky-stl/build-stl/tmp/sysroots/i686-linux/usr/lib/libncursesw.so.5: undefined reference to `wbkgrndset'
/home/dbt/bs/yocto-poky-stl/build-stl/tmp/sysroots/i686-linux/usr/lib/libncursesw.so.5: undefined reference to `wadd_wchnstr'
collect2: ld returned 1 exit status
make[2]: *** [pg] Error 1
Das sieht seltsam aus, insbesondere weil diese libncursesw ja zuvor selbst gebaut wurde.
Aber i586 ist inzwischen auch schon eher "exotisch" und evtl. deswegen keinem aufgefallen.

Das sieht nach einem generischen yocto / OE Problem aus.

Was für eine Distribution benutzt du denn? Dann würde ich mal versuchen, das bei mir nachzustellen.

Auf openSUSE 13.2 x86_64 funktionierte es vor ein paar Tagen definitiv, das habe ich mehrfach ausprobiert.

EDIT: Falsch, habe gerade bei mir den dizzy branch mal gepullt und siehe da, es geht auch bei mir nicht mehr.

EDIT2: schuld zu sein scheint:

Code: Alles auswählen

commit cfc5952b11ec01d4b9133b52bdd5fcbd1cddf833
Author: Martin Stolpe <martinstolpe@gmail.com>
Date:   Wed Jun 10 16:28:26 2015 +0200

    ncurses: fix native builds when host has gcc5
    
    GCC"s preprocessor starts to add newlines which are not
    handled properly by ncurses build system startin from
    version 5.0.
    
    See also: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7870
    
    (From OE-Core rev: 3a5435b371c84ec28b6936b8c8fa6541a592d061)
    
    (From OE-Core rev: 8492e143af25bf64d07fc117e7f1607aadf89f09)
    
    Signed-off-by: Martin Stolpe <martin.stolpe@gmail.com>
    Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ich habe einfach "git show cfc5952b11ec01d4b9133b52bdd5fcbd1cddf833 | patch -Rp1" gemacht, dann baut's wieder.
Wer einen ordentlichen Fix findet, sollte den vielleicht upstream schicken :-)
dbt
Administrator
Beiträge: 2654
Registriert: Donnerstag 28. September 2006, 18:18
Kontaktdaten:

Re: Buildfehler Spark mit Yocto

Beitrag von dbt »

Danke, das hat geholfen!
dbt
Administrator
Beiträge: 2654
Registriert: Donnerstag 28. September 2006, 18:18
Kontaktdaten:

Re: Buildfehler Spark mit Yocto

Beitrag von dbt »

Neues Problem: Build bricht ab weil sich die Links zu Mediathek geändert haben:

Code: Alles auswählen

@@ -8,15 +8,16 @@ LIC_FILES_CHKSUM = " \
 	file://coolithek/COPYING;md5=751419260aa954499f7abaabaa882bbe \
 "
 
 SRCREV = "${AUTOREV}"
 P_V = "0.2beta-11"
-PV = "${P_V}+git${SRCPV}"
+#PV = "${P_V}+git${SRCPV}"
+PV = "${P_V}+git${SRCREV}"
 PR = "r0"
 
 SRC_URI = " \
-	git://git.slknet.de/git/mediathek-luaV2.git;branch=master \
+	https://git.slknet.de/mediathek-luaV2.git;branch=master \
 "
 
 RDEPENDS_${PN} = "lua-json"
 
 S = "${WORKDIR}/git"
patch0.patch
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
seife
Developer
Beiträge: 4187
Registriert: Sonntag 2. November 2003, 12:36

Re: Buildfehler Spark mit Yocto

Beitrag von seife »

Hallo Thilo,

ich habe den patch leicht angepasst committed.
Bisher war es immer so, daß auf https://slknet.de eine alte Version lag (verglichen mit git://slknet.de), aber das scheint jetzt gefixt zu sein.
Ansonsten habe ich das auch mal noch auf github gemirrored.
Antworten