Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#18595 closed defect (fixed)

libgpg-error 1.7 build error

Reported by: jcase4@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: awk nawk Cc: jcase4@…
Port: libgpg-error

Description

I am unable to install libgpg-error on Leopard. Any ideas as to what I can do to fix?

System Version: Mac OS X 10.5.6 (9G55)

sudo port install libgpg-error
--->  Fetching libgpg-error
--->  Verifying checksum(s) for libgpg-error
--->  Extracting libgpg-error
--->  Configuring libgpg-error
--->  Building libgpg-error
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libgpg-error/work/libgpg-error-1.7"
 && make all " returned error 2                                                                                                                                                                       
Command output: make  all-recursive
Making all in m4
make[2]: Nothing to be done for `all'.
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
/usr/bin/cpp-4.0 _mkerrcodes.h | grep GPG_ERR_ | nawk -f ./mkerrcodes.awk >mkerrcodes.h
nawk: field separator [         ]+GPG_E... is too long
 source line number 66
grep: write error: Broken pipe
make[2]: *** [mkerrcodes.h] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I do have the libiconv and gettext dependency ports installed:

libiconv @1.12_2 (active)

gettext @0.17_4 (active)

Change History (3)

comment:1 Changed 12 years ago by jcase4@…

Cc: jcase4@… added

Cc Me!

comment:2 Changed 12 years ago by blb@…

Keywords: awk nawk added; libgpg-error removed
Resolution: fixed
Status: newclosed

Looks like an incompatibility with nawk; fixed in r47147.

comment:3 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.