I'm in the process of converting a port to staging, it works ok when
run in my normal environment, but when run using poudriere testport the
package step falls apart (staging is all ok, without violations), e.g.

pkg-static:lstat(/wrkdirs/usr/ports/devel/py-ice/work/stage/prefix/py27-Ice-3.5.1/lib/python2.7/site-packages/Ice.pth):
No such file or directory

Corresponding entry in pkg-plist:
%%PYTHON_SITELIBDIR%%/Ice.pth

The actual file is in:
/wrkdirs/usr/ports/devel/py-ice/work/stage/usr/local/lib/python2.7/site-packages/Ice.pth

Which makes sense, since the port installs it (and all its other files)
there:

        ${ECHO} "Ice" > ${STAGEDIR}${PYTHON_SITELIBDIR}/Ice.pth

The port installs a lot more files of course.

Is this a general problem when PREFIX != LOCALBASE for python ports?

Using poudriere testport -n it works as expected.

Thanks,
Michael

-- 
Michael Gmelin
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to