Check out the Xenia/generic or Bionic/generic tree, cd into it and execute: snapcraft
...
HOSTCC scripts/mod/mk_elfconfig
/bin/bash: ./scripts/ubuntu-retpoline-extract-one: No such file or directory
scripts/Makefile.build:332: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs....
HOSTLD arch/x86/tools/relocs
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
scripts/Makefile.build:606: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
CC arch/x86/purgatory/purgatory.o
Makefile:589: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
AS arch/x86/purgatory/stack.o
/bin/bash: ./scripts/ubuntu-retpoline-extract-one: No such file or directory
scripts/Makefile.build:332: recipe for target 'arch/x86/purgatory/purgatory.o' failed
make[1]: *** [arch/x86/purgatory/purgatory.o] Error 127
make[1]: *** Waiting for unfinished jobs....
AS arch/x86/purgatory/setup-x86_64.o
/bin/bash: ./scripts/ubuntu-retpoline-extract-one: No such file or directory
scripts/Makefile.build:435: recipe for target 'arch/x86/purgatory/stack.o' failed
make[1]: *** [arch/x86/purgatory/stack.o] Error 127
/bin/bash: ./scripts/ubuntu-retpoline-extract-one: No such file or directory
scripts/Makefile.build:435: recipe for target 'arch/x86/purgatory/setup-x86_64.o' failed
make[1]: *** [arch/x86/purgatory/setup-x86_64.o] Error 127
arch/x86/Makefile:260: recipe for target 'archprepare' failed
make: *** [archprepare] Error 2
Failed to run 'make -j4 bzImage modules' for 'kernel': Exited with code 2.
Verify that the part is using the correct parameters and try again.
Check out the Xenia/generic or Bionic/generic tree, cd into it and execute: snapcraft
... mod/mk_ elfconfig ubuntu- retpoline- extract- one: No such file or directory Makefile. build:332: recipe for target 'scripts/ mod/empty. o' failed mod/empty. o] Error 127 tools/relocs selinux/ genheaders/ genheaders selinux/ mdp/mdp Makefile. build:606: recipe for target 'scripts/mod' failed purgatory/ purgatory. o purgatory/ stack.o ubuntu- retpoline- extract- one: No such file or directory Makefile. build:332: recipe for target 'arch/x86/ purgatory/ purgatory. o' failed purgatory/ purgatory. o] Error 127 purgatory/ setup-x86_ 64.o ubuntu- retpoline- extract- one: No such file or directory Makefile. build:435: recipe for target 'arch/x86/ purgatory/ stack.o' failed purgatory/ stack.o] Error 127 ubuntu- retpoline- extract- one: No such file or directory Makefile. build:435: recipe for target 'arch/x86/ purgatory/ setup-x86_ 64.o' failed purgatory/ setup-x86_ 64.o] Error 127 Makefile: 260: recipe for target 'archprepare' failed
HOSTCC scripts/
/bin/bash: ./scripts/
scripts/
make[2]: *** [scripts/
make[2]: *** Waiting for unfinished jobs....
HOSTLD arch/x86/
HOSTCC scripts/
HOSTCC scripts/
scripts/
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
CC arch/x86/
Makefile:589: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
AS arch/x86/
/bin/bash: ./scripts/
scripts/
make[1]: *** [arch/x86/
make[1]: *** Waiting for unfinished jobs....
AS arch/x86/
/bin/bash: ./scripts/
scripts/
make[1]: *** [arch/x86/
/bin/bash: ./scripts/
scripts/
make[1]: *** [arch/x86/
arch/x86/
make: *** [archprepare] Error 2
Failed to run 'make -j4 bzImage modules' for 'kernel': Exited with code 2.
Verify that the part is using the correct parameters and try again.