Re: CVS commit: src/doc

2020-02-19 Thread Christos Zoulas
Not reproducible:

 build.sh command:./build.sh -P -U -E -x -m sparc64 -a sparc64 -D 
/usr/obj/sparc64-sparc64/release -R /usr/obj/sparc64-sparc64/media -j 40 release
 build.sh started:Wed Feb 19 15:27:23 EST 2020
 NetBSD version:  9.99.47
 MACHINE: sparc64
 MACHINE_ARCH:sparc64
 Build platform:  NetBSD 9.99.18 amd64
 HOST_SH: /bin/sh
 No $TOOLDIR/bin/nbmake, needs building.
 Bootstrapping nbmake
 MAKECONF file:   /etc/mk.conf
 TOOLDIR path:/usr/obj/sparc64-sparc64/tools
 DESTDIR path:/usr/obj/sparc64-sparc64/release
 RELEASEDIR path: /usr/obj/sparc64-sparc64/media
 Created /usr/obj/sparc64-sparc64/tools/bin/nbmake
 Updated makewrapper: /usr/obj/sparc64-sparc64/tools/bin/nbmake-sparc64
 Tools built to /usr/obj/sparc64-sparc64/tools
 MKREPRO_TIMESTAMPWed Feb 19 19:18:01 UTC 2020
 Successful make release
 build.sh ended:  Wed Feb 19 17:48:15 EST 2020
===> .



> On Feb 19, 2020, at 11:09 AM, Kamil Rytarowski  wrote:
> 
> Signed PGP part
> On 19.02.2020 16:32, Kamil Rytarowski wrote:
>> On 18.02.2020 22:14, Christos Zoulas wrote:
>>> Module Name:src
>>> Committed By:   christos
>>> Date:   Tue Feb 18 21:14:16 UTC 2020
>>> 
>>> Modified Files:
>>> src/doc: 3RDPARTY CHANGES
>>> 
>>> Log Message:
>>> new awk
>>> 
>>> 
>>> To generate a diff of this commit:
>>> cvs rdiff -u -r1.1690 -r1.1691 src/doc/3RDPARTY
>>> cvs rdiff -u -r1.2649 -r1.2650 src/doc/CHANGES
>>> 
>>> Please note that diffs are not public domain; they are subject to the
>>> copyright notices on the relevant files.
>>> 
>> 
>> This upgrade broke MKLLVM HAVE_LLVM build (at least for -m sparc64).
>> 
> 
> Log:
> 
> isters.S |  sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1
> /^\2(\3\4$/;"  >> tags.tmp
> In file included from /usr/src/lib/libc/compat/rpc/compat_pmap_rmtcall.c:50:
> In file included from
> /public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpc.h:75:
> /public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpcb_clnt.h:68:8:
> error: unknown type name 'rpcblist'
> extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
>   ^
> 1 error generated.
> --- compat_pmap_rmtcall.o ---
> *** [compat_pmap_rmtcall.o] Error code 1
> nbmake[6]: stopped in /usr/src/lib/libc
> In file included from /usr/src/lib/libc/compat/rpc/compat_rpcb.c:50:
> /public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpcb_clnt.h:68:8:
> error: unknown type name 'rpcblist'
> extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
>   ^
> 1 error generated.
> --- compat_rpcb.o ---
> *** [compat_rpcb.o] Error code 1
> 
> nbmake[6]: stopped in /usr/src/lib/libc
> 2 errors
> 
> nbmake[6]: stopped in /usr/src/lib/libc
> --- dependall ---
> *** [dependall] Error code 2
> nbmake[5]: stopped in /usr/src/lib/libc
> 1 error
> nbmake[5]: stopped in /usr/src/lib/libc
> *** Failed target:  dependall-libc
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
> this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/";
> real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target}
> ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
> /public/netbsd-sparc64/tooldir.NetBSD-9.99.46-amd64/bin/nbmake
> _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libc dependall
> *** Error code 2
> 
> Stop.
> nbmake[4]: stopped in /usr/src/lib
> --- build_install ---
> *** [build_install] Error code 1
> 
> nbmake[3]: stopped in /usr/src/lib
> 1 error
> 
> nbmake[3]: stopped in /usr/src/lib
> --- do-lib ---
> *** [do-lib] Error code 2
> 
> nbmake[2]: stopped in /usr/src
> 1 error
> 
> nbmake[2]: stopped in /usr/src
> --- build ---
> *** [build] Error code 2
> 
> nbmake[1]: stopped in /usr/src
> 1 error
> 
> nbmake[1]: stopped in /usr/src
> --- distribution ---
> *** [distribution] Error code 2
> 
> nbmake: stopped in /usr/src
> 1 error
> 
> nbmake: stopped in /usr/src
> 
> ERROR: Failed to make distribution
> 
> 
> 



signature.asc
Description: Message signed with OpenPGP


Re: CVS commit: src/sys/arch/powerpc/powerpc

2020-02-19 Thread Rin Okuyama

On 2020/02/18 6:55, Andrew Doran wrote:

I corrected the cpu_ast() case.  Yes it's curious why ibm4xx calls
mi_userret() directly; that seems wrong (I have not changed it though).  I
think it definitely makes more sense to deal with OWEUPC before userret().


Thank you!

Now, I'm working on fixing ibm4xx. IMO, there's no reason to use
mi_userret() here, and I will commit a fix later with other commits.

Thanks,
rin


Re: CVS commit: src/external/apache2/llvm/config/llvm/Config

2020-02-19 Thread Roy Marples

On 19/02/2020 22:29, Kamil Rytarowski wrote:

Why do you need terminfo/termios in ./build.sh tools?


We build the nbtic tool so we can build the terminfo database.

Roy


Re: CVS commit: src/external/apache2/llvm/config/llvm/Config

2020-02-19 Thread Joerg Sonnenberger
On Wed, Feb 19, 2020 at 11:29:09PM +0100, Kamil Rytarowski wrote:
> On 19.02.2020 23:03, Joerg Sonnenberger wrote:
> > On Wed, Feb 19, 2020 at 04:10:17PM +0100, Kamil Rytarowski wrote:
> >> On 19.02.2020 14:32, Joerg Sonnenberger wrote:
> >>> Module Name:  src
> >>> Committed By: joerg
> >>> Date: Wed Feb 19 13:32:40 UTC 2020
> >>>
> >>> Modified Files:
> >>>   src/external/apache2/llvm/config/llvm/Config: config.h.in
> >>>
> >>> Log Message:
> >>> Revert last. It was objected to pre-commit, there is no actual error
> >>> analysis or report and there is existing logic supposed to handle this.
> >>>
> >>>
> >>> To generate a diff of this commit:
> >>> cvs rdiff -u -r1.2 -r1.3 \
> >>> src/external/apache2/llvm/config/llvm/Config/config.h.in
> >>>
> >>> Please note that diffs are not public domain; they are subject to the
> >>> copyright notices on the relevant files.
> >>>
> >>
> >> Objected pre-commit? Nothing reached me and I see nothing in logs.
> >>
> >> No report? It was discussed in public syzkaller ML and semipublic IRC
> >> channel with 5 people involved.
> >>
> >> https://syzkaller.appspot.com/text?tag=CrashLog=11aafc09e0
> >>
> >> No analysis? There is analysis in the commit message that we remove
> >> optional features.
> >>
> >> I request either to reintroduce it now or land another fix.
> > 
> > While I am on many mailing lists, I'm certainly not on all lists. I
> > answered in the only forum where I saw the message. I am strongly
> > objecting here because you make the tools compiler a lot less usable.
> > You haven't acutally shown *why* the existing logic doesn't work.
> > 
> 
> The existing logic does not work as it is breaking bootstrap on
> Linux/Ubuntu as presented here:
> 
> https://syzkaller.appspot.com/text?tag=CrashLog=11aafc09e0

Yes and that is completely useless for figuring out the why.

Joerg


Re: CVS commit: src/external/apache2/llvm/config/llvm/Config

2020-02-19 Thread Kamil Rytarowski
On 19.02.2020 23:03, Joerg Sonnenberger wrote:
> On Wed, Feb 19, 2020 at 04:10:17PM +0100, Kamil Rytarowski wrote:
>> On 19.02.2020 14:32, Joerg Sonnenberger wrote:
>>> Module Name:src
>>> Committed By:   joerg
>>> Date:   Wed Feb 19 13:32:40 UTC 2020
>>>
>>> Modified Files:
>>> src/external/apache2/llvm/config/llvm/Config: config.h.in
>>>
>>> Log Message:
>>> Revert last. It was objected to pre-commit, there is no actual error
>>> analysis or report and there is existing logic supposed to handle this.
>>>
>>>
>>> To generate a diff of this commit:
>>> cvs rdiff -u -r1.2 -r1.3 \
>>> src/external/apache2/llvm/config/llvm/Config/config.h.in
>>>
>>> Please note that diffs are not public domain; they are subject to the
>>> copyright notices on the relevant files.
>>>
>>
>> Objected pre-commit? Nothing reached me and I see nothing in logs.
>>
>> No report? It was discussed in public syzkaller ML and semipublic IRC
>> channel with 5 people involved.
>>
>> https://syzkaller.appspot.com/text?tag=CrashLog=11aafc09e0
>>
>> No analysis? There is analysis in the commit message that we remove
>> optional features.
>>
>> I request either to reintroduce it now or land another fix.
> 
> While I am on many mailing lists, I'm certainly not on all lists. I
> answered in the only forum where I saw the message. I am strongly
> objecting here because you make the tools compiler a lot less usable.
> You haven't acutally shown *why* the existing logic doesn't work.
> 

The existing logic does not work as it is breaking bootstrap on
Linux/Ubuntu as presented here:

https://syzkaller.appspot.com/text?tag=CrashLog=11aafc09e0

> Joerg
> 

Why do you need terminfo/termios in ./build.sh tools?

We need to fix bootstrap on Linux and it is easier to remove terminfo
features and termios ones. We don't need to handle terminal resizing
detection or colors for tools.

Instead of supporting these features dynamically it is easier to disable
them unconditionally. But if you insist to detect them dynamically and
maintain it, please land a patch that will resurrect the bot.



signature.asc
Description: OpenPGP digital signature


Re: CVS commit: src/external/apache2/llvm/config/llvm/Config

2020-02-19 Thread Joerg Sonnenberger
On Wed, Feb 19, 2020 at 04:10:17PM +0100, Kamil Rytarowski wrote:
> On 19.02.2020 14:32, Joerg Sonnenberger wrote:
> > Module Name:src
> > Committed By:   joerg
> > Date:   Wed Feb 19 13:32:40 UTC 2020
> > 
> > Modified Files:
> > src/external/apache2/llvm/config/llvm/Config: config.h.in
> > 
> > Log Message:
> > Revert last. It was objected to pre-commit, there is no actual error
> > analysis or report and there is existing logic supposed to handle this.
> > 
> > 
> > To generate a diff of this commit:
> > cvs rdiff -u -r1.2 -r1.3 \
> > src/external/apache2/llvm/config/llvm/Config/config.h.in
> > 
> > Please note that diffs are not public domain; they are subject to the
> > copyright notices on the relevant files.
> > 
> 
> Objected pre-commit? Nothing reached me and I see nothing in logs.
> 
> No report? It was discussed in public syzkaller ML and semipublic IRC
> channel with 5 people involved.
> 
> https://syzkaller.appspot.com/text?tag=CrashLog=11aafc09e0
> 
> No analysis? There is analysis in the commit message that we remove
> optional features.
> 
> I request either to reintroduce it now or land another fix.

While I am on many mailing lists, I'm certainly not on all lists. I
answered in the only forum where I saw the message. I am strongly
objecting here because you make the tools compiler a lot less usable.
You haven't acutally shown *why* the existing logic doesn't work.

Joerg


Re: CVS commit: src/doc

2020-02-19 Thread Christos Zoulas
On Feb 19,  5:09pm, n...@gmx.com (Kamil Rytarowski) wrote:
-- Subject: Re: CVS commit: src/doc

| On 19.02.2020 16:32, Kamil Rytarowski wrote:
| > On 18.02.2020 22:14, Christos Zoulas wrote:
| >> Module Name:   src
| >> Committed By:  christos
| >> Date:  Tue Feb 18 21:14:16 UTC 2020
| >>
| >> Modified Files:
| >>src/doc: 3RDPARTY CHANGES
| >>
| >> Log Message:
| >> new awk
| >>
| >>
| >> To generate a diff of this commit:
| >> cvs rdiff -u -r1.1690 -r1.1691 src/doc/3RDPARTY
| >> cvs rdiff -u -r1.2649 -r1.2650 src/doc/CHANGES
| >>
| >> Please note that diffs are not public domain; they are subject to the
| >> copyright notices on the relevant files.
| >>
| >=20
| > This upgrade broke MKLLVM HAVE_LLVM build (at least for -m sparc64).
| >=20
| 
| Log:
| 
| isters.S |  sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1
| /^\2(\3\4$/;"  >> tags.tmp
| In file included from /usr/src/lib/libc/compat/rpc/compat_pmap_rmtcall.c:50=
| :
| In file included from
| /public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpc.h:75:
| /public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpcb_clnt.h:68:8:
| error: unknown type name 'rpcblist'
| extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
|^
| 1 error generated.
| --- compat_pmap_rmtcall.o ---
| *** [compat_pmap_rmtcall.o] Error code 1
| nbmake[6]: stopped in /usr/src/lib/libc
| In file included from /usr/src/lib/libc/compat/rpc/compat_rpcb.c:50:
| /public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpcb_clnt.h:68:8:
| error: unknown type name 'rpcblist'
| extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);

building.

christos


Re: CVS commit: src/doc

2020-02-19 Thread Kamil Rytarowski
On 19.02.2020 16:32, Kamil Rytarowski wrote:
> On 18.02.2020 22:14, Christos Zoulas wrote:
>> Module Name: src
>> Committed By:christos
>> Date:Tue Feb 18 21:14:16 UTC 2020
>>
>> Modified Files:
>>  src/doc: 3RDPARTY CHANGES
>>
>> Log Message:
>> new awk
>>
>>
>> To generate a diff of this commit:
>> cvs rdiff -u -r1.1690 -r1.1691 src/doc/3RDPARTY
>> cvs rdiff -u -r1.2649 -r1.2650 src/doc/CHANGES
>>
>> Please note that diffs are not public domain; they are subject to the
>> copyright notices on the relevant files.
>>
> 
> This upgrade broke MKLLVM HAVE_LLVM build (at least for -m sparc64).
> 

Log:

isters.S |  sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1
/^\2(\3\4$/;"  >> tags.tmp
In file included from /usr/src/lib/libc/compat/rpc/compat_pmap_rmtcall.c:50:
In file included from
/public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpc.h:75:
/public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpcb_clnt.h:68:8:
error: unknown type name 'rpcblist'
extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
   ^
1 error generated.
--- compat_pmap_rmtcall.o ---
*** [compat_pmap_rmtcall.o] Error code 1
nbmake[6]: stopped in /usr/src/lib/libc
In file included from /usr/src/lib/libc/compat/rpc/compat_rpcb.c:50:
/public/netbsd-sparc64/destdir.sparc64/usr/include/rpc/rpcb_clnt.h:68:8:
error: unknown type name 'rpcblist'
extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
   ^
1 error generated.
--- compat_rpcb.o ---
*** [compat_rpcb.o] Error code 1

nbmake[6]: stopped in /usr/src/lib/libc
2 errors

nbmake[6]: stopped in /usr/src/lib/libc
--- dependall ---
*** [dependall] Error code 2
nbmake[5]: stopped in /usr/src/lib/libc
1 error
nbmake[5]: stopped in /usr/src/lib/libc
*** Failed target:  dependall-libc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/";
real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/public/netbsd-sparc64/tooldir.NetBSD-9.99.46-amd64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libc dependall
*** Error code 2

Stop.
nbmake[4]: stopped in /usr/src/lib
--- build_install ---
*** [build_install] Error code 1

nbmake[3]: stopped in /usr/src/lib
1 error

nbmake[3]: stopped in /usr/src/lib
--- do-lib ---
*** [do-lib] Error code 2

nbmake[2]: stopped in /usr/src
1 error

nbmake[2]: stopped in /usr/src
--- build ---
*** [build] Error code 2

nbmake[1]: stopped in /usr/src
1 error

nbmake[1]: stopped in /usr/src
--- distribution ---
*** [distribution] Error code 2

nbmake: stopped in /usr/src
1 error

nbmake: stopped in /usr/src

ERROR: Failed to make distribution



signature.asc
Description: OpenPGP digital signature


Re: CVS commit: src/doc

2020-02-19 Thread Kamil Rytarowski
On 18.02.2020 22:14, Christos Zoulas wrote:
> Module Name:  src
> Committed By: christos
> Date: Tue Feb 18 21:14:16 UTC 2020
> 
> Modified Files:
>   src/doc: 3RDPARTY CHANGES
> 
> Log Message:
> new awk
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.1690 -r1.1691 src/doc/3RDPARTY
> cvs rdiff -u -r1.2649 -r1.2650 src/doc/CHANGES
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

This upgrade broke MKLLVM HAVE_LLVM build (at least for -m sparc64).



signature.asc
Description: OpenPGP digital signature


Re: CVS commit: src/external/apache2/llvm/config/llvm/Config

2020-02-19 Thread Kamil Rytarowski
On 19.02.2020 14:32, Joerg Sonnenberger wrote:
> Module Name:  src
> Committed By: joerg
> Date: Wed Feb 19 13:32:40 UTC 2020
> 
> Modified Files:
>   src/external/apache2/llvm/config/llvm/Config: config.h.in
> 
> Log Message:
> Revert last. It was objected to pre-commit, there is no actual error
> analysis or report and there is existing logic supposed to handle this.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.2 -r1.3 \
> src/external/apache2/llvm/config/llvm/Config/config.h.in
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

Objected pre-commit? Nothing reached me and I see nothing in logs.

No report? It was discussed in public syzkaller ML and semipublic IRC
channel with 5 people involved.

https://syzkaller.appspot.com/text?tag=CrashLog=11aafc09e0

No analysis? There is analysis in the commit message that we remove
optional features.

I request either to reintroduce it now or land another fix.



signature.asc
Description: OpenPGP digital signature


Re: CVS commit: src/lib/libpthread

2020-02-19 Thread Ryo ONODERA
Hi,

Kamil Rytarowski  writes:

> On 13.02.2020 20:03, Ryo ONODERA wrote:
>> Hi,
>> 
>> Kamil Rytarowski  writes:
>> 
>>> On 12.02.2020 15:01, Ryo ONODERA wrote:
 Hi,

 Kamil Rytarowski  writes:

> Hello,
>
> I will have a look at them.

 Thank you.
 Real fix is welcome.

 And multimedia/handbrake has workaround already.
 I have workaround patches for lang/mono6 (like your nspr patch).
 I will commit them after some tests.

>>>
>>> libblueray real fix patch is pending upstream.
>>>
>>> https://code.videolan.org/videolan/libbluray/merge_requests/17
>> 
>> Thank you very much!
>> I will apply this to multimedia/handbrake too.
>> 
>
> HandBrake is now patched upstream:
>
> https://github.com/HandBrake/HandBrake/commit/73e958d198aba4cab8f434be6cf0661da1a2f91b
>
>>> I will look into mono next.
>> 
>> Excellent.
>> 
> What is the reproducer for mono?
>

Remove the folowing patches:
lang/mono6/patches/patch-external_corert_src_Native_gc_env_gcenv.structs.h
lang/mono6/patches/patch-mono_metadata_w32mutex-unix.
lang/mono6/patches/patch-libgc_pthread__stop__world.c
lang/mono6/patches/patch-libgc_pthread__support.c
lang/mono6/patches/patch-mono_utils_mono-threads-posix.c

And run "make" in your pkgsrc/lang/mono6 directory.
During build, you will get SIGSEGVs.

Thank you.

-- 
Ryo ONODERA // r...@tetera.org
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/lib/libpthread

2020-02-19 Thread Kamil Rytarowski
On 13.02.2020 20:03, Ryo ONODERA wrote:
> Hi,
> 
> Kamil Rytarowski  writes:
> 
>> On 12.02.2020 15:01, Ryo ONODERA wrote:
>>> Hi,
>>>
>>> Kamil Rytarowski  writes:
>>>
 Hello,

 I will have a look at them.
>>>
>>> Thank you.
>>> Real fix is welcome.
>>>
>>> And multimedia/handbrake has workaround already.
>>> I have workaround patches for lang/mono6 (like your nspr patch).
>>> I will commit them after some tests.
>>>
>>
>> libblueray real fix patch is pending upstream.
>>
>> https://code.videolan.org/videolan/libbluray/merge_requests/17
> 
> Thank you very much!
> I will apply this to multimedia/handbrake too.
> 

HandBrake is now patched upstream:

https://github.com/HandBrake/HandBrake/commit/73e958d198aba4cab8f434be6cf0661da1a2f91b

>> I will look into mono next.
> 
> Excellent.
> 
What is the reproducer for mono?



signature.asc
Description: OpenPGP digital signature