[gupnp] Test suite needs libxml2
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Test suite needs libxml2
- Date: Sat, 3 Sep 2022 08:36:10 +0000 (UTC)
commit a88d4e42c5afc6dd54c09683bb4d0dd157e99179
Author: Tomasz Kłoczko <kloczek github com>
Date: Tue Aug 30 11:55:03 2022 +0000
Test suite needs libxml2
Without that build test suite binaties fails
```console
+ /usr/bin/meson compile -C x86_64-redhat-linux-gnu -j 48 --verbose
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gupnp-1.5.3/x86_64-redhat-linux-gnu'
[1/66] /usr/bin/gcc -Itests/test-service.p -Itests -I../tests -Iinternal -I../internal -I. -I..
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -Werror=deprecated-declarations -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-pthread '-DDATA_PATH="/home/tkloczko/rpmbuild/BUILD/gupnp-1.5.3/tests/data"' -MD -MQ
tests/test-service.p/test-service.c.o -MF tests/test-service.p/test-service.c.o.d -o
tests/test-service.p/test-service.c.o -c ../tests/test-service.c
FAILED: tests/test-service.p/test-service.c.o
/usr/bin/gcc -Itests/test-service.p -Itests -I../tests -Iinternal -I../internal -I. -I..
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -Werror=deprecated-declarations -O2
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-pthread '-DDATA_PATH="/home/tkloczko/rpmbuild/BUILD/gupnp-1.5.3/tests/data"' -MD -MQ
tests/test-service.p/test-service.c.o -MF tests/test-service.p/test-service.c.o.d -o
tests/test-service.p/test-service.c.o -c ../tests/test-service.c
In file included from ../tests/test-service.c:5:
../libgupnp/gupnp-xml-doc.h:15:10: fatal error: libxml/tree.h: No such file or directory
15 | #include <libxml/tree.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
```
Signed-off-by: Tomasz Kłoczko <kloczek github com>
tests/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 701f901..0cbbb14 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -4,7 +4,7 @@ foreach program : ['context', 'bugs', 'service', 'acl', 'service-proxy', 'contex
executable(
'test-' + program,
'test-@0@.c'.format (program),
- dependencies : gupnp,
+ dependencies : [gupnp, libxml_dep],
c_args : '-DDATA_PATH="@0@/data"'.format(meson.current_source_dir()),
include_directories : config_h_inc,
),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]