Date: Mon, 2 Apr 2007 17:38:49 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Nicola Vitale <nivit@FreeBSD.org> Cc: python@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: [ports-i386@pointyhat.freebsd.org: py24-simplejson-1.7.1 failed on i386 5] Message-ID: <20070402213849.GA33098@xor.obsecurity.org> In-Reply-To: <25ef68cb0704021411ge64a555h6333248c1087f704@mail.gmail.com> References: <20070401184419.GE26436@xor.obsecurity.org> <25ef68cb0704011430j7ddc1f2auda638ef05b144df0@mail.gmail.com> <20070401220510.GA78758@xor.obsecurity.org> <25ef68cb0704021411ge64a555h6333248c1087f704@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 02, 2007 at 11:11:14PM +0200, Nicola Vitale wrote:
> >[2007/4/2, Kris Kennaway <kris@obsecurity.org>
> >On Sun, Apr 01, 2007 at 11:30:00PM +0200, Nicola Vitale wrote:
> >> I think we have to set MANUAL_PACKAGE_BUILD [...]
> >As in those other cases, I would much prefer if someone fixed the real
> >problem [...]
>
> Found a solution: it's enough to add this target in the Makefile
>
> pre-build:
> @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o
> plat-name -s ${OSINFOS}
> @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o
> plat-name -s ${OSINFOS}
> @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o
> build-platlib -s lib.${OSINFOS}
> @cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c build -o
> build-temp -s temp.${OSINFOS}-${PYTHON_VER}
>
> (unfortunately, it's possible to set only one option at time), and all
> works fine
>
> http://people.freebsd.org/~nivit/tb_logs/5-FreeBSD/i386/devel/py-simplejson/py24-simplejson-1.7.1.log
> http://people.freebsd.org/~nivit/tb_logs/6-FreeBSD/i386/devel/py-simplejson/py24-simplejson-1.7.1.log
>
> In the same manner, we can likely fix, for example, devel/py-lxml
> (http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.6.2007031101/py24-lxml-1.2.log
> ) too, and remove NO_PACKAGE, MANUAL_PACKAGE_BUILD from other Python
> ports.
Excellent :)
Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070402213849.GA33098>
