All of lore.kernel.org
 help / color / mirror / Atom feed
* cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
@ 2013-06-18 13:55 Thanassis Silis
  2013-06-18 15:24   ` [yocto] " Khem Raj
  2013-06-19 16:25   ` [yocto] " Zhang, Jessica
  0 siblings, 2 replies; 14+ messages in thread
From: Thanassis Silis @ 2013-06-18 13:55 UTC (permalink / raw)
  To: meta-freescale, yocto

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

Hello everyone,
it seems tcf-agent is not provided. Not even in the -sdk image I created. And that is where my problems start:

using this in my local.conf: IMAGE_INSTALL_append = " tcf-agent"
I expected to be able to automate the process of generating the tcf-agent and deploying it in my image with command:
bitbake fsl-image-gui-sdk

this fails with:
| Reading package lists...
| Building dependency tree...
| Reading state information...
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
| 
| The following packages have unmet dependencies:
|  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed
| W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__
| W: You may want to run apt-get update to correct these problems
| E: Unable to correct problems, you have held broken packages.
| ERROR: Function failed: do_rootfs (see /home/nass/yocto/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui-sdk/1.0-r0/temp/log.do_rootfs.26945 for further information)
ERROR: Task 7 (/home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7418 tasks of which 7417 didn't need to be rerun and 1 failed.
No currently running tasks (7417 of 7419)

Summary: 1 task failed:
  /home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


I then went on to try and compile it manually:
bitbake fsl-image-gui-sdk -c compile tcf-agent
bitbake fsl-image-gui-sdk -c deploy

this fails with:
ERROR: Task do_deploy does not exist for target fsl-image-gui-sdk

Then I tried compiling it manually using this info http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#getting-the-images , by sourcing my toolchain from /opt/poky/1.4.1/env* file, and then
runnning 'make' in org.eclipse.tcf.agent/agent/ . I explicitly assign the $MACHINE variable to be 'arm' in the beginning of the Makefile.inc.

this fails with
arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi  -O2 -pipe -g -feliminate-unused-debug-types -g -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -I./. -I./system/GNU/Linux -I./machine/arm -o obj/GNU/Linux/arm/Debug/tcf/framework/channel_tcp.o -c tcf/framework/channel_tcp.c
tcf/framework/channel_tcp.c:38:27: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.

 
At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....
Any help would be most welcome.

for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?

Thank you.
 		 	   		  

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

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

* Re: cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
  2013-06-18 13:55 cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk Thanassis Silis
@ 2013-06-18 15:24   ` Khem Raj
  2013-06-19 16:25   ` [yocto] " Zhang, Jessica
  1 sibling, 0 replies; 14+ messages in thread
From: Khem Raj @ 2013-06-18 15:24 UTC (permalink / raw)
  To: Thanassis Silis; +Cc: meta-freescale, yocto

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



On Jun 18, 2013, at 6:55 AM, Thanassis Silis <djnass_18@hotmail.com> wrote:

> Hello everyone,
> it seems tcf-agent is not provided. Not even in the -sdk image I created. And that is where my problems start:
> 
> using this in my local.conf: IMAGE_INSTALL_append = " tcf-agent"
> I expected to be able to automate the process of generating the tcf-agent and deploying it in my image with command:
> bitbake fsl-image-gui-sdk
> 
> this fails with:
> | Reading package lists...
> | Building dependency tree...
> | Reading state information...
> | Some packages could not be installed. This may mean that you have
> | requested an impossible situation or if you are using the unstable
> | distribution that some required packages have not yet been created
> | or been moved out of Incoming.
> | The following information may help to resolve the situation:
> | 
> | The following packages have unmet dependencies:
> |  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed
> | W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__
> | W: You may want to run apt-get update to correct these problems
> | E: Unable to correct problems, you have held broken packages.
> | ERROR: Function failed: do_rootfs (see /home/nass/yocto/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui-sdk/1.0-r0/temp/log.do_rootfs.26945 for further information)
> ERROR: Task 7 (/home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 7418 tasks of which 7417 didn't need to be rerun and 1 failed.
> No currently running tasks (7417 of 7419)
> 
> Summary: 1 task failed:
>   /home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 
> 
> I then went on to try and compile it manually:
> bitbake fsl-image-gui-sdk -c compile tcf-agent
> bitbake fsl-image-gui-sdk -c deploy
> 
> this fails with:
> ERROR: Task do_deploy does not exist for target fsl-image-gui-sdk
> 
> Then I tried compiling it manually using this info http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#getting-the-images , by sourcing my toolchain from /opt/poky/1.4.1/env* file, and then
> runnning 'make' in org.eclipse.tcf.agent/agent/ . I explicitly assign the $MACHINE variable to be 'arm' in the beginning of the Makefile.inc.
> 
> this fails with
> arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi  -O2 -pipe -g -feliminate-unused-debug-types -g -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -I./. -I./system/GNU/Linux -I./machine/arm -o obj/GNU/Linux/arm/Debug/tcf/framework/channel_tcp.o -c tcf/framework/channel_tcp.c
> tcf/framework/channel_tcp.c:38:27: fatal error: openssl/ssl.h: No such file or directory
> compilation terminated.
> 


Seems a missing dep on OpenSSL btw does tcf-agent work on anything other than x86 ?

>  
> At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....
> Any help would be most welcome.
> 
> for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?
> 
> Thank you.
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

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

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

* Re: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
@ 2013-06-18 15:24   ` Khem Raj
  0 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2013-06-18 15:24 UTC (permalink / raw)
  To: Thanassis Silis; +Cc: meta-freescale, yocto

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



On Jun 18, 2013, at 6:55 AM, Thanassis Silis <djnass_18@hotmail.com> wrote:

> Hello everyone,
> it seems tcf-agent is not provided. Not even in the -sdk image I created. And that is where my problems start:
> 
> using this in my local.conf: IMAGE_INSTALL_append = " tcf-agent"
> I expected to be able to automate the process of generating the tcf-agent and deploying it in my image with command:
> bitbake fsl-image-gui-sdk
> 
> this fails with:
> | Reading package lists...
> | Building dependency tree...
> | Reading state information...
> | Some packages could not be installed. This may mean that you have
> | requested an impossible situation or if you are using the unstable
> | distribution that some required packages have not yet been created
> | or been moved out of Incoming.
> | The following information may help to resolve the situation:
> | 
> | The following packages have unmet dependencies:
> |  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed
> | W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__
> | W: You may want to run apt-get update to correct these problems
> | E: Unable to correct problems, you have held broken packages.
> | ERROR: Function failed: do_rootfs (see /home/nass/yocto/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui-sdk/1.0-r0/temp/log.do_rootfs.26945 for further information)
> ERROR: Task 7 (/home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 7418 tasks of which 7417 didn't need to be rerun and 1 failed.
> No currently running tasks (7417 of 7419)
> 
> Summary: 1 task failed:
>   /home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 
> 
> I then went on to try and compile it manually:
> bitbake fsl-image-gui-sdk -c compile tcf-agent
> bitbake fsl-image-gui-sdk -c deploy
> 
> this fails with:
> ERROR: Task do_deploy does not exist for target fsl-image-gui-sdk
> 
> Then I tried compiling it manually using this info http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#getting-the-images , by sourcing my toolchain from /opt/poky/1.4.1/env* file, and then
> runnning 'make' in org.eclipse.tcf.agent/agent/ . I explicitly assign the $MACHINE variable to be 'arm' in the beginning of the Makefile.inc.
> 
> this fails with
> arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi  -O2 -pipe -g -feliminate-unused-debug-types -g -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -I./. -I./system/GNU/Linux -I./machine/arm -o obj/GNU/Linux/arm/Debug/tcf/framework/channel_tcp.o -c tcf/framework/channel_tcp.c
> tcf/framework/channel_tcp.c:38:27: fatal error: openssl/ssl.h: No such file or directory
> compilation terminated.
> 


Seems a missing dep on OpenSSL btw does tcf-agent work on anything other than x86 ?

>  
> At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....
> Any help would be most welcome.
> 
> for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?
> 
> Thank you.
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

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

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

* Re: cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
  2013-06-18 13:55 cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk Thanassis Silis
@ 2013-06-19 16:25   ` Zhang, Jessica
  2013-06-19 16:25   ` [yocto] " Zhang, Jessica
  1 sibling, 0 replies; 14+ messages in thread
From: Zhang, Jessica @ 2013-06-19 16:25 UTC (permalink / raw)
  To: Thanassis Silis, meta-freescale, yocto

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

Hi Thanassis,



I don't know why tcf-agent  is not included in your sdk image.  But you also can use ssh to create a rse remote connection that allows you to do remote interaction.  When you create remote connection, instead of choosing tcf, use ssh.  You'll need openssh in your target image for this to work.



Cheers,

Jessica



From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Thanassis Silis
Sent: Tuesday, June 18, 2013 6:56 AM
To: meta-freescale@yoctoproject.org; yocto@yoctoproject.org
Subject: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk



Hello everyone,
it seems tcf-agent is not provided. Not even in the -sdk image I created. And that is where my problems start:

using this in my local.conf: IMAGE_INSTALL_append = " tcf-agent"
I expected to be able to automate the process of generating the tcf-agent and deploying it in my image with command:

bitbake fsl-image-gui-sdk


this fails with:

| Reading package lists...
| Building dependency tree...
| Reading state information...
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
|
| The following packages have unmet dependencies:
|  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed
| W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__
| W: You may want to run apt-get update to correct these problems
| E: Unable to correct problems, you have held broken packages.
| ERROR: Function failed: do_rootfs (see /home/nass/yocto/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui-sdk/1.0-r0/temp/log.do_rootfs.26945 for further information)
ERROR: Task 7 (/home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7418 tasks of which 7417 didn't need to be rerun and 1 failed.
No currently running tasks (7417 of 7419)

Summary: 1 task failed:
  /home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.



I then went on to try and compile it manually:

bitbake fsl-image-gui-sdk -c compile tcf-agent
bitbake fsl-image-gui-sdk -c deploy


this fails with:

ERROR: Task do_deploy does not exist for target fsl-image-gui-sdk

Then I tried compiling it manually using this info http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#getting-the-images , by sourcing my toolchain from /opt/poky/1.4.1/env* file, and then
runnning 'make' in org.eclipse.tcf.agent/agent/ . I explicitly assign the $MACHINE variable to be 'arm' in the beginning of the Makefile.inc.

this fails with

arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi  -O2 -pipe -g -feliminate-unused-debug-types -g -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -I./. -I./system/GNU/Linux -I./machine/arm -o obj/GNU/Linux/arm/Debug/tcf/framework/channel_tcp.o -c tcf/framework/channel_tcp.c
tcf/framework/channel_tcp.c:38:27: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.


At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....
Any help would be most welcome.

for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?

Thank you.


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

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

* Re: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
@ 2013-06-19 16:25   ` Zhang, Jessica
  0 siblings, 0 replies; 14+ messages in thread
From: Zhang, Jessica @ 2013-06-19 16:25 UTC (permalink / raw)
  To: Thanassis Silis, meta-freescale, yocto

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

Hi Thanassis,



I don't know why tcf-agent  is not included in your sdk image.  But you also can use ssh to create a rse remote connection that allows you to do remote interaction.  When you create remote connection, instead of choosing tcf, use ssh.  You'll need openssh in your target image for this to work.



Cheers,

Jessica



From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Thanassis Silis
Sent: Tuesday, June 18, 2013 6:56 AM
To: meta-freescale@yoctoproject.org; yocto@yoctoproject.org
Subject: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk



Hello everyone,
it seems tcf-agent is not provided. Not even in the -sdk image I created. And that is where my problems start:

using this in my local.conf: IMAGE_INSTALL_append = " tcf-agent"
I expected to be able to automate the process of generating the tcf-agent and deploying it in my image with command:

bitbake fsl-image-gui-sdk


this fails with:

| Reading package lists...
| Building dependency tree...
| Reading state information...
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
|
| The following packages have unmet dependencies:
|  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed
| W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__
| W: You may want to run apt-get update to correct these problems
| E: Unable to correct problems, you have held broken packages.
| ERROR: Function failed: do_rootfs (see /home/nass/yocto/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui-sdk/1.0-r0/temp/log.do_rootfs.26945 for further information)
ERROR: Task 7 (/home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7418 tasks of which 7417 didn't need to be rerun and 1 failed.
No currently running tasks (7417 of 7419)

Summary: 1 task failed:
  /home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.



I then went on to try and compile it manually:

bitbake fsl-image-gui-sdk -c compile tcf-agent
bitbake fsl-image-gui-sdk -c deploy


this fails with:

ERROR: Task do_deploy does not exist for target fsl-image-gui-sdk

Then I tried compiling it manually using this info http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#getting-the-images , by sourcing my toolchain from /opt/poky/1.4.1/env* file, and then
runnning 'make' in org.eclipse.tcf.agent/agent/ . I explicitly assign the $MACHINE variable to be 'arm' in the beginning of the Makefile.inc.

this fails with

arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi  -O2 -pipe -g -feliminate-unused-debug-types -g -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -I./. -I./system/GNU/Linux -I./machine/arm -o obj/GNU/Linux/arm/Debug/tcf/framework/channel_tcp.o -c tcf/framework/channel_tcp.c
tcf/framework/channel_tcp.c:38:27: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.


At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....
Any help would be most welcome.

for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?

Thank you.


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

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

* FW: cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
       [not found]   ` <DUB116-W44BD641BF261A178D1E9E6988E0@phx.gbl>
@ 2013-06-20 17:48     ` Thanassis Silis
  2013-06-25 13:58       ` Thanassis Silis
  0 siblings, 1 reply; 14+ messages in thread
From: Thanassis Silis @ 2013-06-20 17:48 UTC (permalink / raw)
  To: yocto

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



From: djnass_18@hotmail.com
To: jessica.zhang@intel.com
Subject: RE: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
Date: Thu, 20 Jun 2013 17:48:14 +0000




Hi jessica,
I will try with SSH too,
but for now it seems there are some bugs with "packages_deb " being the primary packaging scheme.
so apart from adding 
    IMAGE_INSTALL_append = " tcf-agent"

moving "packages_rpm" to be the primary scheme ended up succeeding in making an image that had tcf-agent included.

Thank you for your help.
I will post back when I generate an image with openssh (I have dropbear enabled ATM). 

From: jessica.zhang@intel.com
To: djnass_18@hotmail.com; meta-freescale@yoctoproject.org; yocto@yoctoproject.org
Subject: RE: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
Date: Wed, 19 Jun 2013 16:25:03 +0000









Hi Thanassis,
 
I don’t know why tcf-agent  is not included in your sdk image.  But you also can use ssh to create a rse remote connection that allows you to do remote interaction.
  When you create remote connection, instead of choosing tcf, use ssh.  You’ll need openssh in your target image for this to work.
 
Cheers,
Jessica
 


From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
On Behalf Of Thanassis Silis

Sent: Tuesday, June 18, 2013 6:56 AM

To: meta-freescale@yoctoproject.org; yocto@yoctoproject.org

Subject: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk


 

Hello everyone,

it seems tcf-agent is not provided. Not even in the -sdk image I created. And that is where my problems start:



using this in my local.conf: IMAGE_INSTALL_append = " tcf-agent"

I expected to be able to automate the process of generating the tcf-agent and deploying it in my image with command:
bitbake fsl-image-gui-sdk


this fails with:
| Reading package lists...

| Building dependency tree...

| Reading state information...

| Some packages could not be installed. This may mean that you have

| requested an impossible situation or if you are using the unstable

| distribution that some required packages have not yet been created

| or been moved out of Incoming.

| The following information may help to resolve the situation:

| 

| The following packages have unmet dependencies:

|  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed

| W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__

| W: You may want to run apt-get update to correct these problems

| E: Unable to correct problems, you have held broken packages.

| ERROR: Function failed: do_rootfs (see /home/nass/yocto/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui-sdk/1.0-r0/temp/log.do_rootfs.26945 for further information)

ERROR: Task 7 (/home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs) failed with exit code '1'

NOTE: Tasks Summary: Attempted 7418 tasks of which 7417 didn't need to be rerun and 1 failed.

No currently running tasks (7417 of 7419)



Summary: 1 task failed:

  /home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs

Summary: There was 1 ERROR message shown, returning a non-zero exit code.




I then went on to try and compile it manually:
bitbake fsl-image-gui-sdk -c compile tcf-agent

bitbake fsl-image-gui-sdk -c deploy


this fails with:
ERROR: Task do_deploy does not exist for target fsl-image-gui-sdk
Then I tried compiling it manually using this info

http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#getting-the-images , by sourcing my toolchain from /opt/poky/1.4.1/env* file, and then

runnning 'make' in org.eclipse.tcf.agent/agent/ . I explicitly assign the $MACHINE variable to be 'arm' in the beginning of the Makefile.inc.



this fails with
arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi 
 -O2 -pipe -g -feliminate-unused-debug-types -g -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -I./. -I./system/GNU/Linux -I./machine/arm -o obj/GNU/Linux/arm/Debug/tcf/framework/channel_tcp.o -c tcf/framework/channel_tcp.c

tcf/framework/channel_tcp.c:38:27: fatal error: openssl/ssl.h: No such file or directory

compilation terminated.
 

At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....

Any help would be most welcome.



for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?



Thank you.

 		 	   		   		 	   		  

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

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

* Re: cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
  2013-06-18 15:24   ` [yocto] " Khem Raj
@ 2013-06-21  6:24     ` Anna Dushistova
  -1 siblings, 0 replies; 14+ messages in thread
From: Anna Dushistova @ 2013-06-21  6:24 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-freescale, yocto

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

Hi everyone,

On Tue, Jun 18, 2013 at 7:24 PM, Khem Raj <raj.khem@gmail.com> wrote:

> <...>
>
> Seems a missing dep on OpenSSL btw does tcf-agent work on anything other
> than x86 ?
>
>
 First of all, it's possible to compile the agent with OpenSSL disabled,
you will need to set ENABLE_SSL to 0 in your CFLAGS, see
http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/tree/agent/tcf/config.h#n213
.

Then, tcf-agent as the means of communication works on all the main
platforms, and as of this upcoming release,
there is an initial debug support on ARM, see
http://wiki.eclipse.org/TCF/NewIn11.

Anna.

>
> At this point I have run out of ideas about how to prepare tcf-agent to
> install on my sabrelite fsl-image-gui-sdk rootfs....
> Any help would be most welcome.
>
> for example in the 1st case how could I run apt-get as is suggested in a
> manner that would be appropriate to update yocto sources?
>
> Thank you.
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

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

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

* Re: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
@ 2013-06-21  6:24     ` Anna Dushistova
  0 siblings, 0 replies; 14+ messages in thread
From: Anna Dushistova @ 2013-06-21  6:24 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-freescale, yocto

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

Hi everyone,

On Tue, Jun 18, 2013 at 7:24 PM, Khem Raj <raj.khem@gmail.com> wrote:

> <...>
>
> Seems a missing dep on OpenSSL btw does tcf-agent work on anything other
> than x86 ?
>
>
 First of all, it's possible to compile the agent with OpenSSL disabled,
you will need to set ENABLE_SSL to 0 in your CFLAGS, see
http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/tree/agent/tcf/config.h#n213
.

Then, tcf-agent as the means of communication works on all the main
platforms, and as of this upcoming release,
there is an initial debug support on ARM, see
http://wiki.eclipse.org/TCF/NewIn11.

Anna.

>
> At this point I have run out of ideas about how to prepare tcf-agent to
> install on my sabrelite fsl-image-gui-sdk rootfs....
> Any help would be most welcome.
>
> for example in the 1st case how could I run apt-get as is suggested in a
> manner that would be appropriate to update yocto sources?
>
> Thank you.
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

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

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

* Re: cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
  2013-06-21  6:24     ` [yocto] " Anna Dushistova
@ 2013-06-21 12:26       ` Thanassis Silis
  -1 siblings, 0 replies; 14+ messages in thread
From: Thanassis Silis @ 2013-06-21 12:26 UTC (permalink / raw)
  To: Anna Dushistova, Khem Raj; +Cc: meta-freescale, yocto

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

Hi Anna,
yes it was an OpenSSL dependency, but it seems weird to bump into such a problem. I mean This seems to have been rectified or more ppl would bump into it.
In the end it was some problem with the packages_deb. There seem to be some bug related to deb packaging. I only set deb packaging because it seems more compatible as I am on a Ubuntu system. 
rpm packagin on the other hand worked nicely.

Date: Fri, 21 Jun 2013 10:24:16 +0400
Subject: Re: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
From: anna.dushistova@gmail.com
To: raj.khem@gmail.com
CC: djnass_18@hotmail.com; meta-freescale@yoctoproject.org; yocto@yoctoproject.org

Hi everyone,

On Tue, Jun 18, 2013 at 7:24 PM, Khem Raj <raj.khem@gmail.com> wrote:

<...>
Seems a missing dep on OpenSSL btw does tcf-agent work on anything other than x86 ?


 First of all, it's possible to compile the agent with OpenSSL disabled, you will need to set ENABLE_SSL to 0 in your CFLAGS, see http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/tree/agent/tcf/config.h#n213.

Then, tcf-agent as the means of communication works on all the main platforms, and as of this upcoming release,there is an initial debug support on ARM, see http://wiki.eclipse.org/TCF/NewIn11.

Anna. 

At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....
Any help would be most welcome.

for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?


Thank you.
 		 	   		  
_______________________________________________
yocto mailing list
yocto@yoctoproject.org

https://lists.yoctoproject.org/listinfo/yocto

_______________________________________________


yocto mailing list

yocto@yoctoproject.org

https://lists.yoctoproject.org/listinfo/yocto



 		 	   		  

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

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

* Re: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
@ 2013-06-21 12:26       ` Thanassis Silis
  0 siblings, 0 replies; 14+ messages in thread
From: Thanassis Silis @ 2013-06-21 12:26 UTC (permalink / raw)
  To: Anna Dushistova, Khem Raj; +Cc: meta-freescale, yocto

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

Hi Anna,
yes it was an OpenSSL dependency, but it seems weird to bump into such a problem. I mean This seems to have been rectified or more ppl would bump into it.
In the end it was some problem with the packages_deb. There seem to be some bug related to deb packaging. I only set deb packaging because it seems more compatible as I am on a Ubuntu system. 
rpm packagin on the other hand worked nicely.

Date: Fri, 21 Jun 2013 10:24:16 +0400
Subject: Re: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
From: anna.dushistova@gmail.com
To: raj.khem@gmail.com
CC: djnass_18@hotmail.com; meta-freescale@yoctoproject.org; yocto@yoctoproject.org

Hi everyone,

On Tue, Jun 18, 2013 at 7:24 PM, Khem Raj <raj.khem@gmail.com> wrote:

<...>
Seems a missing dep on OpenSSL btw does tcf-agent work on anything other than x86 ?


 First of all, it's possible to compile the agent with OpenSSL disabled, you will need to set ENABLE_SSL to 0 in your CFLAGS, see http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/tree/agent/tcf/config.h#n213.

Then, tcf-agent as the means of communication works on all the main platforms, and as of this upcoming release,there is an initial debug support on ARM, see http://wiki.eclipse.org/TCF/NewIn11.

Anna. 

At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....
Any help would be most welcome.

for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?


Thank you.
 		 	   		  
_______________________________________________
yocto mailing list
yocto@yoctoproject.org

https://lists.yoctoproject.org/listinfo/yocto

_______________________________________________


yocto mailing list

yocto@yoctoproject.org

https://lists.yoctoproject.org/listinfo/yocto



 		 	   		  

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

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

* Re: [meta-freescale] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
  2013-06-21 12:26       ` [yocto] " Thanassis Silis
@ 2013-06-21 12:40         ` Otavio Salvador
  -1 siblings, 0 replies; 14+ messages in thread
From: Otavio Salvador @ 2013-06-21 12:40 UTC (permalink / raw)
  To: Thanassis Silis; +Cc: meta-freescale, yocto

On Fri, Jun 21, 2013 at 9:26 AM, Thanassis Silis <djnass_18@hotmail.com> wrote:
...
> In the end it was some problem with the packages_deb. There seem to be some
> bug related to deb packaging. I only set deb packaging because it seems more
> compatible as I am on a Ubuntu system.
> rpm packagin on the other hand worked nicely.
...

I am a Debian fun (not much an Ubuntu one thought) and I use the ipk
backend. The ipk is mostly a .deb but handled with 'opkg'. You can
even use dpkg-deb to check control information and its contents. So it
is a .deb for use in embedded. The opkg tool has soon changes to fit
better in embedded requirements so this is my default option.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
@ 2013-06-21 12:40         ` Otavio Salvador
  0 siblings, 0 replies; 14+ messages in thread
From: Otavio Salvador @ 2013-06-21 12:40 UTC (permalink / raw)
  To: Thanassis Silis; +Cc: meta-freescale, yocto, Anna Dushistova, Khem Raj

On Fri, Jun 21, 2013 at 9:26 AM, Thanassis Silis <djnass_18@hotmail.com> wrote:
...
> In the end it was some problem with the packages_deb. There seem to be some
> bug related to deb packaging. I only set deb packaging because it seems more
> compatible as I am on a Ubuntu system.
> rpm packagin on the other hand worked nicely.
...

I am a Debian fun (not much an Ubuntu one thought) and I use the ipk
backend. The ipk is mostly a .deb but handled with 'opkg'. You can
even use dpkg-deb to check control information and its contents. So it
is a .deb for use in embedded. The opkg tool has soon changes to fit
better in embedded requirements so this is my default option.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: FW: cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
  2013-06-20 17:48     ` FW: " Thanassis Silis
@ 2013-06-25 13:58       ` Thanassis Silis
  2013-06-26 15:04         ` Trevor Woerner
  0 siblings, 1 reply; 14+ messages in thread
From: Thanassis Silis @ 2013-06-25 13:58 UTC (permalink / raw)
  To: yocto, jessica.zhang

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

Hi Jessica,
I have rebuilt an image with "IMAGE_INSTALL_append = " openssh" in my local.conf
which led to the generation of the image with openssh as expected.

However, the sftp-server executable was never included in the deployed image. I am wondering why this is.

searching for the executable gives enough results:

- there are .deb, .ipk, .rpm packages generated under <build_dir>/tmp/deploy/[deb|ipk|rpm] folders
- the executable has been installed in : <build_dir>/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/openssh/6.1p1-r0/sysroot-destdir/usr/lib/openssh/sftp-server

still it was never transfered to the image. so I wanted to do that manually following:
http://www.yoctoproject.org/docs/1.3.1/adt-manual/adt-manual.html#configuring-the-pms
 unfortunately, I am stuck at not finding a packaging suitable application (opkg-cl) in my sourced environment.

this is really a single executable file and I did just copy it manually to the target in the end (and debugging through openssh works fine too), but I would surely like to know if I have missed any steps and fail to use "smart" or "opkg-cl" in order to install packages in my image (or extracted image for that matter)

Thank you for your help.

From: djnass_18@hotmail.com
To: yocto@yoctoproject.org
Date: Thu, 20 Jun 2013 17:48:58 +0000
Subject: [yocto] FW: cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk






From: djnass_18@hotmail.com
To: jessica.zhang@intel.com
Subject: RE: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
Date: Thu, 20 Jun 2013 17:48:14 +0000




Hi jessica,
I will try with SSH too,
but for now it seems there are some bugs with "packages_deb " being the primary packaging scheme.
so apart from adding 
    IMAGE_INSTALL_append = " tcf-agent"

moving "packages_rpm" to be the primary scheme ended up succeeding in making an image that had tcf-agent included.

Thank you for your help.
I will post back when I generate an image with openssh (I have dropbear enabled ATM). 

From: jessica.zhang@intel.com
To: djnass_18@hotmail.com; meta-freescale@yoctoproject.org; yocto@yoctoproject.org
Subject: RE: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
Date: Wed, 19 Jun 2013 16:25:03 +0000









Hi Thanassis,
 
I don’t know why tcf-agent  is not included in your sdk image.  But you also can use ssh to create a rse remote connection that allows you to do remote interaction.
  When you create remote connection, instead of choosing tcf, use ssh.  You’ll need openssh in your target image for this to work.
 
Cheers,
Jessica
 


From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
On Behalf Of Thanassis Silis

Sent: Tuesday, June 18, 2013 6:56 AM

To: meta-freescale@yoctoproject.org; yocto@yoctoproject.org

Subject: [yocto] cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk


 

Hello everyone,

it seems tcf-agent is not provided. Not even in the -sdk image I created. And that is where my problems start:



using this in my local.conf: IMAGE_INSTALL_append = " tcf-agent"

I expected to be able to automate the process of generating the tcf-agent and deploying it in my image with command:
bitbake fsl-image-gui-sdk


this fails with:
| Reading package lists...

| Building dependency tree...

| Reading state information...

| Some packages could not be installed. This may mean that you have

| requested an impossible situation or if you are using the unstable

| distribution that some required packages have not yet been created

| or been moved out of Incoming.

| The following information may help to resolve the situation:

| 

| The following packages have unmet dependencies:

|  packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed

| W: Ignoring Provides line with DepCompareOp for package pkgconfig__pkg-config__

| W: You may want to run apt-get update to correct these problems

| E: Unable to correct problems, you have held broken packages.

| ERROR: Function failed: do_rootfs (see /home/nass/yocto/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-gui-sdk/1.0-r0/temp/log.do_rootfs.26945 for further information)

ERROR: Task 7 (/home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs) failed with exit code '1'

NOTE: Tasks Summary: Attempted 7418 tasks of which 7417 didn't need to be rerun and 1 failed.

No currently running tasks (7417 of 7419)



Summary: 1 task failed:

  /home/nass/yocto/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb, do_rootfs

Summary: There was 1 ERROR message shown, returning a non-zero exit code.




I then went on to try and compile it manually:
bitbake fsl-image-gui-sdk -c compile tcf-agent

bitbake fsl-image-gui-sdk -c deploy


this fails with:
ERROR: Task do_deploy does not exist for target fsl-image-gui-sdk
Then I tried compiling it manually using this info

http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#getting-the-images , by sourcing my toolchain from /opt/poky/1.4.1/env* file, and then

runnning 'make' in org.eclipse.tcf.agent/agent/ . I explicitly assign the $MACHINE variable to be 'arm' in the beginning of the Makefile.inc.



this fails with
arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/opt/poky/1.4.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi 
 -O2 -pipe -g -feliminate-unused-debug-types -g -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -I./. -I./system/GNU/Linux -I./machine/arm -o obj/GNU/Linux/arm/Debug/tcf/framework/channel_tcp.o -c tcf/framework/channel_tcp.c

tcf/framework/channel_tcp.c:38:27: fatal error: openssl/ssl.h: No such file or directory

compilation terminated.
 

At this point I have run out of ideas about how to prepare tcf-agent to install on my sabrelite fsl-image-gui-sdk rootfs....

Any help would be most welcome.



for example in the 1st case how could I run apt-get as is suggested in a manner that would be appropriate to update yocto sources?



Thank you.

 		 	   		   		 	   		  

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto 		 	   		  

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

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

* Re: FW: cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk
  2013-06-25 13:58       ` Thanassis Silis
@ 2013-06-26 15:04         ` Trevor Woerner
  0 siblings, 0 replies; 14+ messages in thread
From: Trevor Woerner @ 2013-06-26 15:04 UTC (permalink / raw)
  To: Thanassis Silis; +Cc: yocto

On 25 June 2013 09:58, Thanassis Silis <djnass_18@hotmail.com> wrote:
> I have rebuilt an image with "IMAGE_INSTALL_append = " openssh" in my
> local.conf
> which led to the generation of the image with openssh as expected.
>
> However, the sftp-server executable was never included in the deployed
> image. I am wondering why this is.

Does it work if you have:

    IMAGE_INSTALL_append = " openssh openssh-sftp-server"

?


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

end of thread, other threads:[~2013-06-26 15:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18 13:55 cannot bitbake/build.compile tcf-agent for use with fsl-image-gui-sdk Thanassis Silis
2013-06-18 15:24 ` Khem Raj
2013-06-18 15:24   ` [yocto] " Khem Raj
2013-06-21  6:24   ` Anna Dushistova
2013-06-21  6:24     ` [yocto] " Anna Dushistova
2013-06-21 12:26     ` Thanassis Silis
2013-06-21 12:26       ` [yocto] " Thanassis Silis
2013-06-21 12:40       ` [meta-freescale] " Otavio Salvador
2013-06-21 12:40         ` [yocto] " Otavio Salvador
2013-06-19 16:25 ` Zhang, Jessica
2013-06-19 16:25   ` [yocto] " Zhang, Jessica
     [not found]   ` <DUB116-W44BD641BF261A178D1E9E6988E0@phx.gbl>
2013-06-20 17:48     ` FW: " Thanassis Silis
2013-06-25 13:58       ` Thanassis Silis
2013-06-26 15:04         ` Trevor Woerner

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.