http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc-lsb/builds/56/steps/Building%20Images/logs/stdio | DEBUG: Python function read_subpackage_metadata finished | DEBUG: Executing python function do_package_rpm | DEBUG: Executing python function write_specfile | NOTE: Creating EMPTY RPM Package for xserver-xf86-config-dbg | NOTE: Not creating empty RPM package for xserver-xf86-config-staticdev | NOTE: Creating EMPTY RPM Package for xserver-xf86-config-dev | NOTE: Not creating empty RPM package for xserver-xf86-config-doc | NOTE: Not creating empty RPM package for xserver-xf86-config-locale | NOTE: Creating RPM package for xserver-xf86-config | NOTE: Creating RPM package for xserver-xf86-config | DEBUG: Python function write_specfile finished | DEBUG: Executing shell function BUILDSPEC | error: line 4: invalid tag value("^[A-Za-z0-9+._]+$") Release: Release: r11+poky-lsb | error: Package has no %description: xserver-xf86-config-0.1.p1022ds | Building target platforms: p1022ds-poky-linux-gnuspe | DEBUG: Python function do_package_rpm finished | DEBUG: Python function do_package_write_rpm finished | ERROR: Function failed: BUILDSPEC (see /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc-lsb/build/build/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky-lsb/temp/log.do_package_write_rpm.26809 for further information) ERROR: Task 6410 (/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc-lsb/build/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb, do_package_write_rpm) failed with exit code '1' Summary: There was 1 ERROR message shown, returning a non-zero exit code.
This looks like its from http://git.yoctoproject.org/cgit.cgi/meta-fsl-ppc/commit/?id=343e0388c10d465946b2b7ffa3036116cd4bd9d0
To be clear, this is an issue in the fsl-ppc danny branch.
I builded core-image-minimal, core-image-sato and fsl-image-lsb-sdk for p1022ds successfully . There is no problem for building xserver-xf86-config. I can not reproduce the issue. branch: danny poky: b0574887b45dcd5d5c90335dac5e1509ed8a2eff meta-fsl-ppc: 81cfb66250e589be5fadef9d1be0b9a2e2b0d4d2
(In reply to comment #3) > I builded core-image-minimal, core-image-sato and fsl-image-lsb-sdk for > p1022ds successfully . There is no problem for building xserver-xf86-config. > I can not reproduce the issue. > > branch: danny > poky: b0574887b45dcd5d5c90335dac5e1509ed8a2eff > meta-fsl-ppc: 81cfb66250e589be5fadef9d1be0b9a2e2b0d4d2 Did you enable rpm packages?
I also can not reproduce the issue when I enable rpm packages. the following log: DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstate_task_prefunc finished DEBUG: Executing python function do_package_write_rpm DEBUG: Executing python function read_subpackage_metadata DEBUG: Python function read_subpackage_metadata finished DEBUG: Executing python function do_package_rpm DEBUG: Executing python function write_specfile NOTE: Creating EMPTY RPM Package for xserver-xf86-config-dbg NOTE: Not creating empty RPM package for xserver-xf86-config-staticdev NOTE: Creating EMPTY RPM Package for xserver-xf86-config-dev NOTE: Not creating empty RPM package for xserver-xf86-config-doc NOTE: Not creating empty RPM package for xserver-xf86-config-locale NOTE: Creating RPM package for xserver-xf86-config NOTE: Creating RPM package for xserver-xf86-config DEBUG: Python function write_specfile finished DEBUG: Executing shell function BUILDSPEC Building target platforms: p1022ds-poky-linux-gnuspe Processing files: xserver-xf86-config-0.1-r11+poky.p1022ds Finding Provides: /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/xserver-xf86-config.provides Finding Requires: /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/xserver-xf86-config.requires Processing files: xserver-xf86-config-dbg-0.1-r11+poky.p1022ds Processing files: xserver-xf86-config-dev-0.1-r11+poky.p1022ds Checking for unpackaged file(s): /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/sysroots/x86_64-linux/usr/lib/rpm/check-files /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/package Wrote: /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/deploy-rpms/p1022ds/xserver-xf86-config-0.1-r11+poky.p1022ds.rpm Wrote: /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/deploy-rpms/p1022ds/xserver-xf86-config-dbg-0.1-r11+poky.p1022ds.rpm Wrote: /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/deploy-rpms/p1022ds/xserver-xf86-config-dev-0.1-r11+poky.p1022ds.rpm DEBUG: Shell function BUILDSPEC finished DEBUG: Python function do_package_rpm finished DEBUG: Python function do_package_write_rpm finished DEBUG: Executing python function sstate_task_postfunc DEBUG: Staging files from /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/deploy-rpms to /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/deploy/rpm DEBUG: Staging files from /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/deploy-rpms to /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/deploy/rpm DEBUG: Preparing tree /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/deploy-rpms for packaging at /local/home/b19537/gcr/opensource/poky/build_dannny/tmp/work/p1022ds-poky-linux-gnuspe/xserver-xf86-config-0.1-r11+poky/sstate-build-deploy-rpm/deploy-rpms @ @
You also need to set DISTRO="poky-lsb", the value needs to contain a "-" character. When you find the problem, please backport the patch I linked to.
RPM does not support "- " in it's variable names. the following patch about the issue : http://patches.openembedded.org/patch/48551/
the patch is applied. branch: danny meta-fsl-ppc: commit 084331c6f72dfe8be2f4981c802c43ae44d3b812