svn commit: r337849 - in head: bin/csh bin/sh etc etc/root [This broke ci.freebsd.org 's FreeBSD-head-*-build 's that have built since then]

Mark Millard marklmi at yahoo.com
Wed Aug 15 18:59:39 UTC 2018


On Wed, Aug 15, 2018, at 9:21 AM, Mark Millard wrote:
>> For example:
>> 
>> https://lists.freebsd.org/pipermail/svn-src-head/2018-August/117572.html
>> (-r337849 based) shows:
>> 
>> install -N /usr/src/etc -l h -o root -g wheel -m 555  /usr/obj/usr/src/
>> sparc64.sparc64/release/dist/base/root/.profile /usr/obj/usr/src/
>> sparc64.sparc64/release/dist/base/.profile
>> install: link /usr/obj/usr/src/sparc64.sparc64/release/dist/base/
>> root/.profile -> /usr/obj/usr/src/sparc64.sparc64/release/dist/
>> base/.profile: No such file or directory
>> *** Error code 71
> 
> Yes, I get the CI emails too :)
> 
> Working on it.

Okay. Sorry for the noise.

I learned something from the attempted fix
and what happened . . .

The fix in -r337857 allowed riscv64 to work but not the others,
the difference being a bin/csh "(installconfig)" for riscv64
but not the others vs. a bin/csh "(distribute)"  in the others
but not riscv64. riscv64 has no "(distribute)" in its log
and the others had no "(installconfig)".

riscv64:

===> bin/csh (installconfig)
installing DIRS ETCDIR
install -U -M /workspace/dest//METALOG -D /workspace/dest -T package=runtime -d -m 0755 -o root  -g wheel  /workspace/dest/etc
install -U -M /workspace/dest//METALOG -D /workspace/dest -T package=runtime,config -C -o root  -g wheel -m 644  /workspace/src/bin/csh/csh.cshrc /workspace/dest/etc/csh.cshrc
install -U -M /workspace/dest//METALOG -D /workspace/dest -T package=runtime,config -C -o root  -g wheel -m 644  /workspace/src/bin/csh/csh.login /workspace/dest/etc/csh.login
install -U -M /workspace/dest//METALOG -D /workspace/dest -T package=runtime,config -C -o root  -g wheel -m 644  /workspace/src/bin/csh/csh.logout /workspace/dest/etc/csh.logout
installing DIRS ROOTDIR
install -U -M /workspace/dest//METALOG -D /workspace/dest -T package=runtime -d -m 0755 -o root  -g wheel  /workspace/dest/root
install -U -M /workspace/dest//METALOG -D /workspace/dest -T package=runtime,config -C -o root  -g wheel -m 644  /workspace/src/bin/csh/dot.cshrc /workspace/dest/root/.cshrc
sed -i "" -e 's;/bin/sh;/bin/csh;' /workspace/dest/etc/master.passwd
pwd_mkdb -i -p -d /workspace/dest/etc /workspace/dest/etc/master.passwd


sparc64 (as an example):

===> bin/csh (distribute)
cd /usr/src/bin/csh;  make -DDB_FROM_SRC __MAKE_CONF=/dev/null SRCCONF=/dev/null install installconfig -DNO_SUBDIR DESTDIR=/usr/obj/usr/src/sparc64.sparc64/release/dist/base SHARED=copies
rm -f /usr/obj/usr/src/sparc64.sparc64/release/dist/base/.cshrc
install -N /usr/src/etc  -s -o root -g wheel -m 555   csh /usr/obj/usr/src/sparc64.sparc64/release/dist/base/bin/csh
. . .
install -N /usr/src/etc  -C -o root  -g wheel -m 644  /usr/src/bin/csh/dot.cshrc /usr/obj/usr/src/sparc64.sparc64/release/dist/base/root/.cshrc
sed -i "" -e 's;/bin/sh;/bin/csh;' /usr/obj/usr/src/sparc64.sparc64/release/dist/base/etc/master.passwd
sed: /usr/obj/usr/src/sparc64.sparc64/release/dist/base/etc/master.passwd: No such file or directory
*** Error code 1

Stop.
make[7]: stopped in /usr/src/bin/csh
*** Error code 1






===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the svn-src-head mailing list