[antoine at FreeBSD.org: Pycompile and stage]
Juergen Lock
nox at jelal.kn-bremen.de
Sat Apr 5 10:03:42 UTC 2014
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 at FreeBSD.org> -----
Date: Sat, 5 Apr 2014 10:36:36 +0200
From: Antoine Brodin <antoine at FreeBSD.org>
To: Juergen Lock <nox at freebsd.org>
Cc: Bryan Drewery <bdrewery at 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 -----
More information about the freebsd-gnome
mailing list