x86_64-gentoo-linux-musl-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -pthread -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wl,-O1 -Wl,--as-needed -o xdg-dbus-proxy flatpak-proxy.o dbus-proxy.o -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: dbus-proxy.o: in function parse_generic_args: dbus-proxy.c:(.text+0x223): undefined reference to TEMP_FAILURE_RETRY collect2: error: ld returned 1 exit status make[1]: *** [Makefile:903: xdg-dbus-proxy] Error 1 make[1]: Leaving directory /var/tmp/portage/sys-apps/xdg-dbus-proxy-0.1.2/work/xdg-dbus-proxy-0.1.2 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200311-204810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.2.0 * [2] x86_64-gentoo-linux-musl-9.3.0 clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.41.1 * The following VMs are available for generation-2: repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 14 Mar 2020 19:38:56 +0000 emerge -qpvO sys-apps/xdg-dbus-proxy [ebuild N ] sys-apps/xdg-dbus-proxy-0.1.2
Created attachment 619190 [details] emerge-info.txt
Created attachment 619192 [details] emerge-history.txt
Created attachment 619194 [details] environment
Created attachment 619196 [details] etc.portage.tbz2
Created attachment 619198 [details] logs.tbz2
Created attachment 619200 [details] sys-apps:xdg-dbus-proxy-0.1.2:20200314-201335.log
Created attachment 619202 [details] temp.tbz2
The first attempt to tinderbox a musl image failed at all. I'll mass close therefore all filed bug reports of the last days related to this tinderbox image. Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
alpine: https://git.alpinelinux.org/aports/tree/community/xdg-dbus-proxy/musl-fix.patch
(In reply to Kenny Cheng from comment #9) > alpine: > https://git.alpinelinux.org/aports/tree/community/xdg-dbus-proxy/musl-fix. > patch Thanks for the hint! Works well. I'll add the patch here for convenience.
Created attachment 692442 [details, diff] musl-fix.patch
Would the gnome team please have a look and add patch to main tree. This is all that is needed to fix musl support with the package. Refer to See Also for the official commit upstream. https://github.com/flatpak/xdg-dbus-proxy/commit/da9c2aee5ef666d1a033cfdd5a3e6b84ee70c51e#diff-82687cf420a6abdb6edad3718c4d476f993e2a891316de0204733e24dfca9d63
Fixed in 0.1.3.