From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 10 09:21:06 2005 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E841116A4CE; Mon, 10 Jan 2005 09:21:06 +0000 (GMT) Received: from w1001.widhost.net (w1001.widhost.net [209.235.192.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CBF43D2D; Mon, 10 Jan 2005 09:21:06 +0000 (GMT) (envelope-from filippo.natali@widestore.net) Received: from mx0.hq.widestore.net (mx0.hq.widestore.net [212.97.46.42]) by w1001.widhost.net (Postfix) with ESMTP id 269CD21727; Mon, 10 Jan 2005 04:20:55 -0500 (EST) Received: from [192.168.1.1] (cagnina.hq.widestore.net [192.168.1.1]) by mx0.hq.widestore.net (Postfix) with ESMTP id B82F058; Mon, 10 Jan 2005 10:20:41 +0100 (CET) Message-ID: <41E248E9.5040007@widestore.net> Date: Mon, 10 Jan 2005 10:20:41 +0100 From: Filippo Natali Organization: Widestore.Net User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Palle Girgensohn References: <200501092327.j09NRGj4046202@freefall.freebsd.org> <0E451258A2F1715BE15FA4D2@palle.girgensohn.se> In-Reply-To: <0E451258A2F1715BE15FA4D2@palle.girgensohn.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/75351: [MAINTAINER UPDATE] www/plone to 2.0.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 09:21:07 -0000 on 10.01.2005 01:14 Palle Girgensohn wrote: > --On söndag, januari 09, 2005 23.27.16 +0000 Palle Girgensohn > 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