How to reproduce: 1. download httpd-2.2.9 tarball 2. $ cd httpd-2.2.9 3. patch to avoid bug 44631 4. $ ./buildconf 5. $ cd ../ 6. $ mkdir 2.2.9-build && cd 2.2.9-build 8. $ ./configure --with-included-apr 9. $ cd server 10. $ make export_files tmp=export_files_unsorted.txt; rm -f $tmp && touch $tmp; for dir in /usr/home/takashi/development/httpd-2.2.9/include /usr/home/takashi/development/httpd-2.2.9/os/unix /usr/home/takashi/development/httpd-2.2.9/modules/http; do ls $dir/*.h >> $tmp; done; for dir in /usr/home/takashi/development/2.2.9-build/srclib/apr/include /usr/home/takashi/development/httpd-2.2.9/srclib/apr/include /usr/home/takashi/development/2.2.9-build/srclib/apr-util/include /usr/home/takashi/development/httpd-2.2.9/srclib/apr-util/include; do (ls $dir/ap[ru].h $dir/ap[ru]_*.h >> $tmp 2>/dev/null); done; sort -u $tmp > export_files; rm -f $tmp *** Error code 1 Stop in /usr/home/takashi/development/2.2.9-build/server. "do (ls $dir/ap[ru].h $dir/ap[ru]_*.h >> $tmp 2>/dev/null); done;" fails, then make export_files stops. This is because of difference between FreeBSD make and GNU make. Following Makefile fails on FreeBSD make, but successes on GNU make. foo: [tab]false;true
Noted; interesting analysis thank you(!) Commenting so this pops to the top of my bugzilla query for followup.
Has this been fixed in trunk? I could not reproduce it in trunk, |uname -a FreeBSD vayavyam.India.Sun.COM 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 |make export_files tmp=export_files_unsorted.txt; rm -f $tmp && touch $tmp; for dir in /space/store/apache.20.Aug/httpd/include /space/store/apache.20.Aug/httpd/os/unix; do ls $dir/*.h >> $tmp; done; for dir in /space/store/apache.20.Aug/httpd/srclib/apr/include /space/store/apache.20.Aug/httpd/srclib/apr-util/include; do (ls $dir/ap[ru].h $dir/ap[ru]_*.h >> $tmp 2>/dev/null); done; sort -u $tmp > export_files; rm -f $tmp |which make /usr/bin/make
CC myself on FreeBSD related bugs
Undo spam change