bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AIX 5.1 make problem with depcomp


From: Dano Carroll
Subject: AIX 5.1 make problem with depcomp
Date: Tue, 5 Nov 2002 15:10:10 -0600 (CST)

Hello,

I ran into a problem building fileutils on an AIX 5.1 system using the
C for AIX compiler version 5.1. The configuration and first make would
run correctly, but make install would fail with the following error:

Making install in lib
make[1]: Entering directory `/a/is/build/src/gnu/fileutils/fileutils-4.1/lib'
.deps/__fpending.Po:1: *** multiple target patterns.  Stop.
make[1]: Leaving directory `/a/is/build/src/gnu/fileutils/fileutils-4.1/lib'
make: *** [install-recursive] Error 1


The __fpending.Po file looks like this:

__fpending.o : \
 __fpending.c  ../config.h  __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/vm_types.h  /usr/include/sys/limits.h  /usr/include/float.h 
__fpending.c :
../config.h :
__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/vm_types.h :
/usr/include/sys/limits.h :
/usr/include/float.h :

The problem seems to be that the object dependecy line seems to have
the first source code dependency tacked onto the end. After looking
at the dependency file created by the C compiler and looking at the
depcomp utility I saw that depcomp was taking the dependency file,
translating all spaces to carriage returns, removing the object file
reference, then translating all carriage returns back to spaces. This
had the affect of creating a line without a carriage return on the
end. The depcomp script then took the same dependency file and created
the empty source code dependencies, taking that information onto the
end of the object dependency line. Since the object dependency line
didn't have a carriage return, the result was as you see in the
__fpending.Po file. I found the spot where the dependence reformating
was being done and the patch included simply adds an echo line to
create a carriage return after the object dependency line.

Sincerely,
Dano Carroll

--
Dano Carroll         | VM  +1(512)494-7233    | I love penguins, 'cause
HP DAZEL Division    | FAX +1(512)494-7394    | penguins are sensitive
System Administrator | Telnet     494-7233    | to my needs -- Lyle Lovett

Attachment: depcomp.patch
Description: ascii text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]