Bug #669: gawk: cmd. line:2: (END OF FILE)

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #669: gawk: cmd. line:2: (END OF FILE)
Date: 2002-05-20 20:18:05
Message-ID: 20020520201805.3DB0A47622C@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Ralph Lecessi (ralph(dot)lecessi(at)lmco(dot)com) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
gawk: cmd. line:2: (END OF FILE)

Long Description
gawk complains of "parse error" & "END OF FILE" when called from
genbki.sh in the src/backend/catalog directory.

here are the paths to gmake & gawk:
$ whence gmake
/home/rlecessi/bin/gmake
$ whence gawk
/sw/wrappers/gawk

Here is the gmake output & error messages:
gmake[3]: Entering directory `/home/rlecessi/postgresql-7.2.1/src/backend/catalog'
CPP='gcc -E' AWK='gawk' /bin/sh genbki.sh -o postgres -I../../../src/include ../../../src/include/catalog/pg_proc.h ../../../src/include/catalog/pg_type.h ../../../src/include/catalog/pg_attribute.h ../../../src/include/catalog/pg_class.h ../../../src/include/catalog/pg_attrdef.h ../../../src/include/catalog/pg_relcheck.h ../../../src/include/catalog/pg_inherits.h ../../../src/include/catalog/pg_index.h ../../../src/include/catalog/pg_operator.h ../../../src/include/catalog/pg_opclass.h ../../../src/include/catalog/pg_am.h ../../../src/include/catalog/pg_amop.h ../../../src/include/catalog/pg_amproc.h ../../../src/include/catalog/pg_language.h ../../../src/include/catalog/pg_largeobject.h ../../../src/include/catalog/pg_aggregate.h ../../../src/include/catalog/pg_statistic.h ../../../src/include/catalog/pg_rewrite.h ../../../src/include/catalog/pg_trigger.h ../../../src/include/catalog/pg_listener.h ../../../src/include/catalog/pg_description.h ../../../src/include/catalog/pg_database.h ../../../src/include/catalog/pg_shadow.h ../../../src/include/catalog/pg_group.h ../../../src/include/catalog/indexing.h --set-version=7.2.1
gawk: cmd. line:2: (END OF FILE)
gawk: cmd. line:2: parse error
gawk: cmd. line:2: (END OF FILE)
gawk: cmd. line:2: parse error
gawk: cmd. line:2: (END OF FILE)
gawk: cmd. line:2: parse error
gawk: cmd. line:2: (END OF FILE)
gawk: cmd. line:2: parse error
expr: syntax error
gmake[3]: *** [postgres.bki] Error 2
gmake[3]: Leaving directory `/home/rlecessi/postgresql-7.2.1/src/backend/catalog'
gmake[2]: *** [catalog-recursive] Error 2
gmake[2]: Leaving directory `/home/rlecessi/postgresql-7.2.1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/rlecessi/postgresql-7.2.1/src'
gmake: *** [all] Error 2

Sample Code
gmake[3]: Entering directory `/home/rlecessi/postgresql-7.2.1/src/backend/catalog'
CPP='gcc -E' AWK='gawk' /bin/sh genbki.sh -o postgres -I../../../src/include ../../../src/include/catalog/pg_proc.h ../../../src/include/catalog/pg_type.h ../../../src/include/catalog/pg_attribute.h ../../../src/include/catalog/pg_class.h ../../../src/include/catalog/pg_attrdef.h ../../../src/include/catalog/pg_relcheck.h ../../../src/include/catalog/pg_inherits.h ../../../src/include/catalog/pg_index.h ../../../src/include/catalog/pg_operator.h ../../../src/include/catalog/pg_opclass.h ../../../src/include/catalog/pg_am.h ../../../src/include/catalog/pg_amop.h ../../../src/include/catalog/pg_amproc.h ../../../src/include/catalog/pg_language.h ../../../src/include/catalog/pg_largeobject.h ../../../src/include/catalog/pg_aggregate.h ../../../src/include/catalog/pg_statistic.h ../../../src/include/catalog/pg_rewrite.h ../../../src/include/catalog/pg_trigger.h ../../../src/include/catalog/pg_listener.h ../../../src/include/catalog/pg_description.h ../../../src/include/catalog/pg_database.h ../../../src/include/catalog/pg_shadow.h ../../../src/include/catalog/pg_group.h ../../../src/include/catalog/indexing.h --set-version=7.2.1
gawk: cmd. line:2: (END OF FILE)
gawk: cmd. line:2: parse error
gawk: cmd. line:2: (END OF FILE)
gawk: cmd. line:2: parse error
gawk: cmd. line:2: (END OF FILE)
gawk: cmd. line:2: parse error
gawk: cmd. line:2: (END OF FILE)
gawk: cmd. line:2: parse error
expr: syntax error
gmake[3]: *** [postgres.bki] Error 2
gmake[3]: Leaving directory `/home/rlecessi/postgresql-7.2.1/src/backend/catalog'
gmake[2]: *** [catalog-recursive] Error 2
gmake[2]: Leaving directory `/home/rlecessi/postgresql-7.2.1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/rlecessi/postgresql-7.2.1/src'
gmake: *** [all] Error 2

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Josh Berkus 2002-05-20 22:34:32 Bug with Daylight Savings Time & Interval
Previous Message pgsql-bugs 2002-05-20 18:05:52 Bug #668: cursors with params: mismatched parentheses;