Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBF299613 for ; Sat, 9 Jun 2012 05:34:56 +0000 (UTC) Received: (qmail 57282 invoked by uid 500); 9 Jun 2012 05:34:56 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 56909 invoked by uid 500); 9 Jun 2012 05:34:55 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 56883 invoked by uid 99); 9 Jun 2012 05:34:55 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jun 2012 05:34:55 +0000 Received: from localhost (HELO [10.1.1.4]) (127.0.0.1) (smtp-auth username hdu, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jun 2012 05:34:53 +0000 Message-ID: <4FD2E074.7000808@apache.org> Date: Sat, 09 Jun 2012 07:34:44 +0200 From: Herbert Duerr User-Agent: generic MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: $PERL not respected References: <20120608042922.36749C00EA@aegis.apache.org> <4FD23448.3010506@oracle.com> <4FD2478B.5090901@apache.org> <20120608204316.GA18363@localhost> In-Reply-To: <20120608204316.GA18363@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 06/08/2012 10:43 PM, Ariel Constenla-Haile wrote: > On Fri, Jun 08, 2012 at 08:42:19PM +0200, Herbert Duerr wrote: >> [...] >> Looking through the logs I saw >> ./bootstrap: 46: download_external_dependencies.pl: Permission denied >> and that pointed at missing execute permissions for that script. >> >> I committed the fix as revision 1348184 With that fix the buildbot is happy now about the new download script: http://ci.apache.org/builders/openoffice-linux64-nightly/builds/248/steps/compile_3/logs/stdio > Looking at bootstrap.1, that file gets executed by a system perl > (supposed you have one installed), not respecting the perl set with > --with-perl-home, stored in $PERL. Good point. And when it has been converted so that all these scripts are run via "$PERL" then I think we should drop their exec-flags and eventually also their shebang lines. ls -l main/solenv/bin/*pl shows that the exec-bits were handled inconsistently and the scripts using them tended to be wrong by ignoring --with-perl-home. > I should try a full build renaming /usr/bin/perl to /usr/bin/perl.foo > and configuring with --with-perl-home, I guess there will be more places > than the ones found in the attached patch. This is an interesting experiment. Running find . -name "*.p[lm]" -exec grep -l bin/perl {} \; gives a first indication that there will be quite many areas where to expect problems that cannot be easily found by the perl.foo experiment such as the platform or language specific or scripts. Herbert