Bug 11635 - make fails for out-of-tree build
Summary: make fails for out-of-tree build
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.2
Hardware: All All
: P5 regression (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-06 21:34 UTC by Andrey Gursky
Modified: 2015-12-19 01:09 UTC (History)
0 users

See Also:


Attachments
Proposed fix (1.16 KB, patch)
2015-12-06 22:07 UTC, Andrey Gursky
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Gursky 2015-12-06 21:34:58 UTC
Reproducer:

git clone git://git.samba.org/rsync.git rsync.git
cd rsync.git
rm configure.sh config.h.in aclocal.m4
make -f prepare-source.mak
cd ..
mkdir rsync-build
cd rsync-build
../rsync.git/configure.sh --with-included-zlib=yes --enable-maintainer-mode --prefix=/home/andrey/progs
make

Error message:
make: *** No rule to make target `m4/*.m4', needed by `aclocal.m4'.  Stop.
Comment 1 Andrey Gursky 2015-12-06 22:02:57 UTC
Correction for reproducing: you should use commit bb853b32055a16e983267c6f5b8244aac311fdf9.
Comment 2 Andrey Gursky 2015-12-06 22:07:11 UTC
Created attachment 11676 [details]
Proposed fix
Comment 3 Wayne Davison 2015-12-19 00:12:43 UTC
Thanks for the report and the patch!
Comment 4 Andrey Gursky 2015-12-19 01:09:26 UTC
You're welcome! Were there any problems with patch format, so that you couldn't apply it directly?