linux-audit / audit-userspace

Linux audit userspace repository
GNU General Public License v2.0
594 stars 206 forks source link

[python-audit] error: cast specifies array type #265

Closed tallero closed 1 year ago

tallero commented 2 years ago

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

stevegrubb commented 2 years ago

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 commented 1 year ago

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

stevegrubb commented 1 year ago

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

tallero commented 1 year ago

@stevegrubb

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

stevegrubb commented 1 year ago

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