Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712568 - sys-apps/xdg-dbus-proxy-0.1.2 : dbus-proxy.c:(.text+<snip>): undefined reference to TEMP_FAILURE_RETRY
Summary: sys-apps/xdg-dbus-proxy-0.1.2 : dbus-proxy.c:(.text+<snip>): undefined refere...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-14 20:36 UTC by Toralf Förster
Modified: 2021-03-19 15:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.40 KB, text/plain)
2020-03-14 20:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.73 KB, text/plain)
2020-03-14 20:36 UTC, Toralf Förster
Details
environment (environment,19.03 KB, text/plain)
2020-03-14 20:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.69 KB, application/x-bzip)
2020-03-14 20:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.73 KB, application/x-bzip)
2020-03-14 20:37 UTC, Toralf Förster
Details
sys-apps:xdg-dbus-proxy-0.1.2:20200314-201335.log (sys-apps:xdg-dbus-proxy-0.1.2:20200314-201335.log,6.76 KB, text/plain)
2020-03-14 20:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.01 KB, application/x-bzip)
2020-03-14 20:37 UTC, Toralf Förster
Details
musl-fix.patch (musl-fix.patch,712 bytes, patch)
2021-03-19 15:07 UTC, ernsteiswuerfel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-14 20:36:47 UTC
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
Comment 1 Toralf Förster gentoo-dev 2020-03-14 20:36:51 UTC
Created attachment 619190 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-14 20:36:54 UTC
Created attachment 619192 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-14 20:36:57 UTC
Created attachment 619194 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-14 20:36:59 UTC
Created attachment 619196 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-14 20:37:02 UTC
Created attachment 619198 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-14 20:37:05 UTC
Created attachment 619200 [details]
sys-apps:xdg-dbus-proxy-0.1.2:20200314-201335.log
Comment 7 Toralf Förster gentoo-dev 2020-03-14 20:37:08 UTC
Created attachment 619202 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:28 UTC
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.
Comment 10 ernsteiswuerfel 2021-03-19 15:06:58 UTC
(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.
Comment 11 ernsteiswuerfel 2021-03-19 15:07:32 UTC
Created attachment 692442 [details, diff]
musl-fix.patch
Comment 12 Jory A. Pratt gentoo-dev 2021-03-19 15:28:32 UTC
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