Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-20 Thread John Scott
On Tuesday, January 19, 2021 4:24:20 AM EST you wrote: > It seems your proposal does not allow to set CC to clang ? You're right, I made a mistake in the 'else' part. This is what it should be: ifeq ($(origin CC),default) CC := `which $(DEB_HOST_GNU_TYPE)-gcc` else CC := `which $(CC)` endif

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-19 Thread Bill Allombert
On Mon, Jan 18, 2021 at 08:15:10PM -0500, John Scott wrote: > On Monday, January 18, 2021 9:56:58 AM EST you wrote: > > Could you check whether this is compatible with your build process? > Setting the CC variable works, and although the cross built pari-gp binary is > not identical to the native

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-18 Thread John Scott
On Monday, January 18, 2021 9:56:58 AM EST you wrote: > Could you check whether this is compatible with your build process? Setting the CC variable works, and although the cross built pari-gp binary is not identical to the native built one in my run, they differ only in the build ID. So

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-18 Thread Bill Allombert
On Thu, Jan 14, 2021 at 09:43:15AM -0500, John Scott wrote: > On Monday, January 11, 2021 7:55:30 AM EST Bill Allombert wrote: > > The problem with your proposal is that the resulting cross pari.cfg might > > not actually work in a non-cross environment (mainly the package pari-gp2c). > > For

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-16 Thread Bill Allombert
On Thu, Jan 14, 2021 at 05:33:18PM -0500, John Scott wrote: > Here's a new patch. It's the same as before, but with sed to modify the > config > files appropriately. I'd have smashed the sed commands together if not for > readability, and for the text alignment being so nice as-is  Did you

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-14 Thread John Scott
Here's a new patch. It's the same as before, but with sed to modify the config files appropriately. I'd have smashed the sed commands together if not for readability, and for the text alignment being so nice as-is --- pari-2.13.0.orig/debian/rules 2020-10-22 11:41:11.0 -0400 +++

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-14 Thread John Scott
On Monday, January 11, 2021 7:55:30 AM EST Bill Allombert wrote: > The problem with your proposal is that the resulting cross pari.cfg might > not actually work in a non-cross environment (mainly the package pari-gp2c). > For example the package produced with the clang rebuild would not work on >

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-11 Thread Bill Allombert
On Sat, Jan 09, 2021 at 08:15:36PM -0500, John Scott wrote: > On Thursday, January 7, 2021 11:54:19 AM EST Bill Allombert wrote: > > The issue is that using $(CC) breaks reproducible build due to pari.cfg. > Are you referring to building Debian binary packages reproducibly as in [1]? > I don't

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-10 Thread John Scott
On Thursday, January 7, 2021 11:54:19 AM EST Bill Allombert wrote: > The issue is that using $(CC) breaks reproducible build due to pari.cfg. Are you referring to building Debian binary packages reproducibly as in [1]? I don't understand the connection. I see that the C compiler, architecture,

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-07 Thread Bill Allombert
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

Bug#979523: FTCBFS due to misuse of build system C compiler

2021-01-07 Thread John Scott
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