Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make: don't know how to make builtin-test. Stop
On Wed, Jun 15, 2011 at 09:19:58PM +0200, Thomas Klausner wrote:
> I've just upgraded to 5.99.53 and wanted to rebuild my packages;
> however, I get lots of errors I hadn't seen before:
> make: don't know how to make builtin-test. Stop
>
> They occur e.g. when doing 'make' in x11-links, so I guess something
> changed in X.
>
> I looked a bit at recent commits but saw nothing obvious. Does anyone
> have any ideas?
Ok, I found the source of the problem.
Some tests use imake; they create a new subdir in /tmp/imake.$$ and a
simple Imakefile like:
#if BuildFreetype2Library
builtin-test:
@echo yes
#else
builtin-test:
@echo no
#endif
When I manually cd into that directory and run the command from
mk/buildlink3/imake-check, it has random failures.
The first part of the command is:
# imake -DUseInstalled -I/usr/X11R7/lib/X11/config -s -
When I run this multiple times in a row, most of the time it produces
a long makefile as output, but sometimes it just prints nothing. At
all.
So for example:
# imake -DUseInstalled -I/usr/X11R7/lib/X11/config -s - | make -f -
builtin-test
make: don't know how to make builtin-test. Stop
make: stopped in /tmp/imake-check.28859
# imake -DUseInstalled -I/usr/X11R7/lib/X11/config -s - | make -f -
builtin-test
yes
The same command twice in a row.
That's on 5.99.53 from today with /tmp a tmpfs (in a sandbox that's
selectively nullmounted from '/').
Thomas
Home |
Main Index |
Thread Index |
Old Index