From owner-freebsd-python@FreeBSD.ORG Sun Sep 11 07:03:07 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDCB7106566B; Sun, 11 Sep 2011 07:03:07 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6BDE98FC12; Sun, 11 Sep 2011 07:03:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8B7377Z096061; Sun, 11 Sep 2011 07:03:07 GMT (envelope-from crees@freefall.freebsd.org) Received: (from crees@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8B737SS096057; Sun, 11 Sep 2011 07:03:07 GMT (envelope-from crees) Date: Sun, 11 Sep 2011 07:03:07 GMT Message-Id: <201109110703.p8B737SS096057@freefall.freebsd.org> To: dar.quonb@gmail.com, crees@FreeBSD.org, freebsd-python@FreeBSD.org From: crees@FreeBSD.org Cc: Subject: Re: ports/155099: lang/python*: Not handled "nis_failed.so" file by python port in world without NIS X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 07:03:07 -0000 Synopsis: lang/python*: Not handled "nis_failed.so" file by python port in world without NIS State-Changed-From-To: open->closed State-Changed-By: crees State-Changed-When: Sun Sep 11 07:03:06 UTC 2011 State-Changed-Why: Duplicate of ports/115940 http://www.freebsd.org/cgi/query-pr.cgi?pr=155099 From owner-freebsd-python@FreeBSD.ORG Sun Sep 11 11:12:57 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A907106564A; Sun, 11 Sep 2011 11:12:57 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 12D418FC14; Sun, 11 Sep 2011 11:12:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8BBCuJt052862; Sun, 11 Sep 2011 11:12:56 GMT (envelope-from crees@freefall.freebsd.org) Received: (from crees@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8BBCu2e052858; Sun, 11 Sep 2011 11:12:56 GMT (envelope-from crees) Date: Sun, 11 Sep 2011 11:12:56 GMT Message-Id: <201109111112.p8BBCu2e052858@freefall.freebsd.org> To: crees@FreeBSD.org, freebsd-python@FreeBSD.org, crees@FreeBSD.org From: crees@FreeBSD.org Cc: Subject: Re: ports/115940: Missed one file in lang/python25 if NO_NIS defined X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 11:12:57 -0000 Synopsis: Missed one file in lang/python25 if NO_NIS defined Responsible-Changed-From-To: freebsd-python->crees Responsible-Changed-By: crees Responsible-Changed-When: Sun Sep 11 11:12:56 UTC 2011 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=115940 From owner-freebsd-python@FreeBSD.ORG Sun Sep 11 11:13:12 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 659B01065675; Sun, 11 Sep 2011 11:13:12 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3C85B8FC19; Sun, 11 Sep 2011 11:13:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8BBDBiI052972; Sun, 11 Sep 2011 11:13:11 GMT (envelope-from crees@freefall.freebsd.org) Received: (from crees@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8BBDB2i052968; Sun, 11 Sep 2011 11:13:11 GMT (envelope-from crees) Date: Sun, 11 Sep 2011 11:13:11 GMT Message-Id: <201109111113.p8BBDB2i052968@freefall.freebsd.org> To: gcooper@FreeBSD.org, crees@FreeBSD.org, freebsd-python@FreeBSD.org From: crees@FreeBSD.org Cc: Subject: Re: ports/147291: lang/python* doesn't compile nis.so when WITHOUT_NIS specified; breaks make package X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 11:13:12 -0000 Synopsis: lang/python* doesn't compile nis.so when WITHOUT_NIS specified; breaks make package State-Changed-From-To: open->closed State-Changed-By: crees State-Changed-When: Sun Sep 11 11:13:11 UTC 2011 State-Changed-Why: Duplicate of 115940 http://www.freebsd.org/cgi/query-pr.cgi?pr=147291 From owner-freebsd-python@FreeBSD.ORG Sun Sep 11 12:11:09 2011 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F02411065672 for ; Sun, 11 Sep 2011 12:11:09 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.161.179]) by mx1.freebsd.org (Postfix) with ESMTP id B4CD28FC18 for ; Sun, 11 Sep 2011 12:11:09 +0000 (UTC) Received: by gxk1 with SMTP id 1so2908010gxk.10 for ; Sun, 11 Sep 2011 05:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=odRJAb5BRSMi/GQTSykCbBN/jbS71nhBdTkYzktFMYc=; b=pg90EruShOXIMMUw4HHX4GQCArXX36GAFzu2Dl5jGTRaKeOtArwkvb8nw+sGrM/q21 RHDKpwSS2rwnZ2YLy/n4KexK/tWcy8+Xu7Cs3Mw3igcF6k9gzATE5Bhvo1f6CdBBV6Rg jTPrcOyp0OIVFqpae0cBb8giIpxSgxOCFYKA8= Received: by 10.231.44.203 with SMTP id b11mr5155775ibf.84.1315741403195; Sun, 11 Sep 2011 04:43:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.61.148 with HTTP; Sun, 11 Sep 2011 04:42:53 -0700 (PDT) From: Chris Rees Date: Sun, 11 Sep 2011 12:42:53 +0100 Message-ID: To: bug-followup@freebsd.org, python@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: ports/115940: Missed one file in lang/python25 if NO_NIS defined X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 12:11:10 -0000 Hi, This problem has been going on for a number of years, and as far as I can see there isn't a proper and elegant solution. A fix is at [1], which should solve the problem, and I'm going to tinderbox test and commit it if no-one complains. Chris [1] http://www.bayofrum.net/~crees/patches/python-nis_failed-fix.diff http://www.freebsd.org/cgi/query-pr.cgi?pr=3D115940 --=20 Chris Rees =A0 =A0 =A0 =A0 =A0| FreeBSD Developer crees@FreeBSD.org =A0 | http://people.freebsd.org/~crees From owner-freebsd-python@FreeBSD.ORG Sun Sep 11 17:20:05 2011 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 744F9106564A for ; Sun, 11 Sep 2011 17:20:05 +0000 (UTC) (envelope-from gofdp-freebsd-python@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 322E28FC12 for ; Sun, 11 Sep 2011 17:20:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R2nSq-0006eK-24 for freebsd-python@freebsd.org; Sun, 11 Sep 2011 19:05:04 +0200 Received: from 187.101.120.126 ([187.101.120.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Sep 2011 19:05:04 +0200 Received: from rakuco by 187.101.120.126 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Sep 2011 19:05:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-python@freebsd.org From: Raphael Kubo da Costa Date: Sun, 11 Sep 2011 13:59:56 -0300 Lines: 25 Message-ID: <87sjo33tgz.fsf@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 187.101.120.126 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (berkeley-unix) Cancel-Lock: sha1:vzehmmEGEf6mNWqV9PiaBvEu2fU= Subject: lang/python* and --enable-shared X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 17:20:05 -0000 Hello there, I'm currently working on updating and cleaning up the PyQt ports. After my current changes, devel/py-qt4-designerplugin cannot be built because the configuration script does something similar to the following: from distutils.sysconfig import get_config_vars ducfg = get_config_vars() # ... if not "--enable-shared" in ducfg.get("CONFIG_ARGS", ""): # error out and do not build And indeed, the lang/python27 port I have installed here does not pass --enable-shared to its configuration script. Is that intentional? Can someone explain what the effects of this option are? So far, we were just patching the configuration script to skip this check altogether, but I'm not sure this is even correct. Cheers, rakuco From owner-freebsd-python@FreeBSD.ORG Sun Sep 11 20:23:13 2011 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DD43106566B; Sun, 11 Sep 2011 20:23:13 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id 457568FC0C; Sun, 11 Sep 2011 20:23:13 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1R2qD8-0002Ll-Kg; Mon, 12 Sep 2011 00:01:02 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 5C65BB84D; Mon, 12 Sep 2011 00:00:58 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 231D0B846; Mon, 12 Sep 2011 00:00:58 +0400 (MSD) Date: Mon, 12 Sep 2011 00:00:58 +0400 From: Dmitry Marakasov To: freebsd-ports@freebsd.org Message-ID: <20110911200057.GA1934@hades.panopticon> References: <20110907032718.GJ42123@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110907032718.GJ42123@hades.panopticon> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: stas@FreeBSD.org, kde@FreeBSD.org, python@FreeBSD.org Subject: Re: LDFLAGS support for bsd.port.mk and CPPFLAGS/LDFLAGS cleanup X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 20:23:13 -0000 * Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: The patch is ready: http://people.freebsd.org/~amdmi3/ldflags.patch While it's mostly a bunch of similar changes, I'd like community eyes on specific important parts, namely Mk/ changes, python and ruby and generally all := assigns of *FLAGS, as these are dangerous (may refer variables which were not yet defined or which are changed later. However, I don't see any other way to prepend values instead of appending). -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-python@FreeBSD.ORG Mon Sep 12 11:07:10 2011 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0220B1065670 for ; Mon, 12 Sep 2011 11:07:10 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB0838FC20 for ; Mon, 12 Sep 2011 11:07:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8CB795w005536 for ; Mon, 12 Sep 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8CB79Kq005534 for freebsd-python@FreeBSD.org; Mon, 12 Sep 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Sep 2011 11:07:09 GMT Message-Id: <201109121107.p8CB79Kq005534@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-python@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2011 11:07:10 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/159962 python [PATCH] Mk/bsd.python.mk: prevent polluting filesystem o ports/159215 python Mk/bsd.python.mk: PYTHON_VERSION is ignored o ports/156759 python [patch] lang/python: kevent does not accept KQ_NOTE_EX o ports/156425 python lang/python26: Needs to include -L/usr/local/lib/pth i o ports/156076 python [patch] databases/py-sqlite3: Undefined symbol "sqlite o ports/155970 python [PATCH] lang/python: speed up upgrade-site-packages o ports/155936 python lang/python27 Pthread: previous declaration of ... o ports/155526 python [PATCH] devel/py-elementtree: ignore if python >= 2.5 o ports/154209 python [PATCH] lang/python: Install symlink for ptags o ports/153952 python lang/python26 + pth fails to reconfigure cflags to inc o ports/153167 python Problem with signals, threads, and subprocesses in lan o ports/152886 python databases/py-bsddb fails to build with databases/db51 o ports/152224 python [patch] fix installed permissions for lang/python27 o ports/151534 python lang/python26 + WITH_PTH doesn't install correctly o ports/149167 python lang/python26 fails to build _ctypes on Sheevaplug (AR o ports/146957 python Mk/bsd.python.mk: PYTHONOPTIMIZE=1 in environ(7) break o ports/146823 python [patch] lang/python26: knob to build _ctypes module ag o ports/146644 python lang/python26: WITH_PTH option breaks most ports depen o ports/140968 python x11-toolkits/py-tkinter(devel/pth): py26-tkinter-2.6.4 o ports/136917 python [patch] lang/python26: gettext detection o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/118301 python [patch] devel/py-setuptools easy-install.pth contents 22 problems total. From owner-freebsd-python@FreeBSD.ORG Tue Sep 13 21:30:21 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CE69106566C; Tue, 13 Sep 2011 21:30:21 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 752F48FC13; Tue, 13 Sep 2011 21:30:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8DLULC8047294; Tue, 13 Sep 2011 21:30:21 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8DLULTM047279; Tue, 13 Sep 2011 21:30:21 GMT (envelope-from edwin) Date: Tue, 13 Sep 2011 21:30:21 GMT Message-Id: <201109132130.p8DLULTM047279@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/160717: port: lang/python27 causing other ports to hang during configure? X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 21:30:21 -0000 Synopsis: port: lang/python27 causing other ports to hang during configure? Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Tue Sep 13 21:30:20 UTC 2011 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=160717 From owner-freebsd-python@FreeBSD.ORG Thu Sep 15 14:19:52 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8E19106566C; Thu, 15 Sep 2011 14:19:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C182F8FC14; Thu, 15 Sep 2011 14:19:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8FEJqpF074088; Thu, 15 Sep 2011 14:19:52 GMT (envelope-from sunpoet@freefall.freebsd.org) Received: (from sunpoet@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8FEJqBF074084; Thu, 15 Sep 2011 14:19:52 GMT (envelope-from sunpoet) Date: Thu, 15 Sep 2011 14:19:52 GMT Message-Id: <201109151419.p8FEJqBF074084@freefall.freebsd.org> To: anatoly.borodin@gmail.com, sunpoet@FreeBSD.org, freebsd-python@FreeBSD.org From: sunpoet@FreeBSD.org Cc: Subject: Re: ports/152886: databases/py-bsddb fails to build with databases/db51 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 14:19:53 -0000 Synopsis: databases/py-bsddb fails to build with databases/db51 State-Changed-From-To: open->feedback State-Changed-By: sunpoet State-Changed-When: Thu Sep 15 14:15:12 UTC 2011 State-Changed-Why: Please try this patch [1]. Save it as ${PORTSDIR}/databases/py-bsddb/files/patch-_bsddb.c and build databases/py-bsddb with databases/db5. [1] http://people.freebsd.org/~sunpoet/patch/py-bsddb__files__patch-_bsddb.c http://www.freebsd.org/cgi/query-pr.cgi?pr=152886 From owner-freebsd-python@FreeBSD.ORG Sat Sep 17 19:25:30 2011 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F16C2106564A; Sat, 17 Sep 2011 19:25:30 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B0A178FC08; Sat, 17 Sep 2011 19:25:30 +0000 (UTC) Received: by iadk27 with SMTP id k27so5757269iad.13 for ; Sat, 17 Sep 2011 12:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=ulzCA1kdMDkRIlW2gn0QIWb8zZWiJselqSAbCUh7NP0=; b=HBfKstERm6wNSnLWUPUrZrgQkTDZggvwpT31O/+6p/YqQz31d1RTaOxHpgkViyhI2j OUcIdkTPkmRZRGdBBfMWrox4IJVf/FRV5yy/+NJwN3uWtx7OZdYgrkkJUw6J3w1sJU1F d70Uwh5HIfYykamC6TjsDNLgzqKgPR9FtbGq0= Received: by 10.42.29.68 with SMTP id q4mr1310078icc.99.1316287530142; Sat, 17 Sep 2011 12:25:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.35.194 with HTTP; Sat, 17 Sep 2011 12:25:00 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Sat, 17 Sep 2011 20:25:00 +0100 Message-ID: To: bf1783@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/115940: Missed one file in lang/python25 if NO_NIS defined X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 19:25:31 -0000 On 13 September 2011 09:05, b. f. wrote: >> This problem has been going on for a number of years, and as far as I >> can see there isn't a proper and elegant solution. >> >> A fix is at [1], which should solve the problem, and I'm going to >> tinderbox test and commit it if no-one complains. > > As Kozlov said earlier, that's a bit ugly. =A0I think it would be better > to avoid attempting to build the module in the first place, by simply > adding something like: > > .if !exists(/usr/bin/ypcat) # the world with NO_NIS > =A0 =A0 =A0 =A0${REINPLACE_CMD} -e 's|rpcsvc/yp_prot.h|${NONEXISTENT}|' \ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0${PATCH_WRKSRC}/setup.py > .endif > > to the pre-patch target, or something like: > > .if !exists(/usr/bin/ypcat) # the world with NO_NIS > =A0 =A0 =A0 =A0${REINPLACE_CMD} -e '\|disabled_module_list =3D|s|]|, "nis= "&|' \ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0${PATCH_WRKSRC}/setup.py > .endif Good point, and thanks for the idea, even if it did take me ten minutes to work out how the hell your REINPLACE line worked ;) I've simplified it a little. Is it better now? It works in tinderbox so far.... http://www.bayofrum.net/~crees/patches/python-nis_failed-fix-bffix.diff Chris