All of lore.kernel.org
 help / color / mirror / Atom feed
* #apt #yocto #sdk #toolchain
@ 2020-01-15 15:04 FooBar
  2020-01-15 15:15 ` [yocto] " Josef Holzmayr
  2020-01-15 16:25 ` FooBar
  0 siblings, 2 replies; 3+ messages in thread
From: FooBar @ 2020-01-15 15:04 UTC (permalink / raw)
  To: yocto

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

Hi,

I’m having trouble adding apt to the cross-compile Qt SDK toolchain. I’m hoping someone can direct me to some resources or guide me on how to accomplish this task.

I have added the following to my conf/local.conf file (I believe some of these lines are not needed, but I followed several different tutorials that told me different things, and I’m not sure which is not right, if any):

*# Additional Changes*

*PACKAGE_CLASSES = "package_deb"*

*EXTRA_IMAGE_FEATURES += " package-management "*

*IMAGE_FEATURES += " package-management "*

*IMAGE_INSTALL_append += " apt"*

*DISTRO_FEATURES_append = " apt cups"*

*CORE_IMAGE_EXTRA_INSTALL += " apt cups"*

*TOOLCHAIN_TARGET_TASK_append = " apt cups"*

I expected after running

**

*bitbake meta-toolchain-qt5
bitbake apt –c populate_sdk*

*bitbake package-index*

And running

*tmp/deploy/sdk/<qt5-toolchain>.sh*

Then sourcing:

*. /opt/<path>/4.14-sumo/environment-setup-aarch64-poky-linux*

And using the toolchain to build… I get

*apt-pkg/pkgcache.h: No such file or directory*

How would I go about adding apt properly? It does not seem to be finding the headers or resources for it in the sdk toolchain.

Thanks,

FooBar

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

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

* Re: [yocto] #apt #yocto #sdk #toolchain
  2020-01-15 15:04 #apt #yocto #sdk #toolchain FooBar
@ 2020-01-15 15:15 ` Josef Holzmayr
  2020-01-15 16:25 ` FooBar
  1 sibling, 0 replies; 3+ messages in thread
From: Josef Holzmayr @ 2020-01-15 15:15 UTC (permalink / raw)
  To: FooBar; +Cc: yocto

Howdy!

On Wed, Jan 15, 2020 at 07:04:08AM -0800, FooBar wrote:
> Hi,
> 
> I’m having trouble adding apt to the cross-compile Qt SDK toolchain. I’m hoping someone can direct me to some resources or guide me on how to accomplish this task.

Whats the rationale behind it? I can see apt being useful on the target
under rare/obscure cirumstances, but in the SDK, what do you want to
archieve?

Greetz

> FooBar

PS: Hiding behind "FooBar" doesn't give a very good impression.

-- 
———————————————
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———————————————
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548 

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548


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

* Re: #apt #yocto #sdk #toolchain
  2020-01-15 15:04 #apt #yocto #sdk #toolchain FooBar
  2020-01-15 15:15 ` [yocto] " Josef Holzmayr
@ 2020-01-15 16:25 ` FooBar
  1 sibling, 0 replies; 3+ messages in thread
From: FooBar @ 2020-01-15 16:25 UTC (permalink / raw)
  To: yocto

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

Hi, we want to set up to cross compile our software that uses QApt, for an embedded device, on our build machine. We want to automate the process. The embedded device is to be updated on occasion, and is actually migrated from a different embedded device. We have been able to build other Qt projects fine, but when it comes to including apt-pkg/pkgcache.h, we haven't had luck.

P.S. Oops, I replied to sender the first time I sent this message and not to group (sorry if you get a duplicate message Josef):

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

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

end of thread, other threads:[~2020-01-15 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 15:04 #apt #yocto #sdk #toolchain FooBar
2020-01-15 15:15 ` [yocto] " Josef Holzmayr
2020-01-15 16:25 ` FooBar

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.