This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1782166

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1782166

Title:
  Invoking obsolete 'firmware_install' target breaks snap build

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Impact:

  The snapcraft.yaml in bionic/master still invokes the obsolete
  'firmware_install' target that was removed in
  5620a0d1aacd554ebebcff373e31107bb1ef7769 ("firmware: delete in-kernel
  firmware"), and by invoking a non existin target, snap build fails.

  On a generic amd64 environment, check out the Bionic/generic tree, cd
  into it and execute snapcraft:

  linux $ snapcraft
  ...
  make -j4 bzImage modules
  ...
    LD [M]  virt/lib/irqbypass.ko
  make: *** No rule to make target 'firmware_install'.  Stop.
  make: *** Waiting for unfinished jobs....
    INSTALL arch/x86/crypto/blowfish-x86_64.ko
  ...
  make -j4 CONFIG_PREFIX=/home/flag/canonical/linux/parts/kernel/install 
modules_install 
INSTALL_MOD_PATH=/home/flag/canonical/linux/parts/kernel/install 
firmware_install 
INSTALL_FW_PATH=/home/flag/canonical/linux/parts/kernel/install/lib/firmware
  Failed to run 'make -j4 
CONFIG_PREFIX=/home/flag/canonical/linux/parts/kernel/install modules_install 
INSTALL_MOD_PATH=/home/flag/canonical/linux/parts/kernel/install 
firmware_install 
INSTALL_FW_PATH=/home/flag/canonical/linux/parts/kernel/install/lib/firmware' 
for 'kernel': Exited with code 2.
  Verify that the part is using the correct parameters and try again.

  Fix:

  Stop invoking a non existing target by applying the attached patch.

  $ snapcraft
  ...

  
  Regression risk:

  None since the patch only modifies the snapcraft.yaml file.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to