database/postgresql-pltcl refuse to compile with PostgreSQL 9.1 and Tcl 8.6: Fix: Patch to apply to master port (postgresql91-server). Patch attached with submission follows: How-To-Repeat: With postgresql-server-9.1.2_3 and tcl-8.6.b.2: # cd /usr/ports/database/postgresql-pltcl # make install .. ===> Building for postgresql-pltcl-9.1.2_3 .. cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fPIC -DPIC -I/usr/local/include/tcl8.5 -I../../../src/include -I/usr/local/include -I/usr/local/include -c -o pltcl.o pltcl.c In file included from ../../../src/include/postgres.h:48, from pltcl.c:9: ./../../src/include/utils/elog.h:69:28: error: utils/errcodes.h: No such file or directory pltcl.c: In function 'compile_pltcl_function': pltcl.c:1252: error: 'ERRCODE_OUT_OF_MEMORY' undeclared (first use in this function) pltcl.c:1252: error: (Each undeclared identifier is reported only once pltcl.c:1252: error: for each function it appears in.) pltcl.c:1306: error: 'ERRCODE_FEATURE_NOT_SUPPORTED' undeclared (first use in this function) gmake: *** [pltcl.o] Error 1 *** Error code 2 Stop in /usr/ports/databases/postgresql-pltcl. ===>>> make failed for databases/postgresql-pltcl ===>>> Aborting update
Responsible Changed From-To: freebsd-ports-bugs->crees Over to new maintainer.
State Changed From-To: open->analyzed Testing.
crees 2012-02-19 14:02:26 UTC FreeBSD ports repository Modified files: databases/postgresql-pltcl Makefile Log: Fix build with 9.1; apparently incomplete builds are unsupported by upstream, so force rebuild of src/backend before trying pl/tcl PR: 164796 Revision Changes Path 1.26 +2 -1 ports/databases/postgresql-pltcl/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: analyzed->closed Thanks for the report. I've taken a different route to fixing it, though your way would work as well.