[Bug 1761114] Re: systemd build error on aarch64 with "Failed to parse personality, ignoring: x86"

Dimitri John Ledkov launchpad at surgut.co.uk
Wed Apr 4 09:31:35 UTC 2018


Why are you building obsolete systemd from xenial?
The systemd package you downloaded is more than 2 years old, for xenial.
The latest xenial release of systemd is 229-4ubuntu21.2, which you can download from xenial-updates using e.g.

$ pull-lp-source systemd xenial

Are you building the package as root? you probably should not. Use
fakeroot.

What is your interest in rebuilding 16.04.0 build of systemd, when it
was already patched many times since with security and stable release
updates?

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

-- 
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:
  Incomplete

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