New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when building on Linux: 'utf-8' codec can't decode byte 0xc2 in position 6583: invalid continuation byte #8
Comments
Hi @johanneskastl |
Hi, (OBS spawns a new VM with the desired OS, installs all package dependencies and builds the package inside that VM. This guarantees a clean state every time) The build step is just:
I also tried without those options but got the same error. BTW, this build is using go1.17, but I get the same error with go1.16. |
@johanneskastl I don't usually build with |
Hi Vladimir, |
@johanneskastl
I think the error is happening at this line in your rpm spec:
SuggestionsI am not an expert in RPM building. But I can only suggest some simple debugging steps:
Hope this helps move your effort further. Thanks for doing this. |
I just did some more testing:
So I asked for help on the opensuse-go mailing list. I'll let you know if there is any answer or solution. Thanks for your help, Vladimir! |
This seems to be unrelated to this exact package, I saw this also on other packages. Seems to be an error inside the actual rpmlint check. Hence closing this issue. |
Hi,
when building this package as an RPM on openSUSE, I get the following error:
Any idea how to fix that? Is this something that needs to be done inside the source code or am I missing some flags for the build command?
(Sorry, golang-Newbie here...)
The text was updated successfully, but these errors were encountered: