gentoo/musl

sys-apps/accountsservice does not compile

saltedcoffii opened this issue · 0 comments

sys-apps/accountsservice does not compile on musl. I did get it to compile but it's a bit hacky. Here's what I did:

  1. enabled the keepwork feature
  2. built sys-apps/accountsservice (sudo emerge -atvD1 sys-apps/accountsservice) (it failed)
  3. ran sudo su -s /bin/bash - portage
  4. ran cd /var/tmp/portage/sys-apps/accountsservice-22.08.8/work/accountsservice-22.08.8/
  5. ran:
for i in https://github.com/alpinelinux/aports/raw/master/community/accountsservice/musl-{wtmp,fgetspent_r}.patch; do
  curl -L $i | patch -Np1
done
  1. exited the portage shell back to my user (UID 1000)
  2. ran sudo emerge -atvD1 sys-apps/accountsservice (it succeeded)
  3. disabled the keepwork feature

It would stand to reason that these patches from Alpine Linux could be included in the ebuild for sys-apps/accountsservice. Consider adding these patches? Thank you as always!