Public bug reported:

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?

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: systemd

** Attachment added: "test-execute.log"
   
https://bugs.launchpad.net/bugs/1761114/+attachment/5101077/+files/test-execute.log

** Changed in: systemd (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Desktop 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"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1761114/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to