• Bug#1063398: FTBFS: src/capng_swig.i:33: Error: Unknown directive '%exc

    From =?UTF-8?Q?H=C3=A5vard?= F. Aasen@21:1/5 to Emanuele Rocca on Wed Feb 7 16:40:01 2024
    On 07.02.2024 16:27, Emanuele Rocca wrote:
    Source: libcap-ng
    Version: 0.8.4-1
    Severity: serious
    Tags: sid trixie ftbfs

    Hi,

    libcap-ng currently FTBFS with the following error:

    make[6]: Entering directory '/<<PKGBUILDDIR>>/build-py3.11/bindings/python3' cat /usr/include/linux/capability.h | grep '^#define CAP' | grep -v '[()]' > caps.h
    cat ../../../src/cap-ng.h | grep -v '_state' > capng.h
    swig -o capng_wrap.c -python -I. -I../.. -I/usr/include/python3.11 -I/usr/include/python3.11 ../../../bindings/python3/../src/capng_swig.i
    ../../../bindings/python3/../src/capng_swig.i:33: Error: Unknown directive '%except'.
    make[6]: *** [Makefile:878: capng_wrap.c] Error 1
    make[6]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11/bindings/python3' make[5]: *** [Makefile:595: all-recursive] Error 1
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11/bindings/python3' make[4]: *** [Makefile:390: all-recursive] Error 1
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11/bindings'
    make[3]: *** [Makefile:441: all-recursive] Error 1
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11'
    make[2]: *** [Makefile:373: all] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11'


    I believe upstream has fixed this with [1], I'll take a closer look, hopefully today,
    and get the package updated.


    --
    HÃ¥vard


    [1] https://github.com/stevegrubb/libcap-ng/commit/30453b6553948cd05c438f9f509013e3bb84f25b

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Emanuele Rocca@21:1/5 to All on Wed Feb 7 16:30:01 2024
    Source: libcap-ng
    Version: 0.8.4-1
    Severity: serious
    Tags: sid trixie ftbfs

    Hi,

    libcap-ng currently FTBFS with the following error:

    make[6]: Entering directory '/<<PKGBUILDDIR>>/build-py3.11/bindings/python3' cat /usr/include/linux/capability.h | grep '^#define CAP' | grep -v '[()]' > caps.h
    cat ../../../src/cap-ng.h | grep -v '_state' > capng.h
    swig -o capng_wrap.c -python -I. -I../.. -I/usr/include/python3.11 -I/usr/include/python3.11 ../../../bindings/python3/../src/capng_swig.i
    ../../../bindings/python3/../src/capng_swig.i:33: Error: Unknown directive '%except'.
    make[6]: *** [Makefile:878: capng_wrap.c] Error 1
    make[6]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11/bindings/python3' make[5]: *** [Makefile:595: all-recursive] Error 1
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11/bindings/python3' make[4]: *** [Makefile:390: all-recursive] Error 1
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11/bindings'
    make[3]: *** [Makefile:441: all-recursive] Error 1
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11'
    make[2]: *** [Makefile:373: all] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-py3.11'

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