All of lore.kernel.org
 help / color / mirror / Atom feed
* [morty] opkg 'Couldn't find anything to satisfy'
@ 2017-02-10 17:48 Cam Mannett
  2017-02-10 18:30 ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Cam Mannett @ 2017-02-10 17:48 UTC (permalink / raw)
  To: meta-arago

[-- Attachment #1: Type: text/plain, Size: 2455 bytes --]

I'm trying to make to a custom SDK image based on arago-core-tisdk-image.inc for my Beaglebone Green, I have overwritten the TISDK_TOOLCHAIN var with a meta package that looks like this:

require recipes-core/meta/meta-toolchain-arago-tisdk.inc
require recipes-core/meta/meta-toolchain-arago.bb
TOOLCHAIN_TARGET_TASK = " \
packagegroup-arago-tisdk-addons-sdk-target \
packagegroup-cmPTP-standalone-sdk-target \
"

My packagegroup file is very simple:

PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
RDEPENDS_${PN} = "\
libgcc \
libgcc-dev \
libstdc++-dev \
${LIBC_DEPENDENCIES} \
glibc-staticdev \
linux-libc-headers-dev \
gdbserver \
i2c-tools-dev \
opkg-dev \
util-linux-dev \
${@base_conditional('TCMODE', 'external-linaro', 'libgomp-dev', '', d)} \
boost-dev \
"

During bitbake however I get this error:

ERROR: meta-toolchain-cmPTP-tisdk-1.0-r5.0 do_populate_sdk: Unable to install packages. Command '/home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/opkg.conf -t /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp/ -o /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/sdk/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/armv7ahf-neon-linux-gnueabi --force_postinstall install packagegroup-cmPTP-standalone-sdk-target packagegroup-arago-tisdk-addons-sdk-target' returned 255:
Collected errors:
* opkg_prepare_url_for_install: Couldn't find anything to satisfy 'packagegroup-cmPTP-standalone-sdk-target'.
* rm_r: Failed to open dir /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp//opkg-iGR9Pa: No such file or directory.

There is indeed no packagegroup-cmPTP-standalone-sdk-target IPK file in build/arago-tmp-external-linaro-toolchain/deploy/ipk/cmPTP_bbg - why does Yocto build one for packagegroup-arago-tisdk-addons-sdk-target, but not mine?

[-- Attachment #2: Type: text/html, Size: 3245 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [morty] opkg 'Couldn't find anything to satisfy'
  2017-02-10 17:48 [morty] opkg 'Couldn't find anything to satisfy' Cam Mannett
@ 2017-02-10 18:30 ` Denys Dmytriyenko
  2017-02-11  9:10   ` Cam Mannett
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2017-02-10 18:30 UTC (permalink / raw)
  To: Cam Mannett; +Cc: meta-arago

On Fri, Feb 10, 2017 at 12:48:18PM -0500, Cam Mannett wrote:
> I'm trying to make to a custom SDK image based on arago-core-tisdk-image.inc 
> for my Beaglebone Green, I have overwritten the TISDK_TOOLCHAIN var with a 
> meta package that looks like this:
> 
> require recipes-core/meta/meta-toolchain-arago-tisdk.inc
> require recipes-core/meta/meta-toolchain-arago.bb
> TOOLCHAIN_TARGET_TASK = " \
> packagegroup-arago-tisdk-addons-sdk-target \
> packagegroup-cmPTP-standalone-sdk-target \
> "

Set TOOLCHAIN_TARGET_TASK before including meta-toolchain-arago*


> My packagegroup file is very simple:
> 
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> inherit packagegroup
> RDEPENDS_${PN} = "\
> libgcc \
> libgcc-dev \
> libstdc++-dev \
> ${LIBC_DEPENDENCIES} \
> glibc-staticdev \
> linux-libc-headers-dev \
> gdbserver \
> i2c-tools-dev \
> opkg-dev \
> util-linux-dev \
> ${@base_conditional('TCMODE', 'external-linaro', 'libgomp-dev', '', d)} \
> boost-dev \
> "
> 
> During bitbake however I get this error:
> 
> ERROR: meta-toolchain-cmPTP-tisdk-1.0-r5.0 do_populate_sdk: Unable to install packages. Command '/home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/opkg.conf -t /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp/ -o /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/sdk/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/armv7ahf-neon-linux-gnueabi --force_postinstall install packagegroup-cmPTP-standalone-sdk-target packagegroup-arago-t
> isdk-addons-sdk-target' returned 255:
> Collected errors:
> * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'packagegroup-cmPTP-standalone-sdk-target'.
> * rm_r: Failed to open dir /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp//opkg-iGR9Pa: No such file or directory.
> 
> There is indeed no packagegroup-cmPTP-standalone-sdk-target IPK file in 
> build/arago-tmp-external-linaro-toolchain/deploy/ipk/cmPTP_bbg - why does 
> Yocto build one for packagegroup-arago-tisdk-addons-sdk-target, but not 
> mine?

> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [morty] opkg 'Couldn't find anything to satisfy'
  2017-02-10 18:30 ` Denys Dmytriyenko
@ 2017-02-11  9:10   ` Cam Mannett
  2017-02-11 11:52     ` Cam Mannett
  0 siblings, 1 reply; 5+ messages in thread
From: Cam Mannett @ 2017-02-11  9:10 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago

[-- Attachment #1: Type: text/plain, Size: 3787 bytes --]

Thanks for the reply, but it made no difference. I changed my meta package to:


TOOLCHAIN_TARGET_TASK = " \
packagegroup-arago-tisdk-addons-sdk-target \
packagegroup-cmPTP-standalone-sdk-target \
"
require recipes-core/meta/meta-toolchain-arago-tisdk.inc

require recipes-core/meta/meta-toolchain-arago.bb

And deleted my build directory before rebuilding, but the error output is identical. There is still no packagegroup-cmPTP-standalone-sdk-target IPK file in build/arago-tmp-external-linaro-toolchain/deploy/ipk/cmPTP_bbg, but there are packagegroup-arago-tisdk-addons-sdk-target entries (the 'normal' one plus the debug and dev variants).



-------- Original Message --------
Subject: Re: [meta-arago] [morty] opkg 'Couldn't find anything to satisfy'
Local Time: 10 February 2017 6:30 PM
UTC Time: 10 February 2017 18:30
From: denys@ti.com
To: Cam Mannett <camden.mannett@protonmail.ch>
meta-arago@arago-project.org <meta-arago@arago-project.org>

On Fri, Feb 10, 2017 at 12:48:18PM -0500, Cam Mannett wrote:
> I'm trying to make to a custom SDK image based on arago-core-tisdk-image.inc
> for my Beaglebone Green, I have overwritten the TISDK_TOOLCHAIN var with a
> meta package that looks like this:
>
> require recipes-core/meta/meta-toolchain-arago-tisdk.inc
> require recipes-core/meta/meta-toolchain-arago.bb
> TOOLCHAIN_TARGET_TASK = " \
> packagegroup-arago-tisdk-addons-sdk-target \
> packagegroup-cmPTP-standalone-sdk-target \
> "

Set TOOLCHAIN_TARGET_TASK before including meta-toolchain-arago*


> My packagegroup file is very simple:
>
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> inherit packagegroup
> RDEPENDS_${PN} = "\
> libgcc \
> libgcc-dev \
> libstdc++-dev \
> ${LIBC_DEPENDENCIES} \
> glibc-staticdev \
> linux-libc-headers-dev \
> gdbserver \
> i2c-tools-dev \
> opkg-dev \
> util-linux-dev \
> ${@base_conditional('TCMODE', 'external-linaro', 'libgomp-dev', '', d)} \
> boost-dev \
> "
>
> During bitbake however I get this error:
>
> ERROR: meta-toolchain-cmPTP-tisdk-1.0-r5.0 do_populate_sdk: Unable to install packages. Command '/home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/opkg.conf -t /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp/ -o /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/sdk/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/armv7ahf-neon-linux-gnueabi --force_postinstall install packagegroup-cmPTP-standalone-sdk-target packagegroup-arago-t
> isdk-addons-sdk-target' returned 255:
> Collected errors:
> * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'packagegroup-cmPTP-standalone-sdk-target'.
> * rm_r: Failed to open dir /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp//opkg-iGR9Pa: No such file or directory.
>
> There is indeed no packagegroup-cmPTP-standalone-sdk-target IPK file in
> build/arago-tmp-external-linaro-toolchain/deploy/ipk/cmPTP_bbg - why does
> Yocto build one for packagegroup-arago-tisdk-addons-sdk-target, but not
> mine?

> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 5463 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [morty] opkg 'Couldn't find anything to satisfy'
  2017-02-11  9:10   ` Cam Mannett
@ 2017-02-11 11:52     ` Cam Mannett
  2017-02-12 11:03       ` Cam Mannett
  0 siblings, 1 reply; 5+ messages in thread
From: Cam Mannett @ 2017-02-11 11:52 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago

[-- Attachment #1: Type: text/plain, Size: 5890 bytes --]

Doing a bitbake -e (outputting to a text file), I can't see my TOOLCHAIN_TARGET_TASK entries at all:

[cmannett85@camslaptop build]$ cat bbeoutput.txt | grep -n "TOOLCHAIN_TARGET_TASK"
958:# $TOOLCHAIN_TARGET_TASK [4 operations]
969:TOOLCHAIN_TARGET_TASK=" packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg opkg packagegroup-arago-tisdk-addons-sdk-host packagegroup-arago-tisdk-amsdk-sdk-host"
2951:# $TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext
2954:TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext=""
7308:# $TOOLCHAIN_TARGET_TASK_ATTEMPTONLY [2 operations]
7315:TOOLCHAIN_TARGET_TASK_ATTEMPTONLY=" "
9266:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
9270:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
16552: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", pn, d)
16553: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY", pn, d)

And interestingly if I revert your last suggestion, it makes no difference to variable:

[cmannett85@camslaptop build]$ cat bbeoutput.txt | grep -n "TOOLCHAIN_TARGET_TASK"
1230:# $TOOLCHAIN_TARGET_TASK_ATTEMPTONLY [2 operations]
1237:TOOLCHAIN_TARGET_TASK_ATTEMPTONLY=" "
3223:# $TOOLCHAIN_TARGET_TASK [4 operations]
3234:TOOLCHAIN_TARGET_TASK=" packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg opkg packagegroup-arago-tisdk-addons-sdk-host packagegroup-arago-tisdk-amsdk-sdk-host"
6266:# $TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext
6269:TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext=""
9555:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
9559:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
20942: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", pn, d)
20943: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY", pn, d)
[cmannett85@camslaptop build]$





-------- Original Message --------
Subject: Re: [meta-arago] [morty] opkg 'Couldn't find anything to satisfy'
Local Time: 11 February 2017 9:10 AM
UTC Time: 11 February 2017 09:10
From: camden.mannett@protonmail.ch
To: Denys Dmytriyenko <denys@ti.com>
meta-arago@arago-project.org <meta-arago@arago-project.org>

Thanks for the reply, but it made no difference. I changed my meta package to:


TOOLCHAIN_TARGET_TASK = " \
packagegroup-arago-tisdk-addons-sdk-target \
packagegroup-cmPTP-standalone-sdk-target \
"
require recipes-core/meta/meta-toolchain-arago-tisdk.inc

require recipes-core/meta/meta-toolchain-arago.bb

And deleted my build directory before rebuilding, but the error output is identical. There is still no packagegroup-cmPTP-standalone-sdk-target IPK file in build/arago-tmp-external-linaro-toolchain/deploy/ipk/cmPTP_bbg, but there are packagegroup-arago-tisdk-addons-sdk-target entries (the 'normal' one plus the debug and dev variants).



-------- Original Message --------
Subject: Re: [meta-arago] [morty] opkg 'Couldn't find anything to satisfy'
Local Time: 10 February 2017 6:30 PM
UTC Time: 10 February 2017 18:30
From: denys@ti.com
To: Cam Mannett <camden.mannett@protonmail.ch>
meta-arago@arago-project.org <meta-arago@arago-project.org>

On Fri, Feb 10, 2017 at 12:48:18PM -0500, Cam Mannett wrote:
> I'm trying to make to a custom SDK image based on arago-core-tisdk-image.inc
> for my Beaglebone Green, I have overwritten the TISDK_TOOLCHAIN var with a
> meta package that looks like this:
>
> require recipes-core/meta/meta-toolchain-arago-tisdk.inc
> require recipes-core/meta/meta-toolchain-arago.bb
> TOOLCHAIN_TARGET_TASK = " \
> packagegroup-arago-tisdk-addons-sdk-target \
> packagegroup-cmPTP-standalone-sdk-target \
> "

Set TOOLCHAIN_TARGET_TASK before including meta-toolchain-arago*


> My packagegroup file is very simple:
>
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> inherit packagegroup
> RDEPENDS_${PN} = "\
> libgcc \
> libgcc-dev \
> libstdc++-dev \
> ${LIBC_DEPENDENCIES} \
> glibc-staticdev \
> linux-libc-headers-dev \
> gdbserver \
> i2c-tools-dev \
> opkg-dev \
> util-linux-dev \
> ${@base_conditional('TCMODE', 'external-linaro', 'libgomp-dev', '', d)} \
> boost-dev \
> "
>
> During bitbake however I get this error:
>
> ERROR: meta-toolchain-cmPTP-tisdk-1.0-r5.0 do_populate_sdk: Unable to install packages. Command '/home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/opkg.conf -t /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp/ -o /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/sdk/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/armv7ahf-neon-linux-gnueabi --force_postinstall install packagegroup-cmPTP-standalone-sdk-target packagegroup-arago-t
> isdk-addons-sdk-target' returned 255:
> Collected errors:
> * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'packagegroup-cmPTP-standalone-sdk-target'.
> * rm_r: Failed to open dir /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp//opkg-iGR9Pa: No such file or directory.
>
> There is indeed no packagegroup-cmPTP-standalone-sdk-target IPK file in
> build/arago-tmp-external-linaro-toolchain/deploy/ipk/cmPTP_bbg - why does
> Yocto build one for packagegroup-arago-tisdk-addons-sdk-target, but not
> mine?

> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 8616 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [morty] opkg 'Couldn't find anything to satisfy'
  2017-02-11 11:52     ` Cam Mannett
@ 2017-02-12 11:03       ` Cam Mannett
  0 siblings, 0 replies; 5+ messages in thread
From: Cam Mannett @ 2017-02-12 11:03 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-arago

[-- Attachment #1: Type: text/plain, Size: 7590 bytes --]

Taking my last post further:

[cmannett85@camslaptop build]$ MACHINE="beaglebone" bitbake -e arago-core-tisdk-image | grep -n "TOOLCHAIN_TARGET_TASK"
2504:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
2508:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
2974:# $TOOLCHAIN_TARGET_TASK [4 operations]
2985:TOOLCHAIN_TARGET_TASK=" packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg opkg packagegroup-arago-tisdk-addons-sdk-host packagegroup-arago-tisdk-crypto-sdk-host packagegroup-arago-tisdk-matrix-sdk-host packagegroup-arago-tisdk-multimedia-sdk-host packagegroup-arago-tisdk-amsdk-sdk-host packagegroup-arago-tisdk-qte-sdk-host"
5619:# $TOOLCHAIN_TARGET_TASK_ATTEMPTONLY [2 operations]
5626:TOOLCHAIN_TARGET_TASK_ATTEMPTONLY=" "
5720:# $TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext
5723:TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext=""
16142: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", pn, d)
16143: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY", pn, d)

It looks like packagegroup-arago-toolchain-tisdk-target in TOOLCHAIN_TARGET_TASK isn't being set by meta-toolchain-arago-tisdk.inc even when parsing a pure Arago image. Just to clarify, I'm reading the BB chain like this:

arago-core-tisdk-image.bb -> arago-core-tisdk-image.inc -> (TISDK_TOOLCHAIN) -> meta-toolchain-arago-tisdk.bb -> meta-toolchain-arago-tisdk.inc




-------- Original Message --------
Subject: Re: [meta-arago] [morty] opkg 'Couldn't find anything to satisfy'
Local Time: 11 February 2017 11:52 AM
UTC Time: 11 February 2017 11:52
From: camden.mannett@protonmail.ch
To: Denys Dmytriyenko <denys@ti.com>
meta-arago@arago-project.org <meta-arago@arago-project.org>

Doing a bitbake -e (outputting to a text file), I can't see my TOOLCHAIN_TARGET_TASK entries at all:

[cmannett85@camslaptop build]$ cat bbeoutput.txt | grep -n "TOOLCHAIN_TARGET_TASK"
958:# $TOOLCHAIN_TARGET_TASK [4 operations]
969:TOOLCHAIN_TARGET_TASK=" packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg opkg packagegroup-arago-tisdk-addons-sdk-host packagegroup-arago-tisdk-amsdk-sdk-host"
2951:# $TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext
2954:TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext=""
7308:# $TOOLCHAIN_TARGET_TASK_ATTEMPTONLY [2 operations]
7315:TOOLCHAIN_TARGET_TASK_ATTEMPTONLY=" "
9266:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
9270:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
16552: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", pn, d)
16553: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY", pn, d)

And interestingly if I revert your last suggestion, it makes no difference to variable:

[cmannett85@camslaptop build]$ cat bbeoutput.txt | grep -n "TOOLCHAIN_TARGET_TASK"
1230:# $TOOLCHAIN_TARGET_TASK_ATTEMPTONLY [2 operations]
1237:TOOLCHAIN_TARGET_TASK_ATTEMPTONLY=" "
3223:# $TOOLCHAIN_TARGET_TASK [4 operations]
3234:TOOLCHAIN_TARGET_TASK=" packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg opkg packagegroup-arago-tisdk-addons-sdk-host packagegroup-arago-tisdk-amsdk-sdk-host"
6266:# $TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext
6269:TOOLCHAIN_TARGET_TASK_task-populate-sdk-ext=""
9555:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
9559:# "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
20942: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", pn, d)
20943: runtime_mapping_rename("TOOLCHAIN_TARGET_TASK_ATTEMPTONLY", pn, d)
[cmannett85@camslaptop build]$





-------- Original Message --------
Subject: Re: [meta-arago] [morty] opkg 'Couldn't find anything to satisfy'
Local Time: 11 February 2017 9:10 AM
UTC Time: 11 February 2017 09:10
From: camden.mannett@protonmail.ch
To: Denys Dmytriyenko <denys@ti.com>
meta-arago@arago-project.org <meta-arago@arago-project.org>

Thanks for the reply, but it made no difference. I changed my meta package to:


TOOLCHAIN_TARGET_TASK = " \
packagegroup-arago-tisdk-addons-sdk-target \
packagegroup-cmPTP-standalone-sdk-target \
"
require recipes-core/meta/meta-toolchain-arago-tisdk.inc

require recipes-core/meta/meta-toolchain-arago.bb

And deleted my build directory before rebuilding, but the error output is identical. There is still no packagegroup-cmPTP-standalone-sdk-target IPK file in build/arago-tmp-external-linaro-toolchain/deploy/ipk/cmPTP_bbg, but there are packagegroup-arago-tisdk-addons-sdk-target entries (the 'normal' one plus the debug and dev variants).



-------- Original Message --------
Subject: Re: [meta-arago] [morty] opkg 'Couldn't find anything to satisfy'
Local Time: 10 February 2017 6:30 PM
UTC Time: 10 February 2017 18:30
From: denys@ti.com
To: Cam Mannett <camden.mannett@protonmail.ch>
meta-arago@arago-project.org <meta-arago@arago-project.org>

On Fri, Feb 10, 2017 at 12:48:18PM -0500, Cam Mannett wrote:
> I'm trying to make to a custom SDK image based on arago-core-tisdk-image.inc
> for my Beaglebone Green, I have overwritten the TISDK_TOOLCHAIN var with a
> meta package that looks like this:
>
> require recipes-core/meta/meta-toolchain-arago-tisdk.inc
> require recipes-core/meta/meta-toolchain-arago.bb
> TOOLCHAIN_TARGET_TASK = " \
> packagegroup-arago-tisdk-addons-sdk-target \
> packagegroup-cmPTP-standalone-sdk-target \
> "

Set TOOLCHAIN_TARGET_TASK before including meta-toolchain-arago*


> My packagegroup file is very simple:
>
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> inherit packagegroup
> RDEPENDS_${PN} = "\
> libgcc \
> libgcc-dev \
> libstdc++-dev \
> ${LIBC_DEPENDENCIES} \
> glibc-staticdev \
> linux-libc-headers-dev \
> gdbserver \
> i2c-tools-dev \
> opkg-dev \
> util-linux-dev \
> ${@base_conditional('TCMODE', 'external-linaro', 'libgomp-dev', '', d)} \
> boost-dev \
> "
>
> During bitbake however I get this error:
>
> ERROR: meta-toolchain-cmPTP-tisdk-1.0-r5.0 do_populate_sdk: Unable to install packages. Command '/home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/opkg --volatile-cache -f /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/opkg.conf -t /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp/ -o /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/sdk/image/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/armv7ahf-neon-linux-gnueabi --force_postinstall install packagegroup-cmPTP-standalone-sdk-target packagegroup-arago-t
> isdk-addons-sdk-target' returned 255:
> Collected errors:
> * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'packagegroup-cmPTP-standalone-sdk-target'.
> * rm_r: Failed to open dir /home/cmannett85/workspace/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/meta-toolchain-cmPTP-tisdk/1.0-r5.0/temp/ipktemp//opkg-iGR9Pa: No such file or directory.
>
> There is indeed no packagegroup-cmPTP-standalone-sdk-target IPK file in
> build/arago-tmp-external-linaro-toolchain/deploy/ipk/cmPTP_bbg - why does
> Yocto build one for packagegroup-arago-tisdk-addons-sdk-target, but not
> mine?

> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 11082 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-02-12 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-10 17:48 [morty] opkg 'Couldn't find anything to satisfy' Cam Mannett
2017-02-10 18:30 ` Denys Dmytriyenko
2017-02-11  9:10   ` Cam Mannett
2017-02-11 11:52     ` Cam Mannett
2017-02-12 11:03       ` Cam Mannett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.