From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 3 22:10:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 09450220 for ; Wed, 3 Apr 2013 22:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E08B4268 for ; Wed, 3 Apr 2013 22:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r33MA1d4070809 for ; Wed, 3 Apr 2013 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r33MA1x6070808; Wed, 3 Apr 2013 22:10:01 GMT (envelope-from gnats) Resent-Date: Wed, 3 Apr 2013 22:10:01 GMT Resent-Message-Id: <201304032210.r33MA1x6070808@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Craig Leres Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 21CF41B7 for ; Wed, 3 Apr 2013 22:04:15 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca]) by mx1.freebsd.org (Postfix) with ESMTP id 03F3023D for ; Wed, 3 Apr 2013 22:04:15 +0000 (UTC) Received: from fun.ee.lbl.gov (localhost [127.0.0.1]) by fun.ee.lbl.gov (8.14.6/8.14.6) with ESMTP id r33M4ESK060963 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Apr 2013 15:04:14 -0700 (PDT) Received: (from leres@localhost) by fun.ee.lbl.gov (8.14.6/8.14.6/Submit) id r33M4E3l060962; Wed, 3 Apr 2013 15:04:14 -0700 (PDT) Message-Id: <201304032204.r33M4E3l060962@fun.ee.lbl.gov> Date: Wed, 3 Apr 2013 15:04:14 -0700 (PDT) From: Craig Leres To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177620: databases/py-MySQLdb*: Inconsistent CONFLICTS Cc: leres@ee.lbl.gov X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Craig Leres List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 22:10:02 -0000 >Number: 177620 >Category: ports >Synopsis: databases/py-MySQLdb*: Inconsistent CONFLICTS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 03 22:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Craig Leres >Release: FreeBSD 9.1-RELEASE amd64 >Organization: Lawrence Berkeley National Laboratory >Environment: System: FreeBSD fun.ee.lbl.gov 9.1-RELEASE FreeBSD 9.1-RELEASE #4 r13: Fri Feb 1 19:03:16 PST 2013 leres@fun.ee.lbl.gov:/sys/amd64/compile/LBL amd64 >Description: It's possible to install both py-MySQLdb and py-MySQLdb55 (or any one of the other satellite ports) even though they install files in the same locations. >How-To-Repeat: cd /usr/ports/databases/py-MySQLdb && make install cd /usr/ports/databases/py-MySQLdb55 && make install pkg_info -g pkg_info -g py27-MySQLdb-1.2.3_2 (notice tons of bad checksums) >Fix: Currently the CONFLICTS are: % cd /usr/ports/databases && grep CONFLICTS py-MySQLdb*/Makefile py-MySQLdb/Makefile:CONFLICTS= py*-MySQLdb-devel-[0-9]* py-MySQLdb41/Makefile:CONFLICTS= py*-MySQLdb-devel-[0-9]* py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* py-MySQLdb50/Makefile:CONFLICTS= py*-MySQLdb-devel-[0-9]* py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* py-MySQLdb51/Makefile:CONFLICTS= py*-MySQLdb-devel-[0-9]* py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* py-MySQLdb55/Makefile:CONFLICTS= py*-MySQLdb-devel-[0-9]* py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* Change py-MySQLdb's CONFLICTS to: CONFLICTS= py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* Remove CONFLICTS from the py-MySQLdb[45][0-9] ports and use CONFLICTS from the master port. Note that this eliminates the "py*-MySQLdb-devel-[0-9]*" pattern from CONFLICTS in the satellite ports which doesn't match any current ports. See attached patch. --- patch.txt begins here --- --- py-MySQLdb/Makefile.orig 2013-04-03 14:51:22.000000000 -0700 +++ py-MySQLdb/Makefile 2013-04-03 14:51:54.000000000 -0700 @@ -23,7 +23,7 @@ PYDISTUTILS_PKGNAME= MySQL-python PYEASYINSTALL_ARCHDEP= yes -CONFLICTS= py*-MySQLdb-devel-[0-9]* +CONFLICTS= py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} --- py-MySQLdb41/Makefile.orig 2013-04-03 14:54:24.000000000 -0700 +++ py-MySQLdb41/Makefile 2012-11-19 10:05:04.000000000 -0800 @@ -9,6 +9,8 @@ COMMENT= Access a MySQL database through Python (Using MySQL 4.1 Client) +CONFLICTS= py*-MySQLdb-devel-[0-9]* py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* + WANT_MYSQL_VER= 41 MASTERDIR= ${.CURDIR}/../py-MySQLdb --- py-MySQLdb50/Makefile.orig 2013-04-03 14:54:44.000000000 -0700 +++ py-MySQLdb50/Makefile 2012-11-19 10:05:05.000000000 -0800 @@ -9,6 +9,8 @@ COMMENT= Access a MySQL database through Python (Using MySQL 5.0 Client) +CONFLICTS= py*-MySQLdb-devel-[0-9]* py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* + WANT_MYSQL_VER= 50 MASTERDIR= ${.CURDIR}/../py-MySQLdb --- py-MySQLdb51/Makefile.orig 2013-04-03 14:54:53.000000000 -0700 +++ py-MySQLdb51/Makefile 2013-04-03 14:54:57.000000000 -0700 @@ -9,8 +9,6 @@ COMMENT= Access a MySQL database through Python (Using MySQL 5.1 Client) -CONFLICTS= py*-MySQLdb-devel-[0-9]* py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* - WANT_MYSQL_VER= 51 MASTERDIR= ${.CURDIR}/../py-MySQLdb --- py-MySQLdb55/Makefile.orig 2013-04-03 14:50:46.000000000 -0700 +++ py-MySQLdb55/Makefile 2013-04-03 14:51:06.000000000 -0700 @@ -9,8 +9,6 @@ COMMENT= Access a MySQL database through Python (Using MySQL 5.5 Client) -CONFLICTS= py*-MySQLdb-devel-[0-9]* py*-MySQLdb-[0-9]* py*-MySQLdb[45][0-9]-[0-9]* - WANT_MYSQL_VER= 55 MASTERDIR= ${.CURDIR}/../py-MySQLdb --- patch.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: