← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1570944] Re: ppc64le uses the wrong cross build package

 

** Changed in: snapcraft
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1570944

Title:
  ppc64le uses the wrong cross build package

Status in Snapcraft:
  Fix Released
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapcraft source package in Xenial:
  Fix Committed
Status in snapcraft source package in Yakkety:
  Fix Released

Bug description:
  If cross-compiling for ppc64le, Snapcraft uses gcc-powerpc64-linux-
  gnu. It should probably be using gcc-powerpc64le-linux-gnu. It also
  tries to use "gcc-powerpc64-linux-gnu-" as the prefix (note the "gcc"
  at the beginning).

  [Impact]

   * If cross-compiling for ppc64le, snapcraft tries to use gcc-
  powerpc64-linux-gnu. It should instead be using gcc-powerpc64le-linux-
  gnu.

   * It also tries to use "gcc-powerpc64-linux-gnu-" as the prefix (note
  the "gcc" at the beginning).

  [Test Case]

   1. Only the kbuild and kernel plugins make use of this feature, so first find a kernel that can be built for ppc64le.
   2. Build it with `snapcraft --target-arch ppc64le`
   3. Make sure it runs on ppc64le hardware.

  [Regression Potential]

   * None, this wouldn't have ever worked anyway.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1570944/+subscriptions