sys-apps/accountsservice does not compile
saltedcoffii opened this issue · 0 comments
saltedcoffii commented
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:
- enabled the
keepwork
feature - built
sys-apps/accountsservice
(sudo emerge -atvD1 sys-apps/accountsservice
) (it failed) - ran
sudo su -s /bin/bash - portage
- ran
cd /var/tmp/portage/sys-apps/accountsservice-22.08.8/work/accountsservice-22.08.8/
- 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
- exited the portage shell back to my user (UID 1000)
- ran
sudo emerge -atvD1 sys-apps/accountsservice
(it succeeded) - 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!