meta-stlinux

Yocto/OE
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

meta-stlinux

Beitrag von dbt »

Bekomme diesen Fehler:

Code: Alles auswählen

dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> bitbake neutrino-image
NOTE: Started PRServer with DBfile: /home/dbt/devel/yocto/poky-stl/build-stl/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 59602, PID: 26897
WARNING: Host distribution "SUSELINUX-13.2" 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 1390 entries from dependency cache.
Parsing recipes: 100% |################################################################################################################################################################################################| Time: 00:00:01
Parsing of 951 .bb files complete (943 cached, 8 parsed). 1396 targets, 67 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:
  /home/dbt/devel/yocto/poky-stl/meta-stlinux/recipes-core/udev/udev_182.bbappend

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> 
Bin im Prinzip vorgegangen wie hier Yocto:seife-stlinux , jedoch statt dizzy krogoth genommen. Wo muss man schrauben?
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stllinux

Beitrag von dbt »

Noch einer:

Code: Alles auswählen

ERROR: stlinux24-spark-2.6.32.61-stm24-0217-r5 do_fetch: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: repository 'http://archive.stlinux.com/stm/linux-sh4-2.6.32.y.git/' not found

ERROR: Logfile of failure stored in: /home/dbt/devel/yocto/poky-stl/build-stl/tmp/work/spark-poky-linux/stlinux24-spark/2.6.32.61-stm24-0217-r5/temp/log.do_fetch.10473
Log data follows:
| DEBUG: Executing python function do_fetch
| DEBUG: Executing python function base_do_fetch
| DEBUG: Fetcher accessed the network with the command git -c core.fsyncobjectfiles=0 ls-remote http://git.stlinux.com/stm/linux-sh4-2.6.32.y.git
| DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-NuQzUMXXIn,guid=6a25db839c4e21ceb8243e4258721762"; export SSH_AGENT_PID="2070"; export SSH_AUTH_SOCK="/tmp/ssh-66nvEtR5pri9/agent.2007"; export PATH="/home/dbt/devel/yocto/poky-stl/build-stl/tmp/sysroots-uninative/i686-linux/usr/bin:/home/dbt/devel/yocto/poky-stl/scripts:/home/dbt/devel/yocto/poky-stl/build-stl/tmp/sysroots/i686-linux/usr/bin/sh4-poky-linux:/home/dbt/devel/yocto/poky-stl/build-stl/tmp/sysroots/spark/usr/bin/crossscripts:/home/dbt/devel/yocto/poky-stl/build-stl/tmp/sysroots/i686-linux/usr/sbin:/home/dbt/devel/yocto/poky-stl/build-stl/tmp/sysroots/i686-linux/usr/bin:/home/dbt/devel/yocto/poky-stl/build-stl/tmp/sysroots/i686-linux/sbin:/home/dbt/devel/yocto/poky-stl/build-stl/tmp/sysroots/i686-linux/bin:/home/dbt/devel/yocto/poky-stl/scripts:/home/dbt/devel/yocto/poky-stl/bitbake/bin:/home/dbt/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin"; export HOME="/home/dbt"; git -c core.fsyncobjectfiles=0 ls-remote http://git.stlinux.com/stm/linux-sh4-2.6.32.y.git
| DEBUG: Python function base_do_fetch finished
| DEBUG: Python function do_fetch finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
| fatal: repository 'http://archive.stlinux.com/stm/linux-sh4-2.6.32.y.git/' not found
| 
ERROR: Task 51 (/home/dbt/devel/yocto/poky-stl/meta-stlinux/recipes-kernel/linux/stlinux24-spark_217.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 652 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/dbt/devel/yocto/poky-stl/meta-stlinux/recipes-kernel/linux/stlinux24-spark_217.bb, do_fetch
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> 
Die Quelle ist auch nirgends aufzufinden. Ausgerechnet der 2.6er Part ist wegrationalisiert worden.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

Ok, muss ich schauen.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

(ich werde diesen Post weiter editieren, wenn ich weiter mit meiner Forschung bin :))

also dein erster Fehler (udev_*.bbappend) sollte nicht mehr auftreten seit diesem Commit:

Code: Alles auswählen

commit 594a1e0d17f8ffabc9323d9e05b7b4cb1ebf41f1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date:   Sun Oct 16 18:34:35 2016 +0200

    allow build with krogoth by fixing eudev
    
    eudev (used from yocto 2.1 on) is not working out of the box with
    old kernels, so add patches to fix the build. The BBMASK hack is
    ugly and might be problematic in pre-2.1 yocto environments :-(
Das tritt bei mir auch nicht auf.
Hast du wirklich meta-stlinux und meta-neutrino-mp ganz aktuell (ist ja schon ne Weile her seit dem letzten commit, aber schau trotzdem mal nach).
Ich baue gerade mit

Code: Alles auswählen

meta
meta-poky
meta-yocto-bsp    = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
meta-stlinux      = "master:b5a5395bdd8351e8e5e94f6bfdd9081eab5f0792"
meta-neutrino-mp  = "master:aa211aa23963def63d245da47bd9e4e625e5e4cb"
Ist aber noch nicht durch.

Update1:
Die STLinux git repos gibt es anscheinend nicht mehr.
fetch von stlinux-2.6.32 geht mit dem patch:

Code: Alles auswählen

diff --git a/recipes-kernel/linux/stlinux24-spark_217.bb b/recipes-kernel/linux/stlinux24-spark_217.bb
index d9327dd..9c6babe 100644
--- a/recipes-kernel/linux/stlinux24-spark_217.bb
+++ b/recipes-kernel/linux/stlinux24-spark_217.bb
@@ -13,7 +13,7 @@ INSANE_SKIP_kernel-dev = "staticdev"
 # git://github.com/oe-alliance/oe-alliance-core.git
 #      meta-brands/meta-fulan/recipes-linux/linux-fulan/
 SRC_URI = " \
-       git://git.stlinux.com/stm/linux-sh4-2.6.32.y.git;protocol=http;branch=stmicro \
+       git://github.com/seife/linux-sh4-2.6.32.y.git;protocol=http;branch=stmicro \
        file://linux-sh4-linuxdvb_stm24_${PATCH_STR}.patch;patch=1 \
        file://linux-sh4-sound_stm24_${PATCH_STR}.patch;patch=1 \
        file://linux-sh4-time_stm24_${PATCH_STR}.patch;patch=1 \
@@ -42,6 +42,6 @@ SRC_URI = " \
        file://linux-sh4-spark-dvb-as102.patch;patch=1 \
 "
 
-RDEPENDS_${PN} += " \
+DEPENDS += " \
        stlinux24-sh4-fdma-firmware-spark \
 "
schon mal, ich warte noch mit committen ob noch andere Sachen auftauchen.

Update2: es sieht so aus als ob es durchbaut, ich habe mal alles committed und gepushed (meta-stinux und meta-neutrino-mp updaten)
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

Gestern noch probiert, unverändert. Liege ich mit dem Repos überhaupt richtig: https://github.com/seife/meta-stlinux und https://github.com/seife/meta-neutrino-mp
Wie bereits erwähnt, habe ich mich hier orientiert http://wiki.tuxbox.org/wiki/Yocto:seife ... t_Tree.27s
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

Ich habe es genau so gemacht wie es dort steht, copy&paste
nur $HOME/yocto in mein lokales buildverzeichnis geändert.

EDIT: und dizzy nach krogoth geändert natürlich :-)

Wenn du "bitbake neutrino-image" machst, copy&paste mal den oberen Teil der Ausgabe (vor den Fehlern), da stehen die genauen git-revisions die du hast.

Code: Alles auswählen

seife@server:/space1/seife....octo-poky-stl/build-stl> bitbake neutrino-image
NOTE: Started PRServer with DBfile: /space1/seife/src/tmp/yocto-stlinux-krogoth-test/yocto-poky-stl/build-stl/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 42661, PID: 29079
WARNING: Host distribution "openSUSEproject-42.2" 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 1390 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:01
Parsing of 951 .bb files complete (944 cached, 7 parsed). 1396 targets, 67 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "sh4-poky-linux"
MACHINE           = "spark"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.2"
TUNE_FEATURES     = "sh4"
meta
meta-poky
meta-yocto-bsp    = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
meta-stlinux      = "master:de038c33fa7730c30cbd3c1590625f6c42d9d786"
meta-neutrino-mp  = "master:dc79b6c179deb4601e057baddeb0d8c4f44a5dd0"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2858 tasks of which 2858 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.
meine conf/local.conf und bblayers.conf:

Code: Alles auswählen

seife@server:/space1/seife....octo-poky-stl/build-stl> grep -v ^# conf/local.conf |grep -v ^$
MACHINE ??= "qemux86"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
MACHINE = "spark"
PACKAGE_CLASSES = "package_ipk"
EXTRA_IMAGE_FEATURES += "package-management"
PRSERV_HOST = "localhost:0"
DL_DIR ?= "/space1/seife/src/tmp/yocto-stlinux-krogoth-test/download"
BINARY_STSLAVE_FW_PATH="${DL_DIR}"
seife@server:/space1/seife....octo-poky-stl/build-stl> grep -v ^# conf/bblayers.conf |grep -v ^$
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
  /space1/seife/src/tmp/yocto-stlinux-krogoth-test/yocto-poky-stl/meta \
  /space1/seife/src/tmp/yocto-stlinux-krogoth-test/yocto-poky-stl/meta-poky \
  /space1/seife/src/tmp/yocto-stlinux-krogoth-test/yocto-poky-stl/meta-yocto-bsp \
  /space1/seife/src/tmp/yocto-stlinux-krogoth-test/yocto-poky-stl/meta-stlinux \
  /space1/seife/src/tmp/yocto-stlinux-krogoth-test/yocto-poky-stl/meta-neutrino-mp \
  "
seife@server:/space1/seife....octo-poky-stl/build-stl> 
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

Grade nochmal frisch geklont:

Code: Alles auswählen

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "sh4-poky-linux"
MACHINE           = "spark"
DISTRO            = "poky"                                                                                                                                                         
DISTRO_VERSION    = "2.1.2"                                                                                                                                                        
TUNE_FEATURES     = "sh4"                                                                                                                                                          
meta                                                                                                                                                                               
meta-poky         
meta-yocto-bsp    = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
meta-stlinux      = "master:b5a5395bdd8351e8e5e94f6bfdd9081eab5f0792"
meta-neutrino-mp  = "master:dc79b6c179deb4601e057baddeb0d8c4f44a5dd0"
bei mir:

Code: Alles auswählen

meta-stlinux      = "master:b5a5395bdd8351e8e5e94f6bfdd9081eab5f0792"
Deins:

Code: Alles auswählen

meta-stlinux      = "master:de038c33fa7730c30cbd3c1590625f6c42d9d786"
und laut git log ist das der letzte Stand:

Code: Alles auswählen

commit b5a5395bdd8351e8e5e94f6bfdd9081eab5f0792
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date:   Sun Oct 23 16:37:25 2016 +0200

    usb_image.bbclass: and another "Taskhash mismatch" fix
    
    hopefully this is done now :-)
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

ARGH. Pushen sollte man das natürlich auch noch :-) Bitte noch mal.

Edit: also ich hatte es schon so gemacht wie in der Anleitung, aber dann halt lokal alle probleme gefixt... und am ende nur in meta-neutrino-mp gepushed... :oops:
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

Und ich habe schon angefangen irgendwelche Steine umzudrehen :wink: Im Moment bauts erstmal...
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

Bei lirc hat es abgebrochen, da passte die URL auch nicht mehr. Bei Sourceforge hat man wohl jetzt komplett auf https umgestellt.
0001-lirc-config.inc-fix-download-url.patch
Damit hat es zumindest erstmal mit core-image-minimal komplett durchgebaut.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

Ok, keine Ahnung warum das bei mir noch funktioniert, aber ein wget zeigt auch, daß auf https redirected wird, hängt evtl. von der lokalen wget/curl version ab? Egal, der fix ist ja harmlos und somit gepushed.

Wegen meiner Verwirrung um die Versionen: deswegen ist es relativ hilfreich, die Ausgabe mit den git-hashes zu posten, weil da in der Übersicht alles wichtige drin steht. Das wäre mir dann schnell aufgefallen. Ich hatte sowas schon vermutet, auch wenn ich zugeben muß daß ich ja gedacht hatte sich bei dir ein alter stand eingeschlichen hätte :-)
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

Nächstes Problem: Bitbake neutrino-image bricht hier ab

Code: Alles auswählen

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "sh4-poky-linux"
MACHINE           = "spark"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.2"
TUNE_FEATURES     = "sh4"
meta              
meta-poky         
meta-yocto-bsp    = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
meta-stlinux      = "master:09018296dff4576543bb7611ce643da09412f14b"
meta-neutrino-mp  = "master:dc79b6c179deb4601e057baddeb0d8c4f44a5dd0"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: enca-1.9-r0 do_configure: QA Issue: enca: configure was passed unrecognised options: --with-libiconv-prefix [unknown-configure-option]
WARNING: libstb-hal-0.1+gitAUTOINC+42fb4fe182-r0 do_fetch: Failed to fetch URL git://github.com/neutrino-mp/libstb-hal.git;protocol=https, attempting MIRRORS if available
ERROR: libstb-hal-0.1+gitAUTOINC+42fb4fe182-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: remote origin already exists.

ERROR: libstb-hal-0.1+gitAUTOINC+42fb4fe182-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/neutrino-mp/libstb-hal.git;protocol=https'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/dbt/devel/yocto/poky-stl/build-stl/tmp/work/spark-poky-linux/libstb-hal/0.1+gitAUTOINC+42fb4fe182-r0/temp/log.do_fetch.2701
ERROR: Task 765 (/home/dbt/devel/yocto/poky-stl/meta-neutrino-mp/recipes-neutrino/libstb-hal/libstb-hal_git.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1549 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/dbt/devel/yocto/poky-stl/meta-neutrino-mp/recipes-neutrino/libstb-hal/libstb-hal_git.bb, do_fetch
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> 
:gruebel:
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

Probier mal, die libstb-hal komplett wegzuräumen:

Code: Alles auswählen

bitbake libstb-hal -c cleanall
und dann nochmal "bitbake libstb-hal" oder gleich neutrino-image.

Ansonsten weiß ich auch nicht, was das sein kann, die logfiles sind eigentlich immer sehr detailliert, aber die Meldung verwirrt mich schon. Am ehesten könnte ich mir eine inkompatible git-Version vorstellen...
doc
Contributor
Beiträge: 1623
Registriert: Donnerstag 10. Januar 2002, 20:03

Re: meta-stlinux

Beitrag von doc »

Hi, trifft sich gut, wollte auch mal wieder versuchen für die SH4 Boxen was aktuelles zu bauen.

Würde einer von Euch bitte mal die relevanten Stellen im Wiki auf die aktuellen Namen, Branches etc anpassen? Dann lasse ich gerne auch mal das durchlaufen.
Na schönen Dank Herr Schwanke!
Ein toller Sommer! :-(
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

seife hat geschrieben:Probier mal, die libstb-hal komplett wegzuräumen:

Code: Alles auswählen

bitbake libstb-hal -c cleanall
und dann nochmal "bitbake libstb-hal" oder gleich neutrino-image.

Ansonsten weiß ich auch nicht, was das sein kann, die logfiles sind eigentlich immer sehr detailliert, aber die Meldung verwirrt mich schon. Am ehesten könnte ich mir eine inkompatible git-Version vorstellen...
Wundert mich auch. Das händische clone Kommando funktioniert ganz normal. Das haut schon Fragezeichen raus. Git könnte ich aber auch mal updaten.

Code: Alles auswählen

dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> bitbake libstb-hal -c cleanall
NOTE: Started PRServer with DBfile: /home/dbt/devel/yocto/poky-stl/build-stl/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 48295, PID: 8493
WARNING: Host distribution "SUSELINUX-13.2" 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 1390 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################################################################################################| Time: 00:00:01
Parsing of 951 .bb files complete (944 cached, 7 parsed). 1396 targets, 67 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "sh4-poky-linux"
MACHINE           = "spark"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.2"
TUNE_FEATURES     = "sh4"
meta              
meta-poky         
meta-yocto-bsp    = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
meta-stlinux      = "master:09018296dff4576543bb7611ce643da09412f14b"
meta-neutrino-mp  = "master:dc79b6c179deb4601e057baddeb0d8c4f44a5dd0"

NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.
dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> bitbake  neutrino-image
NOTE: Started PRServer with DBfile: /home/dbt/devel/yocto/poky-stl/build-stl/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 59381, PID: 8638
WARNING: Host distribution "SUSELINUX-13.2" 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 1390 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################################################################################################| Time: 00:00:01
Parsing of 951 .bb files complete (944 cached, 7 parsed). 1396 targets, 67 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "sh4-poky-linux"
MACHINE           = "spark"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.2"
TUNE_FEATURES     = "sh4"
meta              
meta-poky         
meta-yocto-bsp    = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
meta-stlinux      = "master:09018296dff4576543bb7611ce643da09412f14b"
meta-neutrino-mp  = "master:dc79b6c179deb4601e057baddeb0d8c4f44a5dd0"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: libstb-hal-0.1+gitAUTOINC+42fb4fe182-r0 do_fetch: Failed to fetch URL git://github.com/neutrino-mp/libstb-hal.git;protocol=https, attempting MIRRORS if available
ERROR: libstb-hal-0.1+gitAUTOINC+42fb4fe182-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: remote origin already exists.

ERROR: libstb-hal-0.1+gitAUTOINC+42fb4fe182-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/neutrino-mp/libstb-hal.git;protocol=https'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/dbt/devel/yocto/poky-stl/build-stl/tmp/work/spark-poky-linux/libstb-hal/0.1+gitAUTOINC+42fb4fe182-r0/temp/log.do_fetch.8743
ERROR: Task 765 (/home/dbt/devel/yocto/poky-stl/meta-neutrino-mp/recipes-neutrino/libstb-hal/libstb-hal_git.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1586 tasks of which 1577 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/dbt/devel/yocto/poky-stl/meta-neutrino-mp/recipes-neutrino/libstb-hal/libstb-hal_git.bb, do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> 
Edit: Git Update auf 2.11.0 hat nichts gebracht
flk
Contributor
Beiträge: 292
Registriert: Donnerstag 21. November 2002, 05:32
Box 1: AX HD51
Image: tuxbox
Kontaktdaten:

Re: meta-stlinux

Beitrag von flk »

fatal: remote origin already exists

Das ist seltsam ??

Ich würde versuchen, im Ordner

Code: Alles auswählen

yocto-downloads/git2
das entsprechende Repo zu löschen
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

Das sollte von do_cleanall doch schon weggeräumt worden sein, oder?

@doc: die Beschreibung im Wiki ist noch korrekt, einfach dizzy mit krogoth ersetzen und gut.
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

einfach dizzy mit krogoth ersetzen und gut
Habs eben mal geändert.
Yocto:seife-stlinux#Erstsetup_Yocto_f.C3.BCr_STLinux_.28Spark.29_Boxen
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

Ich bau mir grad mal ne 13.2 als docker-container um zu versuchen das zu reproduzieren...
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

Im docker-container hat das "bitbake neutrino-image -c fetchall" schon mal problemlos funktioniert.

Für interessierte, hier das benutzte Dockerfile:

Code: Alles auswählen

FROM opensuse:13.2
RUN zypper -v ref
RUN zypper -n in git aaa_base python-pysqlite make tar gcc gcc-c++ \
   patch chrpath wget diffstat makeinfo python-xml python-curses python-pycurl which
RUN echo "root:linux"| chpasswd
RUN useradd -c "yocto user" -m -d /home/yocto -s /bin/bash yocto
COPY local.conf /tmp/
USER yocto
ENV HOME /home/yocto
WORKDIR /home/yocto
RUN mkdir -p download/spark; touch download/spark/video.elf download/spark/audio.elf
RUN git clone http://git.yoctoproject.org/git/poky yocto-poky-stl && \
    cd yocto-poky-stl && git checkout -b krogoth origin/krogoth;
WORKDIR /home/yocto/yocto-poky-stl
RUN git clone https://github.com/seife/meta-stlinux.git && \
    git clone https://github.com/seife/meta-neutrino-mp.git;
RUN . ./oe-init-build-env build-stl && \
    cat /tmp/local.conf >> conf/local.conf && \
    sed -i -e "/meta-yocto-bsp/{p;s/meta-yocto-bsp/meta-stlinux/p;s/meta-stlinux/meta-neutrino-mp/}" conf/bblayers.conf
RUN echo ". oe-init-build-env build-stl; BB_NUMBER_THREADS=16 bitbake neutrino-image -c fetchall" > runme.sh
Die local.conf ist wie im Wiki beschrieben erzeugt, man muss dann nur sein eigenes $HOME durch /home ersetzen.

Thilo, etwas fällt mir noch ein: hast du evtl. komische sachen in deiner ~/.gitconfig stehen? nicht daß da was zwischenfunkt... Kann ich mirzwar nicht wirklich vorstellen, aber man weiss ja nie.
flk
Contributor
Beiträge: 292
Registriert: Donnerstag 21. November 2002, 05:32
Box 1: AX HD51
Image: tuxbox
Kontaktdaten:

Re: meta-stlinux

Beitrag von flk »

seife hat geschrieben:Das sollte von do_cleanall doch schon weggeräumt worden sein, oder?
Eigentlich schon, aber irgendwas stimmt ja nicht. Kann jedenfalls nicht schaden, mal nachzuschauen, ob da noch Reste liegen.
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

flk hat geschrieben:fatal: remote origin already exists

Das ist seltsam ??

Ich würde versuchen, im Ordner

Code: Alles auswählen

yocto-downloads/git2
das entsprechende Repo zu löschen
Das listb-hal Repo existiert da noch nicht mal. :gruebel:
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

seife hat geschrieben:hast du evtl. komische sachen in deiner ~/.gitconfig stehen? nicht daß da was zwischenfunkt... Kann ich mirzwar nicht wirklich vorstellen, aber man weiss ja nie.
eigentlich nichts wirklich ungewöhnliches, denke ich zumindest.

Code: Alles auswählen

[user]
	email = XXXXXXXXX
	name = XXXXXXXXX
[gui]
	fontdiff = -family Courier -size 10 -weight normal -slant roman -underline 0 -overstrike 0
	fontui = -family \"Open Sans\" -size 10 -weight normal -slant roman -underline 0 -overstrike 0
[core]
	editor = nano
	excludesfile = /home/dbt/.gitignore
[merge]
	tool = kdiff3
[alias]
	mergetest = "!f(){ git merge --no-commit --no-ff \"$1\"; git merge --abort; echo \"Merge aborted\"; };f "
[rerere]
	enabled = true
dbt
Administrator
Beiträge: 2675
Registriert: Donnerstag 28. September 2006, 19:18
Kontaktdaten:

Re: meta-stlinux

Beitrag von dbt »

Auch die anderen Repos für neutrino-mp und neutrino-hd-plugins haben mit dem gleichen Fehler rumgezickt und abgebrochen.
Habe jetzt alle neutrino-mp Repos einfach mal geforkt und die Adressen ersetzt: (Welche Schraube muss man drehen, um Mirror Repos zu nutzen?)

Code: Alles auswählen

diff --git a/recipes-neutrino/libstb-hal/libstb-hal_git.bb b/recipes-neutrino/libstb-hal/libstb-hal_git.bb
index 0cae7c8..f462845 100644
--- a/recipes-neutrino/libstb-hal/libstb-hal_git.bb
+++ b/recipes-neutrino/libstb-hal/libstb-hal_git.bb
@@ -40,7 +40,7 @@ PACKAGES_prepend_spark = "spark-fp "
 # libstb-hal-bin package for testing binaries etc.
 PACKAGES += "${PN}-bin"
 
-LIBSTB_HAL_GIT ?= "git://github.com/neutrino-mp/libstb-hal.git;protocol=https"
+LIBSTB_HAL_GIT ?= "git://github.com/dbt1/libstb-hal.git;protocol=https"
 
 SRC_URI = " \
 	${LIBSTB_HAL_GIT} \
diff --git a/recipes-neutrino/neutrino-hd-plugins/neutrino-hd-plugins_git.bb b/recipes-neutrino/neutrino-hd-plugins/neutrino-hd-plugins_git.bb
index eec3499..a5875be 100644
--- a/recipes-neutrino/neutrino-hd-plugins/neutrino-hd-plugins_git.bb
+++ b/recipes-neutrino/neutrino-hd-plugins/neutrino-hd-plugins_git.bb
@@ -11,7 +11,7 @@ PV = "0.0+git${SRCPV}"
 # does not work like that?
 # PV_Neutrino-HD-plugin-tuxcom = "1.17+git${SRCPV}"
 
-SRC_URI = "git://github.com/neutrino-mp/neutrino-hd-plugins.git;protocol=http \
+SRC_URI = "git://github.com/dbt1/neutrino-hd-plugins.git;protocol=http \
 "
 
 S = "${WORKDIR}/git"
diff --git a/recipes-neutrino/neutrino-mp/neutrino-mp_git.bb b/recipes-neutrino/neutrino-mp/neutrino-mp_git.bb
index 44c057b..825acde 100644
--- a/recipes-neutrino/neutrino-mp/neutrino-mp_git.bb
+++ b/recipes-neutrino/neutrino-mp/neutrino-mp_git.bb
@@ -56,7 +56,7 @@ SRCREV = "${AUTOREV}"
 PV = "${N_MAJOR}.${N_MINOR}+git${SRCPV}"
 PR = "r2"
 
-NEUTRINO_MP_GIT ?= "git://github.com/neutrino-mp/neutrino-mp.git"
+NEUTRINO_MP_GIT ?= "git://github.com/dbt1/neutrino-mp.git"
 
 SRC_URI = " \
 	${NEUTRINO_MP_GIT} \
meta-stlinux scheint die neutrino-mp Repos nicht zu mögen. :wink:

Danach hat bitbake neutrino-image soweit durchgebaut. Allerdings auch nicht ganz Astrein.

Code: Alles auswählen

dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> bitbake  neutrino-image
NOTE: Started PRServer with DBfile: /home/dbt/devel/yocto/poky-stl/build-stl/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 59884, PID: 17082
WARNING: Host distribution "SUSELINUX-13.2" 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 1390 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################################################################################################| Time: 00:00:01
Parsing of 951 .bb files complete (944 cached, 7 parsed). 1396 targets, 67 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "sh4-poky-linux"
MACHINE           = "spark"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.2"
TUNE_FEATURES     = "sh4"
meta              
meta-poky         
meta-yocto-bsp    = "krogoth:ae9b341ecfcc60e970f29cfe04306411ad26c0cf"
meta-stlinux      = "master:09018296dff4576543bb7611ce643da09412f14b"
meta-neutrino-mp  = "master:dc79b6c179deb4601e057baddeb0d8c4f44a5dd0"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: glibc-2.23-r0 do_package_qa: QA Issue: ELF binary '/home/dbt/devel/yocto/poky-stl/build-stl/tmp/work/sh4-poky-linux/glibc/2.23-r0/packages-split/nscd/usr/sbin/nscd' has relocations in .text [textrel]
WARNING: autofs-4.1.4-r11 do_package_qa: QA Issue: ELF binary '/home/dbt/devel/yocto/poky-stl/build-stl/tmp/work/sh4-poky-linux/autofs/4.1.4-r11/packages-split/autofs/usr/sbin/automount' has relocations in .text [textrel]
ERROR: neutrino-image-1.0-r0 do_image_spark71xx_usbimg: Taskhash mismatch a9a4c8400ef222eefc06cbbb2d06920c verses fa1a8260a252cd80e754dac5c24b68c8 for /home/dbt/devel/yocto/poky-stl/meta-neutrino-mp/recipes-images/images/neutrino-image.bb.do_image_spark71xx_usbimg
ERROR: Taskhash mismatch a9a4c8400ef222eefc06cbbb2d06920c verses fa1a8260a252cd80e754dac5c24b68c8 for /home/dbt/devel/yocto/poky-stl/meta-neutrino-mp/recipes-images/images/neutrino-image.bb.do_image_spark71xx_usbimg
NOTE: Tasks Summary: Attempted 2858 tasks of which 1866 didn't need to be rerun and all succeeded.

Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
dbt@linux-11-3:~/devel/yocto/poky-stl/build-stl> 
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: meta-stlinux

Beitrag von seife »

Also ich verstehe nicht, woran es bei dir hängt. Ich konnte im docker-container zwar nicht zuende durchbauen (vermutlich irgendeine obskure host-dependency die fehlt), aber "-c fetchall" lief durch (das lädt ja die git-repos schon runter). Danach ist im Download-ordner auch Inhalt:

Code: Alles auswählen

yocto@c200673395e7:~/yocto-poky-stl/build-stl> ls -l ~/download/git2/*github*neutrino* -d
drwxr-xr-x 7 yocto users 138 Jan 13 09:10 /home/yocto/download/git2/github.com.neutrino-mp.libstb-hal.git
-rw-r--r-- 1 yocto users   6 Jan 13 09:10 /home/yocto/download/git2/github.com.neutrino-mp.libstb-hal.git.done
drwxr-xr-x 7 yocto users 138 Jan 13 09:11 /home/yocto/download/git2/github.com.neutrino-mp.neutrino-mp.git
-rw-r--r-- 1 yocto users   6 Jan 13 09:11 /home/yocto/download/git2/github.com.neutrino-mp.neutrino-mp.git.done
Wenn es das bei dir nicht gibt, dann ist das irgendwie seltsam.

Gammelt auf deinem system *irgendwo* ein Verzeichnis github.com.neutrino-mp.neutrino-mp.git rum, das da dazwischenfunken könnte?

LIBSTB_HAL_GIT und NEUTRINO_MP_GIT kannst du einfach in der conf/local.conf setzen, mach ich auch so um meine lokalen entwicklungsrepos zu testen, vor die gepushed werden:

Code: Alles auswählen

seife@server:/space1/seife/src/yocto-poky/build-stl> grep _GIT conf/local.conf
LIBSTB_HAL_GIT  = "git:///local/seife/src/neutrino-sources/libstb-hal;protocol=file"
NEUTRINO_MP_GIT = "git:///local/seife/src/neutrino-sources/neutrino-mp;protocol=file"
Die taskhash dinger lungern überall rum, wo das Build datum vorkommt, wenn ich das richtig verstehe deswegen, weil das den Build nicht-reproduzierbar macht. Die sind halt schwierig zu debuggen, weil sie meist nur einmal pro Tag auftreten. Wenn man das recipe dann "clean"t und nochmal laufen lässt, hat man bis zum nächten Tag wieder ruhe. Ich habe jedoch schon lange keine mehr gesehen, deswegen wundert es mich ein wenig, warum es bei dir auftritt.
Antworten