Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-25 Thread Loïc Minier
On Sat, Nov 24, 2007, Neil Williams wrote: ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) DEB_MAKE_ENVVARS=CC=$(DEB_HOST_GNU_TYPE)-gcc endif Why set CC in cdbs instead of setting it in the cross build env? -- Loïc Minier

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-25 Thread Neil Williams
Loïc Minier wrote: On Sat, Nov 24, 2007, Neil Williams wrote: ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) DEB_MAKE_ENVVARS=CC=$(DEB_HOST_GNU_TYPE)-gcc endif Why set CC in cdbs instead of setting it in the cross build env? Please read the rest of the bug report, CC was set in the

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-07 Thread Peter Eisentraut
Neil Williams wrote: No. MAKEFLAGS should not be overwritten by the build tools. Huh? This discussion is about DEB_CONFIGURE_SCRIPT_ENV. How do you get from that to MAKEFLAGS? AFAICS, nothing in cdbs touches MAKEFLAGS. CDBS has no business setting DEB_CONFIGURE_SCRIPT_ENV. Any package

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-07 Thread Peter Eisentraut
Neil Williams wrote: Actually, packages fail to cross compile with it set because CDBS sets 'gcc' It does no such thing. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-07 Thread Peter Eisentraut
Am Mittwoch, 7. November 2007 schrieb Neil Williams: It is only when cross-compiling and all those packages need to be fixed anyway because the cross compiling support no longer provides anything useful for CDBS to pass to this variable. But there are many other situations in which useful

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-07 Thread Neil Williams
On Wed, 7 Nov 2007 16:14:13 +0100 Peter Eisentraut [EMAIL PROTECTED] wrote: Am Mittwoch, 7. November 2007 schrieb Neil Williams: Please can DEB_CONFIGURE_SCRIPT_ENV be set to empty in CDBS so that CDBS packages can be cross-built successfully? Um, well, no, because this would break all

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-07 Thread Peter Eisentraut
Am Mittwoch, 7. November 2007 schrieb Neil Williams: Please can DEB_CONFIGURE_SCRIPT_ENV be set to empty in CDBS so that CDBS packages can be cross-built successfully? Um, well, no, because this would break all packages that rely on the settings of the environment variables that are

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-07 Thread Neil Williams
On Wed, 7 Nov 2007 19:07:28 +0100 Peter Eisentraut [EMAIL PROTECTED] wrote: Forgot to CC the bug report. Neil Williams wrote: No. MAKEFLAGS should not be overwritten by the build tools. Huh? This discussion is about DEB_CONFIGURE_SCRIPT_ENV. How do you get from that to MAKEFLAGS?

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-07 Thread Neil Williams
On Wed, 7 Nov 2007 19:09:01 +0100 Peter Eisentraut [EMAIL PROTECTED] wrote: Forgot to keep the bug report in CC. Sorry. Neil Williams wrote: Actually, packages fail to cross compile with it set because CDBS sets 'gcc' It does no such thing. It does - CC=gcc The effect of

Bug#450483: [Build-common-hackers] Bug#450483: cdbs: Stop setting DEB_CONFIGURE_SCRIPT_ENV in order to enable cross-building

2007-11-07 Thread Neil Williams
On Wed, 7 Nov 2007 17:53:38 +0100 Peter Eisentraut [EMAIL PROTECTED] wrote: Am Mittwoch, 7. November 2007 schrieb Neil Williams: It is only when cross-compiling and all those packages need to be fixed anyway because the cross compiling support no longer provides anything useful for CDBS to