Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DFB1618142 for ; Mon, 13 Jul 2015 23:12:31 +0000 (UTC) Received: (qmail 12051 invoked by uid 500); 13 Jul 2015 23:12:31 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 12015 invoked by uid 500); 13 Jul 2015 23:12:31 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 12005 invoked by uid 99); 13 Jul 2015 23:12:30 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2015 23:12:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5DAC01A6F2D for ; Mon, 13 Jul 2015 23:12:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.099 X-Spam-Level: X-Spam-Status: No, score=-0.099 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=daniel.shahaf.name header.b=Udq/k7Hf; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=RopZo17P Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id KLrWjax_Drw1 for ; Mon, 13 Jul 2015 23:12:19 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 8F51142AF1 for ; Mon, 13 Jul 2015 23:12:19 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 5CB98207BE; Mon, 13 Jul 2015 19:12:19 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 13 Jul 2015 19:12:19 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=0DSHxmqnkWwAaw3d69QnUV82I3w=; b=Udq/k7 Hf2TM7yaNmBnoPZE4hliS19QiEgmW/fKxKNpChEl/X0n9xazFnOym/VsSvJLI1uW 14uRmQsHxobcJ70SqAcJIH9QsngInNqGulG9wveVppow+/R3Qj+NNI/UMI+NSJj/ ty7pig6RNngI3tOsDqEByluNyYqxXnVl99MSg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=0DSHxmqnkWwAaw3d69QnUV82I3w=; b=RopZo 17P0Mp6bYyakuiG1O+CsadLW9M8zRwk2S154saaAW1aYZRG/yeO0JrTUnkzbBbWm 9duHHDb47dJwl4zI8NNtenta0GkxDoFbcUUrscyirKxXdSQmKugNDD5LlkPOnYLD B1yckJ4kD4vJw+GIhZXS+Mlxe768UNmPC2WjyY= X-Sasl-enc: tF9i78tVlMYc+hOEfwEGKoGWX0dSCXOE/PTZ1u7SPbfh 1436829138 Received: from tarsus.local2 (bzq-109-66-155-50.red.bezeqint.net [109.66.155.50]) by mail.messagingengine.com (Postfix) with ESMTPA id 8FB326800A2; Mon, 13 Jul 2015 19:12:18 -0400 (EDT) Date: Mon, 13 Jul 2015 23:12:16 +0000 From: Daniel Shahaf To: Nico Kadel-Garcia Cc: Subversion Subject: Re: subversion-1.9.0-rc2 autogen.sh script breaks "/usr/share/aclocal" discovery on Fedora 21 and otherws Message-ID: <20150713231216.GF2166@tarsus.local2> References: <20150712070930.GH1945@tarsus.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Nico Kadel-Garcia wrote on Sun, Jul 12, 2015 at 14:08:25 -0400: > On Sun, Jul 12, 2015 at 3:09 AM, Daniel Shahaf wrote: > > Nico Kadel-Garcia wrote on Sun, Jul 12, 2015 at 01:24:56 -0400: > >> +if [ -L "$ltpath" -a "$ltpath" = "/bin" ]; then > >> + # Avoid "/bin" symlink to "/usr/bin" confusion > >> + ltpath=/usr/bin > >> +fi > > > > We can't presume that /usr/bin is the target of /bin when the latter is > > a symlink. That's not necessarily true everywhere. > > Can you think of a specific instance where "libtool" is in > "/bin/libtool" where this would not apply? In all circumstance I know > of where "/bin" is a symlink with "libtoolize" in it, it's the case, > Actually I can, but that's besides the point. We need autogen.sh to work no matter what the /bin symlink points to. > > I see there's a "aclocal --print-ac-dir" flag which seems to just print > > the path we need. Does that help? Can we eg first look for aclocal in > > PATH and then run that command to find the share/aclocal dir? > > This would make sense if the tool was written to look for "aclocal". > It's not, it's set to look for "libtoolize", for reasons I'm uncertain > of. That actually makes more sense. Let me think about that. Okay. By the way, this thread should move to the dev@ list; feel free to restart/summarize the discussion there. Cheers, Daniel