[DONE] (7.0.3.012g) building 64bit

  • kszaq


    I have often built 64bit LE using following simple recipe

    Code
    1. git clone https://github.com/kszaq/LibreELEC.tv.git
    2. cd LibreELEC.tv
    3. git checkout -b 7.0.3.012c 7.0.3.012c (or older tag)
    4. PROJECT=S905 ARCH=aarch64 make -j13 image


    from the moment only 32bit images were available I had to do (as you kindly told)

    Code
    1. cp projects/S905/linux/linux.arm.conf projects/S905/linux/linux.aarch64.conf
    2. rm projects/S905/patches/Python/*


    but, from 7.0.3.012d onward I have several issues building 64bit LE


    - for example aarch64-linux-gnu-gcc not found
    (which I hack by linking aarch64-libreelec-linux-gnueabi-xxx to aarch64-linux-gnu-xxx in build.LibreELEC-S905.aarch64-7.0-devel/toolchain/bin)


    - but eventually I run into funny errors such as in xbmc:
    [Fatal Error] classXBMCAddon_1_1xbmcgui_1_1ControlSpin.xml:58:271: XML document structures must start and end within the same entity.


    What I would like to request from you:


    Can you, moving forward, keep repository such that you check if 64bit continues to build.
    If it does build for you, then it should also for others.


    Thank you very very much for your amazing work !

    player : Mini MX-G p200_2G & Inphic Spot i7 PRO p212 & Khadas VIM2 q200
    monitor : iiyama ProLite E2283HS
    speaker : UE Boom 2
    dvb-t : PCTV microStick (79e)
    firmware : android | LE 64bit | balbes 3in1 | gentoo

    Edited once, last by Nofan Tasi ().

  • I have pushed an updated Python patch to my libreelec-7.0 branch (updated by Raybuntu) so that you won't have to remove Python patches when building for aarch64. I will do the same in libreelec-8.0 branch.


    For kernel config you can simply create a symlink in linux folder linux.aarch64.conf -> linux.arm.conf so that with every pull/checkout it will link to latest kernel config.


    The build issues you are facing seem to be your machine-specific, I didn't push any changes that could break building in that way.


    Unfortunately I cannot check building for aarch64 every time as I don't have enough resources to do that - I compile on my laptop and building for different arch requires a whole new build folder that consumes quite a few GBs. That said I try not to do any changes that can break aarch64.


  • Thanks for kind reply


    I will keep on trying and will no longer remove Python patches + create the symlink.
    Can I simply continue to use 7.0.3.012e tag or shall I use another one or another branch?


    keep you informed

    player : Mini MX-G p200_2G & Inphic Spot i7 PRO p212 & Khadas VIM2 q200
    monitor : iiyama ProLite E2283HS
    speaker : UE Boom 2
    dvb-t : PCTV microStick (79e)
    firmware : android | LE 64bit | balbes 3in1 | gentoo

    Edited once, last by Nofan Tasi ().

  • Thanks for kind reply


    I will keep on trying and will no longer remove Python patches + create the symlink.
    Can I simply continue to use 7.0.3.012e tag or shall I use another one or another branch?


    keep you informed


    I tried again (sorry: had to wait because libreelec download server not usabe). Same issues.
    This time I checked out 7.0:

    Code
    1. git checkout libreelec-7.0


    But same fatal build issue:

    Code
    1. $ grep -i -A1 fatal image.log
    2. [Fatal Error] classXBMCAddon_1_1xbmcgui_1_1ControlSpin.xml:58:271: XML document structures must start and end within the same entity.
    3. Caught: org.xml.sax.SAXParseException; systemId: file:///home/gentoo/MiniMX/LibreELEC/kszaq/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0-deve
    4. l/kodi-16.1-c327c53/xbmc/interfaces/python/generated/doxygenxml/classXBMCAddon_1_1xbmcgui_1_1ControlSpin.xml; lineNumber: 58; columnNumber: 27


    the doxygen classXBMCAddon_1_1xbmcgui_1_1ControlSpin.xml looks truncated indeed.
    012c is latest I could build without problems. I imagine kszaq changes are not the cause. But upstream changes may.


    If anyone would be so kind to try to build, say, 012f, that would help troubleshoot if problem is related to my build environment.

    player : Mini MX-G p200_2G & Inphic Spot i7 PRO p212 & Khadas VIM2 q200
    monitor : iiyama ProLite E2283HS
    speaker : UE Boom 2
    dvb-t : PCTV microStick (79e)
    firmware : android | LE 64bit | balbes 3in1 | gentoo

  • Hi all
    I managed to build 7.0 012g inside an ubuntu yakkety chroot on my gentoo.
    It was not 100% straightforward but no major obstacles. I needed to adjust 3 minor issues.
    here is the image
    LE – Google Drive

    player : Mini MX-G p200_2G & Inphic Spot i7 PRO p212 & Khadas VIM2 q200
    monitor : iiyama ProLite E2283HS
    speaker : UE Boom 2
    dvb-t : PCTV microStick (79e)
    firmware : android | LE 64bit | balbes 3in1 | gentoo

    Edited once, last by Nofan Tasi ().


  • I am using this build with great success on my Mini M8S-II 2G /8G Box. I am reluctant to move to LE 8 as there are a lot of bugs to be ironed out.
    Everything works great. Thanks a lot. I want to try deluge instead of transmission . I know thoradia has developed it. but it is only for LE8. Will it be possible for you to develop deluge as an addon for your above Build. Just a request. if it is too much effort , then forget it. I will be using 64 Bit for as long as you keep building them. Thank you in advance.


  • I am using this build with great success on my Mini M8S-II 2G /8G Box. I am reluctant to move to LE 8 as there are a lot of bugs to be ironed out.
    Everything works great. Thanks a lot. I want to try deluge instead of transmission . I know thoradia has developed it. but it is only for LE8. Will it be possible for you to develop deluge as an addon for your above Build. Just a request. if it is too much effort , then forget it. I will be using 64 Bit for as long as you keep building them. Thank you in advance.


    I have switched to building LE 8 only, ... I apologise.

    player : Mini MX-G p200_2G & Inphic Spot i7 PRO p212 & Khadas VIM2 q200
    monitor : iiyama ProLite E2283HS
    speaker : UE Boom 2
    dvb-t : PCTV microStick (79e)
    firmware : android | LE 64bit | balbes 3in1 | gentoo


  • I am using this build with great success on my Mini M8S-II 2G /8G Box. I am reluctant to move to LE 8 as there are a lot of bugs to be ironed out.
    Everything works great. Thanks a lot. I want to try deluge instead of transmission . I know thoradia has developed it. but it is only for LE8. Will it be possible for you to develop deluge as an addon for your above Build. Just a request. if it is too much effort , then forget it. I will be using 64 Bit for as long as you keep building them. Thank you in advance.


    I did not manage to build Deluge for LE 7. If you want to try to build it from where left it, uncomment PKG_IS_ADDON in LibreELEC.tv/package.mk at thoradia-7.0 · thoradia/LibreELEC.tv · GitHub.

    Keep it legal and carry on