Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Trond Endrestøl
On Wed, 9 May 2018 22:52+0300, Konstantin Belousov wrote:

> On Wed, May 09, 2018 at 09:19:12PM +0200, Trond Endrestøl wrote:
> > On Wed, 9 May 2018 20:46+0200, Trond Endrestøl wrote:
> > 
> > In 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
> 
> This error probably means that you did not correctly rebuild the world
> before attempting the installation.

Thanks. I'll arrange for the builder to rebuild everything when 
running the scheduled build tomorrow morning.

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


Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Konstantin Belousov
On Wed, May 09, 2018 at 09:19:12PM +0200, Trond Endrest?l wrote:
> 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 error
> 
> In 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
This error probably means that you did not correctly rebuild the world
before attempting the installation.

> *** Error code 2
> 
> Stop.
> make[6]: stopped in /usr/src/tests/sys/kern
> 
> -- 
> Trond.
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Trond Endrestøl
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 error

In 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.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Trond Endrestøl
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.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Trond Endrestøl
On Wed, 9 May 2018 20:39+0300, Konstantin Belousov wrote:

> On Wed, May 09, 2018 at 06:44:09PM +0200, Trond Endrest?l wrote:
> > On Wed, 9 May 2018 16:50+0300, Konstantin Belousov wrote:
> > 
> > > On Wed, May 09, 2018 at 02:49:34PM +0200, Trond Endrest?l wrote:
> > > > I noticed two new entries in / after running make installworld today 
> > > > using amd64 stable/11 r90:
> > > > 
> > > > # LANG=en_US.UTF-8 ls -lT /pdeathsig_helper 
> > > > /.debug/pdeathsig_helper.debug
> > > > -r--r--r--  1 root  wheel  7528 May  9 12:06:58 2018 
> > > > /.debug/pdeathsig_helper.debug
> > > > -r-xr-xr-x  1 root  wheel  8576 May  9 12:06:58 2018 /pdeathsig_helper
> > > > 
> > > > I'm sure these belong in /usr/tests/sys/kern. This must have happened 
> > > > in r333162 or shortly after.
> > > > 
> > > > See PR 228018, of which I hijacked.
> > > 
> > > Can you try this ?
> > > 
> > > 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=  ${TESTDIR}
> There is a type, 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

I should've guessed that when I looked at the siblings.
Anyway, the builder is nearly finished and the patch is in place.
We'll soon find out.

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


Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Konstantin Belousov
On Wed, May 09, 2018 at 06:44:09PM +0200, Trond Endrest?l wrote:
> On Wed, 9 May 2018 16:50+0300, Konstantin Belousov wrote:
> 
> > On Wed, May 09, 2018 at 02:49:34PM +0200, Trond Endrest?l wrote:
> > > I noticed two new entries in / after running make installworld today 
> > > using amd64 stable/11 r90:
> > > 
> > > # LANG=en_US.UTF-8 ls -lT /pdeathsig_helper /.debug/pdeathsig_helper.debug
> > > -r--r--r--  1 root  wheel  7528 May  9 12:06:58 2018 
> > > /.debug/pdeathsig_helper.debug
> > > -r-xr-xr-x  1 root  wheel  8576 May  9 12:06:58 2018 /pdeathsig_helper
> > > 
> > > I'm sure these belong in /usr/tests/sys/kern. This must have happened 
> > > in r333162 or shortly after.
> > > 
> > > See PR 228018, of which I hijacked.
> > 
> > Can you try this ?
> > 
> > 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=${TESTDIR}
There is a type, 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
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Trond Endrestøl
On Wed, 9 May 2018 18:44+0200, Trond Endrestøl wrote:

> On Wed, 9 May 2018 16:50+0300, Konstantin Belousov wrote:
> 
> > On Wed, May 09, 2018 at 02:49:34PM +0200, Trond Endrest?l wrote:
> > > I noticed two new entries in / after running make installworld today 
> > > using amd64 stable/11 r90:
> > > 
> > > # LANG=en_US.UTF-8 ls -lT /pdeathsig_helper /.debug/pdeathsig_helper.debug
> > > -r--r--r--  1 root  wheel  7528 May  9 12:06:58 2018 
> > > /.debug/pdeathsig_helper.debug
> > > -r-xr-xr-x  1 root  wheel  8576 May  9 12:06:58 2018 /pdeathsig_helper
> > > 
> > > I'm sure these belong in /usr/tests/sys/kern. This must have happened 
> > > in r333162 or shortly after.
> > > 
> > > See PR 228018, of which I hijacked.
> > 
> > Can you try this ?
> > 
> > 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=${TESTDIR}
> >  
> >  ATF_TESTS_C+=  kern_copyin
> >  ATF_TESTS_C+=  kern_descrip_test
> 
> I was not so lucky:
> 
> ===> tests/sys/geom/class/uzip (install)
> --- realinstall_subdir_tests/sys/kern ---
> --- _proginstall ---
> install  -s -o root -g wheel -m 555   pdeathsig_helper /mnt/pdeathsig_helper
> install  -d /mnt/.debug/
> install  -o root -g wheel -m 444  pdeathsig_helper.debug 
> /mnt/.debug/pdeathsig_helper.debug
> --- kern_copyin.install ---
> (cd /usr/src/tests/sys/kern &&  DEPENDFILE=.depend.kern_copyin  NO_SUBDIR=1 
> make -f /usr/src/tests/sys/kern/Makefile _RECURSING_PROGS=t  PROG=kern_copyin 
>  install)
> --- realinstall_subdir_tests/sys/geom ---
> --- _etalonINS ---
> 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/
> --- _SCRIPTSINS_1_test ---
> install  -o root  -g wheel -m 555  1_test  
> /mnt/usr/tests/sys/geom/class/uzip/1_test
> --- _testsFILESINS_Kyuafile ---
> install  -o root  -g wheel -m 444  Kyuafile  
> /mnt/usr/tests/sys/geom/class/uzip/Kyuafile
> --- _testsFILESINS ---
> 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/
> --- _testsFILESINS ---
> install  -o root -g wheel  -m 444 /usr/src/tests/sys/geom/class/geom_subr.sh 
> /mnt/usr/tests/sys/geom/class/
> --- realinstall_subdir_tests/sys/kern ---
> --- _proginstall ---
> --- realinstall_subdir_tests/sys/geom ---
> --- _testsFILESINS_Kyuafile ---
> --- realinstall_subdir_tests/sys/kern ---
> install  -s -o root -g wheel -m 555   kern_copyin /mnt 
> /usr/tests/sys/kern/kern_copyin
> --- realinstall_subdir_tests/sys/geom ---
> install  -o root  -g wheel -m 444  Kyuafile  
> /mnt/usr/tests/sys/geom/class/Kyuafile
> --- realinstall_subdir_tests/sys/kern ---
> install: target `/usr/tests/sys/kern/kern_copyin' is not a directory
> usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
>[-M log] [-D dest] [-h hash] [-T tags]
>[-B suffix] [-l linkflags] [-N dbdir]
>file1 file2
>install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
>[-M log] [-D dest] [-h hash] [-T tags]
>[-B suffix] [-l linkflags] [-N dbdir]
>file1 ... fileN directory
>install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
>[-M log] [-D dest] [-h hash] [-T tags]
>directory ...
> *** [_proginstall] Error code 64
> 
> make[7]: stopped in /usr/src/tests/sys/kern
> 1 error

If I revert the changes to tests/sys/kern/Makefile, and try 
installworld installkernel again, I get:

--- maninstall ---
install  -o root -g wheel -m 444 mailstats.8.gz  
/mnt/usr/share/man/man8/
--- realinstall_subdir_tests ---
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

Both /usr/src and /usr/obj are read-only NFSv3 exports.

I should probably wipe the object tree before proceeding.

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


Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Trond Endrestøl
On Wed, 9 May 2018 16:50+0300, Konstantin Belousov wrote:

> On Wed, May 09, 2018 at 02:49:34PM +0200, Trond Endrest?l wrote:
> > I noticed two new entries in / after running make installworld today 
> > using amd64 stable/11 r90:
> > 
> > # LANG=en_US.UTF-8 ls -lT /pdeathsig_helper /.debug/pdeathsig_helper.debug
> > -r--r--r--  1 root  wheel  7528 May  9 12:06:58 2018 
> > /.debug/pdeathsig_helper.debug
> > -r-xr-xr-x  1 root  wheel  8576 May  9 12:06:58 2018 /pdeathsig_helper
> > 
> > I'm sure these belong in /usr/tests/sys/kern. This must have happened 
> > in r333162 or shortly after.
> > 
> > See PR 228018, of which I hijacked.
> 
> Can you try this ?
> 
> 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=  ${TESTDIR}
>  
>  ATF_TESTS_C+=kern_copyin
>  ATF_TESTS_C+=kern_descrip_test

I was not so lucky:

===> tests/sys/geom/class/uzip (install)
--- realinstall_subdir_tests/sys/kern ---
--- _proginstall ---
install  -s -o root -g wheel -m 555   pdeathsig_helper /mnt/pdeathsig_helper
install  -d /mnt/.debug/
install  -o root -g wheel -m 444  pdeathsig_helper.debug 
/mnt/.debug/pdeathsig_helper.debug
--- kern_copyin.install ---
(cd /usr/src/tests/sys/kern &&  DEPENDFILE=.depend.kern_copyin  NO_SUBDIR=1 
make -f /usr/src/tests/sys/kern/Makefile _RECURSING_PROGS=t  PROG=kern_copyin  
install)
--- realinstall_subdir_tests/sys/geom ---
--- _etalonINS ---
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/
--- _SCRIPTSINS_1_test ---
install  -o root  -g wheel -m 555  1_test  
/mnt/usr/tests/sys/geom/class/uzip/1_test
--- _testsFILESINS_Kyuafile ---
install  -o root  -g wheel -m 444  Kyuafile  
/mnt/usr/tests/sys/geom/class/uzip/Kyuafile
--- _testsFILESINS ---
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/
--- _testsFILESINS ---
install  -o root -g wheel  -m 444 /usr/src/tests/sys/geom/class/geom_subr.sh 
/mnt/usr/tests/sys/geom/class/
--- realinstall_subdir_tests/sys/kern ---
--- _proginstall ---
--- realinstall_subdir_tests/sys/geom ---
--- _testsFILESINS_Kyuafile ---
--- realinstall_subdir_tests/sys/kern ---
install  -s -o root -g wheel -m 555   kern_copyin /mnt 
/usr/tests/sys/kern/kern_copyin
--- realinstall_subdir_tests/sys/geom ---
install  -o root  -g wheel -m 444  Kyuafile  
/mnt/usr/tests/sys/geom/class/Kyuafile
--- realinstall_subdir_tests/sys/kern ---
install: target `/usr/tests/sys/kern/kern_copyin' is not a directory
usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
   [-M log] [-D dest] [-h hash] [-T tags]
   [-B suffix] [-l linkflags] [-N dbdir]
   file1 file2
   install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
   [-M log] [-D dest] [-h hash] [-T tags]
   [-B suffix] [-l linkflags] [-N dbdir]
   file1 ... fileN directory
   install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
   [-M log] [-D dest] [-h hash] [-T tags]
   directory ...
*** [_proginstall] Error code 64

make[7]: stopped in /usr/src/tests/sys/kern
1 error


To be transparent, my builder has these lines in make.conf and 
src.conf.

make.conf:

KERNCONF=PE1950 DL360G5 GENERIC PER200 PER320 XENGUEST ZFS

.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
.if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc)
CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1}
CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1}
.endif
.endif

WITH_CCACHE_BUILD=yes

## DTrace for both base and ports. See 
https://wiki.freebsd.org/DTrace/KernelSupport.
STRIP=
CFLAGS+=-fno-omit-frame-pointer
WITH_CTF=1

WITH_BDB6_PERMITTED=yes
WITH_SSP_PORTS=yes
WRKDIRPREFIX=/usr/ports/workdirs

TEX_DEFAULT=texlive

DEFAULT_VERSIONS+=apache=2.4
DEFAULT_VERSIONS+=bdb=6
DEFAULT_VERSIONS+=emacs=nox
DEFAULT_VERSIONS+=firebird=2.5
DEFAULT_VERSIONS+=fpc=3.0.4
DEFAULT_VERSIONS+=gcc=6
DEFAULT_VERSIONS+=ghostscript=agpl
DEFAULT_VERSIONS+=linux=c6_64
DEFAULT_VERSIONS+=lua=5.2
DEFAULT_VERSIONS+=mysql=5.7
DEFAULT_VERSIONS+=perl5=5.26
DEFAULT_VERSIONS+=pgsql=9.6
DEFAULT_VERSIONS+=php=7.1
DEFAULT_VERSIONS+=python=2.7
DEFAULT_VERSIONS+=python2=2.7
DEFAULT_VERSIONS+=python3=3.6
DEFAULT_VERSIONS+=ruby=2.3
DEFAULT_VERSIONS+=samba=4.6
DEFAULT_VERSIONS+=ssl=base
DEFAULT_VERSIONS+=tcltk=8.6
DEFAULT_VERSIONS+=varnish=5

# EOF

src.conf:

WITH_CLANG_EXTRAS=yes
WITH_CLANG_FULL=yes
WITH_CTF=yes
WITH_DEBUG_FILES=yes
WITH_LIBCPLUSPLUS=yes
WITH_LLDB=yes

# EOF

On the "victim", the same files look like:

make.conf:

KERNCONF=PER200

WRKDIRPREFIX=/usr/ports/workdirs

WITH_BDB6_

Re: pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Konstantin Belousov
On Wed, May 09, 2018 at 02:49:34PM +0200, Trond Endrest?l wrote:
> I noticed two new entries in / after running make installworld today 
> using amd64 stable/11 r90:
> 
> # LANG=en_US.UTF-8 ls -lT /pdeathsig_helper /.debug/pdeathsig_helper.debug
> -r--r--r--  1 root  wheel  7528 May  9 12:06:58 2018 
> /.debug/pdeathsig_helper.debug
> -r-xr-xr-x  1 root  wheel  8576 May  9 12:06:58 2018 /pdeathsig_helper
> 
> I'm sure these belong in /usr/tests/sys/kern. This must have happened 
> in r333162 or shortly after.
> 
> See PR 228018, of which I hijacked.

Can you try this ?

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=${TESTDIR}
 
 ATF_TESTS_C+=  kern_copyin
 ATF_TESTS_C+=  kern_descrip_test
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


pdeathsig_helper and .debug/pdeathsig_helper.debug placed in /mnt when DESTDIR=/mnt

2018-05-09 Thread Trond Endrestøl
I noticed two new entries in / after running make installworld today 
using amd64 stable/11 r90:

# LANG=en_US.UTF-8 ls -lT /pdeathsig_helper /.debug/pdeathsig_helper.debug
-r--r--r--  1 root  wheel  7528 May  9 12:06:58 2018 
/.debug/pdeathsig_helper.debug
-r-xr-xr-x  1 root  wheel  8576 May  9 12:06:58 2018 /pdeathsig_helper

I'm sure these belong in /usr/tests/sys/kern. This must have happened 
in r333162 or shortly after.

See PR 228018, of which I hijacked.

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