Port lang/python33 does not build

Kubilay Kocak koobs.freebsd at gmail.com
Thu Apr 25 02:24:01 UTC 2013


On 24/04/2013 11:18 PM, Florent Peterschmitt wrote:
> The same here. Default options, no CFLAGS tunning, up-to-date ports,
> sams system.
> 
> Le 24/04/2013 14:40, Tzanetos Balitsaris a écrit :
>> Hello,
>>
>> The port lang/python33 cannot be built. It stops when it tries to
>> compile the module posixmodule.c
>>
>> cc  -DNDEBUG -O2 -pipe  -fno-strict-aliasing -O2 -pipe 
>> -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing   -I.
>> -I./../Include   -fPIC -DPy_BUILD_CORE  -c ./../Modules/posixmodule.c -o
>> Modules/posixmodule.o
>> ./../Modules/posixmodule.c: In function 'posix_waitid':
>> ./../Modules/posixmodule.c:6883: error: 'idtype_t' undeclared (first use
>> in this function)
>> ./../Modules/posixmodule.c:6883: error: (Each undeclared identifier is
>> reported only once
>> ./../Modules/posixmodule.c:6883: error: for each function it appears in.)
>> ./../Modules/posixmodule.c:6883: error: expected ';' before 'idtype'
>> ./../Modules/posixmodule.c:6888: error: 'idtype' undeclared (first use
>> in this function)
>> ./../Modules/posixmodule.c: In function 'all_ins':
>> ./../Modules/posixmodule.c:11497: error: 'P_PID' undeclared (first use
>> in this function)
>> ./../Modules/posixmodule.c:11498: error: 'P_PGID' undeclared (first use
>> in this function)
>> ./../Modules/posixmodule.c:11499: error: 'P_ALL' undeclared (first use
>> in this function)
>> *** [Modules/posixmodule.o] Error code 1
>>
>> Stop in /usr/ports/lang/python33/work/Python-3.3.0/portbld.shared.
>> *** [pre-build] Error code 1
>>
>> Stop in /usr/ports/lang/python33.
>> *** [build] Error code 1
>>
>> Stop in /usr/ports/lang/python33.
>>
>> This happens on a FreeBSD 9.1-RELEASE GENERIC amd64 system.
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 
> 

Investigated and turned out it was related to the config.site changes
that were committed recently. This overrode what ./configure would have
otherwise found, namely that waitpid was not available.

waitpid(2) is not in 9.1-RELEASE, but is in stable/9 onward.

A fix has been committed: http://svnweb.freebsd.org/changeset/ports/316493

Please update your ports trees and try the build again.

Thank you nox for making the link, and bdrewery for taking care of it so
quickly.

--
Ta,

Koobs



More information about the freebsd-ports mailing list