Posts by heitbaum

    I update gcc and g++ to version 14.1.0.

    I tried lunch build (with fix and without fix(loading new git) ) , but not success.
    Now error cmake (013/313)

    I installed cmake, but not success.

    We build our own copy of cmake (it is failing for some reason)

    Details will be in the build.LibreELEC-Generic.x86_64-13.0-devel/.threads/logs/13.log log file


    1. But first go back to “your working machine” before you added gcc14. Ubuntu doesn’t have a gcc-14

    2. Check the build. Run something like the following commands

    cd /home/tod

    mv LibreELEC.tv old

    git clone https://github.com/LibreELEC/LibreELEC.tv.git

    cd LibreELEC.tv

    # wget … as above

    # git am … as above

    # we are not going to build open-iscsi yet

    # let’s test you build environment

    make image

    # share your success/logs

    # move on to scripts/build open-iscsi


    Booting an image with iscsi may not/probably won’t work (or you might need to do some/a lot of work) we haven’t tested an iscsi build for a long time.

    Thx.
    On the computer where I am building libreelec (x64 Ubuntu 22.04 - 64bit) is installed. At the moment I am compiling gcc-14, because... This fix, as I understand it, requires version 14. The terminal showed this: Application: open-iscsi: fix build with gcc-14.
    I try it and write here.

    You won’t need gcc-14 to do the build (it will cause other issues), it looks like it has made your build host unstable.

    The patches themselves are for the LE build system (as we compile a copy of gcc during the build)

    The LE build will run with no problems on a “clean Ubuntu 22.04 or 24.04” system.

    If in your LibreELEC.tv directory you do the following, that patches to fix the compile error will be added.


    Code
    wget https://github.com/LibreELEC/LibreELEC.tv/pull/9163.patch
    git am 9163.patch

    # or the following if you are not using a git clone

    Code
    patch -p1 < 9163.patch

    I have done a test using noble (with host gcc 14) and needed the 3 patches in my gcc-14 branch (as I had expected) I needed to remove openjdk-21-jre-headless and use openjdk-17-jre-headless

    Commits · heitbaum/LibreELEC.tv
    Just enough OS for KODI. Contribute to heitbaum/LibreELEC.tv development by creating an account on GitHub.
    github.com

    Then did scripts/build kodi

    The build was successful

    Note: le11 11.0.6 was built with the jammy docker image in our GitHub Actions.

    duncang92 we are trying to test this ssl issue, and can’t reproduce it yet.


    Can your please confirm the password to your mariadb matches between the advancedsettings.xml and the mariadb. The password won’t be “kodi”. Please don’t share your password here - but it should be the ddddd line.

    please also test the following line - it should let you in to the database.
    # mariadb -h 192.168.68.51 --skip-ssl-verify-server-cert -u kodi -p

    In LE we have fixed/worked around …. the connector change and the fact that 3.4 can only work with a verified ssl connection.

    The below patch to Kodi “should” fix Kodi to alway “not verify” ssl (thus allowing non sls too). I have not submitted it upstream as I have not “fully tested it”.

    Atm the latest Pi nightly is from 2024-06-23 with latest update from 2024-06-22 which means the latest 8 changes haven't triggered a new build, any problems?

    CI doesn’t really like [does not have capacity to] building both LE12 and LE13 on the same day. (And addons.)

    in addition the generic builds overrun their 6 hour allotment so these have been missing out a bit. The overrun when the new job cancels the old being the most distracting.


    I have cleared the backlog - so “all” 🤞LE13 nightlies are queued for build.

    Looks ok here

    Looks like this works:

    Thanks for testing vpeter - for the time being (as this needs a Kodi change) this will need to be the workaround.

    It looks like the client has changed the “failure logic”

    [MDEV-28634] Client's --ssl-* options (without --ssl-verify-server-cert) are silently ignored if TLS is not possible - Jira
    >> The client will only see an error if they also provide the --ssl-verify-server-cert option:<<

    I believe the correct fix would be to set sslMode=disabled in the connection from Kodi - as in https://mariadb.com/kb/en/using-tl…java-connector/ (will be the same with c connector I believe)
    By default when sslMode is set (not disabled), connector will use "serverSslCert" is set or the default truststore if not. Using default truststore can be disable setting option "fallbackToSystemTrustStore" to false.

    Can you confirm it forces ssl or forces ssl verification?

    these are the changes

    Comparing v3.3.10...v3.4.0 · mariadb-corporation/mariadb-connector-c
    MariaDB Connector/C is used to connect applications developed in C/C++ to MariaDB and MySQL databases.The client library is LGPL licensed. - Comparing…
    github.com

    and this one is the force ssl verification.

    Here are the ssl stuff from mariadb and there seems to be some require per user. Without seeing the logs I could not comment further. But is your connection running ssl (and just without the verify?) and it fails with the connector 3.4 (due to the verify) - the comments should be pretty useful in isolating this.

    Securing Connections for Client and Server
    Enabling TLS encryption in transit on both the client and server.
    mariadb.com