audit-userspace icon indicating copy to clipboard operation
audit-userspace copied to clipboard

[python-audit] error: cast specifies array type

Open tallero opened this issue 3 years ago • 1 comments

I'm experiencing this same bug when building on arch, too.

tallero avatar Jun 03 '22 18:06 tallero

This is a duplicate of issue 236 and 252. The later mentions PR https://github.com/linux-audit/audit-userspace/pull/253 Also, see https://listman.redhat.com/archives/linux-audit/2022-February/018832.html

stevegrubb avatar Jun 04 '22 12:06 stevegrubb

Looking at this and PR #253 again, the python setter is used to add a path to a watch rule.

stevegrubb avatar Dec 10 '22 21:12 stevegrubb

I want to leave some bread crumbs here. There is PR #253 which offers probably best solution but loses the ability to create watches via python. And there is the swig issue that mentions this https://github.com/swig/swig/issues/1699

stevegrubb avatar Feb 13 '23 18:02 stevegrubb

@stevegrubb

ok, so for now arch uses the third in https://github.com/swig/swig/issues/1699#issuecomment-1193307710.

tallero avatar Jun 26 '23 17:06 tallero

I won't have any time for the foreseeable future to rewrite audit bindings. Commit 1ca7e2b selects swig option 3.

stevegrubb avatar Jul 25 '23 19:07 stevegrubb