Public bug reported:

download source code from,
build with `dpkg-buildpackage` on aarch64, and build break with the following 

+ test /tmp/test-exec_workingdirectory = /tmp/test-exec_workingdirectory
 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, 
  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);
91  #elif defined(__s390__)
92          test(m, "exec-personality-s390.service", 0, CLD_EXITED);
94  #else
95          test(m, "exec-personality-x86.service", 0, CLD_EXITED);
96  #endif
97  }

after checked upstream systemd source code, 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"

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

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  systemd build error on aarch64 with "Failed to parse personality,
  ignoring: x86"

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to