another kernel snap build error

MikeB mabnhdev at gmail.com
Mon Feb 20 13:55:31 UTC 2017


My kernel snap no longer builds.

I have tried building one in a couple fo weeks, so I don't know
exactly when it went bad.

I'm building on a up-to-date Ubuntu Xenial Desktop.

Any ideas what may be wrong?

Thanks, Mike

mabnhdev at opx:~/snappy-ecos$ snapcraft --version
2.27
mabnhdev at opx:~/snappy-ecos$ snap --version
snap    2.22.3
snapd   2.22.3
series  16
ubuntu  16.04
mabnhdev at opx:~/snappy-ecos$ snapcraft clean && snapcraft
Cleaning up priming area
Cleaning up staging area
Cleaning up parts directory
Searching for local plugin for x-kernel
Preparing to pull kernel
Pulling kernel
Cloning into '/home/mabnhdev/snappy-ecos/parts/kernel/src'...
remote: Counting objects: 5508333, done.
remote: Compressing objects: 100% (821584/821584), done.
Receiving objects: 100% (5508333/5508333), 1.26 GiB | 16.03 MiB/s, done.
remote: Total 5508333 (delta 4659401), reused 5493277 (delta 4644538)
Resolving deltas: 100% (4659401/4659401), done.
Checking connectivity... done.
Checking out files: 100% (53763/53763), done.
Getting details for ubuntu-core
Downloading ubuntu-core
Downloading 'os.snap'[========================================================================================================]
100%
Successfully downloaded ubuntu-core at
/home/mabnhdev/snappy-ecos/parts/kernel/src/os.snap
Patching kernel with /home/mabnhdev/snappy-ecos/patches/ismt.patch
patch -d /home/mabnhdev/snappy-ecos/parts/kernel/src -p1 -i
/home/mabnhdev/snappy-ecos/patches/ismt.patch
patching file drivers/i2c/busses/i2c-ismt.c
Preparing to build kernel
Building kernel
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --oldconfig Kconfig
...
  LD [M]  drivers/xen/xen-evtchn.o
  LD [M]  drivers/xen/xen-gntdev.o
  LD [M]  drivers/xen/xen-gntalloc.o
  LD [M]  drivers/xen/xen-privcmd.o
  CC [M]  drivers/video/fbdev/sm501fb.o
  CC [M]  drivers/video/fbdev/udlfb.o
  CC [M]  drivers/video/fbdev/smscufx.o
  CC [M]  drivers/video/fbdev/xen-fbfront.o
  CC [M]  drivers/video/fbdev/carminefb.o
  CC [M]  drivers/video/fbdev/hyperv_fb.o
  CC [M]  drivers/video/fbdev/ocfb.o
  CC [M]  drivers/video/fbdev/sm712fb.o
  CC [M]  drivers/video/fbdev/uvesafb.o
  CC [M]  drivers/video/fbdev/vga16fb.o
  LD      drivers/video/fbdev/built-in.o
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o
Command '['/bin/sh', '/tmp/tmp7akyo29m', 'make', '-j4', 'bzImage',
'modules']' returned non-zero exit status 2



More information about the Devices mailing list