From owner-freebsd-ports@FreeBSD.ORG Tue Jan 15 12:39:44 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8CF2BA6D for ; Tue, 15 Jan 2013 12:39:44 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by mx1.freebsd.org (Postfix) with ESMTP id E1BD6348 for ; Tue, 15 Jan 2013 12:39:43 +0000 (UTC) Received: by mail-lb0-f169.google.com with SMTP id gk1so116935lbb.28 for ; Tue, 15 Jan 2013 04:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=e/YjYH6ZzSFAHDIpB5/jJP+WYaa3PRgziAohi/PIKRk=; b=ejIhMKig4yU/kUBksadr9c8gEZRL2hwzPbpGm+47K9LAmal+7gcbnHjIaP3kSBcZlp 5MYiEnY/Sg3aSAbfkmhQmUMpIW6WpFU4JDTYE2jZHTNwqFvsr3wku/laWg7Pdl5L452z SWkBHiULNoI1zTON/cdRvpMRJvVq4povhyA8qV8vdn8dbx2mwVYEqxyqNoWNLmkHG+ea nONUMszfeimwPPGu7QJ3Z/JY86ryVzM0QpB43OMR9uweLxrOwUYPbGfxxhDH7M3GG4Xo u7zwHlhuL9BV2eZME7D/5kbQdsHy/NAO8Bu+f5RoNfFu4TgRKkc/liqi+GrVJ3fDh7q0 RM9g== X-Received: by 10.112.98.105 with SMTP id eh9mr36263456lbb.131.1358253576822; Tue, 15 Jan 2013 04:39:36 -0800 (PST) Received: from [192.168.1.129] (schavemaker.nl. [213.84.84.186]) by mx.google.com with ESMTPS id pz15sm6645956lab.3.2013.01.15.04.39.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 04:39:35 -0800 (PST) Message-ID: <50F54E04.4020402@gmail.com> Date: Tue, 15 Jan 2013 13:39:32 +0100 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: postgresql-plpython fails to build References: <50F53E67.30703@gmail.com> <50F5458D.5090908@yandex.ru> In-Reply-To: <50F5458D.5090908@yandex.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:39:44 -0000 Ruslan Makhmatkhanov schreef: > 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 > Thank you, i will await the fix and report back if it installs. Thank you for your time! regards Johan Hendriks