Bug 29361 - Makefile:26: *** missing separator. Stop
Summary: Makefile:26: *** missing separator. Stop
Status: RESOLVED WONTFIX
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.39
: P3 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 21:05 UTC by Vladimir Mezentsev
Modified: 2022-07-22 01:44 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.