Summary: | sci-libs/libsigrok-0.5.2-r3 - bindings/.../enums.i:1: Error: Unknown directive %attribute. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alanh, leonchik1976, richard.kenney |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.bz2 environment etc.portage.tar.bz2 logs.tar.bz2 sci-libs:libsigrok-0.5.2-r3:20221026-135029.log temp.tar.bz2 patch to add missing %include to enums.i |
Description
Toralf Förster
2022-10-26 18:09:38 UTC
Created attachment 825521 [details]
emerge-info.txt
Created attachment 825523 [details]
emerge-history.txt.bz2
Created attachment 825525 [details]
environment
Created attachment 825527 [details]
etc.portage.tar.bz2
Created attachment 825529 [details]
logs.tar.bz2
Created attachment 825531 [details]
sci-libs:libsigrok-0.5.2-r3:20221026-135029.log
Created attachment 825533 [details]
temp.tar.bz2
Created attachment 832785 [details, diff]
patch to add missing %include to enums.i
I had the same error with sci-libs/libsigrok-9999.
The problem was a missing %include directive in enums.i, which is generated at compile time by enums.py.
The attached patch creates the missing directive and compilation succeeds.
I'm also seeing this error. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09cf66a0d720125efdfd0f62643ba4be61545a7 commit a09cf66a0d720125efdfd0f62643ba4be61545a7 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-10 21:32:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-10 21:32:37 +0000 sci-libs/libsigrok: fix build w/ swig-4.1 Closes: https://bugs.gentoo.org/878395 Signed-off-by: Sam James <sam@gentoo.org> .../libsigrok/files/libsigrok-0.5.2-swig-4.1.patch | 11 ++ sci-libs/libsigrok/libsigrok-0.5.2-r4.ebuild | 156 +++++++++++++++++++++ 2 files changed, 167 insertions(+) |