Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2007 23:11:14 +0200
From:      "Nicola Vitale" <nivit@FreeBSD.org>
To:        "Kris Kennaway" <kris@obsecurity.org>
Cc:        python@freebsd.org
Subject:   Re: [ports-i386@pointyhat.freebsd.org: py24-simplejson-1.7.1 failed on i386 5]
Message-ID:  <25ef68cb0704021411ge64a555h6333248c1087f704@mail.gmail.com>
In-Reply-To: <20070401220510.GA78758@xor.obsecurity.org>
References:  <20070401184419.GE26436@xor.obsecurity.org> <25ef68cb0704011430j7ddc1f2auda638ef05b144df0@mail.gmail.com> <20070401220510.GA78758@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> [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.

-- 
Nicola Vitale
nivit@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25ef68cb0704021411ge64a555h6333248c1087f704>