tool build failure

View: New views
4 Messages — Rating Filter:   Alert me  

tool build failure

by Malcolm Herbert-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Building -current on a 5.99.15 host from sources of last night (.au time)
fails with:

|#       lex  asn1_compile/lex.c
|/usr/src/obj/tooldir.NetBSD-5.99.15-i386/bin/nblex    -olex.c /usr/src/crypto/dist/heimdal/lib/asn1/lex.l
|nblex: fatal internal error, exec failed
|  
|*** Failed target:  lex.c
|*** Failed command: /usr/src/obj/tooldir.NetBSD-5.99.15-i386/bin/nblex -olex.c /usr/src/crypto/dist/heimdal/lib/asn1/lex.l
|*** Error code 141
|  
|Stop.
|nbmake: stopped in /usr/src/tools/asn1_compile

... not sure whether that's a problem with the source that nblex was
working on, or a problem with nblex itself ... any pointers?

--
Malcolm Herbert                                This brain intentionally
mjch@...                                                left blank

Re: tool build failure

by Christos Zoulas-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In article <20091029211210.GK3606@...>,
Malcolm Herbert  <mjch@...> wrote:

>Building -current on a 5.99.15 host from sources of last night (.au time)
>fails with:
>
>|#       lex  asn1_compile/lex.c
>|/usr/src/obj/tooldir.NetBSD-5.99.15-i386/bin/nblex    -olex.c
>/usr/src/crypto/dist/heimdal/lib/asn1/lex.l
>|nblex: fatal internal error, exec failed
>|  
>|*** Failed target:  lex.c
>|*** Failed command: /usr/src/obj/tooldir.NetBSD-5.99.15-i386/bin/nblex
>-olex.c /usr/src/crypto/dist/heimdal/lib/asn1/lex.l
>|*** Error code 141
>|  
>|Stop.
>|nbmake: stopped in /usr/src/tools/asn1_compile
>
>... not sure whether that's a problem with the source that nblex was
>working on, or a problem with nblex itself ... any pointers?


Do you have revision 1.5 of /usr/src/external/bsd/flex/bin/Makefile?

christos


Re: tool build failure

by Malcolm Herbert-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 29, 2009 at 11:34:54PM +0000, Christos Zoulas wrote:
|In article <20091029211210.GK3606@...>, Malcolm Herbert  <mjch@...> wrote:
|>... not sure whether that's a problem with the source that nblex was
|>working on, or a problem with nblex itself ... any pointers?
|
|Do you have revision 1.5 of /usr/src/external/bsd/flex/bin/Makefile?

After the CVS update I do have version 1.5 of this file, however the build
fails again a little later in the 'build.sh release' process:

|#   compile  mkmake/mkmake.lo
|cc -O -DHOST_TOOL -I/usr/src/usr.bin/tn3270/tools/mkmake/../../api -c -o mkmake.lo.o    mkmake.c
|/usr/src/usr.bin/tn3270/tools/mkmake/mkmake.y: In function 'yylex':
|/usr/src/usr.bin/tn3270/tools/mkmake/mkmake.y:981: error: 'yyval' undeclared (first use in this function)
|/usr/src/usr.bin/tn3270/tools/mkmake/mkmake.y:981: error: (Each undeclared identifier is reported only once
|/usr/src/usr.bin/tn3270/tools/mkmake/mkmake.y:981: error: for each function it appears in.)
|
|*** Failed target:  mkmake.lo
|*** Failed command: cc -O -DHOST_TOOL -I/usr/src/usr.bin/tn3270/tools/mkmake/../../api -c -o
|mkmake.lo.o mkmake.c
|*** Error code 1

Stop.
nbmake: stopped in /usr/src/usr.bin/tn3270/tools/mkmake

--
Malcolm Herbert                                This brain intentionally
mjch@...                                                left blank

Re: tool build failure

by Christos Zoulas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 31,  9:02am, mjch@... (Malcolm Herbert) wrote:
-- Subject: Re: tool build failure

| After the CVS update I do have version 1.5 of this file, however the build
| fails again a little later in the 'build.sh release' process:
|
| |#   compile  mkmake/mkmake.lo
| |cc -O -DHOST_TOOL -I/usr/src/usr.bin/tn3270/tools/mkmake/../../api -c -o mkmake.lo.o    mkmake.c
| |/usr/src/usr.bin/tn3270/tools/mkmake/mkmake.y: In function 'yylex':
| |/usr/src/usr.bin/tn3270/tools/mkmake/mkmake.y:981: error: 'yyval' undeclared (first use in this function)
| |/usr/src/usr.bin/tn3270/tools/mkmake/mkmake.y:981: error: (Each undeclared identifier is reported only once
| |/usr/src/usr.bin/tn3270/tools/mkmake/mkmake.y:981: error: for each function it appears in.)
| |
| |*** Failed target:  mkmake.lo
| |*** Failed command: cc -O -DHOST_TOOL -I/usr/src/usr.bin/tn3270/tools/mkmake/../../api -c -o
| |mkmake.lo.o mkmake.c
| |*** Error code 1

cvs update mkmake.y. It was fixed earlier today.

christos