• Bug#1110324: ttyrec FTCBFS: Uses build arch compiler

    From Nilesh Patra@21:1/5 to All on Sun Aug 3 12:30:02 2025
    Package: ttyrec
    Version: 1.1.7.1-1
    Tags: patch
    User: [email protected]
    Usertags: ftcbfs
    X-Debbugs-Cc: [email protected]

    Hi,

    The configure script in ttyrec searches for CC variable and conditionally
    sets it to gcc if unset. This fails during cross compilation since this
    uses the native compiler.

    The patch pasted at the end of this mail should explicitly export it to the right value. Please consider applying.

    Thanks
    Nilesh

    diff --git a/debian/rules b/debian/rules
    index 126b64e..dc028e3 100755
    --- a/debian/rules
    +++ b/debian/rules
    @@ -1,5 +1,7 @@
    #!/usr/bin/make -f
    -
    +include /usr/share/dpkg/architecture.mk
    +DPKG_EXPORT_BUILDTOOLS=1
    +include /usr/share/dpkg/buildtools.mk
    export NO_STATIC_ZSTD := 1

    %:

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