[yocto] do_package_write_rpm failed.

McClintock Matthew-B29882 B29882 at freescale.com
Mon Sep 24 17:48:52 PDT 2012


On Mon, Sep 24, 2012 at 6:44 PM, Bodke, Kishore K
<kishore.k.bodke at intel.com> wrote:
> Hi,
>
>
>
> I have a modified version of zlib package and trying to build and I get
> error while doing the packaging.
>
> Any idea what this error is?
>
>
>
> ERROR: Logfile of failure stored in:
> /usr/local/src/shumway/sep12/build-shumway2/tmp/work/x86_64-poky-linux/zlib-qat-1.2.7-r9/temp/log.do_package_write_rpm.5284
>
> Log data follows:
>
> | 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 RPM package for zlib-qat
>
> | NOTE: Creating RPM package for zlib-qat
>
> | NOTE: Creating RPM package for zlib-qat-dev
>
> | NOTE: Creating RPM package for zlib-qat-dbg
>
> | NOTE: Creating RPM package for zlib-qat-staticdev
>
> | NOTE: Creating RPM package for zlib-qat-doc
>
> | DEBUG: Python function write_specfile finished
>
> | DEBUG: Executing shell function BUILDSPEC
>
> | Building target platforms: x86_64-poky-linux
>
> | Processing files: zlib-qat-1.2.7-r9.x86_64
>
> | Finding  Provides:
> /usr/local/src/shumway/sep12/build-shumway2/tmp/work/x86_64-poky-linux/zlib-qat-1.2.7-r9/zlib-qat.provides
>
> | Finding  Requires:
> /usr/local/src/shumway/sep12/build-shumway2/tmp/work/x86_64-poky-linux/zlib-qat-1.2.7-r9/zlib-qat.requires
>
> | Provides: libz.so.1(ZLIB_1.2.0.2)(64bit) libz.so.1(ZLIB_1.2.2.4)(64bit)
> libz.so.1(ZLIB_1.2.0)(64bit) libz.so.1(ZLIB_1.2.5.1)(64bit)
> libz.so.1(ZLIB_1.2.2.3)(64bit) libz.so.1(ZLIB_1.2.3.4)(64bit)
> libz.so.1(ZLIB_1.2.7)(64bit) libz.so.1(ZLIB_1.2.2)(64bit)
> libz.so.1(ZLIB_1.2.3.3)(64bit) libz.so.1(ZLIB_1.2.5.2)(64bit)
> libz.so.1(ZLIB_1.2.3.5)(64bit) libz.so.1(ZLIB_1.2.0.8)(64bit)
> libz.so.1()(64bit)
>
> | Requires: rtld(GNU_HASH) libc.so.6(GLIBC_2.14)(64bit)
> libcrypto.so.1.0.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit)
> libpthread.so.0(GLIBC_2.3.4)(64bit) libc.so.6()(64bit)
> libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit)
> libpthread.so.0(GLIBC_2.3.2)(64bit) libdl.so.2()(64bit)
> librt.so.1(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit)
> libcrypto.so.1.0.0(OPENSSL_1.0.0)(64bit) librt.so.1()(64bit)
> libc.so.6(GLIBC_2.3.2)(64bit)
>
> | Provides: libz.so.1(ZLIB_1.2.0.2)(64bit) libz.so.1(ZLIB_1.2.2.4)(64bit)
> libz.so.1(ZLIB_1.2.0)(64bit) libz.so.1(ZLIB_1.2.5.1)(64bit)
> libz.so.1(ZLIB_1.2.2.3)(64bit) libz.so.1(ZLIB_1.2.3.4)(64bit)
> libz.so.1(ZLIB_1.2.7)(64bit) libz.so.1(ZLIB_1.2.2)(64bit)
> libz.so.1(ZLIB_1.2.3.3)(64bit) libz.so.1(ZLIB_1.2.5.2)(64bit)
> libz.so.1(ZLIB_1.2.3.5)(64bit) libz.so.1(ZLIB_1.2.0.8)(64bit)
> libz.so.1()(64bit)
>
> | Requires: rtld(GNU_HASH) libc.so.6(GLIBC_2.14)(64bit)
> libcrypto.so.1.0.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit)
> libpthread.so.0(GLIBC_2.3.4)(64bit) libc.so.6()(64bit)
> libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit)
> libpthread.so.0(GLIBC_2.3.2)(64bit) libdl.so.2()(64bit)
> librt.so.1(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit)
> libcrypto.so.1.0.0(OPENSSL_1.0.0)(64bit) librt.so.1()(64bit)
> libc.so.6(GLIBC_2.3.2)(64bit)
>
> | Processing files: zlib-qat-dev-1.2.7-r9.x86_64
>
> | Finding  Provides:
> /usr/local/src/shumway/sep12/build-shumway2/tmp/work/x86_64-poky-linux/zlib-qat-1.2.7-r9/zlib-qat.provides
>
> | error: line 164: Illegal char '-' in EVR:
>
> |
>
> | error: Failed to find Provides:
>
> |
>
> |
>
> | RPM build errors:
>
> |     line 164: Illegal char '-' in EVR:

I've found RPM does not like - in it's variable names. Did you add a
'-' anywhere? Maybe in your arch or package name? What did you change
in the recipe?

-M


> |
>
> |     Failed to find Provides:
>
> | DEBUG: Python function do_package_rpm finished
>
> | DEBUG: Python function do_package_write_rpm finished
>
> | ERROR: Function failed: BUILDSPEC (see
> /usr/local/src/shumway/sep12/build-shumway2/tmp/work/x86_64-poky-linux/zlib-qat-1.2.7-r9/temp/log.do_package_write_rpm.5284
> for further information)
>
> ERROR: Task 11
> (/usr/local/src/shumway/sep12/meta-intel/meta-crystalforest/recipes-quickassist/intel-zlib-qat/zlib-qat_1.2.7.bb,
> do_package_write_rpm) failed with exit code '1'
>
> NOTE: Tasks Summary: Attempted 944 tasks of which 934 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
>
>
> /usr/local/src/shumway/sep12/meta-intel/meta-crystalforest/recipes-quickassist/intel-zlib-qat/zlib-qat_1.2.7.bb,
> do_package_write_rpm
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
> Thanks
>
> Kishore.
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list