[Pkg-xen-devel] Bug#965245: Bug#965245: Cross-build issues

Hans van Kranenburg hans at knorrie.org
Sat Jul 18 15:08:50 BST 2020


Hi Elliott,

On 7/18/20 5:53 AM, Elliott Mitchell wrote:
> Package: src:xen
> Version: 4.13
> Tags: patch
> 
> I've been playing try to get Xen 4.13 to cross-build for ARM.  In the
> process I've been running into bunches of problems, so here are fixes.

Can you:
* add a 'why' line to the commit message of the first patch
* add Signed-off-by lines
* and then mailbomb (git send-email) it to
pkg-xen-devel at lists.alioth.debian.org with Cc to Ian Jackson
<ijackson at chiark.greenend.org.uk>? Just all of it in 1 mail thread? (So,
with 0/10 cover letter which does not have to contain anything else than
something like 'Hi! See #965245, kthxbye'.)

Then we can collect some Reviewed-by etc.

> OCAML/xenstored is being problematic, that looks like outright bugs on
> ocaml-nox making it unusable for cross-building.

The cxenstored is also still there. The init scripts look if oxenstored
is installed, and if not, it falls back to using normal xenstored. So, I
suspect if you patch it out of the build for this arch, then no other
changes are necessary. (Normally both are built now, so that if a user
wants, in case of problems or whatever, they can switch back).

> I'm including copies of 3 patches from Julien Grall.  Upstream source for
> this is: git://xenbits.xen.org/people/julieng/xen-unstable.git  The
> branch "arm-dma/v2".

Ok, these patches are in Xen 4.14 I see. First thing I want to do going
forward  is forwarding the packaging to that. I hope this will also only
make your life easier.

Like I said on IRC, the two other things before we can push it to Debian
experimental asap are making sure python 2 is not used any more
anywhere, and of course a proper debian/changelog. :) And then making
noise on the list to find users to try it out. And, a small pile of
backlog of things that are waiting, and then hopefully not too long
after the official Xen 4.14 release it can go into Debian unstable.

But, keep the 3 upstream patches in the set for now, so that it's
explicit that you need them for this.

> Why yes, I am trying to get Xen operational on a Raspberry PI.  Why do
> you ask?  :-)

Haha. Exciting. I like it. Looking forward to see it working and help
testing it here. I didn't do cross-building yet, so time to learn
something new.

Hans (Knorrie)



More information about the Pkg-xen-devel mailing list