From nobody@FreeBSD.org  Wed Dec  5 16:05:48 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 90374259
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Dec 2012 16:05:48 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 758508FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Dec 2012 16:04:38 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qB5G3Rol017564
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 5 Dec 2012 16:03:27 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qB5G3RuR017563;
	Wed, 5 Dec 2012 16:03:27 GMT
	(envelope-from nobody)
Message-Id: <201212051603.qB5G3RuR017563@red.freebsd.org>
Date: Wed, 5 Dec 2012 16:03:27 GMT
From: Mark Beckman <mpb2@besys.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: postgresql-plpython build fails against postgresql92-server (reappearance of PR ports/166999)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174152
>Category:       ports
>Synopsis:       databases/postgresql-plpython build fails against postgresql92-server (reappearance of PR ports/166999)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 05 16:10:00 UTC 2012
>Closed-Date:    Sun Jan 20 10:21:57 UTC 2013
>Last-Modified:  Sun Jan 20 10:21:57 UTC 2013
>Originator:     Mark Beckman
>Release:        9.1-RC3
>Organization:
besys
>Environment:
FreeBSD freetest.besys.com 9.1-RC3 FreeBSD 9.1-RC3 #0: Tue Dec  4 22:40:59 CST 2012     root@freetest.besys.com:/usr/obj/usr/src/sys/DTRACE  amd64

>Description:
databases/postgresql-plpython build is failing using databases/postgresql92-server.  The issue is identical to that identified and resolved in PR ports/166999 (http://www.freebsd.org/cgi/query-pr.cgi?pr=166999).

It appears the patch was not applied to databases/postgrsql92-server when it came out.
>How-To-Repeat:
# cd databases/postgresql-plpython
# make install
>Fix:
Resolution in ports/166999 allows for a successful build.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Dec 9 17:53:15 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174152 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/174152: commit references a PR
Date: Sun, 20 Jan 2013 10:07:03 +0000 (UTC)

 Author: rm
 Date: Sun Jan 20 10:06:54 2013
 New Revision: 310678
 URL: http://svnweb.freebsd.org/changeset/ports/310678
 
 Log:
   Split out postgresql-python port on to bunch of PostgreSQL version-dependent ones,
   so the packages can be built with different versions of PostgreSQL. The patch is
   from crees@ with couple additions from me. It has some problems that prevents the
   build with python3, but it was decided that it's better to add this as starting
   point. Maintainership of this port also was passed to pgsql@ team.
   
   PR:		166999
   PR:     174152
   Reported by:	many
   Approved by:	pgsql (crees)
 
 Added:
   head/databases/postgresql83-plpython/
   head/databases/postgresql83-plpython/Makefile   (contents, props changed)
   head/databases/postgresql84-plpython/
   head/databases/postgresql84-plpython/Makefile   (contents, props changed)
   head/databases/postgresql90-plpython/
   head/databases/postgresql90-plpython/Makefile   (contents, props changed)
   head/databases/postgresql90-plpython/pkg-descr   (contents, props changed)
   head/databases/postgresql91-plpython/
   head/databases/postgresql91-plpython/Makefile   (contents, props changed)
   head/databases/postgresql92-plpython/
   head/databases/postgresql92-plpython/Makefile   (contents, props changed)
 Deleted:
   head/databases/postgresql-plpython/
 Modified:
   head/MOVED
   head/databases/Makefile
 
 Modified: head/MOVED
 ==============================================================================
 --- head/MOVED	Sun Jan 20 09:46:53 2013	(r310677)
 +++ head/MOVED	Sun Jan 20 10:06:54 2013	(r310678)
 @@ -4015,3 +4015,4 @@ devel/lbpp||2013-01-13|Has expired: Dead
  devel/titano||2013-01-13|Has expired: Dead upstream since 2001
  games/py-anki|games/anki|2013-01-16|Project was merged 
  mail/claws-mail-synce||2013-01-16|Has expired: No longer supported by Claws Mail team
 +databases/postgresql-plpython|databases/postgresql90-python|2013-01-20|This port was splitted out to several versioned ports
 
 Modified: head/databases/Makefile
 ==============================================================================
 --- head/databases/Makefile	Sun Jan 20 09:46:53 2013	(r310677)
 +++ head/databases/Makefile	Sun Jan 20 10:06:54 2013	(r310678)
 @@ -635,7 +635,6 @@
      SUBDIR += postgresql-odbc
      SUBDIR += postgresql-pllua
      SUBDIR += postgresql-plproxy
 -    SUBDIR += postgresql-plpython
      SUBDIR += postgresql-plruby
      SUBDIR += postgresql-relay
      SUBDIR += postgresql-repmgr
 @@ -643,12 +642,14 @@
      SUBDIR += postgresql83-contrib
      SUBDIR += postgresql83-docs
      SUBDIR += postgresql83-plperl
 +    SUBDIR += postgresql83-plpython
      SUBDIR += postgresql83-pltcl
      SUBDIR += postgresql83-server
      SUBDIR += postgresql84-client
      SUBDIR += postgresql84-contrib
      SUBDIR += postgresql84-docs
      SUBDIR += postgresql84-plperl
 +    SUBDIR += postgresql84-plpython
      SUBDIR += postgresql84-pltcl
      SUBDIR += postgresql84-server
      SUBDIR += postgresql90-client
 @@ -656,6 +657,7 @@
      SUBDIR += postgresql90-docs
      SUBDIR += postgresql90-pgtcl
      SUBDIR += postgresql90-plperl
 +    SUBDIR += postgresql90-plpython
      SUBDIR += postgresql90-pltcl
      SUBDIR += postgresql90-server
      SUBDIR += postgresql91-client
 @@ -663,6 +665,7 @@
      SUBDIR += postgresql91-docs
      SUBDIR += postgresql91-pgtcl
      SUBDIR += postgresql91-plperl
 +    SUBDIR += postgresql91-plpython
      SUBDIR += postgresql91-pltcl
      SUBDIR += postgresql91-server
      SUBDIR += postgresql92-client
 @@ -670,6 +673,7 @@
      SUBDIR += postgresql92-docs
      SUBDIR += postgresql92-pgtcl
      SUBDIR += postgresql92-plperl
 +    SUBDIR += postgresql92-plpython
      SUBDIR += postgresql92-pltcl
      SUBDIR += postgresql92-server
      SUBDIR += postgresql_autodoc
 
 Added: head/databases/postgresql83-plpython/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/databases/postgresql83-plpython/Makefile	Sun Jan 20 10:06:54 2013	(r310678)
 @@ -0,0 +1,6 @@
 +# $FreeBSD$
 +
 +USE_PYTHON=	-2.7
 +WANT_PGSQL_VER=	83
 +
 +.include "${.CURDIR}/../postgresql90-plpython/Makefile"
 
 Added: head/databases/postgresql84-plpython/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/databases/postgresql84-plpython/Makefile	Sun Jan 20 10:06:54 2013	(r310678)
 @@ -0,0 +1,6 @@
 +# $FreeBSD$
 +
 +USE_PYTHON=	-2.7
 +WANT_PGSQL_VER=	84
 +
 +.include "${.CURDIR}/../postgresql90-plpython/Makefile"
 
 Added: head/databases/postgresql90-plpython/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/databases/postgresql90-plpython/Makefile	Sun Jan 20 10:06:54 2013	(r310678)
 @@ -0,0 +1,31 @@
 +# $FreeBSD$
 +
 +PORTNAME=	postgresql
 +CATEGORIES=	databases python
 +PKGNAMESUFFIX=	${WANT_PGSQL_VER}-plpython
 +
 +MAINTAINER=	pgsql@FreeBSD.org
 +COMMENT=	Module for using Python to write SQL functions
 +
 +USE_PGSQL=	server
 +
 +MASTERDIR=	${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
 +
 +WANT_PGSQL_VER?=	90
 +
 +USE_PYTHON?=	yes
 +PYTHON_MAJOR_VER=	${PYTHON_VER:R}
 +CONFIGURE_ARGS=	--with-python
 +PLIST_SUB=	PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
 +
 +.if ${PYTHON_MAJOR_VER} == 3
 +PLIST_SUB+=	PYTHON3=""
 +.else
 +PLIST_SUB+=	PYTHON3="@comment "
 +.endif
 +
 +BUILD_DIRS=	src/backend src/pl/plpython
 +INSTALL_DIRS=	src/pl/plpython
 +SLAVE_ONLY=	yes
 +
 +.include "${MASTERDIR}/Makefile"
 
 Added: head/databases/postgresql90-plpython/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/databases/postgresql90-plpython/pkg-descr	Sun Jan 20 10:06:54 2013	(r310678)
 @@ -0,0 +1,6 @@
 +PL/Python allows one to write PostgeSQL stored functions and
 +procedures in Python (http://www.python.org/).
 +
 +This software is part of the standard PostgreSQL distribution.
 +
 +WWW: http://www.postgresql.org/
 
 Added: head/databases/postgresql91-plpython/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/databases/postgresql91-plpython/Makefile	Sun Jan 20 10:06:54 2013	(r310678)
 @@ -0,0 +1,5 @@
 +# $FreeBSD$
 +
 +WANT_PGSQL_VER=	91
 +
 +.include "${.CURDIR}/../postgresql90-plpython/Makefile"
 
 Added: head/databases/postgresql92-plpython/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/databases/postgresql92-plpython/Makefile	Sun Jan 20 10:06:54 2013	(r310678)
 @@ -0,0 +1,5 @@
 +# $FreeBSD$
 +
 +WANT_PGSQL_VER=	92
 +
 +.include "${.CURDIR}/../postgresql90-plpython/Makefile"
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: rm 
State-Changed-When: Sun Jan 20 10:21:56 UTC 2013 
State-Changed-Why:  
This port had splitted out onto bunch of versioned ports. You need to 
use databases/postgresql92-plpython in your case. Thank you forreport 
and sorry for delay on this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174152 
>Unformatted:
