[OE-core] [PATCH] systemd: Fix build on musl

2023-08-01 Thread Khem Raj
Latest upgrade of systemd needs some refreshing of musl patches and drop 0015-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch since its already fixed upstream [1] [1] https://github.com/systemd/systemd-stable/commit/86206af0bf1d6b093967693c8b7610a00e733707 Signed-off-by: Khem Raj

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-08-06 Thread Andre McCurdy
On Fri, Aug 6, 2021 at 7:12 AM Luca Boccassi wrote: > > On Thu, 29 Jul 2021 at 20:11, Andre McCurdy wrote: > > > > On Thu, Jul 29, 2021 at 6:49 AM Luca Bocassi > > wrote: > > > > > > Having a look at the patches, a few comments: > > > > > > -

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-08-06 Thread Luca Bocassi
On Thu, 29 Jul 2021 at 20:11, Andre McCurdy wrote: > > On Thu, Jul 29, 2021 at 6:49 AM Luca Bocassi wrote: > > > > Having a look at the patches, a few comments: > > > > - 0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch I find > > quite worrying, as it fundamentally changes access

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-07-29 Thread Andre McCurdy
On Thu, Jul 29, 2021 at 6:49 AM Luca Bocassi wrote: > > Having a look at the patches, a few comments: > > - 0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch I find > quite worrying, as it fundamentally changes access patterns, some of > which are done for security reasons. At best,

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-07-29 Thread Khem Raj
On Thu, Jul 29, 2021 at 6:54 AM Luca Boccassi wrote: > > On Thu, 2021-07-29 at 14:49 +0100, Luca Boccassi wrote: > > On Thu, 2021-07-29 at 12:59 +, Khem Raj wrote: > > > Latest upgrade to 249 broke a working build on musl, this is incremental > > > fix to exisiting patches adapted to 249

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-07-29 Thread Khem Raj
On Thu, Jul 29, 2021 at 5:55 AM Robert Berger wrote: > > Hi, > > Does this mean we have musl and systemd working together? > yes it was always there > Regards, > > Robert > > On 27/07/2021 23:13, Khem Raj wrote: > > Latest upgrade to 249 broke a working build on musl, this is incremental > >

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-07-29 Thread Alexander Kanavin
I have to wonder again if it would be better to maintain the musl spin of systemd in a separate repo and provided via separate recipe? Alex On Thu, 29 Jul 2021 at 15:54, Luca Bocassi wrote: > On Thu, 2021-07-29 at 14:49 +0100, Luca Boccassi wrote: > > On Thu, 2021-07-29 at 12:59 +, Khem

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-07-29 Thread Luca Bocassi
On Thu, 2021-07-29 at 14:49 +0100, Luca Boccassi wrote: > On Thu, 2021-07-29 at 12:59 +, Khem Raj wrote: > > Latest upgrade to 249 broke a working build on musl, this is incremental > > fix to exisiting patches adapted to 249 release > > > > Signed-off-by: Khem Raj > > Cc: Luca Boccassi > >

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-07-29 Thread Luca Bocassi
On Thu, 2021-07-29 at 12:59 +, Khem Raj wrote: > > Latest upgrade to 249 broke a working build on musl, this is incremental > fix to exisiting patches adapted to 249 release > > Signed-off-by: Khem Raj > Cc: Luca Boccassi > --- > ...002-don-t-use-glibc-specific-qsort_r.patch | 24 +-- >

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-07-29 Thread Robert Berger
Hi, Does this mean we have musl and systemd working together? Regards, Robert On 27/07/2021 23:13, Khem Raj wrote: Latest upgrade to 249 broke a working build on musl, this is incremental fix to exisiting patches adapted to 249 release Signed-off-by: Khem Raj Cc: Luca Boccassi

[OE-core] [PATCH] systemd: Fix build on musl

2021-07-27 Thread Khem Raj
Latest upgrade to 249 broke a working build on musl, this is incremental fix to exisiting patches adapted to 249 release Signed-off-by: Khem Raj Cc: Luca Boccassi --- ...002-don-t-use-glibc-specific-qsort_r.patch | 24 +-- ...missing.h-check-for-missing-strndupa.patch | 173 +-

[OE-core] [PATCH] systemd: Fix build on musl

2021-02-06 Thread Khem Raj
include "missing_stdlib.h" is needed for strndupa() Signed-off-by: Khem Raj --- ...missing.h-check-for-missing-strndupa.patch | 113 ++ 1 file changed, 10 insertions(+), 103 deletions(-) diff --git

[OE-core] [PATCH] systemd: Fix build on musl

2017-10-26 Thread Khem Raj
Add needed patches for portability across glibc/musl enable systemd on musl too Disable utmp,ldconfig,nss,resolved,localed for musl which is not supported on musl Signed-off-by: Khem Raj --- ...PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch | 43 ++