Skip to content

CI improvements #39

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

Open
4 of 6 tasks
bilelmoussaoui opened this issue Nov 5, 2020 · 3 comments
Open
4 of 6 tasks

CI improvements #39

bilelmoussaoui opened this issue Nov 5, 2020 · 3 comments
Labels
ci help wanted Extra attention is needed

Comments

@bilelmoussaoui
Copy link
Member

bilelmoussaoui commented Nov 5, 2020

@bilelmoussaoui bilelmoussaoui mentioned this issue Nov 5, 2020
3 tasks
@bilelmoussaoui
Copy link
Member Author

bilelmoussaoui commented Feb 10, 2021

Once #182 is merged, only gdk4-x11 & gtk4 -sys are still disabled

gdk4-x11 fails with

running 2 tests
In file included from tests/constant.c:5:
tests/manual.h:3:10: fatal error: gdk/gdkx.h: No such file or directory
    3 | #include <gdk/gdkx.h>
      |          ^~~~~~~~~~~~
compilation terminated.
test cross_validate_constants_with_c ... FAILED
In file included from tests/layout.c:5:
tests/manual.h:3:10: fatal error: gdk/gdkx.h: No such file or directory
    3 | #include <gdk/gdkx.h>
      |          ^~~~~~~~~~~~
compilation terminated.
test cross_validate_layout_with_c ... FAILED

failures:

---- cross_validate_constants_with_c stdout ----
thread 'cross_validate_constants_with_c' panicked at 'called `Result::unwrap()` on an `Err` value: "compilation command \"cc\" \"-Wno-deprecated-declarations\" \"-std=c11\" \"-D__USE_MINGW_ANSI_STDIO\" \"-I/usr/include/gtk-4.0\" \"-I/usr/include/pango-1.0\" \"-I/usr/include/glib-2.0\" \"-I/usr/lib64/glib-2.0/include\" \"-I/usr/include/harfbuzz\" \"-I/usr/include/freetype2\" \"-I/usr/include/libpng16\" \"-I/usr/include/libmount\" \"-I/usr/include/blkid\" \"-I/usr/include/fribidi\" \"-I/usr/include/libxml2\" \"-I/usr/include/cairo\" \"-I/usr/include/pixman-1\" \"-I/usr/include/gdk-pixbuf-2.0\" \"-I/usr/include/graphene-1.0\" \"-I/usr/lib64/graphene-1.0/include\" \"-mfpmath=sse\" \"-msse\" \"-msse2\" \"-I/usr/include/gio-unix-2.0\" \"-pthread\" \"tests/constant.c\" \"-o\" \"/tmp/abimkklbt/constant\" failed, exit code: 1"', gdk4-x11/sys/tests/abi.rs:116:39
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- cross_validate_layout_with_c stdout ----
thread 'cross_validate_layout_with_c' panicked at 'called `Result::unwrap()` on an `Err` value: "compilation command \"cc\" \"-Wno-deprecated-declarations\" \"-std=c11\" \"-D__USE_MINGW_ANSI_STDIO\" \"-I/usr/include/gtk-4.0\" \"-I/usr/include/pango-1.0\" \"-I/usr/include/glib-2.0\" \"-I/usr/lib64/glib-2.0/include\" \"-I/usr/include/harfbuzz\" \"-I/usr/include/freetype2\" \"-I/usr/include/libpng16\" \"-I/usr/include/libmount\" \"-I/usr/include/blkid\" \"-I/usr/include/fribidi\" \"-I/usr/include/libxml2\" \"-I/usr/include/cairo\" \"-I/usr/include/pixman-1\" \"-I/usr/include/gdk-pixbuf-2.0\" \"-I/usr/include/graphene-1.0\" \"-I/usr/lib64/graphene-1.0/include\" \"-mfpmath=sse\" \"-msse\" \"-msse2\" \"-I/usr/include/gio-unix-2.0\" \"-pthread\" \"tests/layout.c\" \"-o\" \"/tmp/abi4Qbvyi/layout\" failed, exit code: 1"', gdk4-x11/sys/tests/abi.rs:156:37

& gtk4 with

In file included from tests/layout.c:5:
tests/manual.h:3:10: fatal error: gtk/gtk-a11y.h: No such file or directory
    3 | #include <gtk/gtk-a11y.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
test cross_validate_layout_with_c ... FAILED
In file included from tests/constant.c:5:
tests/manual.h:3:10: fatal error: gtk/gtk-a11y.h: No such file or directory
    3 | #include <gtk/gtk-a11y.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
test cross_validate_constants_with_c ... FAILED

failures:

---- cross_validate_layout_with_c stdout ----
thread 'cross_validate_layout_with_c' panicked at 'called `Result::unwrap()` on an `Err` value: "compilation command \"cc\" \"-Wno-deprecated-declarations\" \"-std=c11\" \"-D__USE_MINGW_ANSI_STDIO\" \"-I/usr/include/gtk-4.0\" \"-I/usr/include/pango-1.0\" \"-I/usr/include/glib-2.0\" \"-I/usr/lib64/glib-2.0/include\" \"-I/usr/include/harfbuzz\" \"-I/usr/include/freetype2\" \"-I/usr/include/libpng16\" \"-I/usr/include/libmount\" \"-I/usr/include/blkid\" \"-I/usr/include/fribidi\" \"-I/usr/include/libxml2\" \"-I/usr/include/cairo\" \"-I/usr/include/pixman-1\" \"-I/usr/include/gdk-pixbuf-2.0\" \"-I/usr/include/graphene-1.0\" \"-I/usr/lib64/graphene-1.0/include\" \"-mfpmath=sse\" \"-msse\" \"-msse2\" \"-I/usr/include/gio-unix-2.0\" \"-pthread\" \"tests/layout.c\" \"-o\" \"/tmp/abiA8bnMZ/layout\" failed, exit code: 1"', gtk4/sys/tests/abi.rs:156:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- cross_validate_constants_with_c stdout ----
thread 'cross_validate_constants_with_c' panicked at 'called `Result::unwrap()` on an `Err` value: "compilation command \"cc\" \"-Wno-deprecated-declarations\" \"-std=c11\" \"-D__USE_MINGW_ANSI_STDIO\" \"-I/usr/include/gtk-4.0\" \"-I/usr/include/pango-1.0\" \"-I/usr/include/glib-2.0\" \"-I/usr/lib64/glib-2.0/include\" \"-I/usr/include/harfbuzz\" \"-I/usr/include/freetype2\" \"-I/usr/include/libpng16\" \"-I/usr/include/libmount\" \"-I/usr/include/blkid\" \"-I/usr/include/fribidi\" \"-I/usr/include/libxml2\" \"-I/usr/include/cairo\" \"-I/usr/include/pixman-1\" \"-I/usr/include/gdk-pixbuf-2.0\" \"-I/usr/include/graphene-1.0\" \"-I/usr/lib64/graphene-1.0/include\" \"-mfpmath=sse\" \"-msse\" \"-msse2\" \"-I/usr/include/gio-unix-2.0\" \"-pthread\" \"tests/constant.c\" \"-o\" \"/tmp/abi2lHNIo/constant\" failed, exit code: 1"', gtk4/sys/tests/abi.rs:116:39

@jf2048
Copy link
Member

jf2048 commented Jan 26, 2023

That should be gdk/x11/gdkx.h. gtk-a11y.h does not exist in gtk4, that should be removed.

Fixing those I get some errors about symbols missing from gtk4-unix-print, probably need some adjustments in gir to add that

@bilelmoussaoui
Copy link
Member Author

@jf2048 thanks, I pushed a commit fixing the gdk-x11 ffi tests. The only remaining one now is gtk-sys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants