Wie kompiliert man sein eigenes CVS- oder OE-Image?

  • Mal ne andere Frage, wie lange solte es dauern bis das Image fertig ist?

    Gruß
    Tube10000 :winking_face:



    E2 Box: Dream TWO 4K - Dream ONE 4K - VU Zero 4K

    Image: GP4.2 unstable AIO (All in One) Image ~ VTI ~ BlackHole 3.1.0 Multistream

    Sonstiges: Router: Fritz!Box 7590 ~ Wlan Stick: Dream Multimedia - Streaming: Apple TV 4K - FireTV Cube 3d Gen. - Fire TV Stick

    Satelliten:

    28,2°E | 23,5°E | 19,2°E

    DO NOT PM ME FOR HELP...ASK YOUR QUESTIONS IN THE FORUM

  • OE dauert recht lang, cvs geht ungleich schneller (logisch)

    Meine Rechtschreibfehler unterliegen der GPL

  • Kann es von Nachteil sein wenn Linux (Ubuntu) auf ner Virtuellen Maschine lüppt oder ist das für die Laufzeit egal?

    Gruß
    Tube10000 :winking_face:



    E2 Box: Dream TWO 4K - Dream ONE 4K - VU Zero 4K

    Image: GP4.2 unstable AIO (All in One) Image ~ VTI ~ BlackHole 3.1.0 Multistream

    Sonstiges: Router: Fritz!Box 7590 ~ Wlan Stick: Dream Multimedia - Streaming: Apple TV 4K - FireTV Cube 3d Gen. - Fire TV Stick

    Satelliten:

    28,2°E | 23,5°E | 19,2°E

    DO NOT PM ME FOR HELP...ASK YOUR QUESTIONS IN THE FORUM

    Einmal editiert, zuletzt von Tube10000 ()

  • Ich habe keinen großen Nachteil bemerkt. Ich entwickel selber mit einer VM und sehe darin auch einen Vorteil. Da ich verschiedene Rechner habe kann ich meine VM auch global nutzen zum entwickeln.
    Wichtig für mich war auch wenn ich mein OS abschiesse, das ich schnell wieder arbeiten kann...


    Gruss HalfMoon

  • Komme hier einfach nicht weiter


    NOTE: package libgcrypt-1.2.2: started
    NOTE: package libgcrypt-1.2.2-r0: task do_compile: started
    ERROR: function do_compile failed
    ERROR: see log in /home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/temp/log.do_compile.22655
    NOTE: Task failed: /home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/temp/log.do_compile.22655
    NOTE: package libgcrypt-1.2.2-r0: task do_compile: failed
    ERROR: TaskFailed event exception, aborting
    NOTE: package libgcrypt-1.2.2: failed
    ERROR: Build of dreambox-image failed
    make: *** [image] Fehler 1
    avalon@avalon-desktop:~/tuxbox-bb$


    Und hier die log


    NOTE: make
    make[1]: Entering directory `/home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/libgcrypt-1.2.2'
    make all-recursive
    make[2]: Entering directory `/home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/libgcrypt-1.2.2'
    Making all in mpi
    make[3]: Entering directory `/home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/libgcrypt-1.2.2/mpi'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/libgcrypt-1.2.2/mpi'
    Making all in cipher
    make[3]: Entering directory `/home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/libgcrypt-1.2.2/cipher'
    /bin/sh ../libtool --tag=CC --mode=link mipsel-linux-gcc -I/home/avalon/tuxbox-bb/build/tmp/staging/mipsel-linux/include -I/home/avalon/tuxbox-bb/build/tmp/staging/mipsel-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -Wall -L/home/avalon/tuxbox-bb/build/tmp/staging/mipsel-linux/lib -Wl,-rpath-link,/home/avalon/tuxbox-bb/build/tmp/staging/mipsel-linux/lib -Wl,-O1 -o libcipher.la cipher.lo pubkey.lo ac.lo md.lo primegen.lo random.lo arcfour.lo blowfish.lo cast5.lo des.lo rijndael.lo twofish.lo serpent.lo rfc2268.lo dsa.lo rsa.lo elgamal.lo crc.lo md4.lo md5.lo sha256.lo sha512.lo tiger.lo rmd160.lo sha1.lo rndlinux.lo -lnsl -lnsl
    libtool: link: `des.lo' is not a valid libtool object
    make[3]: *** [libcipher.la] Error 1
    make[3]: Leaving directory `/home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/libgcrypt-1.2.2/cipher'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/libgcrypt-1.2.2'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/avalon/tuxbox-bb/build/tmp/work/libgcrypt-1.2.2-r0/libgcrypt-1.2.2'
    FATAL: oe_runmake failed


    Datum steht bei Enigma2.bb, Enigma2-plugins.bb und Enigma2-skins.bb auf 20080427

    Dm920
    4TB Festplatte
    Schüssel 90cm
    Astra19,2, Hotbird13°
    Ps3 Slim 640Gb (Rebug)
    Ps4 Pro 2Tb

  • Hi,

    Zitat

    Original von Tube10000
    Kann es von Nachteil sein wenn Linux (Ubuntu) auf ner Virtuellen Maschine lüppt oder ist das für die Laufzeit egal?


    auf meinem Rechner D950 mit 2GB dauert es mit VMware-Player ca. 30% länger als nativ unter Linux. Mit Colinux statt VM-Ware sind es nur noch ca. 5% Verlust.


    ciao

    ---
    7020, Combo, Solo2, Ultimo

    Einmal editiert, zuletzt von Trial ()

  • Hab mein Ubuntu neu aufgesetzt und auch monotone 0.37 migriert.
    So bei mein ersten versuch bekomme ich diesen Fehler.


    ERROR: local variable 'bb' referenced before assignment while parsing /home/mrcop/tuxbox-bb/openembedded/packages/linux/linux-mtx-1_2.4.27.bb
    ERROR: Error in executing:
    ERROR: Exception:<type 'exceptions.UnboundLocalError'> Message:local variable 'bb' referenced before assignment
    ERROR: Printing the environment of the function
    ERROR: 0001:def __anonfunc():
    ERROR: 0002: import exceptions
    ERROR: 0003: need_host = bb.data.getVar('COMPATIBLE_HOST', d, 1)
    ERROR: 0004: if need_host:
    ERROR: 0005: import re
    ERROR: 0006: this_host = bb.data.getVar('HOST_SYS', d, 1)
    ERROR: 0007: if not re.match(need_host, this_host):
    ERROR: local variable 'bb' referenced before assignment while parsing /home/mrcop/tuxbox-bb/openembedded/packages/linux/linux-colinux_2.6.10.bb
    ERROR: Error in compiling:
    ERROR: The lines resulting into this error were:
    ERROR: 50:IndentationError:' pv = bb.data.getVar("PV",d,1).split('-')'
    ERROR: Printing the environment of the function
    ERROR: 0046: # The patches list may be empty. This code starts with the base
    ERROR: 0047: # kernel version and steps through the patches. Because the rc and
    ERROR: 0048: # pre patches actually require the *preceding* kernel version the code
    ERROR: 0049: # fixes that up appropriately.
    ERROR: 0050: pv = bb.data.getVar("PV",d,1).split('-')
    ERROR: 0051: kernel = pv[0].split('.')
    ERROR: 0052: base = pv[0]
    ERROR: 0053: name = [base]
    ERROR: 0054: major = '.'.join(name[0].split('.')[0:2])
    make: *** [image] Fehler 1
    mrcop@Ubuntu8:~/tuxbox-bb$



    Kann jemand weiterhelfen. Ich vermute das der fehler bei copilieren der linux-colinux_2.6.10.bb
    Aber wie soll ich den becheben.

  • Nochmal hoch schiebt.


    ERROR: local variable 'bb' referenced before assignment while parsing /home/mrcop/tuxbox-bb/openembedded/packages/linux/linux-colinux_2.6.10.bb
    ERROR: Error in compiling:
    ERROR: The lines resulting into this error were:
    ERROR: 50:IndentationError:' pv = bb.data.getVar("PV",d,1).split('-')'
    ERROR: Printing the environment of the function
    ERROR: 0046: # The patches list may be empty. This code starts with the base
    ERROR: 0047: # kernel version and steps through the patches. Because the rc and
    ERROR: 0048: # pre patches actually require the *preceding* kernel version the code
    ERROR: 0049: # fixes that up appropriately.
    ERROR: 0050: pv = bb.data.getVar("PV",d,1).split('-')
    ERROR: 0051: kernel = pv[0].split('.')
    ERROR: 0052: base = pv[0]
    ERROR: 0053: name = [base]
    ERROR: 0054: major = '.'.join(name[0].split('.')[0:2])
    make: *** [image] Fehler 1
    mrcop@Ubuntu8:~/tuxbox-bb$

  • Code
    ERROR: local variable 'bb' referenced before assignment while parsing /home/mrcop/tuxbox-bb/openembedded/packages/linux/linux-colinux_2.6.10.bb
  • # user config
    MACHINE=dm7020
    DISTRO=opendreambox-1.5


    # defaults, which should fit.
    DISABLE_UPDATE=0
    OE_MTN_SERVER=monotone.openembedded.org
    SVN_BITBAKE_PARENT="svn://svn.berlios.de/bitbake/"
    SVN=svn
    BB_VERSION=1.6.8


    die BB1.6.8 mit der sollte es noch funzen hab es schon leztens mit der gemacht.

  • Hi.
    Try to get latest version of makefile:


    Code
    wget "http://schwerkraft.elitedvb.net/plugins/scmcvs/cvsweb.php/~checkout~/Makefile-opendreambox?content-type=text%2Fplain;cvsroot=opendreambox"


    EDIT: from that latest pull:


    BB_VERSION=1.4.2

  • Leider hat auch diese version mein Fehler nicht behoben.


    Hat schon jemand mit Ubuntu 8.4 ein image gebaut??

  • As I know, on My forum almost everybody ( who have ubuntu 8.4 ) can build image.
    I can do it with FC9 ( both 32 or 64 bit )

  • Heilo


    Das Hardy geht bei mir einwandfrei - ich habe nur nach dem das System sich upgedated hat die Monotone 0.32 einfach drüberkopiert, weil mit dem Migrieren bin ich nicht glücklich geworden... Da kam irgendwie auch nur Käse raus und bei dem Haufen der fast täglich neu ins OE wandert muß man ja jedesmal migrieren, das dauert ja selbst mit nem Wolfdale und 3.6 GHz ne kleine Ewigkeit...