Bug#666772: Bug 666772

2021-10-28 Thread Vasyl Gello
Hi Johannes!

Thanks for clarification! So I have to ask maintainers of groovy:all and 
libcommons-lang-java:all whether they are OK marking it M-A: foreign?

Also, why does apt-get install all arch:host build-deps but not libdevel:host 
duplicated with libdevel:build ?

Is it possible at all to have "pure" cross-compilation without need to install 
qemu-binfmt-support on host?
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Bug#666772: Bug 666772

2021-10-28 Thread Johannes Schauer Marin Rodrigues
Quoting Vasyl Gello (2021-10-28 16:10:38)
> I was trying to cross-compile Kodi for armhf on amd64 and noticed that
> apt-get treats arch:all build-dependencies as arch:native and fails to find
> them.

Good. That behaviour is by design and not a bug.

> Furthermore, packages providing the implementation of virtual packages from
> Build-Depends list (aka "Reverse Provides") are treated the same way.

Good.

> Since Wookey vetted Steve's apt-get patch I decided to work around this bug
> in pbuilder-satisfydepends-apt and filed the MR#20 on Salsa:
> https://salsa.debian.org/pbuilder-team/pbuilder/-/merge_requests/20

This is not a bug. Architecture:all packages are *not* implicitly M-A:foreign.
See my other mail to this bug. If an Architecture:all package should be made
M-A:foreign, then file a bug against that package. The maintainer can then
decide whether that marking is correct or not. If in doubt, CC
debian-cr...@lists.debian.org to get advice about whether marking a package as
M-A:foreign is correct or not.

Thanks!

cheers, josch

signature.asc
Description: signature


Bug#666772: Bug 666772

2021-10-28 Thread Vasyl Gello
Dear colleagues,

Nine years after this bug had last activity upon I hit it :)

I was trying to cross-compile Kodi for armhf on amd64 and noticed that apt-get 
treats arch:all build-dependencies as arch:native and fails to find them.
Furthermore, packages providing the implementation of virtual packages from 
Build-Depends list (aka "Reverse Provides") are treated the same way.

Since Wookey vetted Steve's apt-get patch I decided to work around this bug in 
pbuilder-satisfydepends-apt and filed the MR#20 on Salsa:
https://salsa.debian.org/pbuilder-team/pbuilder/-/merge_requests/20

I tested that one building Kodi, its addons and several other random packages.
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다