<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14131</bug_id>
          
          <creation_ts>2020-11-20 01:02:37 +0000</creation_ts>
          <short_desc>Failed to create extensible sdk on buildtools-tarball for the package conflict error: kernel-dev</short_desc>
          <delta_ts>2020-11-26 15:34:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>5.99</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jiping.ma2</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88642</commentid>
    <comment_count>0</comment_count>
    <who name="">jiping.ma2</who>
    <bug_when>2020-11-20 01:02:37 +0000</bug_when>
    <thetext>1. add conf/local.conf

+TOOLCHAIN_TARGET_TASK_append = &quot; python-dev kernel-dev kernel-devsrc&quot;

2. bitbake wrlinux-image-glibc-std -c populate_sdk_ext

build failed and show the following errors.

ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Could not invoke dnf. Command &apos;/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.7+snapshot/sysroots/none/etc/dnf/dnf.conf --setopt=reposdir=/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.7+snapshot/sysroots/none/etc/yum.repos.d --installroot=/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.7+snapshot/sysroots/none --setopt=logdir=/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/temp --repofrompath=oe-repo,/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-sdk-repo --nogpgcheck install python-dev kernel-dev kernel-devsrc&apos; returned 1:
DNF version: 4.2.2
cachedir: /buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.7+snapshot/sysroots/none/var/cache/dnf
Added oe-repo repo from /buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-sdk-repo
repo: using cache for: oe-repo
not found other for: 
not found modules for: 
not found deltainfo for: 
not found updateinfo for: 
oe-repo: using metadata from Thu 19 Nov 2020 07:54:12 AM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 19 Nov 2020 07:54:14 AM UTC.
No module defaults found
--&gt; Starting dependency resolution
--&gt; Finished dependency resolution
Error: 
 Problem 1: conflicting requests
  - package python-dev-2.7.16-r0.core2_64 does not have a compatible architecture
  - nothing provides python-core needed by python-dev-2.7.16-r0.core2_64
  - nothing provides libpython2.7-1.0 needed by python-dev-2.7.16-r0.core2_64
 Problem 2: conflicting requests
  - package kernel-dev-5.0.19+git0+c2e34d9ab2_00638cdd8f-r0.qemux86_64 does not have a compatible architecture
 Problem 3: conflicting requests
  - package kernel-devsrc-1.0-r0.qemux86_64 does not have a compatible architecture
  - nothing provides /bin/sh needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides util-linux needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides python needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides bison needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/env needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides flex needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides elfutils needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /bin/bash needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/perl needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides bc needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides openssl-dev needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides libc6-utils needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/python3 needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/awk needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/python needed by kernel-devsrc-1.0-r0.qemux86_64
(try to add &apos;--skip-broken&apos; to skip uninstallable packages or &apos;--nobest&apos; to use not only best candidate packages)

ERROR: Logfile of failure stored in: /buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/temp/log.do_populate_sdk.234985
ERROR: Task (/buildarea/jma1/git/yocto/poky/meta/recipes-core/meta/buildtools-tarball.bb:do_populate_sdk) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88643</commentid>
    <comment_count>1</comment_count>
    <who name="">jiping.ma2</who>
    <bug_when>2020-11-20 01:06:44 +0000</bug_when>
    <thetext>1. add conf/local.conf

+TOOLCHAIN_TARGET_TASK_append = &quot; python-dev kernel-dev kernel-devsrc&quot;

2. bitbake core-image-sato -c populate_sdk_ext

build failed and show the following errors.

ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Could not invoke dnf. Command &apos;/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.7+snapshot/sysroots/none/etc/dnf/dnf.conf --setopt=reposdir=/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.7+snapshot/sysroots/none/etc/yum.repos.d --installroot=/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.7+snapshot/sysroots/none --setopt=logdir=/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/temp --repofrompath=oe-repo,/buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-sdk-repo --nogpgcheck install python-dev kernel-dev kernel-devsrc&apos; returned 1:
DNF version: 4.2.2
cachedir: /buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.7+snapshot/sysroots/none/var/cache/dnf
Added oe-repo repo from /buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-sdk-repo
repo: using cache for: oe-repo
not found other for: 
not found modules for: 
not found deltainfo for: 
not found updateinfo for: 
oe-repo: using metadata from Thu 19 Nov 2020 07:54:12 AM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 19 Nov 2020 07:54:14 AM UTC.
No module defaults found
--&gt; Starting dependency resolution
--&gt; Finished dependency resolution
Error: 
 Problem 1: conflicting requests
  - package python-dev-2.7.16-r0.core2_64 does not have a compatible architecture
  - nothing provides python-core needed by python-dev-2.7.16-r0.core2_64
  - nothing provides libpython2.7-1.0 needed by python-dev-2.7.16-r0.core2_64
 Problem 2: conflicting requests
  - package kernel-dev-5.0.19+git0+c2e34d9ab2_00638cdd8f-r0.qemux86_64 does not have a compatible architecture
 Problem 3: conflicting requests
  - package kernel-devsrc-1.0-r0.qemux86_64 does not have a compatible architecture
  - nothing provides /bin/sh needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides util-linux needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides python needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides bison needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/env needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides flex needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides elfutils needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /bin/bash needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/perl needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides bc needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides openssl-dev needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides libc6-utils needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/python3 needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/awk needed by kernel-devsrc-1.0-r0.qemux86_64
  - nothing provides /usr/bin/python needed by kernel-devsrc-1.0-r0.qemux86_64
(try to add &apos;--skip-broken&apos; to skip uninstallable packages or &apos;--nobest&apos; to use not only best candidate packages)

ERROR: Logfile of failure stored in: /buildarea/jma1/git/yocto/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/temp/log.do_populate_sdk.234985
ERROR: Task (/buildarea/jma1/git/yocto/poky/meta/recipes-core/meta/buildtools-tarball.bb:do_populate_sdk) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88655</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-11-21 14:53:38 +0000</bug_when>
    <thetext>This is at least partially user error. eSDK depends upon buildtools-tarball so it has it as a dependency. TOOLCHAIN_TARGET_TASK_append modifies buildtools tarball as well as wrlinux-image-glibc-std.

If instead you set

TOOLCHAIN_TARGET_TASK_append_pn-wrlinux-image-glibc-std = &quot;xxx&quot;

then I suspect this will work out better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88679</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-11-26 15:34:02 +0000</bug_when>
    <thetext>Closing as I believe this isn;t expected to work and is configuration error.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>