From owner-freebsd-python@FreeBSD.ORG Sun Feb 12 14:27:47 2012 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 617D01065670; Sun, 12 Feb 2012 14:27:47 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward8.mail.yandex.net (forward8.mail.yandex.net [IPv6:2a02:6b8:0:202::3]) by mx1.freebsd.org (Postfix) with ESMTP id C41F98FC15; Sun, 12 Feb 2012 14:27:46 +0000 (UTC) Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward8.mail.yandex.net (Yandex) with ESMTP id C8FC3F61627; Sun, 12 Feb 2012 18:27:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329056853; bh=Fzw0VuG/snB/R5oFlPeQ0xf4WETjVGHTC+zjeBnymwI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=CykSs18n16IreByV/bJEmN2CVfDRWZl+NocMs+ScEYEN9THbHaNIeEZrBUrvPZScn pXDHfzwUNM6TeU2MsL9QkCWCwwrYABq0IjgJ8Zt8SN5/8qXCCuZAh6VSDyJUIiFuAf 7tgp54THT3JztOkTyy3aTBBWktx+aE3zgfncL7hg= Received: from smtp6.mail.yandex.net (localhost [127.0.0.1]) by smtp6.mail.yandex.net (Yandex) with ESMTP id 7E8AB164033B; Sun, 12 Feb 2012 18:27:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329056852; bh=Fzw0VuG/snB/R5oFlPeQ0xf4WETjVGHTC+zjeBnymwI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=IM+AX+EX+ws0Z9SyIDqqDuMahHHSCIYZmbv+oigmBhaIYe23poDUOZ4TvKCbx7xL/ h5dS/ILK7IhT278vJ5Vkh9uM7YaFnOLytfOy4mcRrAg5iaiL6g4d7BSA0G1eiA8Pcx iO6Op4MoIYc+/A1KT+TJbaZZRmMAN1qwwsG/QZmY= Received: from unknown (unknown [178.76.224.133]) by smtp6.mail.yandex.net (nwsmtp/Yandex) with ESMTP id RVG8WXOK-RVG8iiEG; Sun, 12 Feb 2012 18:27:32 +0400 X-Yandex-Spam: 1 Message-ID: <4F37CC28.8000309@yandex.ru> Date: Sun, 12 Feb 2012 18:26:48 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20120123 Thunderbird/9.0 MIME-Version: 1.0 To: Andriy Gapon References: <4F1AAA75.5050500@FreeBSD.org> <20120122192526.GA52071@zim.MIT.EDU> In-Reply-To: <20120122192526.GA52071@zim.MIT.EDU> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: theraven@freebsd.org, python@freebsd.org, gogo@cs.uni-sb.de, Boris Samorodov Subject: Re: pyconfig.h and freebsd10: _POSIX_C_SOURCE and _XOPEN_SOURCE 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, 12 Feb 2012 14:27:47 -0000 Hi! David Schultz wrote on 22.01.2012 23:25: > On Sat, Jan 21, 2012, Andriy Gapon wrote: >> >> It seems that python27's pyconfig.h (artificially?) limits visibility of system >> APIs by setting _POSIX_C_SOURCE to 200112L and _XOPEN_SOURCE to 600. >> This might not actually change much for earlier FreeBSD versions. I just submitted http://bugs.freebsd.org/165033 that includes workaround from bsam@, that fixes build of devel/py-lxml on 10.0-CURRENT. I hope sometime this issue will be resolved properly in FreeBSD base or in python distribution. Thanks! -- Regards, Ruslan Tinderboxing kills... the drives. From owner-freebsd-python@FreeBSD.ORG Mon Feb 13 11:08:08 2012 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 70355106564A for ; Mon, 13 Feb 2012 11:08:08 +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 435158FC08 for ; Mon, 13 Feb 2012 11:08:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1DB88Dk090997 for ; Mon, 13 Feb 2012 11:08:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1DB87lW090994 for freebsd-python@FreeBSD.org; Mon, 13 Feb 2012 11:08:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Feb 2012 11:08:07 GMT Message-Id: <201202131108.q1DB87lW090994@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, 13 Feb 2012 11:08:08 -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/163112 python Updates bsd.python.mk to support Zope 2.11, 2.13 o ports/163063 python [PATCH] fix for ports-mgmt/portbuilder o ports/162421 python lang/python32 fails to build (undefined reference to ` o ports/160717 python port: lang/python27 causing other ports to hang during 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 f 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/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/128556 python net/py-zsi installs with insufficient rights 24 problems total. From owner-freebsd-python@FreeBSD.ORG Tue Feb 14 16:03:43 2012 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 A73C61065673; Tue, 14 Feb 2012 16:03:43 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [IPv6:2a02:6b8:0:801::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7EE188FC25; Tue, 14 Feb 2012 16:03:42 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward11.mail.yandex.net (Yandex) with ESMTP id DB51DE82D53; Tue, 14 Feb 2012 20:03:40 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329235420; bh=+EPsDTD2IK70MAVNl41Mz+PGP+YTNCCKteUiFZvN29s=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=wAvU8/Fu2fXoVUezxe+JTRyyOpNWISw7KevH7/k95MDW+kOsQqbUr9NDIxqfx9Z2h knUiaqjeq9ei9FwBNyqWBfGjKrsIn9GhffTRjbxsig778T8TwsqFyVc1lUy20Kuqi5 6Z/xncaaqjzzf2gdirFKQIvY07wDptS/VJYTPQzs= Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id A9F0DE403E3; Tue, 14 Feb 2012 20:03:40 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329235420; bh=+EPsDTD2IK70MAVNl41Mz+PGP+YTNCCKteUiFZvN29s=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=wAvU8/Fu2fXoVUezxe+JTRyyOpNWISw7KevH7/k95MDW+kOsQqbUr9NDIxqfx9Z2h knUiaqjeq9ei9FwBNyqWBfGjKrsIn9GhffTRjbxsig778T8TwsqFyVc1lUy20Kuqi5 6Z/xncaaqjzzf2gdirFKQIvY07wDptS/VJYTPQzs= Received: from unknown (unknown [213.27.65.65]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3dqWZOsS-3dqWFTRc; Tue, 14 Feb 2012 20:03:40 +0400 X-Yandex-Spam: 1 Message-ID: <4F3A85AF.7010406@yandex.ru> Date: Tue, 14 Feb 2012 20:02:55 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.1) Gecko/20120214 Thunderbird/10.0.1 MIME-Version: 1.0 To: crees@FreeBSD.org References: <201202091954.q19JspJ0030570@freefall.freebsd.org> In-Reply-To: <201202091954.q19JspJ0030570@freefall.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: bug-followup@FreeBSD.org, freebsd-python@FreeBSD.org Subject: Re: ports/128556: net/py-zsi installs with insufficient rights 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, 14 Feb 2012 16:03:43 -0000 crees@FreeBSD.org wrote on 09.02.2012 23:54: > Any ideas? I don't see anything wrong with the port; do we even support > non-standard umasks? Hi, Chris. I wasn't able to reproduce it too: [rm@smeshariki3 ~]> ll /usr/local/lib/python2.7/site-packages/| grep ZSI -rw-r--r-- 1 root wheel 420166 14 фев 19:58 ZSI-2.0-py2.7.egg And you are right - it looks like submitter's umask setting is the culprit, so may be this pr should be just closed. -- Regards, Ruslan Tinderboxing kills... the drives. From owner-freebsd-python@FreeBSD.ORG Tue Feb 14 16:10:12 2012 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 C5828106566B for ; Tue, 14 Feb 2012 16:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B45828FC0C for ; Tue, 14 Feb 2012 16:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1EGACHn054333 for ; Tue, 14 Feb 2012 16:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1EGAC9A054332; Tue, 14 Feb 2012 16:10:12 GMT (envelope-from gnats) Date: Tue, 14 Feb 2012 16:10:12 GMT Message-Id: <201202141610.q1EGAC9A054332@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Ruslan Mahmatkhanov Cc: Subject: Re: ports/128556: net/py-zsi installs with insufficient rights X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruslan Mahmatkhanov List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 16:10:12 -0000 The following reply was made to PR ports/128556; it has been noted by GNATS. From: Ruslan Mahmatkhanov To: crees@FreeBSD.org Cc: bug-followup@FreeBSD.org, freebsd-python@FreeBSD.org Subject: Re: ports/128556: net/py-zsi installs with insufficient rights Date: Tue, 14 Feb 2012 20:02:55 +0400 crees@FreeBSD.org wrote on 09.02.2012 23:54: > Any ideas? I don't see anything wrong with the port; do we even support > non-standard umasks? Hi, Chris. I wasn't able to reproduce it too: [rm@smeshariki3 ~]> ll /usr/local/lib/python2.7/site-packages/| grep ZSI -rw-r--r-- 1 root wheel 420166 14 фев 19:58 ZSI-2.0-py2.7.egg And you are right - it looks like submitter's umask setting is the culprit, so may be this pr should be just closed. -- Regards, Ruslan Tinderboxing kills... the drives. From owner-freebsd-python@FreeBSD.ORG Tue Feb 14 22:20:48 2012 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 4919C106566B; Tue, 14 Feb 2012 22:20:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id AD9D214D85F; Tue, 14 Feb 2012 22:20:45 +0000 (UTC) Message-ID: <4F3ADE3D.706@FreeBSD.org> Date: Tue, 14 Feb 2012 14:20:45 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.1) Gecko/20120213 Thunderbird/10.0.1 MIME-Version: 1.0 To: python@FreeBSD.org, FreeBSD ports list X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Python upgrade to address vulnerability? 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, 14 Feb 2012 22:20:48 -0000 So apparently we have a python vulnerability according to http://portaudit.FreeBSD.org/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html, but I'm not seeing an upgrade to address it yet. Any idea when that will happen? Thanks, Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-python@FreeBSD.ORG Wed Feb 15 09:30:02 2012 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 7C72F106564A; Wed, 15 Feb 2012 09:30:02 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [IPv6:2a02:6b8:0:801::4]) by mx1.freebsd.org (Postfix) with ESMTP id DA83A8FC16; Wed, 15 Feb 2012 09:30:01 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward14.mail.yandex.net (Yandex) with ESMTP id 627CF198339A; Wed, 15 Feb 2012 13:30:00 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329298200; bh=/Z/CPxsy9o2tKqIgoGuIQIF8+P1xnoB5MtrE838Vze4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=KW8ipo1TyF1gTMY5EbWchVrXkBPUcignECTR2AWUeuSNI3CxtQGEC3YJ5cp+TGWRZ GK9JJCKb8IDAWuCc5Fjgw/s2YJg/VgeXCMu5iKYkJaS+cpELVaSYwZSNw2kh8+tQ8G P73r2/yJN4l64CeP28yb3I6sncilYLh5z/pPECsM= Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 2F08EE404F8; Wed, 15 Feb 2012 13:30:00 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329298200; bh=/Z/CPxsy9o2tKqIgoGuIQIF8+P1xnoB5MtrE838Vze4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=KW8ipo1TyF1gTMY5EbWchVrXkBPUcignECTR2AWUeuSNI3CxtQGEC3YJ5cp+TGWRZ GK9JJCKb8IDAWuCc5Fjgw/s2YJg/VgeXCMu5iKYkJaS+cpELVaSYwZSNw2kh8+tQ8G P73r2/yJN4l64CeP28yb3I6sncilYLh5z/pPECsM= Received: from unknown (unknown [213.27.65.65]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id TxqKEom8-Txq8OuVW; Wed, 15 Feb 2012 13:29:59 +0400 X-Yandex-Spam: 1 Message-ID: <4F3B7AEC.5090905@yandex.ru> Date: Wed, 15 Feb 2012 13:29:16 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.1) Gecko/20120214 Thunderbird/10.0.1 MIME-Version: 1.0 To: Doug Barton References: <4F3ADE3D.706@FreeBSD.org> In-Reply-To: <4F3ADE3D.706@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: python@FreeBSD.org, FreeBSD ports list Subject: Re: Python upgrade to address vulnerability? 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: Wed, 15 Feb 2012 09:30:02 -0000 Doug Barton wrote on 15.02.2012 02:20: > So apparently we have a python vulnerability according to > http://portaudit.FreeBSD.org/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html, > but I'm not seeing an upgrade to address it yet. Any idea when that will > happen? > > > Thanks, > > Doug > Patch is there: http://people.freebsd.org/~rm/python-CVE-2012-0845.diff.txt Patch for 3.2 is taken there directly: http://bugs.python.org/file24522/xmlrpc_loop-1.diff Patch for 2.5, 2.6, 2.7, 3.1 is adopted from this patch: http://bugs.python.org/file24513/xmlrpc_loop.diff SimpleXMLRPCServer.py in 2.4 is too different and it is going to die anyway so I didn't messed with it. If noone objects, I can commit it. Please tell me what should i do. -- Regards, Ruslan Tinderboxing kills... the drives. From owner-freebsd-python@FreeBSD.ORG Wed Feb 15 10:34:45 2012 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 5286C1065674; Wed, 15 Feb 2012 10:34:45 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [IPv6:2a02:6b8:0:801::1]) by mx1.freebsd.org (Postfix) with ESMTP id B252F8FC27; Wed, 15 Feb 2012 10:34:44 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward11.mail.yandex.net (Yandex) with ESMTP id 096B5E845F7; Wed, 15 Feb 2012 14:34:43 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329302083; bh=I/UODUcNyBZo1f3g6Nw5ghh1agFRDkSUzzNF7WSbb6g=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=IX8bu1IPnMXneo8AWrnVBhrgXGYpBkHWmMrQU0kHQVKrQaXz7+ZnDIlFJ/EHqY4i4 XR6DYnlA0xW1NwN+ahevgXE4A3O8PVaw1XKFushpmb+vNCCdxgxfmeJnw/j6BwOp3T 2/4IMzVyD0QN79GvblwLM9LnAqxpKWx22+IiuY6M= Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id BDBAC16A03E4; Wed, 15 Feb 2012 14:34:42 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329302082; bh=I/UODUcNyBZo1f3g6Nw5ghh1agFRDkSUzzNF7WSbb6g=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=UX9NaX1/g2ZND98I6qtO8sT16/7la96BH/XociDW6Mvtbm5J1+bpzuIzSefDMNDad WR6ZDTguEW/5uxW0UGb3KuZO9x2UFHeHvlPqjHJTZuc30mzPK1Esxg7InLyX4JR02F BTvc4po7oinQe1t1KL0qE4V8z9QZhB2Vk1LMtNWQ= Received: from unknown (unknown [213.27.65.65]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YfiuFjlw-YgiGDaTi; Wed, 15 Feb 2012 14:34:42 +0400 X-Yandex-Spam: 1 Message-ID: <4F3B8A17.9090300@yandex.ru> Date: Wed, 15 Feb 2012 14:33:59 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.1) Gecko/20120214 Thunderbird/10.0.1 MIME-Version: 1.0 To: wen heping References: <4F3ADE3D.706@FreeBSD.org> <4F3B7AEC.5090905@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Doug Barton , python@freebsd.org, FreeBSD ports list Subject: Re: Python upgrade to address vulnerability? 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: Wed, 15 Feb 2012 10:34:45 -0000 wen heping wrote on 15.02.2012 14:16: > 2012/2/15 Ruslan Mahmatkhanov > >> Doug Barton wrote on 15.02.2012 02:20: >> >>> So apparently we have a python vulnerability according to >>> http://portaudit.FreeBSD.org/**b4f8be9e-56b2-11e1-9fb7-** >>> 003067b2972c.html >>> , >>> but I'm not seeing an upgrade to address it yet. Any idea when that will >>> happen? >>> >>> >>> Thanks, >>> >>> Doug >>> >>> >> Patch is there: >> http://people.freebsd.org/~rm/**python-CVE-2012-0845.diff.txt > > > Had this patch been committed into upstream? When I found it , it was in > review state. > > And CVE-2012-0845 too. > > wen Yes, it is not yet committed, but comments looks promisingly :). And i can't reproduce this bug after patching, using procedure described in bug report. -- Regards, Ruslan Tinderboxing kills... the drives. From owner-freebsd-python@FreeBSD.ORG Wed Feb 15 10:47:36 2012 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 EB52B1065672; Wed, 15 Feb 2012 10:47:36 +0000 (UTC) (envelope-from wenheping@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A19648FC14; Wed, 15 Feb 2012 10:47:36 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so1700148obc.13 for ; Wed, 15 Feb 2012 02:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=B8rxtB2o9S8OHAhxhYNAA6F3RwpL0v1BsFzIUYSk8yU=; b=QYx4yIeHSxtCJh+F6bs6mHMa3/cbnxJykUQkb2NX7cOGQ0aszdCiEo8hGSklLzzeHg Enfhc6IhrSPPnDeaflDOQWZvbRzC9z+yFCAvZaPgC+//7By4ROBupcZ8D5aKjeQRC/03 aBQD+16tn0LsdqJDjYWGMJv7/RlAv8RCnH1Fs= MIME-Version: 1.0 Received: by 10.182.8.69 with SMTP id p5mr18276171oba.28.1329300996992; Wed, 15 Feb 2012 02:16:36 -0800 (PST) Received: by 10.182.227.74 with HTTP; Wed, 15 Feb 2012 02:16:36 -0800 (PST) In-Reply-To: <4F3B7AEC.5090905@yandex.ru> References: <4F3ADE3D.706@FreeBSD.org> <4F3B7AEC.5090905@yandex.ru> Date: Wed, 15 Feb 2012 18:16:36 +0800 Message-ID: From: wen heping To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Doug Barton , python@freebsd.org, FreeBSD ports list Subject: Re: Python upgrade to address vulnerability? 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: Wed, 15 Feb 2012 10:47:37 -0000 2012/2/15 Ruslan Mahmatkhanov > Doug Barton wrote on 15.02.2012 02:20: > >> So apparently we have a python vulnerability according to >> http://portaudit.FreeBSD.org/**b4f8be9e-56b2-11e1-9fb7-** >> 003067b2972c.html >> , >> but I'm not seeing an upgrade to address it yet. Any idea when that will >> happen? >> >> >> Thanks, >> >> Doug >> >> > Patch is there: > http://people.freebsd.org/~rm/**python-CVE-2012-0845.diff.txt Had this patch been committed into upstream? When I found it , it was in review state. And CVE-2012-0845 too. wen > > > Patch for 3.2 is taken there directly: > http://bugs.python.org/**file24522/xmlrpc_loop-1.diff > > Patch for 2.5, 2.6, 2.7, 3.1 is adopted from this patch: > http://bugs.python.org/**file24513/xmlrpc_loop.diff > > SimpleXMLRPCServer.py in 2.4 is too different and it is going to die > anyway so I didn't messed with it. > > If noone objects, I can commit it. Please tell me what should i do. > > -- > Regards, > Ruslan > > Tinderboxing kills... the drives. > ______________________________**_________________ > freebsd-python@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**python > To unsubscribe, send any mail to "freebsd-python-unsubscribe@**freebsd.org > " > From owner-freebsd-python@FreeBSD.ORG Wed Feb 15 11:56:10 2012 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 8E0C7106566C; Wed, 15 Feb 2012 11:56:10 +0000 (UTC) (envelope-from wenheping@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 364C78FC0C; Wed, 15 Feb 2012 11:56:09 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so1806568obc.13 for ; Wed, 15 Feb 2012 03:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=t4DS0Vl876G6gXksuQIvjvEalJeXErElYGIMbCKHyMU=; b=XlmSPr7EjSD50kKZpgFuvtwsdLwcwjeGyovjB2zzgDX8HztURHqawMt93ngYPz5Zr/ JRLw7WM7Me6PqcXmR1Cpn4nuPWkpbaOY7uj4RIQg12B7Gk35JipTGeLk6o/qVg1Bs7Sr JBD27bXsA3/ZFdxAyER9byRs3lcLsZ6m2519I= MIME-Version: 1.0 Received: by 10.182.85.103 with SMTP id g7mr18214207obz.38.1329306969607; Wed, 15 Feb 2012 03:56:09 -0800 (PST) Received: by 10.182.227.74 with HTTP; Wed, 15 Feb 2012 03:56:09 -0800 (PST) In-Reply-To: <4F3B8A17.9090300@yandex.ru> References: <4F3ADE3D.706@FreeBSD.org> <4F3B7AEC.5090905@yandex.ru> <4F3B8A17.9090300@yandex.ru> Date: Wed, 15 Feb 2012 19:56:09 +0800 Message-ID: From: wen heping To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Doug Barton , python@freebsd.org, FreeBSD ports list Subject: Re: Python upgrade to address vulnerability? 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: Wed, 15 Feb 2012 11:56:10 -0000 2012/2/15 Ruslan Mahmatkhanov > wen heping wrote on 15.02.2012 14:16: > >> 2012/2/15 Ruslan Mahmatkhanov >> >> Doug Barton wrote on 15.02.2012 02:20: >>> >>> So apparently we have a python vulnerability according to >>>> http://portaudit.FreeBSD.org/****b4f8be9e-56b2-11e1-9fb7-** >>>> 003067b2972c.html>>> b4f8be9e-56b2-11e1-9fb7-**003067b2972c.html >>>> > >>>> >>>> , >>>> but I'm not seeing an upgrade to address it yet. Any idea when that will >>>> happen? >>>> >>>> >>>> Thanks, >>>> >>>> Doug >>>> >>>> >>>> Patch is there: >>> http://people.freebsd.org/~rm/****python-CVE-2012-0845.diff.**txt >>> >>> > >>> >> >> >> Had this patch been committed into upstream? When I found it , it was in >> review state. >> >> And CVE-2012-0845 too. >> >> wen >> > > Yes, it is not yet committed, but comments looks promisingly :). And i > can't reproduce this bug after patching, using procedure described in bug > report. Me too :) I trust this patch too but I would like wait some time. wen > > > -- > Regards, > Ruslan > > Tinderboxing kills... the drives. > From owner-freebsd-python@FreeBSD.ORG Wed Feb 15 16:16:45 2012 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 1CF9D1065670 for ; Wed, 15 Feb 2012 16:16:45 +0000 (UTC) (envelope-from krisp@engr.uky.edu) Received: from spitfire.ecc.engr.uky.edu (spitfire.ecc.engr.uky.edu [128.163.144.21]) by mx1.freebsd.org (Postfix) with ESMTP id DF0238FC12 for ; Wed, 15 Feb 2012 16:16:44 +0000 (UTC) Received: from webmailserver.smtp ([192.168.0.17] helo=wms.ecc.engr.uky.edu) by spitfire.ecc.engr.uky.edu with esmtp (Exim 4.76) (envelope-from ) id 1RxhID-000Pl8-0f for python@freebsd.org; Wed, 15 Feb 2012 11:01:17 -0500 Received: from www by wms.ecc.engr.uky.edu with local (Exim 4.76) (envelope-from ) id 1RxhIC-000NPD-Tx for python@freebsd.org; Wed, 15 Feb 2012 11:01:16 -0500 Received: from bort.ecc.engr.uky.edu (bort.ecc.engr.uky.edu [128.163.144.93]) by mail.engr.uky.edu (Horde Framework) with HTTP; Wed, 15 Feb 2012 11:01:16 -0500 Message-ID: <20120215110116.52686o6p14j3sb7w@mail.engr.uky.edu> Date: Wed, 15 Feb 2012 11:01:16 -0500 From: Krishna Prabhala To: python@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-7.1 X-Scan-Signature: d939a08bae74c65076f44a7144fbd18a Cc: Subject: Python port update 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: Wed, 15 Feb 2012 16:16:45 -0000 Hi, 'portaudit' software has marked the python ports as having a vulnerability and marked them as broken. This is the output I get when I run portaudit -Fda: # portaudit -Fda auditfile.tbz 100% of 73 kB 117 kBps New database installed. Database created: Wed Feb 15 15:20:00 UTC 2012 Affected package: python27-2.7.2_3 Type of problem: Python -- DoS via malformed XML-RPC / HTTP POST request. Reference: http://portaudit.FreeBSD.org/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html 1 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediately. ---- So, when I cd to /usr/ports/lang/python27, do a 'make deinstall' and then do a 'make reinstall', it would not install again. I get a message that I have to update the ports to re-install. I've tried 'portsnap fetch update' but there is no update for the python port. As I mentioned above, the only way to force a re-install of the SAME port is to remove 'portaudit' and then comment the 'BROKEN' line in the Makefile (in the /usr/ports/lang/python27 directory). Thanks, Krishna. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-python@FreeBSD.ORG Wed Feb 15 20:39:08 2012 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 8EFB91065670; Wed, 15 Feb 2012 20:39:08 +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 654978FC1A; Wed, 15 Feb 2012 20:39:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1FKd8mL091453; Wed, 15 Feb 2012 20:39:08 GMT (envelope-from crees@freefall.freebsd.org) Received: (from crees@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1FKd7P9091449; Wed, 15 Feb 2012 20:39:07 GMT (envelope-from crees) Date: Wed, 15 Feb 2012 20:39:07 GMT Message-Id: <201202152039.q1FKd7P9091449@freefall.freebsd.org> To: kalinoj1@iem.pw.edu.pl, crees@FreeBSD.org, freebsd-python@FreeBSD.org, crees@FreeBSD.org From: crees@FreeBSD.org Cc: Subject: Re: ports/128556: net/py-zsi installs with insufficient rights 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: Wed, 15 Feb 2012 20:39:08 -0000 Synopsis: net/py-zsi installs with insufficient rights State-Changed-From-To: open->closed State-Changed-By: crees State-Changed-When: Wed Feb 15 20:39:03 UTC 2012 State-Changed-Why: Can't find the cp, and non-standard umasks are likely to cause problems in other places too. If you have a patch to fix this, please provide it! Responsible-Changed-From-To: freebsd-python->crees Responsible-Changed-By: crees Responsible-Changed-When: Wed Feb 15 20:39:03 UTC 2012 Responsible-Changed-Why: Can't find the cp, and non-standard umasks are likely to cause problems in other places too. If you have a patch to fix this, please provide it! http://www.freebsd.org/cgi/query-pr.cgi?pr=128556 From owner-freebsd-python@FreeBSD.ORG Thu Feb 16 03:24:39 2012 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 4CFDC106566C for ; Thu, 16 Feb 2012 03:24:39 +0000 (UTC) (envelope-from johnny@interpro.com.hk) Received: from nt2000.interpro.com.hk (nt2000.interpro.com.hk [202.82.148.130]) by mx1.freebsd.org (Postfix) with ESMTP id C1EE58FC1B for ; Thu, 16 Feb 2012 03:24:38 +0000 (UTC) Received: from mail.interpro.com.hk (unknown [10.1.170.47]) by mercury.interpro.com.hk (Postfix) with ESMTP id 7235B39957 for ; Thu, 16 Feb 2012 10:59:40 +0800 (HKT) Received: (qmail 17301 invoked by uid 89); 16 Feb 2012 02:59:38 -0000 Received: from 10.1.170.148 by mail1 (envelope-from , uid 89) with qmail-scanner-1.25 (clamdscan: 0.96.4/12283. Clear:RC:1(10.1.170.148):. Processed in 0.052412 secs); 16 Feb 2012 02:59:38 -0000 Received: from unknown (HELO ?10.1.170.148?) (johnny@interpro.com.hk@10.1.170.148) by mail1 with ESMTPA; 16 Feb 2012 02:59:38 -0000 Message-ID: <4F3C7118.10601@interpro.com.hk> Date: Thu, 16 Feb 2012 10:59:36 +0800 From: Johnny Sun User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: python@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Ports-tree lang/python27 won't compile (After upgrade 8.2-RELEASE-i386->9.0-RELEASE-i386) 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, 16 Feb 2012 03:24:39 -0000 Hi, Ports-tree lang/python27 won't compile properly. Errors with undefined reference to _sem_timedwait, etc. ========================================================= cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG -O2 -pipe -fno-strict-aliasing -I. -IInclude -I./../Include -fPIC -DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c cc -pthread -Wl,--export-dynamic -o python Modules/python.o -L. -lpython2.7 -lutil -lm ./libpython2.7.so: undefined reference to `_sem_timedwait' ./libpython2.7.so: undefined reference to `_sem_getvalue' ./libpython2.7.so: undefined reference to `_sem_destroy' ./libpython2.7.so: undefined reference to `_sem_wait' ./libpython2.7.so: undefined reference to `_sem_init' ./libpython2.7.so: undefined reference to `_sem_post' ./libpython2.7.so: undefined reference to `_sem_trywait' *** Error code 1 Stop in /usr/ports/lang/python27/work/Python-2.7.2/portbld.shared. *** Error code 1 Stop in /usr/ports/lang/python27. *** Error code 1 Stop in /usr/ports/lang/python27. ========================================================= Used *portsnap* to update to latest ports-tree. make rmconfig & make clean does not solve the problem. Compiled NOT okay 9.0-RELEASE-i386 version (upgraded from 8.2 using freebsd-update), using P3/P4 era celeron CPU Fresh Install 8.2-i386 (without any ports), then immediately upgrade to 9.0 using freebsd-update Compile Okay: Fresh install 9.0-RELEASE-386 8.2->9.0-AMD64 Any idea? Thank you in advance. -- Best Regards, Johnny Sun Email: johnny@interpro.com.hk From owner-freebsd-python@FreeBSD.ORG Fri Feb 17 09:42:12 2012 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 A5C6F106566B for ; Fri, 17 Feb 2012 09:42:12 +0000 (UTC) (envelope-from johnny@interpro.com.hk) Received: from nt2000.interpro.com.hk (nt2000.interpro.com.hk [202.82.148.130]) by mx1.freebsd.org (Postfix) with ESMTP id 1D0A68FC0C for ; Fri, 17 Feb 2012 09:42:11 +0000 (UTC) Received: from mail.interpro.com.hk (unknown [10.1.170.47]) by mercury.interpro.com.hk (Postfix) with ESMTP id 443EE39932 for ; Fri, 17 Feb 2012 17:42:13 +0800 (HKT) Received: (qmail 13008 invoked by uid 89); 17 Feb 2012 09:42:09 -0000 Received: from 10.1.170.148 by mail1 (envelope-from , uid 89) with qmail-scanner-1.25 (clamdscan: 0.96.4/12283. Clear:RC:1(10.1.170.148):. Processed in 0.049343 secs); 17 Feb 2012 09:42:09 -0000 Received: from unknown (HELO ?10.1.170.148?) (johnny@interpro.com.hk@10.1.170.148) by mail1 with ESMTPA; 17 Feb 2012 09:42:09 -0000 Message-ID: <4F3E20F1.9050406@interpro.com.hk> Date: Fri, 17 Feb 2012 17:42:09 +0800 From: Johnny Sun User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: python@FreeBSD.org References: <4F3C7118.10601@interpro.com.hk> In-Reply-To: <4F3C7118.10601@interpro.com.hk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: [SOLVED] Re: Ports-tree lang/python27 won't compile (After upgrade 8.2-RELEASE-i386->9.0-RELEASE-i386) 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: Fri, 17 Feb 2012 09:42:12 -0000 Hi, I got my answer from a FreeBSD forum. It seems that after upgrade, the symbolic link libpthread.so -> libthr.so is missing and Python27 make reference to libpthread.so. After adding back the missing link manually, it compiled okay. Best Regards, Johnny Sun Email: johnny@interpro.com.hk ------------------------------------------------------------------------ *From:* Johnny Sun *Date:* 2012-02-16 10:59 AM *Subject:* Ports-tree lang/python27 won't compile (After upgrade 8.2-RELEASE-i386->9.0-RELEASE-i386) > Hi, > > Ports-tree lang/python27 won't compile properly. Errors with > undefined reference to _sem_timedwait, etc. > > ========================================================= > cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG > -O2 -pipe -fno-strict-aliasing -I. -IInclude -I./../Include -fPIC > -DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c > cc -pthread -Wl,--export-dynamic -o python Modules/python.o -L. > -lpython2.7 -lutil -lm > ./libpython2.7.so: undefined reference to `_sem_timedwait' > ./libpython2.7.so: undefined reference to `_sem_getvalue' > ./libpython2.7.so: undefined reference to `_sem_destroy' > ./libpython2.7.so: undefined reference to `_sem_wait' > ./libpython2.7.so: undefined reference to `_sem_init' > ./libpython2.7.so: undefined reference to `_sem_post' > ./libpython2.7.so: undefined reference to `_sem_trywait' > *** Error code 1 > > Stop in /usr/ports/lang/python27/work/Python-2.7.2/portbld.shared. > *** Error code 1 > > Stop in /usr/ports/lang/python27. > *** Error code 1 > > Stop in /usr/ports/lang/python27. > ========================================================= > > Used *portsnap* to update to latest ports-tree. make rmconfig & make > clean does not solve the problem. > > Compiled NOT okay > 9.0-RELEASE-i386 version (upgraded from 8.2 using freebsd-update), > using P3/P4 era celeron CPU > Fresh Install 8.2-i386 (without any ports), then immediately upgrade > to 9.0 using freebsd-update > > Compile Okay: > Fresh install 9.0-RELEASE-386 > 8.2->9.0-AMD64 > > Any idea? Thank you in advance. > > -- > Best Regards, > Johnny Sun > Email: johnny@interpro.com.hk From owner-freebsd-python@FreeBSD.ORG Fri Feb 17 15:30:41 2012 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 0F2A510656B9; Fri, 17 Feb 2012 15:30:41 +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 D37C28FC15; Fri, 17 Feb 2012 15:30:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1HFUe5o053576; Fri, 17 Feb 2012 15:30:40 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1HFUesl053560; Fri, 17 Feb 2012 15:30:40 GMT (envelope-from edwin) Date: Fri, 17 Feb 2012 15:30:40 GMT Message-Id: <201202171530.q1HFUesl053560@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/165239: lang/python27 2.x/3.x DoS vulnerable 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: Fri, 17 Feb 2012 15:30:41 -0000 Synopsis: lang/python27 2.x/3.x DoS vulnerable Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Fri Feb 17 15:30:39 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=165239 From owner-freebsd-python@FreeBSD.ORG Sat Feb 18 17:55:49 2012 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 989E2106566C; Sat, 18 Feb 2012 17:55:49 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3478FC0A; Sat, 18 Feb 2012 17:55:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1IHtnEu080553; Sat, 18 Feb 2012 17:55:49 GMT (envelope-from miwi@freefall.freebsd.org) Received: (from miwi@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1IHtngN080549; Sat, 18 Feb 2012 17:55:49 GMT (envelope-from miwi) Date: Sat, 18 Feb 2012 17:55:49 GMT Message-Id: <201202181755.q1IHtngN080549@freefall.freebsd.org> To: spil.oss@gmail.com, miwi@FreeBSD.org, freebsd-python@FreeBSD.org From: miwi@FreeBSD.org Cc: Subject: Re: ports/165239: lang/python27 2.x/3.x DoS vulnerable 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, 18 Feb 2012 17:55:49 -0000 Synopsis: lang/python27 2.x/3.x DoS vulnerable State-Changed-From-To: open->closed State-Changed-By: miwi State-Changed-When: Sat Feb 18 17:55:48 UTC 2012 State-Changed-Why: is fixed already thx for your help. http://www.freebsd.org/cgi/query-pr.cgi?pr=165239