Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921305 - sys-libs/libcap-ng-0.8.4 - [slibtool] /.../capng_swig.i:33: Error: Unknown directive %except.
Summary: sys-libs/libcap-ng-0.8.4 - [slibtool] /.../capng_swig.i:33: Error: Unknown di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 18:28 UTC by Toralf Förster
Modified: 2024-01-05 05:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.83 KB, text/plain)
2024-01-03 18:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,55.01 KB, text/plain)
2024-01-03 18:28 UTC, Toralf Förster
Details
environment (environment,133.35 KB, text/plain)
2024-01-03 18:28 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.39 KB, application/x-xz)
2024-01-03 18:28 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.46 KB, application/x-xz)
2024-01-03 18:28 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,99.15 KB, text/plain)
2024-01-03 18:28 UTC, Toralf Förster
Details
sys-libs:libcap-ng-0.8.4:20240103-174416.log (sys-libs:libcap-ng-0.8.4:20240103-174416.log,32.43 KB, text/plain)
2024-01-03 18:28 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.56 KB, application/x-xz)
2024-01-03 18:28 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-01-03 18:28:30 UTC
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/tmp/portage/sys-libs/libcap-ng-0.8.4/work/libcap-ng-0.8.4-python3_11/bindings/python3/test'
make[4]: Entering directory '/var/tmp/portage/sys-libs/libcap-ng-0.8.4/work/libcap-ng-0.8.4-python3_11/bindings/python3'
cat /usr/include/linux/capability.h | grep '^#define CAP'  | grep -v '[()]' > caps.h
cat /var/tmp/portage/sys-libs/libcap-ng-0.8.4/work/libcap-ng-0.8.4/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 /var/tmp/portage/sys-libs/libcap-ng-0.8.4/work/libcap-ng-0.8.4/bindings/python3/../src/capng_swig.i
/var/tmp/portage/sys-libs/libcap-ng-0.8.4/work/libcap-ng-0.8.4/bindings/python3/../src/capng_swig.i:33: Error: Unknown directive '%except'.
make[4]: *** [Makefile:878: capng_wrap.c] Error 1
make[4]: Leaving directory '/var/tmp/portage/sys-libs/libcap-ng-0.8.4/work/libcap-ng-0.8.4-python3_11/bindings/python3'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20240103-002006

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit a97a53baaf6b27a9cdf6e95437e5ae7691e77780
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jan 3 16:49:01 2024 +0000

    2024-01-03 16:49:00 UTC

emerge -qpvO sys-libs/libcap-ng
[ebuild  N    ] sys-libs/libcap-ng-0.8.4  USE="python -static-libs" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2024-01-03 18:28:31 UTC
Created attachment 881411 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-03 18:28:32 UTC
Created attachment 881412 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-03 18:28:34 UTC
Created attachment 881413 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-03 18:28:35 UTC
Created attachment 881414 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-03 18:28:36 UTC
Created attachment 881415 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-03 18:28:37 UTC
Created attachment 881416 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-01-03 18:28:38 UTC
Created attachment 881417 [details]
sys-libs:libcap-ng-0.8.4:20240103-174416.log
Comment 8 Toralf Förster gentoo-dev 2024-01-03 18:28:39 UTC
Created attachment 881418 [details]
temp.tar.xz
Comment 9 milan hodoscek 2024-01-04 09:09:22 UTC
It compiles with swig-4.1.1-r1, but not with the new swig-4.2.0
Comment 10 Larry the Git Cow gentoo-dev 2024-01-05 05:18:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ab48d8edb336e83f2a8988f09c85766c368c75

commit 62ab48d8edb336e83f2a8988f09c85766c368c75
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-05 05:17:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-05 05:17:51 +0000

    sys-libs/libcap-ng: fix swig-4.2.0 compat
    
    Closes: https://bugs.gentoo.org/921305
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libcap-ng/files/libcap-ng-0.8.4-swig.patch     |  31 ++++++
 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild       | 104 +++++++++++++++++++++
 2 files changed, 135 insertions(+)