edwin | 1 May 20:30 2011
Picon

Re: ports/156759: [patch] lang/python: kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

Synopsis: [patch] lang/python: kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

Responsible-Changed-From-To: freebsd-ports-bugs-≥freebsd-python
Responsible-Changed-By: edwin
Responsible-Changed-When: Sun May 1 18:30:27 UTC 2011
Responsible-Changed-Why: 
Over to maintainer (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=156759
_______________________________________________
freebsd-ports-bugs <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe <at> freebsd.org"

mezz | 1 May 21:09 2011
Picon

Re: ports/156425: lang/python26: Needs to include -L/usr/local/lib/pth in python2.6-config.

Old Synopsis: Installing textproc/py-libxml2 fails because of lack of CFLAGS
New Synopsis: lang/python26: Needs to include -L/usr/local/lib/pth in python2.6-config.

State-Changed-From-To: feedback->open
State-Changed-By: mezz
State-Changed-When: Sun May 1 19:03:18 UTC 2011
State-Changed-Why: 
Change the Synopsis/Subject. Change from gnome to python. It's not a
py-libxml2 bug, which it's lang/python26 and possible all python2*?

When I installed lang/python26 with pth option. The python2.6-config output
will have -lpth included.

# python2.6-config --ldflags
 -L/usr/local/lib/python2.6/config -lpth -lutil -lm -lpython2.6
-----------------------------------^^^^^

The pth library lives in /usr/local/lib/pth, so python2.6-config needs to
include the -L/usr/local/lib/pth to fix other ports build. I didn't check if
other versions of python also need the fix.

Responsible-Changed-From-To: gnome->python
Responsible-Changed-By: mezz
Responsible-Changed-When: Sun May 1 19:03:18 UTC 2011
Responsible-Changed-Why: 
Change the Synopsis/Subject. Change from gnome to python. It's not a
py-libxml2 bug, which it's lang/python26 and possible all python2*?

When I installed lang/python26 with pth option. The python2.6-config output
will have -lpth included.
(Continue reading)

Jeremy Messenger | 1 May 21:01 2011
Picon

Re: ports/156425: Installing textproc/py-libxml2 fails because of lack of CFLAGS

2011/5/1 Kouichiro Iwao <meta <at> club.kyutech.ac.jp>:
> $ python2.6-config --ldflags
> -L/usr/local/lib/python2.6/config -lutil -lm -lpython2.6

Umm.. Do you have still have pth installed? I think your python 2.6
has changed after you submitted PR? I have gone ahead installed
lang/python26 with the pth option. Here's what I get:

# python2.6-config --ldflags
-L/usr/local/lib/python2.6/config -lpth -lutil -lm -lpython2.6
----------------------------------------^^^

> is this mean python-relevant ports (ex. py-*) fail to detect build
> options of python's?

It's a lang/python26 bug. There is nothing that py-libxml2 depends on
pth. Since the python2.6-config has -lpth then it needs to be fixed by
add -L/usr/local/lib/pth in the python2.6-config. Add CC'ing to
python <at>  and I will change the PR to python.

Cheers,
Mezz

--

-- 
mezz.freebsd <at> gmail.com - mezz <at> FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome <at> FreeBSD.org
FreeBSD bugmaster | 2 May 13:07 2011
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/156759 python     [patch] lang/python: kevent does not accept KQ_NOTE_EX
o ports/156346 python     [patch] devel/py-freebsd: fix build on 9.x ['CTLTYPE_Q
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/155099 python     lang/python*: Not handled "nis_failed.so" file by pyth
o ports/154795 python     [PATCH] Mk/bsd.python.mk: style changes
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
f ports/150184 python     cannot install ports/math/py-numpy
o ports/149167 python     lang/python26 fails to build _ctypes on Sheevaplug (AR
o ports/148406 python     [PATCH] lang/python26: fix build backage without threa
o ports/147291 python     lang/python* doesn't compile nis.so when WITHOUT_NIS s
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 | 2 May 13:08 2011
Picon

Current problem reports assigned to 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/156425 python     lang/python26: Needs to include -L/usr/local/lib/pth i

1 problem total.

Ion-Mihai Tetcu | 2 May 13:17 2011
Picon

gobject-introspection fails to commpile with python2.7 WITH_PTH

Hi,

Am I tripping on something known here?

Trying to switch to python 2.7 my home dektop, the
upgrade-site-packages: target fails on gobject-introspectio with:
>>>>>
checking whether Python support is requested... checking whether /usr/local/bin/pythowith:n2.7
version >= 2.5... yes
checking for /usr/local/bin/python2.7 version... 2.7
checking for /usr/local/bin/python2.7 platform... freebsd8
checking for /usr/local/bin/python2.7 script directory... ${prefix}/lib/python2.7/site-packages
checking for /usr/local/bin/python2.7 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for headers required to compile python extensions... not found
configure: error: Python headers not found
===>  Script "configure" failed unexpectedly.
>>>>>

The relevant part of the log:
>>>>>
configure:13291: checking for /usr/local/bin/python2.7 extension module directory
configure:13320: result: ${exec_prefix}/lib/python2.7/site-packages
configure:13341: checking for headers required to compile python extensions
configure:13356: cpp -I/usr/local/include -I/usr/local/include/python2.7 conftest.c
In file included from conftest.c:42:
/usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory
configure:13356: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gobject-introspection"
(Continue reading)

Jeremy Messenger | 2 May 14:02 2011
Picon

Re: gobject-introspection fails to commpile with python2.7 WITH_PTH

On Mon, May 2, 2011 at 6:58 AM, Koop Mast <kwm <at> rainbow-runner.nl> wrote:
> On Mon, 2011-05-02 at 14:17 +0300, Ion-Mihai Tetcu wrote:
>> Hi,
>>
>>
>> Am I tripping on something known here?
>>
>> Trying to switch to python 2.7 my home dektop, the
>> upgrade-site-packages: target fails on gobject-introspectio with:
>> >>>>>
>> checking whether Python support is requested... checking whether /usr/local/bin/pythowith:n2.7
version >= 2.5... yes
>> checking for /usr/local/bin/python2.7 version... 2.7
>> checking for /usr/local/bin/python2.7 platform... freebsd8
>> checking for /usr/local/bin/python2.7 script directory... ${prefix}/lib/python2.7/site-packages
>> checking for /usr/local/bin/python2.7 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
>> checking for headers required to compile python extensions... not found
>> configure: error: Python headers not found
>> ===>  Script "configure" failed unexpectedly.
>> >>>>>
>>
>> The relevant part of the log:
>> >>>>>
>> configure:13291: checking for /usr/local/bin/python2.7 extension module directory
>> configure:13320: result: ${exec_prefix}/lib/python2.7/site-packages
>> configure:13341: checking for headers required to compile python extensions
>> configure:13356: cpp -I/usr/local/include -I/usr/local/include/python2.7 conftest.c
>> In file included from conftest.c:42:
>> /usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory
>> configure:13356: $? = 1
(Continue reading)

Koop Mast | 2 May 13:58 2011
Picon

Re: gobject-introspection fails to commpile with python2.7 WITH_PTH

On Mon, 2011-05-02 at 14:17 +0300, Ion-Mihai Tetcu wrote:
> Hi,
> 
> 
> Am I tripping on something known here?
> 
> Trying to switch to python 2.7 my home dektop, the
> upgrade-site-packages: target fails on gobject-introspectio with:
> >>>>>
> checking whether Python support is requested... checking whether /usr/local/bin/pythowith:n2.7
version >= 2.5... yes
> checking for /usr/local/bin/python2.7 version... 2.7
> checking for /usr/local/bin/python2.7 platform... freebsd8
> checking for /usr/local/bin/python2.7 script directory... ${prefix}/lib/python2.7/site-packages
> checking for /usr/local/bin/python2.7 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
> checking for headers required to compile python extensions... not found
> configure: error: Python headers not found
> ===>  Script "configure" failed unexpectedly.
> >>>>>
> 
> The relevant part of the log:
> >>>>>
> configure:13291: checking for /usr/local/bin/python2.7 extension module directory
> configure:13320: result: ${exec_prefix}/lib/python2.7/site-packages
> configure:13341: checking for headers required to compile python extensions
> configure:13356: cpp -I/usr/local/include -I/usr/local/include/python2.7 conftest.c
> In file included from conftest.c:42:
> /usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory
> configure:13356: $? = 1
> configure: failed program was:
(Continue reading)

Ion-Mihai Tetcu | 2 May 14:56 2011
Picon

Re: gobject-introspection fails to commpile with python2.7 WITH_PTH

On Mon, 02 May 2011 13:58:08 +0200
Koop Mast <kwm <at> rainbow-runner.nl> wrote:

> > BTW, the test for ${PORTUPGRADE_ARGS} in the python port's
> > upgrade-site-packages: target will fail if they contain
> > switches that test(1) has, ie. '-d'.

And for the package WITH_PTH there's a problem with the plist:
===>>> Creating a backup package for old version python27-2.7.1_1
tar: lib/python2.7/lib-dynload/_ctypes.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256

===>>> Package creation failed for python27-2.7.1_1!

--

-- 
Ion-Mihai Tetcu <itetcu <at> FreeBSD.org>
Ion-Mihai Tetcu | 2 May 14:50 2011

Re: gobject-introspection fails to commpile with python2.7 WITH_PTH

On Mon, 2 May 2011 07:02:08 -0500
Jeremy Messenger <mezz.freebsd <at> gmail.com> wrote:

> On Mon, May 2, 2011 at 6:58 AM, Koop Mast <kwm <at> rainbow-runner.nl> wrote:
> > On Mon, 2011-05-02 at 14:17 +0300, Ion-Mihai Tetcu wrote:
> >> Hi,
> >>
> >>
> >> Am I tripping on something known here?
> >>
> >> Trying to switch to python 2.7 my home dektop, the
> >> upgrade-site-packages: target fails on gobject-introspectio with:
> >> >>>>>
> >> checking whether Python support is requested... checking whether /usr/local/bin/pythowith:n2.7
version >= 2.5... yes
> >> checking for /usr/local/bin/python2.7 version... 2.7
> >> checking for /usr/local/bin/python2.7 platform... freebsd8
> >> checking for /usr/local/bin/python2.7 script directory... ${prefix}/lib/python2.7/site-packages
> >> checking for /usr/local/bin/python2.7 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
> >> checking for headers required to compile python extensions... not found
> >> configure: error: Python headers not found
> >> ===>  Script "configure" failed unexpectedly.
> >> >>>>>
> >>
> >> The relevant part of the log:
> >> >>>>>
> >> configure:13291: checking for /usr/local/bin/python2.7 extension module directory
> >> configure:13320: result: ${exec_prefix}/lib/python2.7/site-packages
> >> configure:13341: checking for headers required to compile python extensions
> >> configure:13356: cpp -I/usr/local/include -I/usr/local/include/python2.7 conftest.c
(Continue reading)


Gmane