From owner-freebsd-ports@FreeBSD.ORG  Sun Jan 20 10:24:05 2013
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
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 C237B2B9
 for <freebsd-ports@freebsd.org>; Sun, 20 Jan 2013 10:24:05 +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 3F583A74
 for <freebsd-ports@freebsd.org>; Sun, 20 Jan 2013 10:24:05 +0000 (UTC)
Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144])
 by forward5h.mail.yandex.net (Yandex) with ESMTP id 161EFD00FA9;
 Sun, 20 Jan 2013 14:24:03 +0400 (MSK)
Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1])
 by smtp1h.mail.yandex.net (Yandex) with ESMTP id C1DA21340226;
 Sun, 20 Jan 2013 14:24:03 +0400 (MSK)
Received: from ctsoff2.webstroy.ru (ctsoff2.webstroy.ru [213.27.12.78])
 by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id O30OJBab-O30CWf6F;
 Sun, 20 Jan 2013 14:24:03 +0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
 t=1358677443; bh=XZQvUk/Bg93z1CIimjwXgZUoaoI+3xvg4qGoeWbdDhg=;
 h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:
 References:In-Reply-To:Content-Type:Content-Transfer-Encoding;
 b=UfMG6tthZxmHOQNF/MqVMbGv3EWqzZK6UVfUjhqdLYmtnN4y1RHqqlyNRWg/BZvsL
 sd/lkMogRiOFED3kno9VAO7HE7HV93Uja/9EgzSjiP2YBgVjQ2wxJ8bytUFHoI55Sf
 cPSVH1+UsZVp4t6nVssAVqwn5nFvriHoCPw0XdZQ=
Message-ID: <50FBC5C1.5020904@yandex.ru>
Date: Sun, 20 Jan 2013 14:24:01 +0400
From: Ruslan Makhmatkhanov <cvs-src@yandex.ru>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:17.0) Gecko/20130114 Thunderbird/17.0.2
MIME-Version: 1.0
To: Johan Hendriks <joh.hendriks@gmail.com>
Subject: Re: postgresql-plpython fails to build
References: <50F53E67.30703@gmail.com> <50F5458D.5090908@yandex.ru>
 <50F54E04.4020402@gmail.com>
In-Reply-To: <50F54E04.4020402@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 <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Jan 2013 10:24:05 -0000

Johan Hendriks wrote on 15.01.2013 16:39:
> 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

Should be now fixed (thanks, Chris!). Please update your ports tree and 
try to build databases/postgresql92-plpython.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.