-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
Compiler warnings about format string mismatches #952
Comments
I was wrong, test same errors occur when building with autoconf/make. |
I think this comment describes a similar problem: |
I think that error message should be fairly self-explanatory? The test expected to find the installed xdg-permission-store executable, but could not find it, and therefore failed. The compiler warnings you have seen about format string mismatches between Sorry, the Flatpak/xdg-desktop-portal developers do not really have enough time available to spend it on debugging your test methodology in detail. Note that the tests can be run in two ways: as build-time tests ( If you are intending to run this as a build-time test, you need to set some environment variables. For comparison, the build-time tests succeed on Debian/Ubuntu's "armhf" architecture, which is also armv7h, although some are probably skipped because the autobuilder is running them in a chroot: Debian, Ubuntu. If you are intending to run this as an "as-installed" test, make sure you have really installed everything onto the target device before running the tests, and used the paths ( Compiling in one path and copying/mounting on a different path is generally not something that can be supported. Please don't assume that it's a bug for this not to work. |
For the compiler warnings about format string mismatches, merge requests are welcome. Ideally, to make the format string and argument match up on all architectures, x-d-p should be using:
If you change these, please check that the warnings go away on both ILP32 architectures (like armv7h and i386) and LP64 architectures (like x86_64 and aarch64). |
Hi there,
Building for armv7h (32bit) using meson, seems to produce broken binaries.
build log:
Output when running the test-portal program:
It works fine when building it with autoconf / make.
The text was updated successfully, but these errors were encountered: