[Bug 211564] distributeworld (and other distribuction functions) failing for custom DESTDIR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 2 08:09:17 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211564

--- Comment #4 from Vinícius Zavam <egypcio at googlemail.com> ---
I would like to report it as working!

A "FreeBSD-12.0-CURRENT-amd64-20170420-r317181" jail was used to test it again;

root at host:~ # fetch
ftp://ftp.geo.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/12.0-CURRENT/base.txz
root at host:~ # fetch
ftp://ftp.geo.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/12.0-CURRENT/lib32.txz
root at host:~ # fetch
ftp://ftp.geo.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/12.0-CURRENT/src.txz
root at host:~ # mkdir -p /builder/mandanudes
root at host:~ # tar --unlink -xJpf base.txz -C /builder/mandanudes
root at host:~ # tar --unlink -xJpf lib32.txz -C /builder/mandanudes
root at host:~ # tar --unlink -xJpf src.txz -C /builder/mandanudes
root at host:~ # mount -t devfs devfs /builder/mandanudes/dev
root at host:~ # jail -cmr exec.clean allow.chflags=1 path=/builder/mandanudes
host.hostname=mandanudes.hue.com.br command=/bin/sh

# make -s -C /usr/src -j16 buildworld
# make -s -C /usr/src -j16 buildkernel
# mkdir /mydist
# make -s -C /usr/src -j16 distributeworld DISTDIR=/mydist
# make -s -C /usr/src -j16 distributekernel DISTDIR=/mydist
# make -s -C /usr/src -j16 packageworld DISTDIR=/mydist
# make -s -C /usr/src -j16 packagekernel DISTDIR=/mydist

# ls -1 /builder/mandanudes/mydist
base
base-dbg.txz
base.txz
doc
doc.txz
kernel
kernel-dbg.txz
kernel.txz
lib32
lib32-dbg.txz
lib32.txz
tests
tests.txz

NOTE: The targets can't be lined up; they must be executed separated (as
above).

# mkdir /mydist
# make -s -C /usr/src buildworld buildkernel distributeworld distributekernel
packageworld packagekernel DISTDIR=/mydist

make[1]: "/usr/src/Makefile.inc1" line 160: SYSTEM_COMPILER: Determined that
CC=cc matches the source tree.  Not bootstrapping a cross-compiler.
cd: //mydist/base: No such file or directory
--- packageworld ---
*** [packageworld] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
--- packageworld ---
*** [packageworld] Error code 2

make: stopped in /usr/src
A failure has been detected in another branch of the parallel make

make[1]: stopped in /usr/src
--- buildworld ---
*** [buildworld] Error code 2

make: stopped in /usr/src
A failure has been detected in another branch of the parallel make

make[1]: stopped in /usr/src
--- distributekernel ---
*** [distributekernel] Error code 2

make: stopped in /usr/src
A failure has been detected in another branch of the parallel make

make[1]: stopped in /usr/src
--- packagekernel ---
*** [packagekernel] Error code 2

make: stopped in /usr/src
4 errors

make: stopped in /usr/src

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list