Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2018 20:46:50 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt
Message-ID:  <alpine.BSF.2.21.999.1805092043590.28348@mail.fig.ol.no>
In-Reply-To: <20180509173921.GB6887@kib.kiev.ua>
References:  <alpine.BSF.2.21.999.1805091444360.28348@mail.fig.ol.no> <20180509135046.GZ6887@kib.kiev.ua> <alpine.BSF.2.21.999.1805091834170.28348@mail.fig.ol.no> <20180509173921.GB6887@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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_test

This 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.999.1805092043590.28348>