Bug 65254 - zope-2.7.2-r2 path errors
Bug#: 65254 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-zope@gentoo.org Reported By: netbix@tiscali.it
Component: Server
URL: 
Summary: zope-2.7.2-r2 path errors
Keywords:  
Status Whiteboard: 
Opened: 2004-09-24 16:00 0000
Description:   Opened: 2004-09-24 16:00 0000
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.

------- Comment #1 From Heinrich Wendel (RETIRED) 2004-09-24 23:05:27 0000 -------
the init script will be created with zope-config

------- Comment #2 From Bernd Dorn 2004-09-24 23:14:02 0000 -------
DOCDESTTREE is set by docinto

------- Comment #3 From Antonio 2004-09-25 02:35:19 0000 -------
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:

------- Comment #4 From Radoslaw Stachowiak 2004-09-25 11:09:17 0000 -------
line 
"dosym ${DOCDESTTREE} ${D}${ZSERVDIR}/doc"

should be:
"dosym ../../share/doc/${PF} ${ZSERVDIR}/doc"

it will be changed in portage shortly without version bump.

------- Comment #5 From Radoslaw Stachowiak 2004-09-26 02:53:57 0000 -------
fix is commited into portage as the same -r2 version.