From owner-freebsd-ports@FreeBSD.ORG Tue Jan 15 12:03:39 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 939E2D6D for ; Tue, 15 Jan 2013 12:03:39 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net [IPv6:2a02:6b8:0:f05::5]) by mx1.freebsd.org (Postfix) with ESMTP id 431C918E for ; Tue, 15 Jan 2013 12:03:39 +0000 (UTC) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward5h.mail.yandex.net (Yandex) with ESMTP id 0C612D011F9; Tue, 15 Jan 2013 16:03:37 +0400 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id C10F92C005A; Tue, 15 Jan 2013 16:03:37 +0400 (MSK) Received: from ctsoff2.webstroy.ru (ctsoff2.webstroy.ru [213.27.12.78]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3bH8VqjG-3bH8sOEa; Tue, 15 Jan 2013 16:03:37 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1358251417; bh=1sIVtpazq8UjL+NRtTMj1H/6Zoy5BHkSubytH9GMxbs=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=SIEQdel2V4zkE7EvrMvt03e6BUn2BUgmy4sQ3lzhbf86+mzdgOzwvIX/S2ORzE2JW 8KBns5Qm+vZw32CBYBEo7S3xrxxQksjWBIYXuHaLqJFZ6eI1wGjCG+mSxZy97jeY3e QI+po116VlCEVeH0CDKRgLH3BQ91I7NcgjSE/fKc= Message-ID: <50F5458D.5090908@yandex.ru> Date: Tue, 15 Jan 2013 16:03:25 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130114 Thunderbird/17.0.2 MIME-Version: 1.0 To: Johan Hendriks Subject: Re: postgresql-plpython fails to build References: <50F53E67.30703@gmail.com> In-Reply-To: <50F53E67.30703@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 12:03:39 -0000 Johan Hendriks wrote on 15.01.2013 15:32: > I need the port postgresql-plpython for my baruwa install. > > But it will not install or build. > I have postgresql92-server installed, with the default options. > > the error i get is > > ===> Building for postgresql-plpython-9.2.2_2 > prereqdir=`cd 'parser/' >/dev/null && pwd` && \ > cd '../../src/include/parser/' && rm -f gram.h && \ > ln -s "$prereqdir/gram.h" . > prereqdir=`cd 'utils/' >/dev/null && pwd` && \ > cd '../../src/include/utils/' && rm -f fmgroids.h && \ > ln -s "$prereqdir/fmgroids.h" . > gmake -C utils probes.h > gmake[1]: Entering directory > `/usr/ports/databases/postgresql-plpython/work/postgresql-9.2.2/src/backend/utils' > > sed -f ./Gen_dummy_probes.sed probes.d >probes.h > gmake[1]: Leaving directory > `/usr/ports/databases/postgresql-plpython/work/postgresql-9.2.2/src/backend/utils' > > cd '../../src/include/utils/' && rm -f probes.h && \ > ln -s "../../../src/backend/utils/probes.h" . > cc -O2 -pipe -march=core2 -fno-strict-aliasing -Wall > -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement > -Wendif-labels -Wmissing-format-attribute -Wformat-security > -fno-strict-aliasing -fwrapv -fPIC -DPIC -I. -I. > -I/usr/local/include/python2.7 -I../../../src/include > -I/usr/local/include -I/usr/local/include -c -o plpy_cursorobject.o > plpy_cursorobject.c > In file included from ../../../src/include/postgres.h:48, > from plpy_cursorobject.c:7: > ../../../src/include/utils/elog.h:69:28: error: utils/errcodes.h: No > such file or directory > gmake: *** [plpy_cursorobject.o] Error 1 > *** [do-build] Error code 2 > > > anyone knows how to overcome the error! > > regards > Johan Good day, I working on fix. Since this touches many versions of PostgreSQL, it's need some time for proper testing. Fixes will bring into ports tree until the end of this week. There is also two related pr's about this: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166999 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174152 -- Regards, Ruslan Tinderboxing kills... the drives.