Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <daniel.turull@ericsson.com>, <openembedded-core@lists.openembedded.org>
Cc: <qi.chen@windriver.com>, <alex.kanavin@gmail.com>,
	<richard.purdie@linuxfoundation.org>, <Ross.Burton@arm.com>
Subject: Re: [PATCH v3 0/3] systemd: update to 261 and be compatible with rhel8
Date: Thu, 02 Jul 2026 10:36:44 +0200	[thread overview]
Message-ID: <DJNY5PFZT70X.2O5P68RPD0PJU@bootlin.com> (raw)
In-Reply-To: <20260630115028.4001775-1-daniel.turull@ericsson.com>

On Tue Jun 30, 2026 at 1:50 PM CEST, daniel.turull wrote:
> From: Daniel Turull <daniel.turull@ericsson.com>
>
> systemd increases the dependency on the host kernel,
> which breaks builds with rhel 8
>
> This series add native patches in the systemd tools
> to make it work.
>
> v2:
>  - re-add tag verification in SRC_URI
> v3:
>  - rebase on top of Ross Burton meson patches. if not needed keep v2
>  - re-tested
>  See https://patchwork.yoctoproject.org/project/oe-core/patch/20260629141559.1305873-1-ross.burton@arm.com/
>
> Tested on rhel8.10 with testsuite systemd on qemux86-64

Hi Daniel,

Thanks for the new version.

I just note we have some intermittent failure. So far I only saw that on
debian11 workers, so maybe it is related to the host distro.

ERROR: systemd-hwdb-native-261-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/x86_64-linux/systemd-hwdb-native/261/temp/run.do_compile.3747249' failed with exit code 1
...
| ../sources/systemd-hwdb-261/src/libc/mount.c: In function ‘mount_setattr_shim’:
| ../sources/systemd-hwdb-261/src/libc/libc-shim.h:71:32: error: ‘__NR_mount_setattr’ undeclared (first use in this function); did you mean ‘mount_setattr’?
|    71 |                 return syscall(__NR_##func, _SHIM_NAME(__VA_ARGS__));                                \
|       |                                ^~~~~
| ../sources/systemd-hwdb-261/src/libc/mount.c:35:1: note: in expansion of macro ‘DEFINE_SYSCALL_SHIM’
|    35 | DEFINE_SYSCALL_SHIM(mount_setattr, int,
|       | ^~~~~~~~~~~~~~~~~~~
| ../sources/systemd-hwdb-261/src/libc/libc-shim.h:71:32: note: each undeclared identifier is reported only once for each function it appears in
|    71 |                 return syscall(__NR_##func, _SHIM_NAME(__VA_ARGS__));                                \
|       |                                ^~~~~
| ../sources/systemd-hwdb-261/src/libc/mount.c:35:1: note: in expansion of macro ‘DEFINE_SYSCALL_SHIM’
|    35 | DEFINE_SYSCALL_SHIM(mount_setattr, int,
|       | ^~~~~~~~~~~~~~~~~~~
| ../sources/systemd-hwdb-261/src/libc/libc-shim.h:72:9: error: control reaches end of non-void function [-Werror=return-type]
|    72 |         }
|       |         ^
| ../sources/systemd-hwdb-261/src/libc/mount.c:35:1: note: in expansion of macro ‘DEFINE_SYSCALL_SHIM’
|    35 | DEFINE_SYSCALL_SHIM(mount_setattr, int,
|       | ^~~~~~~~~~~~~~~~~~~
| cc1: some warnings being treated as errors

https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/3878
https://autobuilder.yoctoproject.org/valkyrie/#/builders/93/builds/4029

I don't have more details right now, so I just want to note this so it
is known before we merge the series.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  parent reply	other threads:[~2026-07-02  8:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-30 11:50 [PATCH v3 0/3] systemd: update to 261 and be compatible with rhel8 daniel.turull
2026-06-30 11:50 ` [PATCH v3 1/3] dlopen-deps.inc: treat soname list as ordered alternatives daniel.turull
2026-06-30 11:50 ` [PATCH v3 2/3] systemd: upgrade to 261 daniel.turull
2026-06-30 23:08   ` [OE-core] " Khem Raj
2026-07-01  7:12     ` Daniel Turull
2026-06-30 11:50 ` [PATCH v3 3/3] systemd: add native hwdb generator for hosts without STATX_MNT_ID daniel.turull
2026-07-02  8:36 ` Mathieu Dubois-Briand [this message]
2026-07-02  8:58   ` [PATCH v3 0/3] systemd: update to 261 and be compatible with rhel8 Daniel Turull
2026-07-02  9:54     ` Mathieu Dubois-Briand
2026-07-02 11:03       ` Alexander Kanavin
2026-07-02 13:19         ` Daniel Turull
2026-07-02 13:34           ` Richard Purdie
2026-07-02 14:03             ` Daniel Turull
2026-07-02 17:12             ` Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DJNY5PFZT70X.2O5P68RPD0PJU@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=Ross.Burton@arm.com \
    --cc=alex.kanavin@gmail.com \
    --cc=daniel.turull@ericsson.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=qi.chen@windriver.com \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox