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

Reply via email to