ports/59288: postgresql-devel must depend on bison1875, not bison
Sheldon Hearn
sheldonh at starjuice.net
Fri Nov 14 14:50:26 UTC 2003
>Number: 59288
>Category: ports
>Synopsis: postgresql-devel must depend on bison1875, not bison
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 14 06:50:23 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Sheldon Hearn
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
Seaside Software
>Environment:
N/A
>Description:
The databases/postgresql-devel port depends on devel/bison1875, but if
devel/bison is already installed, the following build error occurs:
plpgsql/src'
bison -y -d gram.y
NONE:0: /usr/local/bin/gm4: ERROR: EOF in string
sed -e 's/yy/plpgsql_yy/g' -e 's/YY/PLPGSQL_YY/g' < y.tab.c > ./pl_gram.c
cannot open y.tab.c: No such file or directory
gmake[4]: *** [pl.tab.h] Error 2
If you look at config.log, you'll see this:
configure:4205: WARNING:
*** The installed version of Bison is too old. PostgreSQL needs
*** Bison version 1.875 or later.
>How-To-Repeat:
Deinstall devel/bison1875.
Install devel/bison.
Try to install devel/postgresql-devel.
>Fix:
I'm not sure that this can be easily fixed without some jiggery-pokery
in the bison ports. Alternatively, the postgresql-devel port could be
given a pre-configure target that tests the version of bison installed.
In fact, these ideas only just occured to me. I was expecting the
postgresql maintainer to close this PR as unsolvable; the PR would still
be useful to folks who run into the problem.
But maybe the situation can be improved. What do you think, Sean?
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list