Hello,
There seems to be a bug in depcomp in fileutils-4.1. It generates
dependency files with two dependencies on the first line, for
instance lib/.deps/__fpending.Po :
__fpending.o : \
/afs/pdc.kth.se/src/packages/gnu/fileutils/fileutils-4.1/lib/__fpending.c
../config.h /afs/pdc.kth.se/src/packages/gnu/fileutils/fileutils-4.1/lib/__fpending.h
/usr/include/stdio.h /usr/include/standards.h /usr/include/va_list.h
/usr/include/sys/types.h /usr/include/sys/inttypes.h /usr/include/sys/m_types.h
/usr/include/sys/limits.h /usr/include/float.h
/afs/pdc.kth.se/src/packages/gnu/fileutils/fileutils-4.1/lib/__fpending.c :
...
Compilation works ok but "make check" fails on AIX (xlc 3.6.4.0). I
think it should fail under Irix (MIPSPro cc 7.3.1.1) as well but the
compiler happens to generate a line starting with # as the last line
in the dependency file so the bug is masked.
The following patch solved it for me :
diff -pu depcomp depcomp.patched
--- depcomp Mon Sep 10 19:18:13 2001
+++ depcomp.patched Mon Sep 10 19:18:07 2001
@@ -136,6 +136,7 @@ sgi)
' < "$tmpdepfile" | sed 's/^.*\.o://' | tr '
' ' ' >> $depfile
+ echo "" >> $depfile
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
@@ -177,6 +178,7 @@ aix)
tr ' ' '
' < "$tmpdepfile" | sed 's/^[^\.]*\.o://' | tr '
' ' ' >> $depfile
+ echo "" >> $depfile
tr ' ' '
' < "$tmpdepfile" | \
I apologise if I'm totally off-base, I'm not too good at this stuff.
Sincerely
Per Ekman
_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils