Re: NanoBSD install phase failing for releng/11

2016-08-26 Thread Bryan Drewery
On 8/24/2016 10:46 AM, Bryan Drewery wrote:
> On 8/24/16 7:55 AM, Bryan Drewery wrote:
>> On 8/22/2016 4:08 AM, Guido Falsi wrote:
>>> Hi,
>>>
>>> While building a NanoBSD image using releng/11 sources I got this error
>>> message:
>>>
>>> ===> lib/libc++ (install)
>>> install  -C -o root -g wheel -m 444   libc++.a
>>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>>> install  -s -o root -g wheel -m 444 libc++.so.1
>>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>>> install  -S -C -o root -g wheel -m 444   libc++.ld
>>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libc++.so
>>> ===> lib/libcxxrt (install)
>>> install  -C -o root -g wheel -m 444   libcxxrt.a
>>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>>> install  -s -o root -g wheel -m 444 libcxxrt.so.1
>>> /usr/local/nanobsd/rr-trunk/obj/_.w/lib/
>>> install -l rs  /usr/local/nanobsd/rr-trunk/obj/_.w/lib/libcxxrt.so.1
>>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libcxxrt.so
>>> install: symlink ../../lib/libcxxrt.so.1 ->
>>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib: File exists
>>> *** Error code 71
>>>
>>> Stop.
>>>
>>> I'm not sure what's happening, I already tried reverting locally
>>> r301880, thinking it could be related, but this changed nothing.
>>>
>>> Anyone has some insight? It was working fine up to August 4th.
>>>
>>> Thanks in advance to anyone giving me some hint!
>>>
>>
>> Is this still reproducible for anyone?  I have theories but need it in
>> its broken state to debug it further.
>>
> 
> I've created a trivial reproducibility on it and am working on a fix.
> So far it appears to be purely an issue in head with dirname(3) compat.
> 

This is fixed in head r304860 by ed@. It requires updating the host.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: NanoBSD install phase failing for releng/11

2016-08-24 Thread Bryan Drewery
On 8/24/16 7:55 AM, Bryan Drewery wrote:
> On 8/22/2016 4:08 AM, Guido Falsi wrote:
>> Hi,
>>
>> While building a NanoBSD image using releng/11 sources I got this error
>> message:
>>
>> ===> lib/libc++ (install)
>> install  -C -o root -g wheel -m 444   libc++.a
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -s -o root -g wheel -m 444 libc++.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -S -C -o root -g wheel -m 444   libc++.ld
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libc++.so
>> ===> lib/libcxxrt (install)
>> install  -C -o root -g wheel -m 444   libcxxrt.a
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -s -o root -g wheel -m 444 libcxxrt.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/lib/
>> install -l rs  /usr/local/nanobsd/rr-trunk/obj/_.w/lib/libcxxrt.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libcxxrt.so
>> install: symlink ../../lib/libcxxrt.so.1 ->
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib: File exists
>> *** Error code 71
>>
>> Stop.
>>
>> I'm not sure what's happening, I already tried reverting locally
>> r301880, thinking it could be related, but this changed nothing.
>>
>> Anyone has some insight? It was working fine up to August 4th.
>>
>> Thanks in advance to anyone giving me some hint!
>>
> 
> Is this still reproducible for anyone?  I have theories but need it in
> its broken state to debug it further.
> 

I've created a trivial reproducibility on it and am working on a fix.
So far it appears to be purely an issue in head with dirname(3) compat.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: NanoBSD install phase failing for releng/11

2016-08-24 Thread Guido Falsi
On 08/24/16 16:55, Bryan Drewery wrote:
> On 8/22/2016 4:08 AM, Guido Falsi wrote:
>> Hi,
>>
>> While building a NanoBSD image using releng/11 sources I got this error
>> message:
>>
>> ===> lib/libc++ (install)
>> install  -C -o root -g wheel -m 444   libc++.a
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -s -o root -g wheel -m 444 libc++.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -S -C -o root -g wheel -m 444   libc++.ld
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libc++.so
>> ===> lib/libcxxrt (install)
>> install  -C -o root -g wheel -m 444   libcxxrt.a
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -s -o root -g wheel -m 444 libcxxrt.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/lib/
>> install -l rs  /usr/local/nanobsd/rr-trunk/obj/_.w/lib/libcxxrt.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libcxxrt.so
>> install: symlink ../../lib/libcxxrt.so.1 ->
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib: File exists
>> *** Error code 71
>>
>> Stop.
>>
>> I'm not sure what's happening, I already tried reverting locally
>> r301880, thinking it could be related, but this changed nothing.
>>
>> Anyone has some insight? It was working fine up to August 4th.
>>
>> Thanks in advance to anyone giving me some hint!
>>
> 
> Is this still reproducible for anyone?  I have theories but need it in
> its broken state to debug it further.
> 

Yes it is, I tested had the same problem this morning with updated
sources from releng/11.0:

> svn info
Path: .
Working Copy Root Path: /usr/local/nanobsd/rr-trunk/src
URL: https://svn.freebsd.org/base/releng/11.0
Relative URL: ^/releng/11.0
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 304737
Node Kind: directory
Schedule: normal
Last Changed Author: gjb
Last Changed Rev: 304729
Last Changed Date: 2016-08-24 06:33:21 +0200 (Wed, 24 Aug 2016)

-- 
Guido Falsi 
___
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"


Re: NanoBSD install phase failing for releng/11

2016-08-24 Thread Bryan Drewery
On 8/22/2016 4:08 AM, Guido Falsi wrote:
> Hi,
> 
> While building a NanoBSD image using releng/11 sources I got this error
> message:
> 
> ===> lib/libc++ (install)
> install  -C -o root -g wheel -m 444   libc++.a
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
> install  -s -o root -g wheel -m 444 libc++.so.1
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
> install  -S -C -o root -g wheel -m 444   libc++.ld
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libc++.so
> ===> lib/libcxxrt (install)
> install  -C -o root -g wheel -m 444   libcxxrt.a
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
> install  -s -o root -g wheel -m 444 libcxxrt.so.1
> /usr/local/nanobsd/rr-trunk/obj/_.w/lib/
> install -l rs  /usr/local/nanobsd/rr-trunk/obj/_.w/lib/libcxxrt.so.1
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libcxxrt.so
> install: symlink ../../lib/libcxxrt.so.1 ->
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib: File exists
> *** Error code 71
> 
> Stop.
> 
> I'm not sure what's happening, I already tried reverting locally
> r301880, thinking it could be related, but this changed nothing.
> 
> Anyone has some insight? It was working fine up to August 4th.
> 
> Thanks in advance to anyone giving me some hint!
> 

Is this still reproducible for anyone?  I have theories but need it in
its broken state to debug it further.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Subject: Re: NanoBSD install phase failing for releng/11

2016-08-23 Thread Ross Alexander

On Mon, Aug 22, 2016 at 01:08:11PM +0200, Guido Falsi wrote:


Hi,

While building a NanoBSD image using releng/11 sources I got this error
message:

===> lib/libc++ (install)
install  -C -o root -g wheel -m 444   libc++.a
/usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/

[...]

/usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libcxxrt.so
install: symlink ../../lib/libcxxrt.so.1 ->
/usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib: File exists
*** Error code 71

Stop.


I'm seeing this error (symlink of libcxxrt.so.1 fails with diagnostic
of prexisting file) in three seperate poudrieres, running on
12-current amd64s machines, while attempting to build or update
11-stable-amd64 jails.

   poudriere jail -j 11-stab-amd64 -u

I've tried blowing the jail away and rebuilding;

   poudriere jail -d -j 11-stab-amd64
   poudriere jail -c -j 11-stab-amd64 -m svn -v stable/11

but no luck; this fails as well, in the same way (and
leaves me with no 11-stab-amd64 build jail, foo.)

The 12-curr host machines are reasonably fresh builds -

aubey2:/root # uname -a
FreeBSD aubey2.bogons 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r304443: \
Thu Aug 18 23:46:18 MDT 2016 \
toor@aubey2.bogons:/usr/obj/usr/src/sys/GENERIC-NODEBUG  amd64

chimera:/root # uname -a
FreeBSD chimera.bogons 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r304224M: \
Tue Aug 16 11:08:38 MDT 2016 \
toor@chimera.bogons:/usr/obj/usr/src/sys/GENERIC-NODEBUG  amd64

/etc/make.conf is

NO_LPR=YES
OPTIONS_SET=CUPS
WITH_CUPS=YES
CUPS_OVERWRITE_BASE=YES

KERNCONF=GENERIC-NODEBUG
MALLOC_PRODUCTION=yes
SVN=/usr/bin/svnlite
SVN_UPDATE=yes
WITH_FAST_DEPEND=yes
WITH_GALLIUM="YES"
WITH_PKGNG=yes

Some experimentation shows that "WITH_FAST_DEPEND=yes" isn't the issue;
in or out, same result.

log just before the fail is:

===> lib/libcxxrt (install)
--- _libinstall ---
install -N /usr/local/pd/jails/11-stab-amd64/usr/src/etc  -C -o root -g 
wheel -m 444   libcxxrt.a /usr/local/pd/jails/11-stab-amd64/usr/lib/
install -N /usr/local/pd/jails/11-stab-amd64/usr/src/etc  -C -o root -g 
wheel -m 444   libcxxrt_p.a /usr/local/pd/jails/11-stab-amd64/usr/lib/
install -N /usr/local/pd/jails/11-stab-amd64/usr/src/etc  -s -o root -g 
wheel -m 444 libcxxrt.so.1 /usr/local/pd/jails/11-stab-amd64/lib/
install -N /usr/local/pd/jails/11-stab-amd64/usr/src/etc  -o root -g wheel 
-m 444libcxxrt.so.1.debug 
/usr/local/pd/jails/11-stab-amd64/usr/lib/debug/lib/
install -N /usr/local/pd/jails/11-stab-amd64/usr/src/etc -l rs  
/usr/local/pd/jails/11-stab-amd64/lib/libcxxrt.so.1  
/usr/local/pd/jails/11-stab-amd64/usr/lib/libcxxrt.so
install: symlink ../../lib/libcxxrt.so.1 -> 
/usr/local/pd/jails/11-stab-amd64/usr/lib: File exists
*** [_libinstall] Error code 71
make[5]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src/lib/libcxxrt
1 error
make[5]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src/lib/libcxxrt
*** [realinstall] Error code 2
make[4]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src/lib
1 error
make[4]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src/lib
*** [realinstall_subdir_lib] Error code 2
make[3]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src
1 error
make[3]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src
*** [reinstall] Error code 2
make[2]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src
1 error
make[2]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src
*** [installworld] Error code 2
make[1]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src
1 error
make[1]: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src
*** [installworld] Error code 2
make: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src
1 error
make: stopped in /usr/local/pd/jails/11-stab-amd64/usr/src
[00:35:57] >> Error: Failed to 'make installworld'
15113.866u 1497.004s 35:57.43 769.9%49262+602k 335984+2724910io 
484194pf+0w

regards,
Ross
--
Ross Alexander, (780) 675-6823 desk / (780) 689-0749 cell, r...@athabascau.ca

   "Plato's scheme of folly, which would have the philosophers take
over the management of affairs, has been turned on its head; the
men of affairs have taken over the direction and pursuit of
knowledge."
-- Thorstein Veblen, _The Higher Learning in America_

--
   This communication is intended for the use of the recipient to whom it
   is addressed, and may contain confidential, personal, and or privileged
   information. Please contact us immediately if you are not the intended
   recipient of this communication, and do not copy, distribute, or take
   action relying on it. Any communications received in error, or
   subsequent reply, should be deleted or destroyed.
---
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To 

Re: NanoBSD install phase failing for releng/11

2016-08-22 Thread Guido Falsi
On 08/22/16 16:28, Warner Losh wrote:
> Yea, this isn't nanobsd specific. Adrian was complaining about it as well
> causing multiple entries in METALOG.

Outside of NanoBSD i did a "make packages" on a machine without problems
at head r304521.

Don't know if make packages would be affected as make install, but maybe
this information can help narrow things down.

-- 
Guido Falsi 
___
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"


Re: NanoBSD install phase failing for releng/11

2016-08-22 Thread Warner Losh
Yea, this isn't nanobsd specific. Adrian was complaining about it as well
causing multiple entries in METALOG.

Does this happen with any of the embedded images we have in the tree
now as examples? I imagine it would..

Warner

On Mon, Aug 22, 2016 at 7:35 AM, Shawn Webb  wrote:
> On Mon, Aug 22, 2016 at 01:08:11PM +0200, Guido Falsi wrote:
>> Hi,
>>
>> While building a NanoBSD image using releng/11 sources I got this error
>> message:
>>
>> ===> lib/libc++ (install)
>> install  -C -o root -g wheel -m 444   libc++.a
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -s -o root -g wheel -m 444 libc++.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -S -C -o root -g wheel -m 444   libc++.ld
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libc++.so
>> ===> lib/libcxxrt (install)
>> install  -C -o root -g wheel -m 444   libcxxrt.a
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
>> install  -s -o root -g wheel -m 444 libcxxrt.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/lib/
>> install -l rs  /usr/local/nanobsd/rr-trunk/obj/_.w/lib/libcxxrt.so.1
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libcxxrt.so
>> install: symlink ../../lib/libcxxrt.so.1 ->
>> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib: File exists
>> *** Error code 71
>>
>> Stop.
>>
>> I'm not sure what's happening, I already tried reverting locally
>> r301880, thinking it could be related, but this changed nothing.
>>
>> Anyone has some insight? It was working fine up to August 4th.
>>
>> Thanks in advance to anyone giving me some hint!
>
> I've been getting this simply in installworld outside the context of
> nanobsd. I've got a 12-CURRENT host doing an installworld of an
> 11-STABLE src tree to a chroot directory.
>
> Here's the log (granted, -s was added to make): http://ix.io/1fN3
>
> Thanks,
>
> --
> Shawn Webb
> Cofounder and Security Engineer
> HardenedBSD
>
> GPG Key ID:  0x6A84658F52456EEE
> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE
___
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"


Re: NanoBSD install phase failing for releng/11

2016-08-22 Thread Shawn Webb
On Mon, Aug 22, 2016 at 01:08:11PM +0200, Guido Falsi wrote:
> Hi,
> 
> While building a NanoBSD image using releng/11 sources I got this error
> message:
> 
> ===> lib/libc++ (install)
> install  -C -o root -g wheel -m 444   libc++.a
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
> install  -s -o root -g wheel -m 444 libc++.so.1
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
> install  -S -C -o root -g wheel -m 444   libc++.ld
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libc++.so
> ===> lib/libcxxrt (install)
> install  -C -o root -g wheel -m 444   libcxxrt.a
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/
> install  -s -o root -g wheel -m 444 libcxxrt.so.1
> /usr/local/nanobsd/rr-trunk/obj/_.w/lib/
> install -l rs  /usr/local/nanobsd/rr-trunk/obj/_.w/lib/libcxxrt.so.1
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib/libcxxrt.so
> install: symlink ../../lib/libcxxrt.so.1 ->
> /usr/local/nanobsd/rr-trunk/obj/_.w/usr/lib: File exists
> *** Error code 71
> 
> Stop.
> 
> I'm not sure what's happening, I already tried reverting locally
> r301880, thinking it could be related, but this changed nothing.
> 
> Anyone has some insight? It was working fine up to August 4th.
> 
> Thanks in advance to anyone giving me some hint!

I've been getting this simply in installworld outside the context of
nanobsd. I've got a 12-CURRENT host doing an installworld of an
11-STABLE src tree to a chroot directory.

Here's the log (granted, -s was added to make): http://ix.io/1fN3

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature