This is with net-zope/zope-2.9.0: running zope-config makes a zope instance where bin/zopectl contains something like this: ZOPE_HOME="/usr/lib/zope-2.9.0" INSTANCE_HOME="/var/lib/zope/zope-test" CONFIG_FILE="/var/lib/zope/zope-test/etc/zope.conf" SOFTWARE_HOME="/usr/lib/zope-2.9.0/lib/python" The "lib" references are not multilib compatible, they should contain the output of get_libdir (part of multilib.eclass).
Seems fixed in 3.3.0: # grep -r /usr/lib * zope-3.3.0/bin/test:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python" zope-3.3.0/bin/zopeservice.py:SOFTWARE_HOME=r'/usr/lib64/zope-3.3.0/lib/python' zope-3.3.0/bin/static-apidoc:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python" zope-3.3.0/bin/debugzope:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python" zope-3.3.0/bin/runzope:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python" zope-3.3.0/bin/zpasswd:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python" zope-3.3.0/bin/zopectl:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python" zope-3.3.0/bin/pyskel:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python" zope-3.3.0/bin/scriptzope:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python" zope-3.3.0/bin/i18nextract:SOFTWARE_HOME = r"/usr/lib64/zope-3.3.0/lib/python"
Ups, sorry, is a problem with zope-config :'(
Zope team, do you plan to fix this?
Yep. we do.
box: amd64 -nomultilib (i.e., pure 64 bit) zope-config: 0.6 I think that the following errors may be the same as specified here. On attempting to install a zope 3.3.1 instance, I get: /usr/sbin/zope-config: line 96: /usr/lib/zope-3.3.1/bin/mkzopeinstance.py: No such file or directory mkdir: cannot create directory `/var/log/zope/zope-3.3.1': File exists rm: cannot remove `/var/lib/zope/zope-3.3.1/log': No such file or directory ln: creating symbolic link `/var/lib/zope/zope-3.3.1/log': No such file or directory install: cannot stat `/usr/lib/zope-3.3.1/skel/zope.initd': No such file or directory sed: can't read /var/lib/zope/zope-3.3.1/etc/zope.conf: No such file or directory sed: can't read /etc/init.d//zope-3.3.1: No such file or directory useradd: user zope exists Adding user zope to group zope chown: cannot access `/var/lib/zope/zope-3.3.1': No such file or directory chmod: cannot access `/var/lib/zope/zope-3.3.1': No such file or directory chmod: cannot access `/var/lib/zope/zope-3.3.1': No such file or directory chmod: cannot access `/var/lib/zope/zope-3.3.1': No such file or directory Note: Review settings in /var/lib/zope/zope-3.3.1/etc/zope.conf. Then you can start your new instance with: /etc/init.d/zope-3.3.1 start ************ There are two problems here: 1. the "lib" vs "lib64" path in the first line. 2. in line 5 above, the path says "skel", but in /usr/lib/zope-3.3.1 and /usr/lib64/zope-3.3.1 the directory name is "zopeskel". Can anyone suggest a workaround so that I can install an instance of 3.3.1? TIA!
this package is masked, removing amd64 from CC
this was dropped