Re: -r321371: -j8 failed for "installworld distrib-dirs distribute DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist"

2017-07-24 Thread Bryan Drewery
On 7/24/2017 11:20 AM, Bryan Drewery wrote:
> On 7/22/2017 9:04 PM, Mark Millard wrote:
>> After buildworld buildkernel installkernel installkernel reboot to
>> upgrade to -r321371 (from -r321109 ) I attempted:
>>
>> ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
>> installworld distrib-dirs distribute 
>> DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist
>>
>> (where clang-amd64-installworld-dist was to be updated
>> from -r321109 ) I got:
>>
>> --- distribute_subdir_lib ---
>> --- distribute ---
>> cd /usr/src/lib/csu/amd64;  make install installconfig -DNO_SUBDIR 
>> DESTDIR=/base SHARED=copies
>> --- distribute_subdir_cddl ---
>> --- _FILESINS ---
>> install  -o root -g wheel  -m 444 drti.o /base/usr/lib/dtrace/
>> install: /base/usr/lib/dtrace/: No such file or directory
>> *** [_FILESINS] Error code 71
>>
>> make[5]: stopped in /usr/src/cddl/lib/drti
>> 1 error
>>
>>
>> Removing the -j8 got past this (but got a later problem that
>> I'll report separately).
> 
> I am not surprised, there is no .ORDER defined for running installworld
> distrib-dirs and distribute all at the same time with -j.  I can make it
> parallel-safe though.
> 

r321434 should address it.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: -r321371: -j8 failed for "installworld distrib-dirs distribute DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist"

2017-07-24 Thread Bryan Drewery
On 7/22/2017 9:04 PM, Mark Millard wrote:
> After buildworld buildkernel installkernel installkernel reboot to
> upgrade to -r321371 (from -r321109 ) I attempted:
> 
> ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
> installworld distrib-dirs distribute 
> DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist
> 
> (where clang-amd64-installworld-dist was to be updated
> from -r321109 ) I got:
> 
> --- distribute_subdir_lib ---
> --- distribute ---
> cd /usr/src/lib/csu/amd64;  make install installconfig -DNO_SUBDIR 
> DESTDIR=/base SHARED=copies
> --- distribute_subdir_cddl ---
> --- _FILESINS ---
> install  -o root -g wheel  -m 444 drti.o /base/usr/lib/dtrace/
> install: /base/usr/lib/dtrace/: No such file or directory
> *** [_FILESINS] Error code 71
> 
> make[5]: stopped in /usr/src/cddl/lib/drti
> 1 error
> 
> 
> Removing the -j8 got past this (but got a later problem that
> I'll report separately).

I am not surprised, there is no .ORDER defined for running installworld
distrib-dirs and distribute all at the same time with -j.  I can make it
parallel-safe though.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: -r321371: -j8 failed for "installworld distrib-dirs distribute DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist"

2017-07-22 Thread Mark Millard

On 2017-Jul-22, at 9:04 PM, Mark Millard  wrote:

> After buildworld buildkernel installkernel installkernel reboot to
> upgrade to -r321371 (from -r321109 ) I attempted:
> 
> ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
> installworld distrib-dirs distribute 
> DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist

Above: I accidentally copied and pasted the later command that did not have -j8 
. So:

~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh -j8 
installworld distrib-dirs distribute 
DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist

here.

> (where clang-amd64-installworld-dist was to be updated
> from -r321109 ) I got:
> 
> --- distribute_subdir_lib ---
> --- distribute ---
> cd /usr/src/lib/csu/amd64;  make install installconfig -DNO_SUBDIR 
> DESTDIR=/base SHARED=copies
> --- distribute_subdir_cddl ---
> --- _FILESINS ---
> install  -o root -g wheel  -m 444 drti.o /base/usr/lib/dtrace/
> install: /base/usr/lib/dtrace/: No such file or directory
> *** [_FILESINS] Error code 71
> 
> make[5]: stopped in /usr/src/cddl/lib/drti
> 1 error
> 
> 
> Removing the -j8 got past this (but got a later problem that
> I'll report separately).
> 
> 
> Build Context:
> 
> # svnlite info /usr/src/ | grep "Re[plv]"
> Relative URL: ^/head
> Repository Root: svn://svn.freebsd.org/base
> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> Revision: 321371
> Last Changed Rev: 321371
> 
> # more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
> kldload -n filemon && \
> script 
> ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date 
> +%Y-%m-%d:%H:%M:%S) \
> env __MAKE_CONF="/root/src.configs/make.conf" SRCCONF="/dev/null" 
> SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang.amd64-host" \
> WITH_META_MODE=yes \
> MAKEOBJDIRPREFIX="/usr/obj/amd64_clang/amd64.amd64" \
> make $*
> 
> # more /root/src.configs/make.conf
> CFLAGS.gcc+= -v
> 
> # more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
> kldload -n filemon && \
> script 
> ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date 
> +%Y-%m-%d:%H:%M:%S) \
> env __MAKE_CONF="/root/src.configs/make.conf" SRCCONF="/dev/null" 
> SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang.amd64-host" \
> WITH_META_MODE=yes \
> MAKEOBJDIRPREFIX="/usr/obj/amd64_clang/amd64.amd64" \
> make $*
> 
> #WITH_META_MODE=yes \
> #
> FreeBSDx64OPC# more /root/src.configs/src.conf.amd64-clang.amd64-host
> TO_TYPE=amd64
> #
> KERNCONF=GENERIC-NODBG
> TARGET=${TO_TYPE}
> .if ${.MAKE.LEVEL} == 0
> TARGET_ARCH=${TO_TYPE}
> .export TARGET_ARCH
> .endif
> #
> #WITH_CROSS_COMPILER=
> WITH_SYSTEM_COMPILER=
> #
> WITH_LIBCPLUSPLUS=
> WITH_BINUTILS_BOOTSTRAP=
> WITH_ELFTOOLCHAIN_BOOTSTRAP=
> #WITH_CLANG_BOOTSTRAP=
> WITH_CLANG=
> WITH_CLANG_IS_CC=
> WITH_CLANG_FULL=
> WITH_CLANG_EXTRAS=
> WITH_LLD=
> WITHOUT_LLD_IS_LD=
> WITH_LLVM_LIBUNWIND=
> WITH_LLDB=
> #PORTS_MODULES=emulators/virtualbox-ose-additions
> #
> WITH_BOOT=
> WITH_LIB32=
> #
> WITHOUT_GCC_BOOTSTRAP=
> WITHOUT_GCC=
> WITHOUT_GCC_IS_CC=
> WITHOUT_GNUCXX=
> #
> NO_WERROR=
> #WERROR=
> MALLOC_PRODUCTION=
> #
> WITH_REPRODUCIBLE_BUILD=


===
Mark Millard
markmi at dsl-only.net


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


-r321371: -j8 failed for "installworld distrib-dirs distribute DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist"

2017-07-22 Thread Mark Millard
After buildworld buildkernel installkernel installkernel reboot to
upgrade to -r321371 (from -r321109 ) I attempted:

~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
installworld distrib-dirs distribute 
DESTDIR=/usr/obj/DESTDIRs/clang-amd64-installworld-dist

(where clang-amd64-installworld-dist was to be updated
from -r321109 ) I got:

--- distribute_subdir_lib ---
--- distribute ---
cd /usr/src/lib/csu/amd64;  make install installconfig -DNO_SUBDIR 
DESTDIR=/base SHARED=copies
--- distribute_subdir_cddl ---
--- _FILESINS ---
install  -o root -g wheel  -m 444 drti.o /base/usr/lib/dtrace/
install: /base/usr/lib/dtrace/: No such file or directory
*** [_FILESINS] Error code 71

make[5]: stopped in /usr/src/cddl/lib/drti
1 error


Removing the -j8 got past this (but got a later problem that
I'll report separately).


Build Context:

# svnlite info /usr/src/ | grep "Re[plv]"
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 321371
Last Changed Rev: 321371

# more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
kldload -n filemon && \
script ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date 
+%Y-%m-%d:%H:%M:%S) \
env __MAKE_CONF="/root/src.configs/make.conf" SRCCONF="/dev/null" 
SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang.amd64-host" \
WITH_META_MODE=yes \
MAKEOBJDIRPREFIX="/usr/obj/amd64_clang/amd64.amd64" \
make $*

# more /root/src.configs/make.conf
CFLAGS.gcc+= -v

# more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh 
kldload -n filemon && \
script ~/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date 
+%Y-%m-%d:%H:%M:%S) \
env __MAKE_CONF="/root/src.configs/make.conf" SRCCONF="/dev/null" 
SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang.amd64-host" \
WITH_META_MODE=yes \
MAKEOBJDIRPREFIX="/usr/obj/amd64_clang/amd64.amd64" \
make $*

#WITH_META_MODE=yes \
#
FreeBSDx64OPC# more /root/src.configs/src.conf.amd64-clang.amd64-host
TO_TYPE=amd64
#
KERNCONF=GENERIC-NODBG
TARGET=${TO_TYPE}
.if ${.MAKE.LEVEL} == 0
TARGET_ARCH=${TO_TYPE}
.export TARGET_ARCH
.endif
#
#WITH_CROSS_COMPILER=
WITH_SYSTEM_COMPILER=
#
WITH_LIBCPLUSPLUS=
WITH_BINUTILS_BOOTSTRAP=
WITH_ELFTOOLCHAIN_BOOTSTRAP=
#WITH_CLANG_BOOTSTRAP=
WITH_CLANG=
WITH_CLANG_IS_CC=
WITH_CLANG_FULL=
WITH_CLANG_EXTRAS=
WITH_LLD=
WITHOUT_LLD_IS_LD=
WITH_LLVM_LIBUNWIND=
WITH_LLDB=
#PORTS_MODULES=emulators/virtualbox-ose-additions
#
WITH_BOOT=
WITH_LIB32=
#
WITHOUT_GCC_BOOTSTRAP=
WITHOUT_GCC=
WITHOUT_GCC_IS_CC=
WITHOUT_GNUCXX=
#
NO_WERROR=
#WERROR=
MALLOC_PRODUCTION=
#
WITH_REPRODUCIBLE_BUILD=


===
Mark Millard
markmi at dsl-only.net

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"