[Pkg-xen-devel] Bug#968965: xen: FTBFS woes in sid

Elliott Mitchell ehem+debian at m5p.com
Sat Nov 21 04:40:31 GMT 2020


On Fri, Nov 20, 2020 at 08:02:26PM +0100, Hans van Kranenburg wrote:
> So,
> 
> On 9/21/20 4:16 PM, Hans van Kranenburg wrote:
> > [...]
> > 
> > gcc    -Wl,-z,relro -Wl,-z,now -pthread -Wl,-soname
> > -Wl,libxentoolcore.so.1 -shared -Wl,--version-script=libxentoolcore.map
> > -o libxentoolcore.so.1.0 handlereg.opic
> > /usr/bin/ld: i386:x86-64 architecture of input file `handlereg.opic' is
> > incompatible with i386 output
> > /usr/bin/ld: handlereg.opic: file class ELFCLASS64 incompatible with
> > ELFCLASS32
> > /usr/bin/ld: final link failed: file in wrong format
> > collect2: error: ld returned 1 exit status
> 
> This one is caused by "debian/rules: Combine shared Make args". I
> reverted that change for now.
> 
> When retrying the i386 build, I run into yet another failure, sigh:
> 
> ---- >8 ----
> 
> dh_install: warning: Cannot find (any matches for)
> "usr/lib/debug/usr/lib/xen-*/boot/*" (tried in ., debian/tmp)
> 
> dh_install: warning: xen-utils-4.14 missing files:
> usr/lib/debug/usr/lib/xen-*/boot/*
> dh_install: error: missing files, aborting
> 
> ---- >8 ----
> 
> I can only find CONFIG_PV_SHIM=n in the build log. What is going on
> here? Attached is the build log.
> 
> My WIP branch is here (including the make-patches commit, it's ready to
> build). I also forwarded the thing to latest stable-4.14.
> 
> https://salsa.debian.org/xen-team/debian-xen/-/commits/knorrie/4.14/

I was going to type, "That can't be true!  Both sections are identical,
so that commit *couldn't* have done it!"

Being the careful sort, look closer.  Look closer.  Then realize if one
reads fast they look identical, but they're getting *slightly* different
values for ${XEN_TARGET_ARCH}.  Mainly for $(make_args_xen),
${XEN_TARGET_ARCH} gets $(xen_arch_$(flavour)), but for
$(make_args_tools), ${XEN_TARGET_ARCH} gets $(xen_arch_$(DEB_HOST_ARCH)).

Three of us and we didn't spot that difference.  Should still combine
${XEN_COMPILE_ARCH} which remains identical for both values.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg at m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445



More information about the Pkg-xen-devel mailing list