Package Details: lib32-gssdp 1.6.3-1

Git Clone URL: https://aur.archlinux.org/lib32-gssdp.git (read-only, click to copy)
Package Base: lib32-gssdp
Description: A GObject-based API for handling resource discovery and announcement over SSDP (32-bit)
Upstream URL: http://gupnp.org/
Licenses: LGPL
Submitter: rodrigo21
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 7
Popularity: 0.000000
First Submitted: 2019-01-22 23:46 (UTC)
Last Updated: 2024-04-07 16:42 (UTC)

Latest Comments

1 2 Next › Last »

MonkeeSage commented on 2024-04-23 05:09 (UTC)

@mokkurkalve I was getting the same error. Looked into gssdp/tests/test-functional.c and it is trying to create an IPv6 client right before the error. I have IPv6 disabled in sysctl so I tried temporarily enabling it with sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 and the check() step completed and the package built and installed. Doesn't look like there's a way to disable that in upstream so you will have to build with IPv6 enabled or with the --nocheck flag to makepkg.

mokkurkalve commented on 2023-01-22 10:45 (UTC)

Building in clean chroot fails in check()

==> Starting check()...
ninja: no work to do.
ninja: Entering directory `/build/lib32-gssdp/src/build'
ninja: no work to do.
1/2 Functional test     FAIL            0.09s   killed by signal 6 SIGABRT
>>> MALLOC_PERTURB_=225 LD_LIBRARY_PATH=/build/lib32-gssdp/src/build/libgssdp /build/lib32-gssdp/src/build/tests/test-functional
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stdout:
# random seed: R02Saacbba1bd10936070f36fd705f397358
1..7
# Start of functional tests
# gssdp-net-DEBUG: Found lo(127.0.0.1), appending
# gssdp-net-DEBUG: Found wlan0(192.168.3.59), prepending
# gssdp-client-DEBUG: Created SSDP client 0x572e3458
# gssdp-client-DEBUG:   iface_name : wlan0
# gssdp-client-DEBUG:   host_ip    : 192.168.3.59
# gssdp-client-DEBUG:   port       : 0
# gssdp-client-DEBUG:   server_id  : Linux/6.1.7-zen1-1-zen UPnP/1.0 GSSDP/1.6.2
# gssdp-client-DEBUG:   network    : 192.168.3.0/24
# gssdp-client-DEBUG:   index      : 4
# gssdp-client-DEBUG:   host_addr  : 0x572e5c18
# gssdp-client-DEBUG:   host_mask  : 0x572df9b8
# gssdp-net-DEBUG: Found lo(127.0.0.1), appending
# gssdp-net-DEBUG: Found wlan0(192.168.3.59), prepending
# gssdp-client-DEBUG: Created SSDP client 0x572e34b8
# gssdp-client-DEBUG:   iface_name : wlan0
# gssdp-client-DEBUG:   host_ip    : 192.168.3.59
# gssdp-client-DEBUG:   port       : 0
# gssdp-client-DEBUG:   server_id  : Linux/6.1.7-zen1-1-zen UPnP/1.0 GSSDP/1.6.2
# gssdp-client-DEBUG:   network    : 192.168.3.0/24
# gssdp-client-DEBUG:   index      : 4
# gssdp-client-DEBUG:   host_addr  : 0x572e5d30
# gssdp-client-DEBUG:   host_mask  : 0x572dfc68
# gssdp-net-DEBUG: Found lo(127.0.0.1), appending
# gssdp-net-DEBUG: Found wlan0(192.168.3.59), prepending
Bail out! ERROR:../gssdp/tests/test-functional.c:514:test_client_creation: assertion failed (error == NULL): No default route? (gssdp-error, 1)
stderr:
**
ERROR:../gssdp/tests/test-functional.c:514:test_client_creation: assertion failed (error == NULL): No default route? (gssdp-error, 1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

2/2 Bug regression test OK              0.01s

Summary of Failures:

1/2 Functional test     FAIL            0.09s   killed by signal 6 SIGABRT

Ok:                 1   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Full log written to /build/lib32-gssdp/src/build/meson-logs/testlog.txt
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/eivind/work/build/chroot/eivind/build

rodrigo21 commented on 2023-01-10 18:51 (UTC)

@zepar

Fixed. Thanks for the report.

zepar commented on 2023-01-10 17:35 (UTC) (edited on 2023-01-10 17:39 (UTC) by zepar)


Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Run-time dependency gi-docgen found: YES 2023.1
Program pandoc found: NO

gssdp/doc/meson.build:38:2: ERROR: Program 'pandoc' not found or not executable

A full log can be found at /home/zepar/.cache/yay/lib32-gssdp/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: lib32-gssdp

mokkurkalve commented on 2022-12-11 17:36 (UTC)

Building in clean chroot fails thus:

(...snip....)
==> Starting check()...
ninja: no work to do.
ninja: Entering directory `/build/lib32-gssdp/src/build'
ninja: no work to do.
1/2 Functional test     FAIL            0.06s   killed by signal 6 SIGABRT
>>> MALLOC_PERTURB_=2 /build/lib32-gssdp/src/build/tests/test-functional
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stdout:
# random seed: R02S237cfa8d661a5c42902b5901fa1c64d2
1..7
# Start of functional tests
# gssdp-net-DEBUG: Found lo(127.0.0.1), appending
# gssdp-net-DEBUG: Found wlan0(192.168.3.59), prepending
# gssdp-client-DEBUG: Created SSDP client 0x57ba1458
# gssdp-client-DEBUG:   iface_name : wlan0
# gssdp-client-DEBUG:   host_ip    : 192.168.3.59
# gssdp-client-DEBUG:   server_id  : Linux/6.0.12-zen1-1-zen UPnP/1.0 GSSDP/1.6.0
# gssdp-client-DEBUG:   network    : 192.168.3.0/24
# gssdp-client-DEBUG:   index      : 4
# gssdp-client-DEBUG:   host_addr  : 0x57ba3c18
# gssdp-client-DEBUG:   host_mask  : 0x57b9d9b8
# gssdp-net-DEBUG: Found lo(127.0.0.1), appending
# gssdp-net-DEBUG: Found wlan0(192.168.3.59), prepending
# gssdp-client-DEBUG: Created SSDP client 0x57ba14b8
# gssdp-client-DEBUG:   iface_name : wlan0
# gssdp-client-DEBUG:   host_ip    : 192.168.3.59
# gssdp-client-DEBUG:   server_id  : Linux/6.0.12-zen1-1-zen UPnP/1.0 GSSDP/1.6.0
# gssdp-client-DEBUG:   network    : 192.168.3.0/24
# gssdp-client-DEBUG:   index      : 4
# gssdp-client-DEBUG:   host_addr  : 0x57ba3d08
# gssdp-client-DEBUG:   host_mask  : 0x57b9dc68
# gssdp-net-DEBUG: Found lo(127.0.0.1), appending
# gssdp-net-DEBUG: Found wlan0(192.168.3.59), prepending
Bail out! ERROR:../gssdp/tests/test-functional.c:514:test_client_creation: assertion failed (error == NULL): No default route? (gssdp-error, 1)
stderr:
**
ERROR:../gssdp/tests/test-functional.c:514:test_client_creation: assertion failed (error == NULL): No default route? (gssdp-error, 1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

2/2 Bug regression test OK              0.01s

Summary of Failures:

1/2 Functional test     FAIL            0.06s   killed by signal 6 SIGABRT

Ok:                 1   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Full log written to /build/lib32-gssdp/src/build/meson-logs/testlog.txt
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/eivind/work/build/chroot/eivind/build

MarsSeed commented on 2022-02-01 17:49 (UTC)

Also you can simplify maintenance by declaring source like this:

source=("git+https://gitlab.gnome.org/GNOME/${_basename}.git#tag=${_basename}-${pkgver}")

And then you won't need to declare a _commit= variable.

MarsSeed commented on 2022-02-01 17:46 (UTC)

Thank you for maintaining this package.

To skip generating documentation:

Within build(), you can add the following arch-meson option: -Dvapi=false,

and then you can remove makedepends: vala.

Also you can delete the pkgver() and prepare() functions. They don't do anything of consequence.

TheDrifter363 commented on 2021-10-21 08:43 (UTC)

Reporting an error. This is preventing lib32-gst-plugins-bad from being built.

==> Starting check()... ninja: Entering directory `/home/user/.cache/yay/lib32-gssdp/src/build' ninja: no work to do. 1/2 Functional test FAIL 0.11s killed by signal 6 SIGABRT

MALLOC_PERTURB_=75 /home/user/.cache/yay/lib32-gssdp/src/build/tests/test-functional ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout:

random seed: R02S044f6f24eaebc3e6981593e01c9b5689

1..6

Start of functional tests
Start of resource-group tests
Start of discovery tests
DEBUG: Detecting network interface to use for tests...
gssdp-net-DEBUG: Found lo(127.0.0.1), appending
gssdp-net-DEBUG: Found lo(::1), appending
gssdp-client-DEBUG: Created SSDP client 0x0x56ccd058
gssdp-client-DEBUG: iface_name : lo
gssdp-client-DEBUG: host_ip : 127.0.0.1
gssdp-client-DEBUG: server_id : Linux/5.14.13-zen1-1-zen UPnP/1.0 GSSDP/1.2.3
gssdp-client-DEBUG: network : 127.0.0.0/8
gssdp-client-DEBUG: host_addr : 0x0x56ccdc18
gssdp-client-DEBUG: host_mask : 0x0x56cc83a0
DEBUG: Using lo
gssdp-net-DEBUG: Found lo(127.0.0.1), appending
gssdp-net-DEBUG: Found lo(::1), appending
gssdp-client-DEBUG: Created SSDP client 0x0x56ccd0b8
gssdp-client-DEBUG: iface_name : lo
gssdp-client-DEBUG: host_ip : 127.0.0.1
gssdp-client-DEBUG: server_id : Linux/5.14.13-zen1-1-zen UPnP/1.0 GSSDP/1.2.3
gssdp-client-DEBUG: network : 127.0.0.0/8
gssdp-client-DEBUG: host_addr : 0x0x56ccdce0
gssdp-client-DEBUG: host_mask : 0x0x56cc8538

Bail out! ERROR:../gssdp/tests/test-functional.c:118:on_test_discovery_ssdp_all_resource_available: assertion failed (usn == data->usn): ("uuid:325570f7-a5a4-424b-830f-32146934c821::urn:schemas-upnp-org:service:ConnectionManager:2" == "uuid:81909e94-ebf4-469e-ac68-81f2f189de1b::MyService:1") stderr: ** ERROR:../gssdp/tests/test-functional.c:118:on_test_discovery_ssdp_all_resource_available: assertion failed (usn == data->usn): ("uuid:325570f7-a5a4-424b-830f-32146934c821::urn:schemas-upnp-org:service:ConnectionManager:2" == "uuid:81909e94-ebf4-469e-ac68-81f2f189de1b::MyService:1") ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

2/2 Bug regression test OK 0.01s

Summary of Failures:

1/2 Functional test FAIL 0.11s killed by signal 6 SIGABRT

Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0

Full log written to /home/user/.cache/yay/lib32-gssdp/src/build/meson-logs/testlog.txt ==> ERROR: A failure occurred in check(). Aborting... -> error making: lib32-gssdp

abcfy2 commented on 2020-08-19 18:44 (UTC)

Cannot build and install:

==> Starting pkgver()...
==> Sources are ready.
==> Making package: lib32-gssdp 1.2.2-2 (Thu 20 Aug 2020 02:44:22 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true gssdp build --libdir=/usr/lib32 -Dgtk_doc=false
The Meson build system
Version: 0.55.1
Source dir: /home/fengyu/.cache/yay/lib32-gssdp/src/gssdp
Build dir: /home/fengyu/.cache/yay/lib32-gssdp/src/build
Build type: native build
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Project name: gssdp
Project version: 1.2.2
Using 'CC' from environment with value: 'gcc -m32'
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Using 'CC' from environment with value: 'gcc -m32'
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: gcc -m32 (gcc 10.1.0 "gcc (GCC) 10.1.0")
C linker for the host machine: gcc -m32 ld.bfd 2.34.0
Host machine cpu family: x86
Host machine cpu: i686
Checking if "struct in_pktinfo is available" compiles: YES 
Checking for function "if_nametoindex" : YES 
Checking if "SIOCGIFINDEX is available" compiles: YES 
Configuring config.h using configuration
Checking if "android libc" compiles: NO 
Using 'PKG_CONFIG' from environment with value: '/usr/bin/i686-pc-linux-gnu-pkg-config'
Found pkg-config: /usr/bin/i686-pc-linux-gnu-pkg-config (1.7.3)
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Run-time dependency glib-2.0 found: YES 2.64.4
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Run-time dependency gobject-2.0 found: YES 2.64.4
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Run-time dependency gio-2.0 found: YES 2.64.4
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Run-time dependency libsoup-2.4 found: YES 2.70.0
Program glib-mkenums found: YES
Using 'PKG_CONFIG' from environment with value: '/usr/bin/i686-pc-linux-gnu-pkg-config'
Found pkg-config: /usr/bin/i686-pc-linux-gnu-pkg-config (1.7.3)
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Build-time dependency gobject-introspection-1.0 found: YES 1.64.1
Program g_ir_scanner found: YES (/usr/bin/g-ir-scanner)
Program g_ir_compiler found: YES (/usr/bin/g-ir-compiler)
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Run-time dependency gtk+-3.0 found: YES 3.24.22
Using 'PKG_CONFIG_PATH' from environment with value: '$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'
Program vapigen found: YES
Build targets in project: 13

Found ninja-1.10.0 at /usr/bin/ninja
ninja: Entering directory `build'
[30/32] Generating GSSDP-1.2.gir with a custom command
FAILED: libgssdp/GSSDP-1.2.gir 
/usr/bin/g-ir-scanner --no-libtool --namespace=GSSDP --nsversion=1.2 --warn-all --output libgssdp/GSSDP-1.2.gir --c-include=libgssdp/gssdp.h -I/home/fengyu/.cache/yay/lib32-gssdp/src/gssdp/libgssdp -I/home/fengyu/.cache/yay/lib32-gssdp/src/build/libgssdp -I./libgssdp/.. -I../gssdp/libgssdp/.. --filelist=/home/fengyu/.cache/yay/lib32-gssdp/src/build/libgssdp/libgssdp-1.2.so.0.0.0.p/GSSDP_1.2_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --include=Soup-2.4 --symbol-prefix=gssdp --identifier-prefix=GSSDP --pkg-export=gssdp-1.2 --cflags-begin -DHAVE_CONFIG_H=1 -I./libgssdp/.. -I../gssdp/libgssdp/.. -I/usr/include/glib-2.0 -I/usr/lib32/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gobject-introspection-1.0 -D_FORTIFY_SOURCE=2 --cflags-end --add-include-path=/usr/share/gir-1.0 --library gssdp-1.2 -L/home/fengyu/.cache/yay/lib32-gssdp/src/build/libgssdp --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=soup-2.4 -L/usr/lib --extra-library=girepository-1.0 --sources-top-dirs /home/fengyu/.cache/yay/lib32-gssdp/src/gssdp/subprojects/ --sources-top-dirs /home/fengyu/.cache/yay/lib32-gssdp/src/build/subprojects/
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed/limits.h:195,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed/limits.h:34,
                 from /usr/lib32/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /home/fengyu/.cache/yay/lib32-gssdp/src/gssdp/libgssdp/gssdp-client.h:25,
                 from /home/fengyu/.cache/yay/lib32-gssdp/src/build/g-ir-cpp-zbeln73n.c:4:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
g-ir-scanner: link: gcc -m32 -o /home/fengyu/.cache/yay/lib32-gssdp/src/build/tmp-introspectaqdkuc5s/GSSDP-1.2 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt /home/fengyu/.cache/yay/lib32-gssdp/src/build/tmp-introspectaqdkuc5s/GSSDP-1.2.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/home/fengyu/.cache/yay/lib32-gssdp/src/build/libgssdp -Wl,-rpath,/home/fengyu/.cache/yay/lib32-gssdp/src/build/libgssdp -L/usr/lib -Wl,-rpath,/usr/lib -lgssdp-1.2 -lglib-2.0 -lgobject-2.0 -lgio-2.0 -lsoup-2.4 -lgirepository-1.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
/usr/bin/ld: skipping incompatible /usr/lib/libglib-2.0.so when searching for -lglib-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgobject-2.0.so when searching for -lgobject-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgio-2.0.so when searching for -lgio-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libsoup-2.4.so when searching for -lsoup-2.4
/usr/bin/ld: skipping incompatible /usr/lib/libgirepository-1.0.so when searching for -lgirepository-1.0
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../libgirepository-1.0.so when searching for -lgirepository-1.0
/usr/bin/ld: skipping incompatible /usr/lib/libgirepository-1.0.so when searching for -lgirepository-1.0
/usr/bin/ld: cannot find -lgirepository-1.0
/usr/bin/ld: skipping incompatible /usr/lib/libgio-2.0.so when searching for -lgio-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgobject-2.0.so when searching for -lgobject-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgmodule-2.0.so when searching for -lgmodule-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libglib-2.0.so when searching for -lglib-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libglib-2.0.so when searching for -lglib-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1
collect2: error: ld returned 1 exit status
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/stddef.h:424: syntax error, unexpected identifier in '  __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'
linking of temporary binary failed: Command '['gcc', '-m32', '-o', '/home/fengyu/.cache/yay/lib32-gssdp/src/build/tmp-introspectaqdkuc5s/GSSDP-1.2', '-D_FORTIFY_SOURCE=2', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fstack-protector-strong', '-fno-plt', '/home/fengyu/.cache/yay/lib32-gssdp/src/build/tmp-introspectaqdkuc5s/GSSDP-1.2.o', '-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed', '-L/home/fengyu/.cache/yay/lib32-gssdp/src/build/libgssdp', '-Wl,-rpath,/home/fengyu/.cache/yay/lib32-gssdp/src/build/libgssdp', '-L/usr/lib', '-Wl,-rpath,/usr/lib', '-lgssdp-1.2', '-lglib-2.0', '-lgobject-2.0', '-lgio-2.0', '-lsoup-2.4', '-lgirepository-1.0', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lglib-2.0', '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now']' returned non-zero exit status 1.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

MR-2 commented on 2020-04-17 20:47 (UTC) (edited on 2020-04-17 20:54 (UTC) by MR-2)

I had to add the following export after the PKG_CONFIG export:

"export PKG_CONFIG_PATH='$PKG_CONFIG_PATH:/usr/lib32/pkgconfig/:/usr/lib/pkgconfig'"

Otherwise the build would fail due to gobject-introspection-1.0.pc not being found. If only the "/usr/lib/pkgconfig"-directory is added to the PKG_CONFIG_PATH (or before the "/usr/lib32/pkgconfig"-directory), the wrong glib32-includes will be used, which also causes the build to fail.

I also would add "lib32-glib2" to the makedepends-array...