[Bug 1761114] Re: systemd build error on aarch64 with "Failed to parse personality, ignoring: x86"
Dan Streetman
1761114 at bugs.launchpad.net
Wed Jun 30 21:23:34 UTC 2021
please reopen if this is still an issue
** Changed in: systemd (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1761114
Title:
systemd build error on aarch64 with "Failed to parse personality,
ignoring: x86"
Status in systemd package in Ubuntu:
Invalid
Bug description:
download source code from https://launchpad.net/ubuntu/+source/systemd/229-4ubuntu21,
build with `dpkg-buildpackage` on aarch64, and build break with the following messages:
```
+ test /tmp/test-exec_workingdirectory = /tmp/test-exec_workingdirectory
2 [/root/neil/systemd/test/systemd-229.orig/test/test-execute/exec-personality-x86.service:7] Failed to parse personality, ignoring: x86
3 + uname -m
4 + c=aarch64
5 + test aarch64 = i686
6 exec-personality-x86.service: Main process exited, code=exited, status=1/FAILURE
7 exec-personality-x86.service: Unit entered failed state.
8 exec-personality-x86.service: Failed with result 'exit-code'.
9 Assertion 'service->main_exec_status.status == status_expected' failed at ../src/test/test-execute.c:65, function check(). Aborting.
```
it should run into x86 test case with:
```
87 static void test_exec_personality(Manager *m) {
88 #if defined(__x86_64__)
89 test(m, "exec-personality-x86-64.service", 0, CLD_EXITED);
90
91 #elif defined(__s390__)
92 test(m, "exec-personality-s390.service", 0, CLD_EXITED);
93
94 #else
95 test(m, "exec-personality-x86.service", 0, CLD_EXITED);
96 #endif
97 }
```
after checked upstream systemd source code,
https://github.com/systemd/systemd/commit/12591863 will fix it.
is this patch already applied? or I get invalid build steps on
aarch64?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1761114/+subscriptions
More information about the foundations-bugs
mailing list