| Summary: | python-3.5.1 won't build, potential typo in ebuild? | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Qiming Wang <hughwung> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | OS X | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
$ diff -C 1 python-3.5.1.ebuild ~/python-3.5.1.ebuild
*** python-3.5.1.ebuild Fri Dec 18 19:32:25 2015
--- /Users/dom/python-3.5.1.ebuild Sun Dec 20 14:47:09 2015
***************
*** 287,292 ****
! local fwdir=/usr/$(get_libdir)/Python.framework/Versions/${SLOT}
! ln -s "${EPREFIX}"/usr/include/python${SLOT} \
"${ED}${fwdir}"/Headers || die
! ln -s "${EPREFIX}"/usr/lib/libpython${SLOT}.dylib \
"${ED}${fwdir}"/Python || die
--- 287,292 ----
! local fwdir=/usr/$(get_libdir)/Python.framework/Versions/${PYVER}
! ln -s "${EPREFIX}"/usr/include/python${PYVER} \
"${ED}${fwdir}"/Headers || die
! ln -s "${EPREFIX}"/usr/lib/libpython${PYVER}.dylib \
"${ED}${fwdir}"/Python || die
***************
*** 328,330 ****
# since that won't work here, use a (cheap) trick instead
! local libname=libpython${SLOT}
else
--- 328,330 ----
# since that won't work here, use a (cheap) trick instead
! local libname=libpython${PYVER}
else
this looks like a forward patching artifact, so I guess you're right Fixed, thanks! |
dev-lang/python-3.5.1 is a subslotted package. But in several place in the ebuild, the ${SLOT} is used directly to as the target of `newins` or `cp`, which results in an error 'directory or file doesn't exist', because `${SLOT}` is 3.5/3.5m now. I think that these ${SLOT} should be changed to ${PYVER}.