ports/75351: [MAINTAINER UPDATE] www/plone to 2.0.5
Filippo Natali
filippo.natali at widestore.net
Mon Jan 10 09:21:07 UTC 2005
on 10.01.2005 01:14 Palle Girgensohn wrote:
> --On söndag, januari 09, 2005 23.27.16 +0000 Palle Girgensohn
> <girgen at FreeBSD.org> wrote:
>
>
>>Synopsis: [MAINTAINER UPDATE] www/plone to 2.0.5
>>
>>Responsible-Changed-From-To: freebsd-ports-bugs->girgen
>>Responsible-Changed-By: girgen
>>Responsible-Changed-When: Sun Jan 9 23:24:34 GMT 2005
>>Responsible-Changed-Why:
>>
>>Hi!
>>
>>I get many syntax errors when building plone with the patch:
>>
>>Compiling
>>/opt/portbuild/opt/ports/www/plone/work/Plone-2.0.5/CMFPlone/skins/plone_
>>scripts/undo.py ... File
>>"/opt/portbuild/opt/ports/www/plone/work/Plone-2.0.5/CMFPlone/skins/plone
>>_scripts/undo.py", line 7 return context.REQUEST.RESPONSE.redirect(
>>'%s?%s' % (came_from, msg) ) SyntaxError: 'return' outside function
>>
>>
>>Should I worry?
>>
>># pkg_info -Ix python
>>python-2.3.4_3 An interpreted object-oriented programming language
>>python-2.4 An interpreted object-oriented programming language
>>
>># pkg_info -Ix zope
>>zope-2.7.3 An object-based web application platform
>>
>>
>>http://www.freebsd.org/cgi/query-pr.cgi?pr=75351
>
>
> Humm, same thing happens with plone-2.0.4. The build finishes alright, so
> perhaps these are just warnings of some kind? I never really used python
> (yet, I am about to deploy a plone/zope site, so I guess that'll change :),
> so I don't know if this is a problem or not.
>
> /Palle
>
>
These errors are harmless. Most of the Zope Products in ports give (and
ignore :) ) such errors during the build. The cause is compileall.py
script, which tries to compile recursively all .py files, but some of
these can't be compiled or run outside Zope.
Filippo
More information about the freebsd-ports-bugs
mailing list