Date: Wed, 4 Jan 2012 18:02:37 GMT From: Mike Fisher <mfisher@csh.rit.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/163820: ICU 4.8 breaks postgresql83-server [patch] Message-ID: <201201041802.q04I2btV009606@red.freebsd.org> Resent-Message-ID: <201201041810.q04IABMa018618@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163820 >Category: ports >Synopsis: ICU 4.8 breaks postgresql83-server [patch] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jan 04 18:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Mike Fisher >Release: 8.1 >Organization: University of Rochester School of Nursing >Environment: >Description: After the update from ICU 4.6 to ICU 4.8, PostgreSQL 8.3's build fails: checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_library_init in -lssl... yes checking for ucol_open_46 in -licui18n... no checking for ucol_open_44 in -licui18n... no checking for ucol_open_43 in -licui18n... no checking for ucol_open_3_8 in -licui18n... no checking for ucol_open_3_6 in -licui18n... no checking for ucol_open_3_4 in -licui18n... no configure: error: library 'icui18n' is required for ICU ===> Script "configure" failed unexpectedly. Please report the problem to girgen@FreeBSD.org [maintainer] and attach the "/usr/ports/databases/postgresql83-server/work/postgresql-8.3.16/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/databases/postgresql83-server. *** Error code 1 Stop in /usr/ports/databases/postgresql83-server. >How-To-Repeat: pkg_add icu-4.8.1.1_1 cd /usr/ports/databases/postgresql83-server && make WITH_ICU=1 build >Fix: Replace files/extra-patch-icu4 with the attached version (modeled from postgresql84-server/files/extra-patch-icu4). Patch attached with submission follows: --- configure.in.orig 2012-01-04 12:05:15.768550000 -0500 +++ configure.in 2012-01-04 12:08:02.574207482 -0500 @@ -19,7 +19,7 @@ AC_INIT([PostgreSQL], [8.3.16], [pgsql-bugs@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.68], [], [m4_fatal([Autoconf version 2.68 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.])]) @@ -795,19 +795,27 @@ fi if test "$with_icu" = yes ; then - AC_CHECK_LIB(icui18n, ucol_open_43, [], [ - AC_CHECK_LIB(icui18n, ucol_open_3_8, [], [ - AC_CHECK_LIB(icui18n, ucol_open_3_6, [], [ - AC_CHECK_LIB(icui18n, ucol_open_3_4, [], [AC_MSG_ERROR([library 'icui18n' is required for ICU])]) + AC_CHECK_LIB(icui18n, ucol_open_48, [], [ + AC_CHECK_LIB(icui18n, ucol_open_44, [], [ + AC_CHECK_LIB(icui18n, ucol_open_43, [], [ + AC_CHECK_LIB(icui18n, ucol_open_3_8, [], [ + AC_CHECK_LIB(icui18n, ucol_open_3_6, [], [ + AC_CHECK_LIB(icui18n, ucol_open_3_4, [], [AC_MSG_ERROR([library 'icui18n' is required for ICU])]) + ]) ]) - ]) + ]) + ]) ]) - AC_CHECK_LIB(icuuc, ucnv_fromUChars_43, [], [ - AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_8, [], [ - AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_6, [], [ - AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_4, [], [AC_MSG_ERROR([library 'icuuc' is required for ICU])]) + AC_CHECK_LIB(icuuc, ucnv_fromUChars_48, [], [ + AC_CHECK_LIB(icuuc, ucnv_fromUChars_44, [], [ + AC_CHECK_LIB(icuuc, ucnv_fromUChars_43, [], [ + AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_8, [], [ + AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_6, [], [ + AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_4, [], [AC_MSG_ERROR([library 'icuuc' is required for ICU])]) + ]) ]) - ]) + ]) + ]) ]) fi >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201041802.q04I2btV009606>