musl
musl copied to clipboard
sys-apps/accountsservice does not compile
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
keepworkfeature - 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
keepworkfeature
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!
Tree cleaned in commit dc9dc66d0228bfec25b28d96b6d582b4aa97b301 as it works in ::gentoo.