Re: libedit, clean auto-generated

2016-04-20 Thread bch
I've nuked /use/obj (to which the various /use/src/.../obj directories
point), and /use/src/compat/amd64/i386/obj.  What else, or what -really-
needs to be attended to?

Regards,

-bch
On Apr 20, 2016 7:17 AM, "Robert Swindells"  wrote:

>
> bch  wrote:
> >So, my ./build.sh distribution has been failing for a couple days w/
> >libedit. I see an update the the UPDATING doc about clearing out
> >autogenerated files, so I nuked my obj dir, and nuked
> >./src/lib/libedit and re-pulled from CVS, but I'm still getting this.
> >Related, or coincidence? Is there something else that I need to clean
> >out?
>
> Did you clean out both obj directories as described in UPDATING ?
>
>


Re: libedit, clean auto-generated

2016-04-20 Thread Robert Swindells

bch  wrote:
>So, my ./build.sh distribution has been failing for a couple days w/
>libedit. I see an update the the UPDATING doc about clearing out
>autogenerated files, so I nuked my obj dir, and nuked
>./src/lib/libedit and re-pulled from CVS, but I'm still getting this.
>Related, or coincidence? Is there something else that I need to clean
>out?

Did you clean out both obj directories as described in UPDATING ?



libedit, clean auto-generated

2016-04-19 Thread bch
So, my ./build.sh distribution has been failing for a couple days w/
libedit. I see an update the the UPDATING doc about clearing out
autogenerated files, so I nuked my obj dir, and nuked
./src/lib/libedit and re-pulled from CVS, but I'm still getting this.
Related, or coincidence? Is there something else that I need to clean
out?

Regards,

-bch


Build failure:


[...]
dependall ===> lib/libedit
dependall ===> lib/libedit/readline
#   compile  libedit/editline.o
/usr/src/obj/tooldir.NetBSD-7.99.27-amd64/bin/x86_64--netbsd-gcc -O2
-std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare  -Wno-traditional
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare
-Wold-style-definition -Wsign-compare -Wformat=2
-Wno-format-zero-length  -Werror -Wconversion  -fPIE
-Wunused-parameter  --sysroot=/usr/src/obj/destdir.amd64 -I.
-I/usr/src/lib/libedit -I. -I/usr/src/lib/libedit  -c -Wno-cast-qual
editline.c -o editline.o
In file included from editline.c:11:0:
help.c:5:35: error: redefinition of 'el_func_help'
 static const struct el_bindings_t el_func_help[] = {
   ^
In file included from help.c:4:0,
 from editline.c:11:
help.h:2:35: note: previous definition of 'el_func_help' was here
 static const struct el_bindings_t el_func_help[] = {
   ^
In file included from /usr/src/lib/libedit/map.c:56:0,
 from editline.c:14:
./func.h:2:24: error: redefinition of 'el_func'
 static const el_func_t el_func[] = {
^
In file included from editline.c:9:0:
fcns.c:7:24: note: previous definition of 'el_func' was here
 static const el_func_t el_func[] = {
^
In file included from /usr/src/lib/libedit/map.c:57:0,
 from editline.c:14:
./help.h:2:35: error: redefinition of 'el_func_help'
 static const struct el_bindings_t el_func_help[] = {
   ^
In file included from editline.c:11:0:
help.c:5:35: note: previous definition of 'el_func_help' was here
 static const struct el_bindings_t el_func_help[] = {
   ^
In file included from editline.c:9:0:
fcns.c:58:28: error: 'func__get' defined but not used [-Werror=unused-function]
 protected const el_func_t* func__get(void) { return el_func; }
^
In file included from editline.c:11:0:
help.c:200:32: error: 'help__get' defined but not used [-Werror=unused-function]
 protected const el_bindings_t* help__get(void){ return el_func_help; }
^
cc1: all warnings being treated as errors

*** Failed target:  editline.o
*** Failed command:
/usr/src/obj/tooldir.NetBSD-7.99.27-amd64/bin/x86_64--netbsd-gcc -O2
-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare
-Wold-style-definition -Wsign-compare -Wformat=2
-Wno-format-zero-length -Werror -Wconversion -fPIE -Wunused-parameter
--sysroot=/usr/src/obj/destdir.amd64 -I. -I/usr/src/lib/libedit -I.
-I/usr/src/lib/libedit -c -Wno-cast-qual editline.c -o editline.o
*** Error code 1

Stop.
nbmake[6]: stopped in /usr/src/lib/libedit

*** Failed target:  dependall
*** Failed command: cd "/usr/src/lib/libedit";
/usr/src/obj/tooldir.NetBSD-7.99.27-amd64/bin/nbmake realall
*** Error code 1

Stop.
nbmake[5]: stopped in /usr/src/lib/libedit

*** Failed target:  dependall-libedit
*** 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}" &&
/usr/src/obj/tooldir.NetBSD-7.99.27-amd64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libedit
dependall
*** Error code 1

Stop.
nbmake[4]: stopped in /usr/src/lib
[...]