FreeBSD bugmaster | 2 Jan 12:07 2012
Picon

Current problem reports assigned to freebsd-python <at> FreeBSD.org

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
(Continue reading)

Michael Scheidell | 2 Jan 16:20 2012

Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it

The following reply was made to PR ports/118301; it has been noted by GNATS.

From: Michael Scheidell <michael.scheidell <at> secnap.com>
To: <bug-followup <at> FreeBSD.org>, <douglas <at> douglasthrift.net>,
	<nivit <at> FreeBSD.org>, Gabor Kovesdan <gabor <at> FreeBSD.org>
Cc:  
Subject: Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents
 lost on upgrade clobbering ports using it
Date: Mon, 2 Jan 2012 10:14:33 -0500

 --------------040800070806040008040808
 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
 Content-Transfer-Encoding: 7bit

 is this still open?

 2007?  patch added in March 2011 by nivit <at> FreeBSD.org
 ?

 patch applies cleanly, portlint -C is happy.

 any reason this should NOT be committed?

 
 -- 
 Michael Scheidell, CTO
 o: 561-999-5000
 d: 561-948-2259
  >*| *SECNAP Network Security Corporation

(Continue reading)

scheidell | 6 Jan 16:25 2012
Picon

Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it

Synopsis: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports
using it

State-Changed-From-To: open->feedback 
State-Changed-By: scheidell
State-Changed-When: Fri Jan 6 15:23:48 UTC 2012
State-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118301
scheidell | 6 Jan 17:36 2012
Picon

Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it

Synopsis: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports
using it

State-Changed-From-To: feedback->closed 
State-Changed-By: scheidell
State-Changed-When: Fri Jan 6 16:36:09 UTC 2012
State-Changed-Why: 
Committed

http://www.freebsd.org/cgi/query-pr.cgi?pr=118301
dfilter service | 6 Jan 17:40 2012
Picon

Re: ports/118301: commit references a PR

The following reply was made to PR ports/118301; it has been noted by GNATS.

From: dfilter <at> FreeBSD.ORG (dfilter service)
To: bug-followup <at> FreeBSD.org
Cc:  
Subject: Re: ports/118301: commit references a PR
Date: Fri,  6 Jan 2012 16:36:12 +0000 (UTC)

 scheidell    2012-01-06 16:36:03 UTC

   FreeBSD ports repository

   Modified files:
     devel/py-setuptools  Makefile pkg-plist 
   Added files:
     devel/py-setuptools/files pkg-install.in 
   Log:
   - Fixes: easy-install.pth contents lost on upgrade clobbering ports using it

   PR:             ports/118301
   Submitted by:   Douglas William Thrift <douglas <at> douglasthrift.net>
   Approved by:    lars.eggert <at> nokia.com (maintainer, timeout 3 years), gabor (mentor)

   Revision  Changes    Path
   1.23      +11 -1     ports/devel/py-setuptools/Makefile
   1.1       +24 -0     ports/devel/py-setuptools/files/pkg-install.in (new)
   1.12      +4 -2      ports/devel/py-setuptools/pkg-plist
 _______________________________________________
 cvs-all <at> freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
(Continue reading)

FreeBSD bugmaster | 9 Jan 12:07 2012
Picon

Current problem reports assigned to freebsd-python <at> FreeBSD.org

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
(Continue reading)

FreeBSD bugmaster | 16 Jan 12:07 2012
Picon

Current problem reports assigned to freebsd-python <at> FreeBSD.org

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
(Continue reading)

Andriy Gapon | 21 Jan 13:07 2012
Picon

pyconfig.h and freebsd10: _POSIX_C_SOURCE and _XOPEN_SOURCE


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.

But in FreeBSD 10 we now have interfaces from POSIX 200809, specifically some
things that are then used by xlocale.h.

Now take an example of py-lxml port.  It depends on both libxslt and python
(obviously).  libxslt doesn't have any limitations in POSIX interfaces that it
uses, so it detects xlocale.h and uses it.  xlocale.h depends on definition of
locale_t in locale.h.  But since locale_t has been introduced in POSIX 2008 its
declaration is under __POSIX_VISIBLE >= 200809.  And because of pyconfig.h,
py-lxml build doesn't see locale_t and so the build fails.

This is probably an issue that the upstream should also consider.

Having briefly looked at python27's configure script I wonder if we should set
define_xopen_source=no for FreeBSD 10 (like it has been done for FreeBSD/4.*).

But in general I am not sure why python has to limit itself to those levels of
interfaces (_POSIX_C_SOURCE 200112L and _XOPEN_SOURCE 600).

Thoughts, ideas, suggestions?
Thank you!
--

-- 
Andriy Gapon
David Schultz | 22 Jan 20:25 2012
Picon

Re: pyconfig.h and freebsd10: _POSIX_C_SOURCE and _XOPEN_SOURCE

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.
> 
> But in FreeBSD 10 we now have interfaces from POSIX 200809, specifically some
> things that are then used by xlocale.h.
> 
> Now take an example of py-lxml port.  It depends on both libxslt and python
> (obviously).  libxslt doesn't have any limitations in POSIX interfaces that it
> uses, so it detects xlocale.h and uses it.  xlocale.h depends on definition of
> locale_t in locale.h.  But since locale_t has been introduced in POSIX 2008 its
> declaration is under __POSIX_VISIBLE >= 200809.  And because of pyconfig.h,
> py-lxml build doesn't see locale_t and so the build fails.
> 
> This is probably an issue that the upstream should also consider.
> 
> Having briefly looked at python27's configure script I wonder if we should set
> define_xopen_source=no for FreeBSD 10 (like it has been done for FreeBSD/4.*).
> 
> But in general I am not sure why python has to limit itself to those levels of
> interfaces (_POSIX_C_SOURCE 200112L and _XOPEN_SOURCE 600).
> 
> Thoughts, ideas, suggestions?
> Thank you!

Technically it's a problem with python.  If you ask for a strict
POSIX environment (doesn't matter what version) and also #include
a non-POSIX header, there's no guarantee about what you'll get.
(Continue reading)

FreeBSD bugmaster | 23 Jan 12:07 2012
Picon

Current problem reports assigned to freebsd-python <at> FreeBSD.org

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
(Continue reading)


Gmane