From owner-freebsd-ports@FreeBSD.ORG Mon Sep 1 11:59:51 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EA41106566C; Mon, 1 Sep 2008 11:59:51 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from melon.pingpong.net (melon.pingpong.net [195.178.174.161]) by mx1.freebsd.org (Postfix) with ESMTP id BC0FB8FC15; Mon, 1 Sep 2008 11:59:50 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 541D15084C; Mon, 1 Sep 2008 13:59:53 +0200 (CEST) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31963-01-7; Mon, 1 Sep 2008 13:59:53 +0200 (CEST) Received: from [192.168.1.204] (unknown [213.136.40.204]) by melon.pingpong.net (Postfix) with ESMTP id 4CDA050848; Mon, 1 Sep 2008 13:59:52 +0200 (CEST) Date: Mon, 01 Sep 2008 13:59:47 +0200 From: Palle Girgensohn To: Ivan Voras , Alex Goncharov Message-ID: <28D77E42460F06487CE1DD1D@girgMac.local> In-Reply-To: <9bbcef730809010445t34422bb4w9169208347faff84@mail.gmail.com> References: <9bbcef730809010445t34422bb4w9169208347faff84@mail.gmail.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) Errors-To: girgen+uustuds@pingpong.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at pingpong.net Cc: freebsd-ports@freebsd.org Subject: Re: Is postgresql83-server broken? (update: ICU and autotools problems?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2008 11:59:51 -0000 Mea culpa, I failed to committ the Makefile change last week. Now=20 everything should work fine. Regards, Palle --On m=E5ndag, m=E5 1 sep 2008 13.45.32 +0200 Ivan Voras = =20 wrote: > 2008/9/1 Alex Goncharov : >> ,--- You/Ivan (Mon, 01 Sep 2008 11:29:39 +0200) ----* >> | Can someone else confirm this? Do your postgresql83-server ports = build? >> >> Builds for me: >> > >> $ ls -l Makefile >> -rw-r--r-- 1 root wheel 10599 Aug 26 06:53 Makefile >> >> $ md5 Makefile >> MD5 (Makefile) =3D a2e5324a341aba72d86904c3f7453509 >> >> -------------------- >> >> What problem do you have? With the same Makefile? > > Yes, my Makefile is the same: > > /usr/ports/databases/postgresql83-server> md5 Makefile > MD5 (Makefile) =3D a2e5324a341aba72d86904c3f7453509 > > Are you using ICU? > > My (first) problem is this: distfile contains the following: > MD5 (postgresql/pg-833-icu-xx-2008-08-28.diff.gz) =3D > 94fb6634636cd36cb5fde449d76ece65 > SHA256 (postgresql/pg-833-icu-xx-2008-08-28.diff.gz) =3D > c7d77dafe78afcf2e92567c7cdfda45dcfe41ea71efb2e326ef4f7eb66ec416b > SIZE (postgresql/pg-833-icu-xx-2008-08-28.diff.gz) =3D 5302 > > but the Makefile contains: > > . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum) > USE_AUTOTOOLS=3D autoconf:262 > CONFIGURE_ARGS+=3D--with-icu > LIB_DEPENDS=3D icudata:${PORTSDIR}/devel/icu > PATCH_SITES+=3D http://people.freebsd.org/~girgen/postgresql-icu/:icu > PATCHFILES+=3D pg-833-icu-xx-2008-06-11.diff.gz:icu > . endif > > e.g. the ICU patches are mismatched: > ># make > > =3D=3D=3D> Vulnerability check disabled, database not found > =3D=3D=3D> Found saved configuration for postgresql-server-8.3.1 > =3D=3D=3D> Extracting for postgresql-server-8.3.3 > =3D> MD5 Checksum OK for postgresql/postgresql-8.3.3.tar.bz2. > =3D> SHA256 Checksum OK for postgresql/postgresql-8.3.3.tar.bz2. > =3D> No MD5 checksum recorded for > postgresql/pg-833-icu-xx-2008-06-11.diff.gz. =3D> No SHA256 checksum > recorded for postgresql/pg-833-icu-xx-2008-06-11.diff.gz. =3D> No = suitable > checksum found for postgresql/pg-833-icu-xx-2008-06-11.diff.gz. *** Error > code 1 > > Stop in /usr/ports/databases/postgresql83-server. > *** Error code 1 > > Stop in /usr/ports/databases/postgresql83-server. > > ---- > > After I fix this manually with "make makesum", there's another problem: > > =3D=3D=3D> Configuring for postgresql-server-8.3.3 > configure.in:22: error: Autoconf version 2.61 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. > configure.in:22: the top level > autom4te-2.62: /usr/local/bin/gm4 failed with exit status: 1 > *** Error code 1 > > Stop in /usr/ports/databases/postgresql83-server. > *** Error code 1 > > Stop in /usr/ports/databases/postgresql83-server. > > I believe this is also related to ICU because of this fragment in > Makefile: > > . if (defined(SERVER_ONLY) && defined(WITH_ICU)) || make(makesum) > USE_AUTOTOOLS=3D autoconf:262 > CONFIGURE_ARGS+=3D--with-icu > LIB_DEPENDS=3D icudata:${PORTSDIR}/devel/icu > PATCH_SITES+=3D http://people.freebsd.org/~girgen/postgresql-icu/:icu > PATCHFILES+=3D pg-833-icu-xx-2008-06-11.diff.gz:icu > . endif > > i.e. ICU is forcing autoconf 2.62 instead of 2.61. There is no > autoconf 2.61 in ports. It is needed because configure.in needs to be > patched for ICU. I think the ICU patch needs to be updated to the one > I attached (or maybe the fixed ICU patches were mistakenly not > committed before?) > > (ICU is needed to get working collations with UTF-8).