On Sat, 21 Apr 2007 08:31:43 +0200 Andreas Metzler <[EMAIL PROTECTED]> wrote:
> > When cross-building, findutils becomes confused. Upstream carries a > > regexprops.texi file which findutils expects to be able to rebuild, > > so it deletes it during a clean. Later, the cross build fails > > because: > [...] > > The first build appeared fine - subsequent builds fail. > [...] > > I am not sure I understand the last sentence correctly. Do you mean > that this works: > > dpkg-source -x findutils_4.2.30-1.dsc > cd findutils-4.2.30 > dpkg-buildpackage -uc -us -rfakeroot --crossbuilding-options > > and this fails: > dpkg-source -x findutils_4.2.30-1.dsc > cd findutils-4.2.30 > dpkg-buildpackage -uc -us -rfakeroot --crossbuilding-options > # try a rebuild from an already-built-from-directory > dpkg-buildpackage -uc -us -rfakeroot --crossbuilding-options > Yes. The actual commands come from the emdebian-tools package but these are principally wrappers around the above commands. The build log for the second case was attached to the original report, if there is any more information I can provide, let me know. You should be able to replicate the effect for testing purposes by installing a cross-building toolchain from Emdebian (e.g. arm - available for amd64, i386 and powerpc) then specifying -aarm to dpkg-buildpackage. 'make clean' does not run with the first build (no Makefile), only subsequent builds. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpE3hIpJjHUI.pgp
Description: PGP signature