On Thu, Jan 07, 2021 at 11:37:56AM -0500, John Scott wrote: > Source: pari > Version: 2.13.0-2 > Severity: wishlist > Tags: patch > User: debian-cr...@lists.debian.org > Usertags: ftcbfs > > PARI fails to cross build due to using 'cc' as the C compiler: > http://crossqa.debian.net/src/pari > With the attached patch, PARI successfully builds and the cross tests (by way > of QEMU user mode emulation) pass as well building for arm64. This also adds > support for the standard nocheck DEB_BUILD_OPTION. > > What the origin Makefile syntax does is that, if CC is unset by the user > and is Make's implicit default, then it gets overridden with the appropriate > cross-compiler. This is the recommended solution [1] and has the bonus of > letting users override the compiler at build time should they please. > > [1] https://wiki.debian.org/CrossBuildPackagingGuidelines
Hello John, The issue is that using $(CC) breaks reproducible build due to pari.cfg. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here.