[Build-common-hackers] Bug#450483: ping? DEB_CONFIGURE_SCRIPT_ENV and cross-building
Neil Williams
codehelp at debian.org
Sat May 17 19:54:53 UTC 2008
I'm just checking on progress on this bug as it is hampering my efforts
to create a sane autobuilder for Emdebian.
If this bug could be closed, many packages in Emdebian would cross build
cleanly without patches, making it possible for Emdebian to make a root
filesystem release alongside Debian Lenny (kernels are device-specific
for many embedded situations).
I've been patching all relevant packages in Emdebian to remove all
settings in DEB_CONFIGURE_SCRIPT_ENV and even making the same setting in
the equivalent Debian packages that I maintain. I have not found any
problems with removing the entire configure script ENV for those
packages. Retaining the script ENV causes the cross-build to prepare
binaries of the wrong architecture (BUILD_ARCH not HOST_ARCH).
Considering the difficulties in debugging on an embedded device, this
can be a major problem for packages involved in the boot / X startup
process.
The relevant change for CDBS packages not using ./configure, just
$(MAKE) is also tested:
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
DEB_MAKE_ENVVARS=CC=$(DEB_HOST_GNU_TYPE)-gcc
endif
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450483#63
(Setting CC on a package-specific basis to allow for packages that need
internal CC_FOR_BUILD settings in the upstream package.)
I'd be grateful if this bug could be reviewed and the changes
implemented - it is important to get these changes into Lenny.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20080517/7db5f963/attachment.pgp
More information about the Build-common-hackers
mailing list