-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
gcc14: Latest 1.26.2 release failed to build on fedora rawhide #603
Comments
I checked building all packages with gcc14 for fedora rawhide and i could fix most packages. Only atril failed to build because of |
I got a FTBFS from Fedora Release Engineering group. |
I do not have gcc 14 yet on Debian Unstable, but the warnings from the logs are a conflict between /usr/include/glib-2.0/glib/gstrfuncs.h:383:55: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'} changing line 632 from stops the build warnings and (on gcc 13 anyway) the build now completes. Runtime behavior same as before, note that under wayland opening epubs fails with a warning about not being able to create an OpenGL context on that backend. We still get these build warnings, unchanged either way. No idea if these also shut down a gcc 14 build though:
|
@raveit65 , your fix also works with (at least with gcc-13), with behavior identical to what I tested. You can open a PR or I can do it, whichever is easier |
I have a fix for these |
Ok, i will open a PR. |
Cool, i will test your PR. |
Ironically enough, those show an actual bad issue, and the blocking incompatible ones don't 🤷 |
Expected behaviour
Succesful build on fedora rawhide
Actual behaviour
Latest 1.26.2 release failed to build on fedora rawhide
Steps to reproduce the behaviour
Latest 1.26.2 release failed to build on fedora rawhide.
from https://kojipkgs.fedoraproject.org//work/tasks/8848/112258848/build.log
For some reason the build warning will be treat as error in rawhide, but i have to deal with it.
The warning is caused by this commit 39ba86c
PR was without CI and build logs !
#571
In 1.26 branch we see the warnings in travis-ci logs https://app.travis-ci.com/github/mate-desktop/atril/jobs/601205067#L1813
Reverting that commit clearly removes the warnings.
Locally i fixed the warnings like this.
@cwendling @mate-desktop/core-team
Is this a valid fix?
If yes , i will create a PR.
MATE general version
1.26
Package version
1.26.2
Linux Distribution
Fedora rawhide
Link to bugreport of your Distribution (requirement)
I do not file out report against myself
The text was updated successfully, but these errors were encountered: