[yocto] Failure packaging u-boot

Thayne Harbaugh thayne.srf at gmail.com
Sat Jun 15 17:16:55 PDT 2013


I have followed the directions on this page:

  https://github.com/gumstix/Gumstix-YoctoProject-Repo

The results are a failure in do_package for u-boot.  It appears that the
u-boot tools have been built for the build host which don't match the
target architecture and that gets flagged as an error:

  thayne at magma:~/dev/spotterrf/dm3730/dspbridge/yocto$ TEMPLATECONF=meta-gumstix-extras/conf source ./poky/oe-init-build-env

  ### Shell environment set up for builds. ###

  You can now run 'bitbake <target>'

  Common targets are:
      core-image-minimal
      core-image-sato
      meta-toolchain
      meta-toolchain-sdk
      adt-installer
      meta-ide-support

  You can also run generated qemu images with a command like 'runqemu qemux86'

  thayne at magma:~/dev/spotterrf/dm3730/dspbridge/yocto/build$ bitbake -k core-image-minimal
  Loading cache: 100% || ETA:  00:00:00
  Loaded 1683 entries from dependency cache.
  Parsing recipes: 100% || Time: 00:00:00
  Parsing of 1336 .bb files complete (1334 cached, 2 parsed). 1684 targets, 36 skipped, 0 masked, 0 errors.

  Build Configuration:
  BB_VERSION        = "1.16.0"
  TARGET_ARCH       = "arm"
  TARGET_OS         = "linux-gnueabi"
  MACHINE           = "overo"
  DISTRO            = "poky"
  DISTRO_VERSION    = "1.3.1"
  TUNE_FEATURES     = "armv7a vfp neon cortexa8"
  TARGET_FPU        = "vfp-neon"
  meta
  meta-yocto
  meta-yocto-bsp    = "(nobranch):2806646a263527ec0487ea160afd4bdc0a3c1703"
  meta-gnome
  meta-oe
  meta-xfce         = "(nobranch):34e5537e67b655b8d2effbbecc207d88eea52b87"
  meta-gumstix      = "(nobranch):e373f9c91ba7e3719676bfdd3f8f9c87a7b3284c"

  NOTE: Resolving any missing task queue dependencies
  NOTE: Preparing runqueue
  NOTE: Executing SetScene Tasks
  NOTE: Executing RunQueue Tasks
  WARNING: File '/sbin/fw_setenv' from u-boot was already stripped, this will prevent future debugging!
  WARNING: File '/sbin/fw_printenv' from u-boot was already stripped, this will prevent future debugging!
  ERROR: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment --remove-section=.note '/home/thayne/dev/spotterrf/dm3730/dspbridge/yocto/build/tmp/work/overo-poky-linux-gnueabi/u-boot-2012.10-r0/package/sbin/fw_setenv'' strip command failed
  ERROR: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment --remove-section=.note '/home/thayne/dev/spotterrf/dm3730/dspbridge/yocto/build/tmp/work/overo-poky-linux-gnueabi/u-boot-2012.10-r0/package/sbin/fw_printenv'' strip command failed
  ERROR: QA Issue: Architecture did not match (40 to 62) on /work/overo-poky-linux-gnueabi/u-boot-2012.10-r0/packages-split/u-boot-fw-utils/sbin/fw_printenv
  ERROR: QA Issue: Architecture did not match (40 to 62) on /work/overo-poky-linux-gnueabi/u-boot-2012.10-r0/packages-split/u-boot-fw-utils/sbin/fw_setenv
  ERROR: QA run found fatal errors. Please consider fixing them.
  ERROR: Function failed: do_package_qa
  ERROR: Logfile of failure stored in: /home/thayne/dev/spotterrf/dm3730/dspbridge/yocto/build/tmp/work/overo-poky-linux-gnueabi/u-boot-2012.10-r0/temp/log.do_package.22481
  ERROR: Task 70 (/home/thayne/dev/spotterrf/dm3730/dspbridge/yocto/poky/meta-gumstix/recipes-bsp/u-boot/u-boot_2012.10.bb, do_package) failed with exit code '1'
  NOTE: Tasks Summary: Attempted 1937 tasks of which 1935 didn't need to be rerun and 1 failed.

  Summary: 1 task failed:
    /home/thayne/dev/spotterrf/dm3730/dspbridge/yocto/poky/meta-gumstix/recipes-bsp/u-boot/u-boot_2012.10.bb, do_package
  Summary: There were 2 WARNING messages shown.
  Summary: There were 6 ERROR messages shown, returning a non-zero exit code.









More information about the yocto mailing list