Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2014 12:02:19 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        gnome@freebsd.org
Cc:        Antoine Brodin <antoine@freebsd.org>, Bryan Drewery <bdrewery@freebsd.org>
Subject:   [antoine@FreeBSD.org: Pycompile and stage]
Message-ID:  <20140405100219.GA72256@enceladus10.kn-bremen.de>

next in thread | raw e-mail | index | archive | help
Hi!

 I just had py27-libxml2-2.8.0.log fail on redports (as a dep of
qemu-devel), and saw it does

	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}

asked about that on #bsdports and got the response below:

 Thanx! :)
	Juergen

PS: Error is:

	Error: /work/a/ports/textproc/py-libxml2/work/stage/usr/local/lib/python2.7/site-packages/drv_libxml2.pyc is referring to /work/a/ports/textproc/py-libxml2/work/stage

etc, see:

	https://qat.redports.org//~nox@FreeBSD.org/20140404231800-47242-312638/py27-libxml2-2.8.0.log

----- Forwarded message from Antoine Brodin <antoine@FreeBSD.org> -----

Date: Sat, 5 Apr 2014 10:36:36 +0200
From: Antoine Brodin <antoine@FreeBSD.org>
To: Juergen Lock <nox@freebsd.org>
Cc: Bryan Drewery <bdrewery@freebsd.org>
Subject: Pycompile and stage

Hi,

01:39 < nox---> @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l
${STAGEDIR}${PYTHON_SITELIBDIR}
01:39 < nox---> i guess thats not good...

Use this instead:

@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py  -d ${PYTHON_SITELIBDIR}
-l ${STAGEDIR}${PYTHON_SITELIBDIR}

This will fix the paths used in tracebacks.  (will prepend
${PYTHON_SITELIBDIR} instead of ${STAGEDIR}${PYTHON_SITELIBDIR})

Cheers,

Antoine

----- End forwarded message -----



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