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/
signature.asc
Description: This is a digitally signed message part