ports/151214: [PATCH] postgresql 8.3 server + ICU failed to build

Dmitry A Grigorovich odipgm at gmail.com
Mon Oct 4 19:10:06 UTC 2010


>Number:         151214
>Category:       ports
>Synopsis:       [PATCH] postgresql 8.3 server + ICU failed to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 04 19:10:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry A Grigorovich
>Release:        FreeBSD 8.1-RELEASE-p1 amd64
>Organization:
ICiG SB RAS, Russia
>Environment:
System: FreeBSD rider-8a.bionet.nsc.ru 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1
>Description:
Some days ago port databases/postgrsql83-server changed to using autoconf 2.67
When ICU=on for this port then building failed

Failed because when ICU=on then used patch pg-8311-icu-xx-2010-05-14.diff.gz
but this patch allow using only autoconf 2.62
but not allow using autoconf 2.67 !!!

>How-To-Repeat:
1) # Update ports to current
2) cd /usr/ports/databases/postgrsql83-server
3) make config
4) # Include ICU=on here
5) make build

Builing failed

>Fix:
1) Copy file extra-patch-8311-20101002
to /usr/ports/databases/postgresql83-server/files/

2) Patch Makefile for port
cd /usr/ports/databases/postgresql83-server
patch <.../patch-Makefile

3) Rebuild port

--- patch-Makefile begins here ---
--- Makefile.orig	2010-09-16 08:12:27.000000000 +0700
+++ Makefile	2010-10-02 23:14:33.000000000 +0700
@@ -107,6 +107,7 @@
 LIB_DEPENDS=	icudata:${PORTSDIR}/devel/icu
 PATCH_SITES+=	http://people.freebsd.org/~girgen/postgresql-icu/:icu
 PATCHFILES+=	pg-8311-icu-xx-2010-05-14.diff.gz:icu
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-8311-20101002
 .  endif
 
 PATCH_DIST_STRIP=-p1
--- patch-Makefile ends here ---

--- extra-patch-8311-20101002 begins here ---
--- configure.in.0	2010-10-02 19:11:23.000000000 +0700
+++ configure.in	2010-10-02 19:16:35.000000000 +0700
@@ -19,7 +19,7 @@
 
 AC_INIT([PostgreSQL], [8.3.11], [pgsql-bugs at postgresql.org])
 
-m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.62], [], [m4_fatal([Autoconf version 2.62 is required.
+m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.67], [], [m4_fatal([Autoconf version 2.67 is required.
 Untested combinations of 'autoconf' and PostgreSQL versions are not
 recommended.  You can remove the check from 'configure.in' but it is then
 your responsibility whether the result works or not.])])
--- extra-patch-8311-20101002 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list