Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65254 - zope-2.7.2-r2 path errors
Summary: zope-2.7.2-r2 path errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-24 16:00 UTC by Antonio
Modified: 2004-09-26 02:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-09-24 16:00:29 UTC
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 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-24 23:05:27 UTC
the init script will be created with zope-config
Comment 2 Bernd Dorn 2004-09-24 23:14:02 UTC
DOCDESTTREE is set by docinto
Comment 3 Antonio 2004-09-25 02:35:19 UTC
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 Radoslaw Stachowiak (RETIRED) gentoo-dev 2004-09-25 11:09:17 UTC
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 Radoslaw Stachowiak (RETIRED) gentoo-dev 2004-09-26 02:53:57 UTC
fix is commited into portage as the same -r2 version.