• Bug#1052930: triton: FTBFS: make: *** [debian/rules:5: binary] Error 25

    From Petter Reinholdtsen@21:1/5 to All on Sat Feb 17 09:40:01 2024
    [Petter Reinholdtsen]
    I tried replacing build dependencies libmlir-14-dev and mlir-14-tools
    with libmlir-16-dev and mlir-16-tools to match the llvm version
    detected during my build, but it still fail. I do not undrestand
    cmake enough to understand why it fail.

    I figured out a short term fix for this:

    --- a/debian/control
    +++ b/debian/control
    @@ -7,7 +7,7 @@ Build-Depends: cmake,
    debhelper-compat (= 13),
    dh-python,
    libmlir-14-dev,
    - llvm-dev,
    + llvm-14-dev,
    mlir-14-tools,
    python3-all-dev,
    python3-sphinx,

    Instead of trying to get it working with newer llvm, it ensure llvm 14
    is used consistently during built. I am planning an upload, but sadly ftp.upload.debian.org is unavailable via IPv4 at the moment, so I am
    unable to upload. Git on salsa is updated, though.

    This is a short term fix as we need to get it working with newer
    versions of llvm to fix <URL: https://bugs.debian.org/1061219 >.

    --
    Happy hacking
    Petter Reinholdtsen

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)