{"action":"created","issue":{"url":"https://api.github.com/repos/agherzan/meta-raspberrypi/issues/187","repository_url":"https://api.github.com/repos/agherzan/meta-raspberrypi","labels_url":"https://api.github.com/repos/agherzan/meta-raspberrypi/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/agherzan/meta-raspberrypi/issues/187/comments","events_url":"https://api.github.com/repos/agherzan/meta-raspberrypi/issues/187/events","html_url":"https://github.com/agherzan/meta-raspberrypi/issues/187","id":293081787,"node_id":"MDU6SXNzdWUyOTMwODE3ODc=","number":187,"title":"kernel-devsrc fails to install, broken dependencies","user":{"login":"fgiancane8","id":30423178,"node_id":"MDQ6VXNlcjMwNDIzMTc4","avatar_url":"https://avatars2.githubusercontent.com/u/30423178?v=4","gravatar_id":"","url":"https://api.github.com/users/fgiancane8","html_url":"https://github.com/fgiancane8","followers_url":"https://api.github.com/users/fgiancane8/followers","following_url":"https://api.github.com/users/fgiancane8/following{/other_user}","gists_url":"https://api.github.com/users/fgiancane8/gists{/gist_id}","starred_url":"https://api.github.com/users/fgiancane8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgiancane8/subscriptions","organizations_url":"https://api.github.com/users/fgiancane8/orgs","repos_url":"https://api.github.com/users/fgiancane8/repos","events_url":"https://api.github.com/users/fgiancane8/events{/privacy}","received_events_url":"https://api.github.com/users/fgiancane8/received_events","type":"User","site_admin":false},"labels":[{"id":177004916,"node_id":"MDU6TGFiZWwxNzcwMDQ5MTY=","url":"https://api.github.com/repos/agherzan/meta-raspberrypi/labels/type/bug","name":"type/bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"fgiancane8","id":30423178,"node_id":"MDQ6VXNlcjMwNDIzMTc4","avatar_url":"https://avatars2.githubusercontent.com/u/30423178?v=4","gravatar_id":"","url":"https://api.github.com/users/fgiancane8","html_url":"https://github.com/fgiancane8","followers_url":"https://api.github.com/users/fgiancane8/followers","following_url":"https://api.github.com/users/fgiancane8/following{/other_user}","gists_url":"https://api.github.com/users/fgiancane8/gists{/gist_id}","starred_url":"https://api.github.com/users/fgiancane8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgiancane8/subscriptions","organizations_url":"https://api.github.com/users/fgiancane8/orgs","repos_url":"https://api.github.com/users/fgiancane8/repos","events_url":"https://api.github.com/users/fgiancane8/events{/privacy}","received_events_url":"https://api.github.com/users/fgiancane8/received_events","type":"User","site_admin":false},"assignees":[{"login":"fgiancane8","id":30423178,"node_id":"MDQ6VXNlcjMwNDIzMTc4","avatar_url":"https://avatars2.githubusercontent.com/u/30423178?v=4","gravatar_id":"","url":"https://api.github.com/users/fgiancane8","html_url":"https://github.com/fgiancane8","followers_url":"https://api.github.com/users/fgiancane8/followers","following_url":"https://api.github.com/users/fgiancane8/following{/other_user}","gists_url":"https://api.github.com/users/fgiancane8/gists{/gist_id}","starred_url":"https://api.github.com/users/fgiancane8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgiancane8/subscriptions","organizations_url":"https://api.github.com/users/fgiancane8/orgs","repos_url":"https://api.github.com/users/fgiancane8/repos","events_url":"https://api.github.com/users/fgiancane8/events{/privacy}","received_events_url":"https://api.github.com/users/fgiancane8/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-01-31T09:11:20Z","updated_at":"2018-10-25T11:29:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi all,\r\n\r\nFor some reasons, I had to build a Raspberry Pi 3 image with kernel sources in both SDK and image.\r\n\r\nAfter building the package (a simple patch is needed, but the package builds correctly) the do_install step fails, because the kernel-devsrc package imports the dependencies from virtual/kernel and in turn from linux-raspberrypi.\r\n\r\nThe failure is in the fact that a requirement is written into the .spec RPM file, which is upon '/bin/awk' which is non-existent.\r\n\r\nGiven that using a different machine, like generic-x86_64 this problem does not arise, I think that it is bound to a particular issue with raspberry pi machine(s).\r\n\r\nI looked at the recipes and the meta-raspberrypi layer but could not find anything useful.\r\n\r\n**Steps to reproduce the issue:**\r\n1. create a bbappend file for any rpi image\r\n2. add 'kernel-devsrc' to IMAGE_INSTALL\r\n3. bitbake the image\r\n4. see results\r\n\r\n**Describe the results you received:**\r\nERROR: rpi-sdk-image-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/fgp/poky/rpi3_64/tmp/work/raspberrypi3_64-poky-linux/rpi-sdk-image/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /home/fgp/poky/rpi3_64/tmp/work/raspberrypi3_64-poky-linux/rpi-sdk-image/1.0-r0/sdk/image/opt/clik/2.4.1/sysroots/aarch64-poky-linux/etc/dnf/dnf.conf --setopt=reposdir=/home/fgp/poky/rpi3_64/tmp/work/raspberrypi3_64-poky-linux/rpi-sdk-image/1.0-r0/sdk/image/opt/clik/2.4.1/sysroots/aarch64-poky-linux/etc/yum.repos.d --repofrompath=oe-repo,/home/fgp/poky/rpi3_64/tmp/work/raspberrypi3_64-poky-linux/rpi-sdk-image/1.0-r0/oe-sdk-repo --installroot=/home/fgp/poky/rpi3_64/tmp/work/raspberrypi3_64-poky-linux/rpi-sdk-image/1.0-r0/sdk/image/opt/clik/2.4.1/sysroots/aarch64-poky-linux --setopt=logdir=/home/fgp/poky/rpi3_64/tmp/work/raspberrypi3_64-poky-linux/rpi-sdk-image/1.0-r0/temp --nogpgcheck install alsa-plugins alsa-utils avahi-daemon avahi-dnsconfd connman connman-client connman-wait-online kernel-devsrc kernel-modules linux-firmware ntp packagegroup-core-boot packagegroup-core-sdk packagegroup-core-ssh-dropbear packagegroup-core-standalone-sdk-target psplash-raspberrypi run-postinsts screen' returned 1:\r\nAdded oe-repo repo from /home/fgp/poky/rpi3_64/tmp/work/raspberrypi3_64-poky-linux/rpi-sdk-image/1.0-r0/oe-sdk-repo\r\nLast metadata expiration check: 0:00:00 ago on Sat 27 Jan 2018 07:12:15 PM UTC.\r\nError:\r\n Problem: conflicting requests\r\n  - nothing provides /bin/awk needed by kernel-devsrc-1.0-r0.raspberrypi3_64\r\n\r\nERROR: rpi-sdk-image-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk\r\nERROR: Logfile of failure stored in: /home/fgp/poky/rpi3_64/tmp/work/raspberrypi3_64-poky-linux/rpi-sdk-image/1.0-r0/temp/log.do_populate_sdk.20465\r\nERROR: Task (/home/fgp/poky/meta-clik/recipes-clik/images/rpi-sdk-image.bb:do_populate_sdk) failed with exit code '1'\r\n\r\nWorking on rocko and fedora 27"},"comment":{"url":"https://api.github.com/repos/agherzan/meta-raspberrypi/issues/comments/433015330","html_url":"https://github.com/agherzan/meta-raspberrypi/issues/187#issuecomment-433015330","issue_url":"https://api.github.com/repos/agherzan/meta-raspberrypi/issues/187","id":433015330,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzAxNTMzMA==","user":{"login":"manszigher","id":25029263,"node_id":"MDQ6VXNlcjI1MDI5MjYz","avatar_url":"https://avatars0.githubusercontent.com/u/25029263?v=4","gravatar_id":"","url":"https://api.github.com/users/manszigher","html_url":"https://github.com/manszigher","followers_url":"https://api.github.com/users/manszigher/followers","following_url":"https://api.github.com/users/manszigher/following{/other_user}","gists_url":"https://api.github.com/users/manszigher/gists{/gist_id}","starred_url":"https://api.github.com/users/manszigher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manszigher/subscriptions","organizations_url":"https://api.github.com/users/manszigher/orgs","repos_url":"https://api.github.com/users/manszigher/repos","events_url":"https://api.github.com/users/manszigher/events{/privacy}","received_events_url":"https://api.github.com/users/manszigher/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T11:29:27Z","updated_at":"2018-10-25T11:29:27Z","author_association":"NONE","body":"Any solution on this? I am facing the same issue but on another target. Even though the patch will fix the problem so that we can run kernel-devsrc the problem persist for do_populate_sdk which will still fail because rpm depends on /bin/awk for some reason that I have not figured out."}}
{"actor":{"display_login":"manszigher"}}