From: Matthew Seaman on

devel/icu4 was recently updated and now installs shlibs with ABI version
44. Unfortunately this hasn't been propagated to those ports with a
LIB_DEPENDS on devel/icu4 (all three of them):

worm:/usr/ports:% grep -r 'icu.*\.43:' .
./databases/postgresql90-server/Makefile:LIB_DEPENDS+=
icudata.43:${PORTSDIR}/devel/icu4
./databases/postgresql84-server/Makefile:LIB_DEPENDS+=
icudata.43:${PORTSDIR}/devel/icu4
./www/webkit-gtk2/Makefile:LIB_DEPENDS+= icutu.43:${PORTSDIR}/devel/icu4

pkg_info -L icu-4.4 | grep '\.so'
/usr/local/lib/libicudata.so
/usr/local/lib/libicudata.so.44
/usr/local/lib/libicudata.so.44.0
/usr/local/lib/libicui18n.so
/usr/local/lib/libicui18n.so.44
/usr/local/lib/libicui18n.so.44.0
/usr/local/lib/libicuio.so
/usr/local/lib/libicuio.so.44
/usr/local/lib/libicuio.so.44.0
/usr/local/lib/libicule.so
/usr/local/lib/libicule.so.44
/usr/local/lib/libicule.so.44.0
/usr/local/lib/libiculx.so
/usr/local/lib/libiculx.so.44
/usr/local/lib/libiculx.so.44.0
/usr/local/lib/libicutu.so
/usr/local/lib/libicutu.so.44
/usr/local/lib/libicutu.so.44.0
/usr/local/lib/libicuuc.so
/usr/local/lib/libicuuc.so.44
/usr/local/lib/libicuuc.so.44.0

However naively incrementing the shlib version in the
databases/postgresql84-server Makefile doesn't work:

===> Configuring for postgresql-server-8.4.4_2
checking build system type... amd64-portbld-freebsd8.1
checking host system type... amd64-portbld-freebsd8.1
checking which template to use... freebsd
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... yes
[...]
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
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(a)FreeBSD.org [maintainer] and attach the
"/usr/ports/databases/postgresql84-server/work/postgresql-8.4.4/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

No idea about www/webkit-gtk2 I'm afraid.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew(a)infracaninophile.co.uk Kent, CT11 9PW

From: Scot Hetzel on
On Fri, Jul 9, 2010 at 5:27 PM, Matthew Seaman
<m.seaman(a)infracaninophile.co.uk> wrote:
> However naively incrementing the shlib version in the
> databases/postgresql84-server Makefile doesn't work:
>
> ===>  Configuring for postgresql-server-8.4.4_2
> checking build system type... amd64-portbld-freebsd8.1
> checking host system type... amd64-portbld-freebsd8.1
> checking which template to use... freebsd
> checking whether to build with 64-bit integer date/time support... yes
> checking whether NLS is wanted... yes
> [...]
> checking for CRYPTO_new_ex_data in -lcrypto... yes
> checking for SSL_library_init in -lssl... yes
> 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(a)FreeBSD.org [maintainer] and attach the
> "/usr/ports/databases/postgresql84-server/work/postgresql-8.4.4/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
>
Looks like it needs a change to the ${WRKSRC}/configure script to
detect ucol_open_44 and ucnv_fromUChars_44:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/postgresql84-server/files/extra-patch-icu4

The simplest way to fix this would be to change ucol_open_43 and
ucnv_fromUChars_43 in the extra-patch-icu4 to ucol_open_44 and
ucnv_fromUChars_44.

Scot
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"