Martin Liška
Martin Liška
Well, the full error message is: `[16716s] libreoffice.spec:805: E: buildarch-instead-of-exclusivearch-tag noarch \` note the trailing `\` and it comes from a huge macro: ``` %define make_autocorr_aliases(l:) \ ... Provides: locale(libreoffice:%{lang})...
Interesting idea. Are you willing to implement that? Note one will be able to use `-Wbidi-chars` GCC option (starting with GCC `12.1.0`).
> Give me advice on how to do it and I may be able to implement it. Sure, you'll need to add a new check derived from `AbstractFilesCheck` in `rpmlint/checks`...
@kraptor Are you still interested in implementing this check?
You likely want to read lines like here: https://github.com/rpm-software-management/rpmlint/blob/fc5303f303ba26ec2af956f0c17bd8a00e44686e/rpmlint/checks/LogrotateCheck.py#L43-L45 and check for the special unicode sequences. Testes can be put under `test` folder, please take a look there.
@mgerstner What do you think about it? Can you please somehow include it to a check?
Thank you for the report. Right now we skip `.gox` files https://github.com/rpm-software-management/rpmlint/blob/7a87b6c870fdde6681d3a3a1f19555b26ddf2981/rpmlint/checks/BinariesCheck.py#L614-L618 shouldn't the installed `bug` be named with the extension? I'm sorry, but I'm not much familiar with `go`...
All right, we can filter out the checks based on: ``` $ readelf -n bug ... Displaying notes found in: .note.go.buildid Owner Data size Description Go 0x00000053 Unknown note type:...
@socketpair May I please ask you for steps on how to create a reproducer that will be as small as possible?
> @marxin What should I give to you ? minimized srpm ? Yes, please.