Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Neil Williams <codehelp <at> debian.org>
Subject: Bug#450483: ping? DEB_CONFIGURE_SCRIPT_ENV and cross-building
Newsgroups: gmane.linux.debian.devel.bugs.general
Date: Saturday 17th May 2008 19:54:53 UTC (over 8 years ago)
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/
 
CD: 21ms