diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-30 12:24:58 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-30 12:27:06 +0000 |
| commit | 33606b41d35115f887ea688b1a16f2ff85bf2fe4 (patch) | |
| tree | 406b2c7b19a087ba437c68f3dbf0b589fa1d6150 /results/scraper/launchpad-without-comments/1926782 | |
| parent | adedf8771bc4de3113041ca21bd4d0d1c0014b6a (diff) | |
| download | emulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.tar.gz emulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.zip | |
add launchpad bug reports without comments
Diffstat (limited to 'results/scraper/launchpad-without-comments/1926782')
| -rw-r--r-- | results/scraper/launchpad-without-comments/1926782 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1926782 b/results/scraper/launchpad-without-comments/1926782 new file mode 100644 index 00000000..4f53ace1 --- /dev/null +++ b/results/scraper/launchpad-without-comments/1926782 @@ -0,0 +1,13 @@ +configure script --extra-cflags not passed to config-meson.cross + +Since qemu 5.2, when building, the configure would not finish, but would return this error instead: + + qemu ../meson.build:852:2: ERROR: C header 'sasl/sasl.h' not found + +This is for a cross build, and I invoke qemu with the --extra-cflags and --extra-ldflags containing all the proper paths to the headers, libraries etc. It worked properly with qemu 3.1 to 5.1. + +After looking into the configure script, it seems that meson is passed the CFLAGS environment variable instead of QEMU_CFLAGS, and only the latter contains the --extra-cflags argument: + + echo "c_args = [${CFLAGS:+$(meson_quote $CFLAGS)}]" >> $cross + +Using the CFLAGS and LDFLAGS environment variable instead of --extra-cflags and --extra-ldflags fixes the issue. \ No newline at end of file |