Date: Sun, 5 Feb 2012 14:52:50 GMT From: Pierre DAVID <pdagog@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/164796: database/postgresql-pltcl refuse to compile with PostgreSQL 9.1 Message-ID: <201202051452.q15Eqonl023572@red.freebsd.org> Resent-Message-ID: <201202051500.q15F0IR3017401@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 164796 >Category: ports >Synopsis: database/postgresql-pltcl refuse to compile with PostgreSQL 9.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 05 15:00:17 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Pierre DAVID >Release: 9.0-RELEASE and 10.0-CURRENT >Organization: >Environment: FreeBSD vagabond.ma.maison 10.0-CURRENT FreeBSD 10.0-CURRENT #110: Sun Feb 5 06:45:23 CET 2012 pda@biceps:/usr/obj/usr/src/sys/VAGABOND amd64 >Description: database/postgresql-pltcl refuse to compile with PostgreSQL 9.1 and Tcl 8.6: >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 >Fix: Patch to apply to master port (postgresql91-server). Patch attached with submission follows: diff -rud postgresql91-server.orig/files/patch-configure postgresql91-server/files/patch-configure --- postgresql91-server.orig/files/patch-configure 2012-02-05 15:41:45.000000000 +0100 +++ postgresql91-server/files/patch-configure 2012-02-04 17:43:09.246469721 +0100 @@ -1,6 +1,6 @@ ---- configure.orig 2011-07-08 08:12:33.000000000 +0800 -+++ configure 2011-09-12 15:47:13.056511624 +0800 -@@ -7283,7 +7283,7 @@ +--- configure.orig 2011-12-01 22:47:20.000000000 +0100 ++++ configure 2012-02-04 17:38:17.856478421 +0100 +@@ -7288,7 +7288,7 @@ { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } case $host_os in @@ -9,3 +9,12 @@ { { $as_echo "$as_me:$LINENO: error: threaded Python not supported on this platform" >&5 $as_echo "$as_me: error: threaded Python not supported on this platform" >&2;} { (exit 1); exit 1; }; } +@@ -29641,7 +29641,7 @@ + ac_config_files="$ac_config_files GNUmakefile src/Makefile.global" + + +-ac_config_links="$ac_config_links src/backend/port/dynloader.c:src/backend/port/dynloader/${template}.c src/backend/port/pg_sema.c:${SEMA_IMPLEMENTATION} src/backend/port/pg_shmem.c:${SHMEM_IMPLEMENTATION} src/backend/port/pg_latch.c:${LATCH_IMPLEMENTATION} src/include/dynloader.h:src/backend/port/dynloader/${template}.h src/include/pg_config_os.h:src/include/port/${template}.h src/Makefile.port:src/makefiles/Makefile.${template}" ++ac_config_links="$ac_config_links src/backend/port/dynloader.c:src/backend/port/dynloader/${template}.c src/backend/port/pg_sema.c:${SEMA_IMPLEMENTATION} src/backend/port/pg_shmem.c:${SHMEM_IMPLEMENTATION} src/backend/port/pg_latch.c:${LATCH_IMPLEMENTATION} src/include/dynloader.h:src/backend/port/dynloader/${template}.h src/include/pg_config_os.h:src/include/port/${template}.h src/Makefile.port:src/makefiles/Makefile.${template} src/include/utils/errcodes.h:src/backend/utils/errcodes.h" + + + if test "$PORTNAME" = "win32"; then >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202051452.q15Eqonl023572>