Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2007 17:55:51 GMT
From:      Roman Thiele <roman.thiele@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/114872: libgpg-error fails to build without gawk
Message-ID:  <200707241755.l6OHtp3w002261@www.freebsd.org>
Resent-Message-ID: <200707241800.l6OI06co016732@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114872
>Category:       ports
>Synopsis:       libgpg-error fails to build without gawk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 24 18:00:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Roman Thiele
>Release:        7.0-CURRENT-200706
>Organization:
>Environment:
FreeBSD multivac.local 7.0-CURRENT-200706 FreeBSD 7.0-CURRENT-200706 #0: Thu Jun  7 21:38:42 UTC 2007     root@stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
When trying to build libgpg-error without gawk installed, the build fails:

===>  Building for libgpg-error-1.4_1
make  all-recursive
Making all in intl
Making all in m4
Making all in src
nawk -f ./mkstrtable.awk -v textidx=3  ./err-sources.h.in >err-sources.h
nawk -f ./mkstrtable.awk -v textidx=3  ./err-codes.h.in >err-codes.h
nawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
nawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
cc -E _mkerrcodes.h | grep GPG_ERR_ | nawk -f ./mkerrcodes.awk >mkerrcodes.h
nawk: field separator [         ]+GPG_E... is too long
 source line number 66
*** Error code 2

Stop in /usr/ports/security/libgpg-error/work/libgpg-error-1.4/src.
*** Error code 1

Stop in /usr/ports/security/libgpg-error/work/libgpg-error-1.4.
*** Error code 1

Stop in /usr/ports/security/libgpg-error/work/libgpg-error-1.4.
*** Error code 1

Stop in /usr/ports/security/libgpg-error.


Setting AWK to /usr/bin/awk changes nawk to /usr/bin/awk in the error message above, but doesn't solve the problem.

After installing gawk, it works without setting AWK.

>How-To-Repeat:

>Fix:
Install gawk


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707241755.l6OHtp3w002261>