Package: findutils
Version: 4.2.30-1
Severity: normal

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:

make[3]: Entering directory
`/opt/emdebian/trunk/f/findutils/trunk/findutils-4.2.30/doc' echo
"WARNING: ../gnulib/lib/regex.h is newer than regexprops.texi but
regexprops.texi cannot be rebuilt because we are cross-compiling.
Continuing anyway." >&2 WARNING: ../gnulib/lib/regex.h is newer than
regexprops.texi but regexprops.texi cannot be rebuilt because we are
cross-compiling.   Continuing anyway.

...

find.texi:3116: @include `regexprops.texi': No such file or directory.
makeinfo: Removing output file `find.info' due to errors; use --force
to preserve. make[3]: *** [find.info] Error 1

One way to solve this would be to make doc/ a conditional subdirectory
so that cross-builds can simply not bother running make in doc/ by
specifying --disable-texi to ./configure.

Alternatively, whatever is detecting the cross-build should also ensure
that if a file cannot be rebuilt during a cross-build, it should not be
removed during a cross-build clean. ;-)

The first build appeared fine - subsequent builds fail.

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.18-4-amd64

Debian Release: lenny/sid
  500 unstable        www.linux.codehelp.co.uk
  500 unstable        www.emdebian.org
  500 unstable        mirror.ox.ac.uk
  500 unstable        ftp.fr.debian.org

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
                        |




--


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: findutils_4.2.30-1em1_arm.build
Description: Binary data

Attachment: pgp2dxvdBoUCp.pgp
Description: PGP signature

Reply via email to