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 41C91CFF8 for ; Fri, 8 Jun 2012 20:43:01 +0000 (UTC) Received: (qmail 66764 invoked by uid 500); 8 Jun 2012 20:43:01 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 66535 invoked by uid 500); 8 Jun 2012 20:43:00 -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 66527 invoked by uid 99); 8 Jun 2012 20:43:00 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 20:43:00 +0000 Received: from localhost (HELO localhost) (127.0.0.1) (smtp-auth username arielch, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 20:43:00 +0000 Date: Fri, 8 Jun 2012 17:43:16 -0300 From: Ariel Constenla-Haile To: ooo-dev@incubator.apache.org Subject: $PERL not respected (was: buildbot failure in ASF Buildbot on openoffice-linux64-nightly) Message-ID: <20120608204316.GA18363@localhost> References: <20120608042922.36749C00EA@aegis.apache.org> <4FD23448.3010506@oracle.com> <4FD2478B.5090901@apache.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jho1yZJdad60DJr+" Content-Disposition: inline In-Reply-To: <4FD2478B.5090901@apache.org> User-Agent: Mutt/1.5.21 (2010-09-15) --jho1yZJdad60DJr+ Content-Type: multipart/mixed; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 08, 2012 at 08:42:19PM +0200, Herbert Duerr wrote: > Hi Andrew, >=20 > On 06/08/2012 07:20 PM, you wrote: > >I believe the current build problems are due to the change in the > >location of external tar balls. > >How should the build get these using the new script? >=20 > Looking through the logs I saw > ./bootstrap: 46: download_external_dependencies.pl: Permission denied > and that pointed at missing execute permissions for that script. >=20 > I committed the fix as revision 1348184 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. 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. Regards --=20 Ariel Constenla-Haile La Plata, Argentina --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="perl.patch" Content-Transfer-Encoding: quoted-printable diff --git a/main/bootstrap.1 b/main/bootstrap.1 index 719f385..7f2dff8 100644 --- a/main/bootstrap.1 +++ b/main/bootstrap.1 @@ -30,16 +30,18 @@ export EXEEXT =20 mkdir -p "$SOLARENV/$OUTPATH/bin" =20 -#make sure build.pl is executable=20 +#make sure perl scripts are executable =20 chmod +x "$SRC_ROOT/solenv/bin/build.pl" chmod +x "$SRC_ROOT/solenv/bin/build_client.pl" chmod +x "$SRC_ROOT/solenv/bin/zipdep.pl" chmod +x "$SRC_ROOT/solenv/bin/gccinstlib.pl" +chmod +x "$SRC_ROOT/solenv/bin/download_external_dependencies.pl" +chmod +x "$SRC_ROOT/solenv/bin/download_missing_extensions.pl" =20 # fetch or update external tarballs if [ "$DO_FETCH_TARBALLS" =3D "yes" ]; then - download_external_dependencies.pl $SRC_ROOT/external_deps.lst + "$PERL" "$SOLARENV/bin/download_external_dependencies.pl" $SRC_ROOT/ex= ternal_deps.lst fi =20 # ------------------------------------------------------------------------= ------ @@ -152,4 +154,4 @@ else fi =20 # Download missing extensions. -download_missing_extensions.pl +"$PERL" "$SOLARENV/bin/download_missing_extensions.pl" diff --git a/main/set_soenv.in b/main/set_soenv.in index 1ea51ce..5bead59 100644 --- a/main/set_soenv.in +++ b/main/set_soenv.in @@ -1558,11 +1558,11 @@ for my $repo (split(/ /,"@ADDITIONAL_REPOSITORIES@"= )) # print "Setting the aliases... "; # 1. alias for a full product make.=20 - $mkout =3D '"perl $SOLARENV/bin/mkout.pl"'; - $deliver =3D '"perl $SOLARENV/bin/deliver.pl"'; - $build =3D '"perl $SOLARENV/bin/build.pl"'; - $build_client =3D '"perl $SOLARENV/bin/build_client.pl"'; - $zipdep =3D '"perl $SOLARENV/bin/zipdep.pl"'; + $mkout =3D '"$PERL $SOLARENV/bin/mkout.pl"'; + $deliver =3D '"$PERL $SOLARENV/bin/deliver.pl"'; + $build =3D '"$PERL $SOLARENV/bin/build.pl"'; + $build_client =3D '"$PERL $SOLARENV/bin/build_client.pl"'; + $zipdep =3D '"$PERL $SOLARENV/bin/zipdep.pl"'; # 3. alias for a full product make $nmake =3D '"dmake"'; print "done\n"; --OgqxwSJOaUobr8KG-- --jho1yZJdad60DJr+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJP0mPkAAoJEMjP1bm45QNWTBsQAKCtoGb+KmdDFCsCcpxzaLXi PsRz3wppHWbbYlxPg9hD124gFATsFzRbbnBAUFwWLR+jpC4WOAnVaQOa3OUP3GpE cAlrqAdMPiZYynAhu/pb4rg+UgxA7fHu+CBkpelM4GF8nXmfubdUvzZLuM2teIm0 MXB4lYdnZnB9TrmgvvEq65yhXWxUT5BKC45pBNLOlQ3wcWNejATtkCfYaMSFcwYI BKAO1jaclmOHtP7paXdy2QfvQMkCQXPELi5qU4HTKs+yMoAtqGPqemxR5ytuMdPD 1TyPYCTXYpWePe7gwD74o8AIbs2MMkzxLlYJJ3ats+JUzDinjyYcHm1bXG6pk5ds mTKLlrEdM0OJNYEvj8udOBYiev7L17M/PbinTQknFgI0SagqXKkfPIYY7SykaJV4 OotAm9ealR1rKcArBCxV63Uum1yFUaNZ9HMFfGk5K6yy38LxgQEMgiOan9O5IZWA zpEhIjN7PTi+dPJMGiVznarFw2PXg8vMjBT6v5he5Mw6adFhQ1ZytP7G4QPvjYzR kTaUdepqOU4lKqSdY91txh1tET66L/jUFuzxv3OKKNQXRq1G2/O43FwQuqdMVHWM qZTxgmzzh5+W6O/+NtNPROdjOc7vGCirxWSm5vpgzLjJr4e5vPiujeHMqb150YjC s+jbDyNFcm4sHJTX9I5m =GwJJ -----END PGP SIGNATURE----- --jho1yZJdad60DJr+--