Bug 29361

Summary: Makefile:26: *** missing separator. Stop
Product: binutils Reporter: Vladimir Mezentsev <vladimir.mezentsev>
Component: binutilsAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: P3    
Version: 2.39   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Vladimir Mezentsev 2022-07-12 21:05:41 UTC
When I clone binutils-gdb.git to ./binutils and run build in the same directory,
the build failed:


% git clone https://sourceware.org/git/binutils-gdb.git  binutils
% ./binutils/configure
% make
.....
make[2]: Entering directory '...../binutils'
Makefile:26: *** missing separator.  Stop.
make[2]: Leaving directory '...../binutils'
make[1]: *** [Makefile:4045: all-binutils] Error 2
make[1]: Leaving directory '.....'
make: *** [Makefile:1004: all] Error 2
Comment 1 Alan Modra 2022-07-21 09:19:46 UTC
Don't do that then.  That is, don't try to build binutils-gdb in a directory containing the source called binutils.  It is just too confusing to have a source dir binutils/ that is also the build dir for binutils/binutils.
Comment 2 Vladimir Mezentsev 2022-07-21 15:59:56 UTC
Why don't you want to fix the configure script and report this limitation ?
Comment 3 Alan Modra 2022-07-22 01:44:54 UTC
Someone once said that trying to make things foolproof underestimates the ingenuity of fools.  I am not calling you a fool, just saying that it is a real time waster trying to fix this sort of bug.