Created attachment 680203 [details] build.log [...] C compiler for the host machine: x86_64-gentoo-linux-musl-gcc (gcc 9.3.0 "x86_64-gentoo-linux-musl-gcc (Gentoo 9.3.0-r2 p4) 9.3.0") C linker for the host machine: x86_64-gentoo-linux-musl-gcc ld.bfd 2.34 Host machine cpu family: x86_64 Host machine cpu: x86_64 Has header "paths.h" : YES Has header "shadow.h" : YES Has header "utmpx.h" : YES Checking for function "getusershell" : YES Checking for function "setutxdb" : NO Checking for function "fgetpwent" : YES Header <utmpx.h> has symbol "WTMPX_FILENAME" : NO Header <paths.h> has symbol "_PATH_WTMPX" : NO meson.build:85:2: ERROR: Assert failed: Do not know which filename to watch for wtmp changes A full log can be found at /var/tmp/portage/sys-apps/accountsservice-0.6.55/work/accountsservice-0.6.55-build/meson-logs/meson-log.txt * ERROR: sys-apps/accountsservice-0.6.55::gentoo failed (configure phase): * (no error message)
Created attachment 680206 [details] emerge --info
Created attachment 680782 [details, diff] musl-wtmp.patch https://github.com/void-ppc/void-packages/tree/master/srcpkgs/accountsservice/patches Took these 2 patches from https://github.com/void-ppc/void-packages/tree/master/srcpkgs/accountsservice/patches which succesfully fix the build and execution of /accountsservice-0.6.55.
Created attachment 680785 [details, diff] musl-fgetspent_r.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/musl.git/commit/?id=d849cff19a57717c42e61331afec0d1bbcae7df8 commit d849cff19a57717c42e61331afec0d1bbcae7df8 Author: Dave Hughes <davidhughes205@gmail.com> AuthorDate: 2021-04-19 02:27:00 +0000 Commit: Dave Hughes <davidhughes205@gmail.com> CommitDate: 2021-04-19 02:27:14 +0000 sys-apps/accountsservice: sync with ::gentoo Bug: https://bugs.gentoo.org/762442 Closes: https://bugs.gentoo.org/762442 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Dave Hughes <davidhughes205@gmail.com> sys-apps/accountsservice/Manifest | 2 +- .../accountsservice-0.6.50-r1.ebuild | 67 ------------------ .../accountsservice/accountsservice-0.6.55.ebuild | 82 ++++++++++++++++++++++ .../accountsservice/files/musl-fgetspent_r.patch | 61 ++++++++-------- sys-apps/accountsservice/files/musl-wtmp.patch | 14 ++++ 5 files changed, 128 insertions(+), 98 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/musl.git/commit/?id=d849cff19a57717c42e61331afec0d1bbcae7df8 commit d849cff19a57717c42e61331afec0d1bbcae7df8 Author: Dave Hughes <davidhughes205@gmail.com> AuthorDate: 2021-04-19 02:27:00 +0000 Commit: Dave Hughes <davidhughes205@gmail.com> CommitDate: 2021-04-19 02:27:14 +0000 sys-apps/accountsservice: sync with ::gentoo Bug: https://bugs.gentoo.org/762442 Closes: https://bugs.gentoo.org/762442 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Dave Hughes <davidhughes205@gmail.com> sys-apps/accountsservice/Manifest | 2 +- .../accountsservice-0.6.50-r1.ebuild | 67 ------------------ .../accountsservice/accountsservice-0.6.55.ebuild | 82 ++++++++++++++++++++++ .../accountsservice/files/musl-fgetspent_r.patch | 61 ++++++++-------- sys-apps/accountsservice/files/musl-wtmp.patch | 14 ++++ 5 files changed, 128 insertions(+), 98 deletions(-)
Seems the bug is not closed as that patch is not present anymore on last -r1 ebuild and I've just hit it.
It would be ideal if this is (also) handled in upstream with upstream in their merge requests or issue tracker or whatnot then. We aren't really interested in carrying patches that haven't been submitted and accepted upstream.
I've moved back to the version we have on ::musl and masked the one in ::gentoo. I hope the patches will be accepted upstream
Please link to the upstream report or merge request to be able to track this (you can use the URL field if it's not used already for something else). So far I don't even know if anyone has reported an issue or provided a patch for them.
tinderbox_musl has reproduced this issue with version 22.08.8 - Updating summary.
*** Bug 893288 has been marked as a duplicate of this bug. ***
upstream bug: https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/97.
I'll respond and try to fix it this week
tinderbox_musl has reproduced this issue with version 23.13.9 - Updating summary.
Reproducible with meson version 107:2 updating summary - meson.build:107:2: ERROR: Assert failed: Do not know which filename to watch for wtmp changes
this bug shows again in accountsservice-23.13.9, with musl/clang profile
(In reply to 464270342 from comment #15) > this bug shows again in accountsservice-23.13.9, with musl/clang profile Shows also on a arm64 musl/clang profile.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b384521330687755ea3df3f4c043ad7261cc2dd commit 0b384521330687755ea3df3f4c043ad7261cc2dd Author: germ <germtoo@outlook.com> AuthorDate: 2023-10-30 12:01:40 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2023-11-24 10:52:15 +0000 sys-apps/accountsservice: add musl build fixes from Alpine Linux Closes: https://bugs.gentoo.org/762442 Signed-off-by: Germ Mipseb <germtoo@outlook.com> Signed-off-by: germ <germtoo@outlook.com> Closes: https://github.com/gentoo/gentoo/pull/33600 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../accountsservice/accountsservice-23.13.9.ebuild | 3 ++ .../files/accountsservice-23.13.9-musl-fixes.patch | 52 ++++++++++++++++++++++ 2 files changed, 55 insertions(+)