[oe] [meta-oe][PATCH 2/9] libdbi-perl: fix dependencies

Martin Jansa martin.jansa at gmail.com
Wed Jul 17 13:04:57 UTC 2019


This causes libdbi-perl-native to depend on target perl again, why did you
revert the fix from:
http://git.openembedded.org/meta-openembedded/commit/?id=eb868d056d15a56596cbf6ed3a4b66b054f2d563
?

 === Comparing signatures for task do_populate_sysroot.sigdata between
qemux86 and qemux86copy ===
ERROR: libdbi-perl-native different signature for task
do_populate_sysroot.sigdata between qemux86 and qemux86copy
NOTE: Starting bitbake server...
NOTE: Started PRServer with DBfile: build/cache/prserv.sqlite3, IP:
127.0.0.1, PORT: 38307, PID: 13970
Hash for dependent task perl/perl_5.30.0.bb.do_populate_sysroot
changed from e3a38726fc849347a14b574ef52a59f5578632accbf70259a6ffd09fea54dc4e
to de2eb1fa749aab50f0e99c144a875bd50025fbb6299723f2e7ad28b49bbadf78
Unable to find matching sigdata for
oe-core/meta/recipes-devtools/perl/perl_5.30.0.bb.do_populate_sysroot
with hash de2eb1fa749aab50f0e99c144a875bd50025fbb6299723f2e7ad28b49bbadf78

ERROR: 1 errors found in
sstate-diff/1563367471/signatures.qemux86copy.do_populate_sysroot.sigdata.log



On Fri, Jun 28, 2019 at 7:00 AM Tim Orling <timothy.t.orling at linux.intel.com>
wrote:

> * Fix RDEPENDS, drop class-target (dependencies are the same for native)
> * Reorganize recipe to best practices
> * Add ptest dependencies
>
> Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
> ---
>  .../perl/libdbi-perl_1.642.bb                 | 38 +++++++++++++++----
>  1 file changed, 31 insertions(+), 7 deletions(-)
>
> diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
> b/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
> index ff4a9d0610..77991bd158 100644
> --- a/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
> +++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
> @@ -7,13 +7,6 @@ database interface independent of the actual database
> being used. \
>  HOMEPAGE = "http://search.cpan.org/dist/DBI/"
>  SECTION = "libs"
>  LICENSE = "Artistic-1.0 | GPL-1.0+"
> -RDEPENDS_${PN}_class-target = " \
> -    perl-module-carp \
> -    perl-module-exporter \
> -    perl-module-exporter-heavy \
> -    perl-module-dynaloader \
> -"
> -
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=10982c7148e0a012c0fd80534522f5c5"
>
>  SRC_URI = "
> http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz"
> @@ -34,4 +27,35 @@ do_install_prepend() {
>         rm -rf ${B}/t/z*.t
>  }
>
> +RDEPENDS_${PN} = " \
> +    perl-module-carp \
> +    perl-module-exporter \
> +    perl-module-exporter-heavy \
> +    perl-module-dynaloader \
> +    perl-module-io-dir \
> +    perl-module-scalar-util \
> +    perl-module-universal \
> +"
> +
> +RDEPENDS_${PN}-ptest = " \
> +    ${PN} \
> +    perl-module-b \
> +    perl-module-benchmark \
> +    perl-module-cwd \
> +    perl-module-data-dumper \
> +    perl-module-encode \
> +    perl-module-encode-byte \
> +    perl-module-encode-encoding \
> +    perl-module-file-copy \
> +    perl-module-file-path \
> +    perl-module-lib \
> +    perl-module-perlio \
> +    perl-module-perlio-scalar \
> +    perl-module-perlio-via \
> +    perl-module-sdbm-file \
> +    perl-module-storable \
> +    perl-module-test-more \
> +    perl-module-utf8 \
> +    "
> +
>  BBCLASSEXTEND = "native"
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list