Trond Endrestøl
2018-May-09 18:46 UTC
pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt
On Wed, 9 May 2018 20:39+0300, Konstantin Belousov wrote:> There is a typo, it should be TESTSDIR. > > Index: tests/sys/kern/Makefile > ==================================================================> --- tests/sys/kern/Makefile (revision 333400) > +++ tests/sys/kern/Makefile (working copy) > @@ -4,6 +4,7 @@ > .PATH: ${SRCTOP}/sys/kern > > TESTSDIR= ${TESTSBASE}/sys/kern > +BINDIR= ${TESTSDIR} > > ATF_TESTS_C+= kern_copyin > ATF_TESTS_C+= kern_descrip_testThis looks more promising: --- realinstall_subdir_tests --- --- pdeathsig_helper.install --- (cd /usr/src/tests/sys/kern && DEPENDFILE=.depend.pdeathsig_helper NO_SUBDIR=1 make -f /usr/src/tests/sys/kern/Makefile _RECURSING_PROGS=t PROG=pdeathsig_helper install) --- realinstall_subdir_usr.sbin --- install -o root -g wheel -m 444 unbound.conf.5.gz /mnt/usr/share/man/man5/ --- realinstall_subdir_usr.sbin/unbound/anchor --- ===> usr.sbin/unbound/anchor (install) --- realinstall_subdir_tests --- --- _proginstall --- install -s -o root -g wheel -m 555 pdeathsig_helper /mnt/usr/tests/sys/kern/pdeathsig_helper --- realinstall_subdir_usr.sbin --- --- _proginstall --- install -s -o root -g wheel -m 555 unbound-anchor /mnt/usr/sbin/unbound-anchor --- realinstall_subdir_tests --- install -o root -g wheel -m 444 pdeathsig_helper.debug /mnt/usr/lib/debug/usr/tests/sys/kern/pdeathsig_helper.debug --- realinstall_subdir_usr.sbin --- install -o root -g wheel -m 444 unbound-anchor.debug /mnt/usr/lib/debug/usr/sbin/unbound-anchor.debug But this one's persistent: --- realinstall_subdir_tests --- --- subr_unit_test.install --- (cd /usr/src/tests/sys/kern && DEPENDFILE=.depend.subr_unit_test NO_SUBDIR=1 make -f /usr/src/tests/sys/kern/Makefile _RECURSING_PROGS=t PROG=subr_unit_test install) --- realinstall_subdir_usr.sbin --- install -o root -g wheel -m 444 ancontrol.debug /mnt/usr/lib/debug/usr/sbin/ancontrol.debug --- maninstall --- install -o root -g wheel -m 444 ancontrol.8.gz /mnt/usr/share/man/man8/ --- realinstall_subdir_usr.sbin/wlandebug --- ===> usr.sbin/wlandebug (install) --- realinstall_subdir_tests --- --- _proginstall --- install -s -o root -g wheel -m 555 subr_unit_test /mnt/usr/tests/sys/kern/subr_unit_test install -o root -g wheel -m 444 subr_unit_test.debug /mnt/usr/lib/debug/usr/tests/sys/kern/subr_unit_test.debug --- realinstall_subdir_usr.sbin --- --- _proginstall --- install -s -o root -g wheel -m 555 wlandebug /mnt/usr/sbin/wlandebug --- realinstall_subdir_tests --- --- Kyuafile --- sh: cannot create Kyuafile.tmp: Read-only file system sh: cannot create Kyuafile.tmp: Read-only file system *** [Kyuafile] Error code 2 make[6]: stopped in /usr/src/tests/sys/kern 1 error -- Trond.
Trond Endrestøl
2018-May-09 19:19 UTC
pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt
On Wed, 9 May 2018 20:46+0200, Trond Endrest?l wrote:> But this one's persistent: > > --- realinstall_subdir_tests --- > --- subr_unit_test.install --- > (cd /usr/src/tests/sys/kern && DEPENDFILE=.depend.subr_unit_test NO_SUBDIR=1 make -f /usr/src/tests/sys/kern/Makefile _RECURSING_PROGS=t PROG=subr_unit_test install) > --- realinstall_subdir_usr.sbin --- > install -o root -g wheel -m 444 ancontrol.debug /mnt/usr/lib/debug/usr/sbin/ancontrol.debug > --- maninstall --- > install -o root -g wheel -m 444 ancontrol.8.gz /mnt/usr/share/man/man8/ > --- realinstall_subdir_usr.sbin/wlandebug --- > ===> usr.sbin/wlandebug (install) > --- realinstall_subdir_tests --- > --- _proginstall --- > install -s -o root -g wheel -m 555 subr_unit_test /mnt/usr/tests/sys/kern/subr_unit_test > install -o root -g wheel -m 444 subr_unit_test.debug /mnt/usr/lib/debug/usr/tests/sys/kern/subr_unit_test.debug > --- realinstall_subdir_usr.sbin --- > --- _proginstall --- > install -s -o root -g wheel -m 555 wlandebug /mnt/usr/sbin/wlandebug > --- realinstall_subdir_tests --- > --- Kyuafile --- > sh: cannot create Kyuafile.tmp: Read-only file system > sh: cannot create Kyuafile.tmp: Read-only file system > *** [Kyuafile] Error code 2 > > make[6]: stopped in /usr/src/tests/sys/kern > 1 errorIn case it helps, here's the result from a single-job run: ===> tests/sys/geom/class/uzip (install) install -o root -g wheel -m 555 1_test /mnt/usr/tests/sys/geom/class/uzip/1_test install -o root -g wheel -m 444 /usr/src/tests/sys/geom/class/uzip/etalon/etalon.txt /mnt/usr/tests/sys/geom/class/uzip/etalon/ install -o root -g wheel -m 444 Kyuafile /mnt/usr/tests/sys/geom/class/uzip/Kyuafile install -o root -g wheel -m 444 /usr/src/tests/sys/geom/class/uzip/conf.sh 1.img.uzip.uue /mnt/usr/tests/sys/geom/class/uzip/ ===> tests/sys/kern (install) /tmp/install.84PWkNVS/sh: cannot create Kyuafile.tmp: Read-only file system *** Error code 2 Stop. make[6]: stopped in /usr/src/tests/sys/kern -- Trond.