• Bug#1067376: gforth: FTBFS: make[1]: *** [Makefile:655: build-libcc-nam

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 20 22:20:11 2024
    Source: gforth
    Version: 0.7.3+dfsg-9
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240319 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    make[4]: Entering directory '/<<PKGBUILDDIR>>'
    Makefile:867: warning: ignoring prerequisites on suffix rule definition Makefile:867: warning: ignoring prerequisites on suffix rule definition ./engine/gforth-fast-ll-reg --die-on-signal -p ".:/usr/lib/x86_64-linux-gnu/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/x86_64-linux-gnu/gforth/0.7.3:/usr/share/gforth/0.7.3:." test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.
    fs test/string.fs test/float.fs test/deferred.fs test/coreext.fs test/search.fs -e bye 2>&1 | tr -d '\015' | diff -c - ./test/coretest.out
    ./engine/gforth-fast-ll-reg --die-on-signal -p ".:/usr/lib/x86_64-linux-gnu/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/x86_64-linux-gnu/gforth/0.7.3:/usr/share/gforth/0.7.3:." test/other.fs -e bye
    expect ``warning: ')' missing''
    warning: ')' missing
    ./engine/gforth-fast-ll-reg -p ".:/usr/lib/x86_64-linux-gnu/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/x86_64-linux-gnu/gforth/0.7.3:/usr/share/gforth/0.7.3:." test/signals.fs -e bye
    ./engine/gforth-fast-ll-reg -p ".:/usr/lib/x86_64-linux-gnu/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/x86_64-linux-gnu/gforth/0.7.3:/usr/share/gforth/0.7.3:." test/coremore.fs test/gforth.fs -e bye 2>&1 | tr -d '\015' | diff -c - ./test/
    gforth.out
    ./engine/gforth-fast-ll-reg --die-on-signal -p ".:/usr/lib/x86_64-linux-gnu/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/x86_64-linux-gnu/gforth/0.7.3:/usr/share/gforth/0.7.3:." code.fs test/checkans.fs -e bye | tr -d '\015' | diff -c - ./
    test/checkans.out
    redefined place with PLACE ./engine/gforth-fast-ll-reg --die-on-signal -p ".:/usr/lib/x86_64-linux-gnu/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/x86_64-linux-gnu/gforth/0.7.3:/usr/share/gforth/0.7.3:." prims2x.fs -e \
    "c-flag on s\" prim.i\" out-filename 2! s\" ./prim.b\" ' output-c ' output-c-combined process-file bye"| \
    tr -d '\015' | grep -v '^#line '|diff -c - engine/prim-s.i
    make[4]: Leaving directory '/<<PKGBUILDDIR>>'
    make[3]: Leaving directory '/<<PKGBUILDDIR>>'
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    rm -rf lib/gforth/0.7.3/libcc-named/
    for i in libffi.fs cstr.fs unix/socket.fs; do ./gforth -e "s\" `pwd`/lib/gforth/0.7.3/libcc-named/\" libcc-named-dir-v 2! libcc-path clear-path libcc-named-dir libcc-path also-path :noname 2drop s\" /usr/lib/x86_64-linux-gnu/gforth/0.7.3/libcc-named/\"
    ; is replace-rpath" ./$i -e bye; done
    /<<PKGBUILDDIR>>/lib/gforth/0.7.3/libcc-named/libffi.c: In function ‘libffi_LTX_gforth_c_ffi_prep_closure1_aaa_n’:
    /<<PKGBUILDDIR>>/lib/gforth/0.7.3/libcc-named/libffi.c:95:3: warning: ‘ffi_prep_closure’ is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations]
    95 | sp[2]=ffi_prep_closure1((void *)(sp[2]),(void *)(sp[1]),(void *)(sp[0]));
    | ^~
    In file included from /<<PKGBUILDDIR>>/lib/gforth/0.7.3/libcc-named/libffi.c:3:
    /usr/include/x86_64-linux-gnu/ffi.h:356:1: note: declared here
    356 | ffi_prep_closure (ffi_closure*,
    | ^~~~~~~~~~~~~~~~

    file not found
    in file included from *OS command line*:-1
    libffi.fs:159: open-lib failed
    end-c-library<<<
    Backtrace:
    $7F7392FCE988 throw
    $7F739300AE50 c(abort")
    $7F739300B700 compile-wrapper-function1

    file not found
    in file included from *OS command line*:-1
    cstr.fs:23: open-lib failed
    end-c-library<<<
    Backtrace:
    $7F75F5039988 throw
    $7F75F5075E50 c(abort")
    $7F75F5076700 compile-wrapper-function1

    file not found
    in file included from *OS command line*:-1
    unix/socket.fs:48: open-lib failed
    end-c-library<<<
    Backtrace:
    $7F637A2E7988 throw
    $7F637A323E50 c(abort")
    $7F637A324700 compile-wrapper-function1
    make[1]: *** [Makefile:655: build-libcc-named] Error 1


    The full build log is available from: http://qa-logs.debian.net/2024/03/19/gforth_0.7.3+dfsg-9_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

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