Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2005 10:20:41 +0100
From:      Filippo Natali <filippo.natali@widestore.net>
To:        Palle Girgensohn <girgen@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/75351: [MAINTAINER UPDATE] www/plone to 2.0.5
Message-ID:  <41E248E9.5040007@widestore.net>
In-Reply-To: <0E451258A2F1715BE15FA4D2@palle.girgensohn.se>
References:  <200501092327.j09NRGj4046202@freefall.freebsd.org> <0E451258A2F1715BE15FA4D2@palle.girgensohn.se>

next in thread | previous in thread | raw e-mail | index | archive | help
on 10.01.2005 01:14 Palle Girgensohn wrote:
> --On söndag, januari 09, 2005 23.27.16 +0000 Palle Girgensohn 
> <girgen@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E248E9.5040007>