musl icon indicating copy to clipboard operation
musl copied to clipboard

sys-apps/accountsservice does not compile

Open saltedcoffii opened this issue 3 years ago • 1 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!

saltedcoffii avatar Jul 22 '22 19:07 saltedcoffii

Tree cleaned in commit dc9dc66d0228bfec25b28d96b6d582b4aa97b301 as it works in ::gentoo.

arkamar avatar Aug 22 '25 10:08 arkamar