On 4/30/2024 12:26 AM, ralfconn wrote:
The crossdev environment on the desktop knows nothing about the packages
installed on the Pi, so I copied /var/db/pkg from Pi to
/usr/aarch64-unknown-linux-gnu/var/db/pkg on the desktop. I ran emerge
--sync on the Pi and on the desktop approximatively at the same time.
this is wrong. so ima gonna assume we talking about crossdev. and
cross-emerge. which should be the go to tool for this.
but here is the problem. you cant just "mimic" fake packages. which is
wht you did is.
3 different systems. host system, prolly x86/64. then virtual system.
then the actual pi. do not confuse them.
profiles are less important. dependencies are important however.
lets say you do USE="xz" ROOT="/someplace" SYSROOT=$ROOT ARCH=$whatever
cross-emerge gcc. you would need headers and libs not just in the target
system, but in the building systems as well. not just in the main
building system, the host system, but based on how and what you are
doing, you might need to build, dependencies, including in that
intermediary /usr/$arch.