Message ID | cover.1736542505.git.maxi@daemonizer.de (mailing list archive) |
---|---|
Headers | show |
Series | Bug: Hyperlinks in generated documentation may point to the wrong architecture | expand |
On 10/01/2025 9:19 pm, Maximilian Engelhardt wrote: > As suggested by Andrew Cooper in [1], I formally submit this patch for > fixing that documentation hyperlinks may point to the wrong > architecture. This fix also makes building the documentation > reproducible in Debian. > > With this patch applied, I still get the following: > > /usr/bin/perl -w /build/reproducible-path/xen-4.19.1/docs/xen-headers -O html/hypercall/ppc \ > -T 'arch-ppc - Xen public headers' \ > -X arch-arm -X arch-riscv -X arch-x86_32 -X arch-x86_64 \ > -X xen-arm -X xen-riscv -X xen-x86_32 -X xen-x86_64 \ > -X arch-x86 \ > /build/reproducible-path/xen-4.19.1/docs/../xen include/public include/xen/errno.h > include/public/hvm/dm_op.h:476: multiple definitions of Typedef xen_ulong_t: include/public/arch-ppc.h:55 > include/public/hvm/dm_op.h:476: multiple definitions of Typedef xen_ulong_t: include/public/arch-ppc.h:61 > include/public/hvm/dm_op.h:476: multiple definitions of Typedef xen_ulong_t: include/public/arch-ppc.h:55 > include/public/hvm/dm_op.h:476: multiple definitions of Typedef xen_ulong_t: include/public/arch-ppc.h:61 > > This seems to happen due to multiple "typedef uint64_t xen_ulong_t;" > in xen/include/public/arch-ppc.h (albeit in different if(n)def blocks). > It does not cause any problems for us at the moment, but probably should > still be addressed somehow. > > [1] https://lists.xen.org/archives/html/xen-devel/2025-01/msg00324.html > > Maximilian Engelhardt (1): > docs/Makefile: Add ppc and riscv to DOC_ARCHES Thanks for the patch. I'll commit it in due course. As an aside though, is there anything we could sensibly do in our own CI (Gitlab) to not regress this? https://salsa.debian.org/reproducible-builds/reprotest looks like it might be good start, but I've never really played in this area before. Would this be suitable, or do you have any other suggestion? ~Andrew