Comments (3)
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
from gtk4-rs.
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
from gtk4-rs.
@jf2048 thanks, I pushed a commit fixing the gdk-x11 ffi tests. The only remaining one now is gtk-sys
from gtk4-rs.
Related Issues (20)
- [HELP] High memory HOT 1
- Chapter 9 missing derived_properties and subclassing
- Fuzzy font on Windows HOT 1
- gtk::DragIcon::for_drag returns Widget, not DragIcon HOT 5
- glib::Regex forced main thread to panic at the end of while loop HOT 1
- custom_orientable example emits critical warning when run
- No method named `dispose_template` found for reference `&custom_buildable::imp::CustomBuildable` in the current scope HOT 3
- The target object of type SqueezerBin has no writable property called 'keep-aspect-ratio' HOT 8
- Is it possible to improve compile times? HOT 1
- Compiler error when using `enum` subclasses of Object as properties HOT 1
- CSS opacity not respected for window HOT 1
- Accessing GtkWidget class methods HOT 1
- Support for dark mode HOT 1
- Book: Issue with glib::spawn_future_local in gtk-rs Chapter 6 HOT 5
- [BOOK] Chapter 15 should have adwaita-icon-theme included in macOS install command HOT 1
- Should connect_unrealize and connect_destroy be FnOnce() rather than Fn()? HOT 1
- Segfault if trying to use certain builders before GTK is initialized
- [HELP] /usr/bin/ld: cannot find -lgtk-4 HOT 1
- [HELP] Can't get the default Display. HOT 1
- [HELP] Examples to use `block_signal` and `unblock_signal`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtk4-rs.