Date: Thu, 25 Apr 2013 12:23:45 +1000 From: Kubilay Kocak <koobs.freebsd@gmail.com> To: Florent Peterschmitt <florent@peterschmitt.fr> Cc: tzabal@it.teithe.gr, freebsd-ports@freebsd.org Subject: Re: Port lang/python33 does not build Message-ID: <517893B1.1090305@FreeBSD.org> In-Reply-To: <5177DBB0.2010502@peterschmitt.fr> References: <20130424154045.96840zmp7ruk7rgt@webmail.it.teithe.gr> <5177DBB0.2010502@peterschmitt.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?517893B1.1090305>