[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
busybox triggers a possible bug in make-3.81rc1 and 3.81beta4
From: |
Bernhard Fischer |
Subject: |
busybox triggers a possible bug in make-3.81rc1 and 3.81beta4 |
Date: |
Thu, 9 Mar 2006 13:03:39 +0100 |
User-agent: |
Mutt/1.5.11+cvs20060126 |
Hi,
busybox is triggering a bug in make-3.81rc1. This bug is at least also
existing in make-3.81beta4 (from debian).
current busybox-svn does provoke this with make-3.81beta4, 3.81rc1 and
cvs-HEAD:
make: *** No rule to make target
`/scratch/src/busybox/e2fsprogs/blkid/blkid/blkid_getsize.c', needed by
`/scratch/obj/bb4/e2fsprogs/blkid/blkid_getsize.o'. Stop.
Attached is a small testcase which works as expected with make-3.80:
/tmp/m/obj$ make --version
GNU Make 3.80
/tmp/m/obj$ make -f ../src/Makefile
mkdir -p /tmp/m/obj/dir
cc -c -o /tmp/m/obj/dir/a.o /tmp/m/src/dir/a.c
cc -c -o /tmp/m/obj/dir/b.o /tmp/m/src/dir/b.c
ar cru /tmp/m/obj/my.a /tmp/m/obj/dir/a.o /tmp/m/obj/dir/b.o
but fails with e.g. make from cvs:
/tmp/m/obj$ rm -rf *.a dir
/tmp/m/obj$ make --version
GNU Make 3.81rc1
/tmp/m/obj$ make -f ../src/Makefile
make: *** No rule to make target `/tmp/m/src/dir/dir/a.c', needed by
`/tmp/m/obj/dir/a.o'. Stop.
Is this a real bug or a user error?
PS: references to the same bug
http://busybox.net/lists/busybox/2006-March/018910.html
http://lists.gnu.org/archive/html/bug-make/2006-03/msg00018.html
make-3.81rc1_possible_bug.tar
Description: Unix tar archive
- busybox triggers a possible bug in make-3.81rc1 and 3.81beta4,
Bernhard Fischer <=