[Pkg-zope-developers] zope2.9 build tentative results

Rakotomandimby Mihamina mihamina.rakotomandimby at etu.univ-orleans.fr
Mon Jan 2 05:16:07 UTC 2006


> "/usr/lib/zope2.9"
> error: could not delete
> '/usr/lib/zope2.9/lib/python/zope/hookable/_zope_hookable.so':
> Permission denied

I had it because I made the error to build as root in a precedent
attempt (because I had a "permission denied").
Then I manually deleted /usr/lib/zope2.9, re-removed "build", then
relaunched a dpkg-buildpackage -rfakeroot

[...]
dh_testdir
dh_testroot
dh_clean -k
for f in debian/*.in; do \
          generated=`echo $f | sed 's,.in$,,;s,ZVER,2.9,'`; \
          sed 's, at ZVER@,2.9,g' $f > $generated.tmp; \
          if cmp --quiet "$generated" "$generated.tmp"; then \
            rm -f $generated.tmp; \
          else \
            mv -f $generated.tmp $generated; \
          fi; \
        done
dh_installdirs
dh_installzopeinstance -pzope2.9-sandbox sandbox
# Install Zope and remove *.pyc
make
PREFIX=/home/mihamina/midebs/zope/zope2.9-2.9.0/debian/zope2.9/usr/lib/zope2.9 DISTUTILS_OPTS=--quiet installmake[1]: Entering directory `/home/mihamina/midebs/zope/zope2.9-2.9.0'
/usr/bin/python2.4 install.py -q build
/usr/bin/python2.4 install.py -q install --skip-build --home
"/usr/lib/zope2.9"
error: could not create '/usr/lib/zope2.9': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/mihamina/midebs/zope/zope2.9-2.9.0'
make: *** [install-stamp] Error 2
[==========================================]

It really tries to write outside the buildroot...

-- 
A powerfull GroupWare, CMS, CRM, ECM: CPS (Open Source & GPL).
Opengroupware, SPIP, Plone, PhpBB, JetSpeed... are good: CPS is better.
http://www.cps-project.org for downloads & documentation.
Free hosting of CPS groupware: http://www.objectis.org.




More information about the Pkg-zope-developers mailing list