Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3391

FTBS when building the SDK after adding umock-c-dev to TOOLCHAIN_TARGET_TASK

XMLWordPrintable

      Adding the umock-c-dev package leads to an implicit dependency on 'umock-c'.

      This is empty so no rpm file exists and SDK generation fails.

       

      ERROR: agl-demo-platform-crosssdk-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/work/h3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/work/h3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/sdk/image/opt/agl-sdk/9.90.0+snapshot-aarch64/sysroots/aarch64-agl-linux/etc/dnf/dnf.conf --setopt=reposd
      ir=/home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/work/h3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/sdk/image/opt/agl-sdk/9.90.0+snapshot-aarch6
      4/sysroots/aarch64-agl-linux/etc/yum.repos.d --installroot=/home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/work/h3ulcb-agl-linux/agl-demo-platform-cros
      ssdk/1.0-r0/sdk/image/opt/agl-sdk/9.90.0+snapshot-aarch64/sysroots/aarch64-agl-linux --setopt=logdir=/home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/wo
      rk/h3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/temp --repofrompath=oe-repo,/home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/work/h3ulcb-agl-linux
      /agl-demo-platform-crosssdk/1.0-r0/oe-sdk-repo --nogpgcheck install libiothub-client1 curl dnf gcc-sanitizers kernel-dev kernel-devicetree kernel-devsrc kernel-mod
      ule-pvrsrvkm kernel-module-vsp2 kernel-module-vspm kernel-module-vspm-if kernel-modules libafb-helpers-qt-staticdev libafb-helpers-staticdev libappcontroller-stati
      cdev libdrm-tests libstdc++-staticdev lua-dev lua-staticdev mc mosquitto-dev nlohmann-json-dev omx-user-module packagegroup-agl-core-devel packagegroup-agl-demo-pl
      atform packagegroup-agl-speech-services packagegroup-core-eclipse-debug packagegroup-core-ssh-openssh packagegroup-core-standalone-sdk-target packagegroup-core-too
      ls-debug packagegroup-core-tools-profile packagegroup-qt5-toolchain-target psplash rpm run-postinsts screen target-sdk-provides-dummy umock-c umock-c-staticdev' re
      turned 1:                                                                                                                                                          
      DNF version: 4.2.2                                                                                                                                                 
      cachedir: /home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/work/h3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/sdk/image/opt/agl-sdk/9.90.0+snapshot
      -aarch64/sysroots/aarch64-agl-linux/var/cache/dnf                                                                                                                  
      Added oe-repo repo from /home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/work/h3ulcb-agl-linux/agl-demo-platform-crosssdk/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 21 May 2020 04:34:01 PM UTC.                                                                                                      
      Last metadata expiration check: 0:00:02 ago on Thu 21 May 2020 04:34:01 PM UTC.                                                                                    
      No module defaults found                                                                                                                               
      No match for argument: umock-c                                                                                                                                     
      Error: Unable to find a match                                                                                                                                      
                                                                                                                                                                         
      ERROR: Logfile of failure stored in: /home/scratch/user/git/AGL/build-from-repo/build-h3ulcb/tmp/work/h3ulcb-agl-linux/agl-demo-platform-crosssdk/1.0-r0/temp/log.d
      o_populate_sdk.13343                                                                                                                                               
      ERROR: Task (/home/scratch/user/git/AGL/build-from-repo/meta-agl-demo/recipes-platform/images/agl-demo-platform-crosssdk.bb:do_populate_sdk) failed with exit code 
      '1'  

       

      Workaround: create a dummy package

      Discuss then with upstream how to solve this.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jsmoeller Jan-Simon Moeller
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: