I have eemerge zope-2.7.2-r2, this is a problem: 1) .......... .......... ......... creating /var/tmp/portage/zope-2.7.2-r2/image/usr/lib/zope-2.7.2/skel/Extensions copying skel/Extensions/README.txt -> /var/tmp/portage/zope-2.7.2-r2/image//usr/lib/zope-2.7.2/lib/python/../../skel/Extensions [ -f /var/tmp/portage/zope-2.7.2-r2/image//usr/lib/zope-2.7.2/bin/python ] || ln -sfn "/usr/bin/python" /var/tmp/portage/zope-2.7.2-r2/image//usr/lib/zope-2.7.2/bin/python Zope binaries installed successfully. Now run '/var/tmp/portage/zope-2.7.2-r2/image//usr/lib/zope-2.7.2/bin/mkzopeinstance.py' ln: creazione del link simbolico `/var/tmp/portage/zope-2.7.2-r2/image//var/tmp/portage/zope-2.7.2-r2/image//usr/lib/zope-2.7.2/doc' a `PLATFORMS': No such file or directory <--------------- ???? man: prepallstrip: strip: strip: usr/lib/zope-2.7.2/lib/python/ZODB/winlock.so usr/lib/zope-2.7.2/lib/python/ZODB/TimeStamp.so usr/lib/zope-2.7.2/lib/python/ZODB/cPickleCache.so usr/lib/zope-2.7.2/lib/python/ZODB/coptimizations.so usr/lib/zope-2.7.2/lib/python/ZODB/cPersistence.so usr/lib/zope-2.7.2/lib/python/Record.so usr/lib/zope-2.7.2/lib/python/Acquisition.so ........ ......... ......... 2) because: make install PREFIX=${D}${ZSERVDIR} rm -rf ${D}${ZSERVDIR}/doc dosym ${DOCDESTTREE} ${D}${ZSERVDIR}/doc <--------------- ???? # copy the init script skeleton to skel directory of our installation skel=${D}${ZSERVDIR}/skel dodir /etc/init.d cp ${FILESDIR}/${PV}/zope.initd ${skel}/zope.initd where is ${DOCDESTTREE} variable ? And a init zope scripts where is? Reproducible: Always Steps to Reproduce: 1. 2. 3.
the init script will be created with zope-config
DOCDESTTREE is set by docinto
Ok but because this error: Zope binaries installed successfully. Now run '/var/tmp/portage/zope-2.7.2-r2/image//usr/lib/zope-2.7.2/bin/mkzopeinstance.py' ln: creazione del link simbolico `/var/tmp/portage/zope-2.7.2-r2/image//var/tmp/portage/zope-2.7.2-r2/image//usr/lib/zope-2.7.2/doc' a `PLATFORMS': No such file or directory <--------------- ???? man:
line "dosym ${DOCDESTTREE} ${D}${ZSERVDIR}/doc" should be: "dosym ../../share/doc/${PF} ${ZSERVDIR}/doc" it will be changed in portage shortly without version bump.
fix is commited into portage as the same -r2 version.