Hi Helmut,

Thanks for filing this issue.  Olm 3 was released today, which has new
Python bindings, and which will make python-olm arch-dependent.  I'll
take a look at this issue when I create a new package, but having just
skimmed this briefly, suggestion are welcome on how having python-olm
being arch-dependent will affect this issue.

Hubert

On Tue, 16 Oct 2018 06:34:26 +0200, Helmut Grohne <hel...@subdivi.de> said:

> Source: olm Version: 2.2.2+git20170526.0fd768e+dfsg-1 Tags: patch
> User: helm...@debian.org Usertags: rebootstrap

> olm fails to cross build from source, because its Build-Depends
> request the host architecture python and that fails to
> install. Looking deeper, one sees that python is used in two
> capacities: Once for running rst2html and also for creating
> python-olm. The latter is only necessary for indep builds and the
> former wants the build architecture python.

> So we can shrink the problem by removing python-olm from the arch-only
> build. Doing so allows demoting python-all-dev to Build-Depends-Indep,
> which is irrelevant to cross building.

> The attached patch implements the moving of Build-Depends. Using
> diffoscope and reproducible builds I verified that the resulting .debs
> do not vary accross full builds arch-only builds or indep-only builds.

> Please close this bug when removing python-all-dev from Build-Depends
> even though that might not be sufficient for making olm cross
> buildable.  In case of further issues, I shall file further bug
> reports.

> Helmut

-- 
Hubert Chathi <uho...@debian.org> -- https://www.uhoreg.ca/
Jabber: hub...@uhoreg.ca -- Matrix: @uhoreg:matrix.org
PGP/GnuPG key: 4096R/F24C F749 6C73 DDB8 DCB8  72DE B2DE 88D3 113A 1368

Reply via email to