| Summary: | Build of jail fails | ||
|---|---|---|---|
| Product: | Base System | Reporter: | SystemOperator <sysop> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 5.3-BETA7 | ||
| Hardware: | Any | ||
| OS: | Any | ||
On Mon, Oct 04, 2004 at 11:23:14AM -0400, SystemOperator wrote: > As documented in the jail(8) manpage the following fails: > > D=/data/master > cd /usr/src > mkdir -p $D > make world DESTDIR=$D <-- Fails here with > > ...SNIP... > > mkdep -f .depend -a -I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c > echo strfile: /data/master/usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend > cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c > make: don't know how to make /data/master/usr/lib/libc.a. Stop > *** Error code 2 > > Stop in /usr/src. > *** Error code 1 > The fix is available in HEAD for more than a month now, as src/Makefile.inc1,v 1.442. re@ haven't decided yet if they want it in RELENG_5 at this point or not. The workaround is to first "make buildworld" without DESTDIR, then do a "make installworld DESTDIR=$D". Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer State Changed From-To: open->suspended Mark suspended since this is awaiting an MFC decision. State Changed From-To: suspended->closed The bugfix was MFCed to RELENG_5. |
As documented in the jail(8) manpage there is an apparent inability to build world with an alternate "DESTDIR" Did make clean in /usr/src, no difference in behavior. Fix: Unknown at this time. How-To-Repeat: As documented in the jail(8) manpage the following fails: D=/data/master cd /usr/src mkdir -p $D make world DESTDIR=$D <-- Fails here with ...SNIP... mkdep -f .depend -a -I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c echo strfile: /data/master/usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c make: don't know how to make /data/master/usr/lib/libc.a. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src.