GNU bug report logs - #20393
elpa: ada-build: cannot compile when one folder has spaces

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Christian Giménez <cnngimenez@HIDDEN>; dated Tue, 21 Apr 2015 06:22:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to 'elpa: ada-build: cannot compile when one folder has spaces' from 'cannot compile when one folder has spaces' Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Apr 2015 06:21:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 21 02:21:22 2015
Received: from localhost ([127.0.0.1]:34128 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YkRYf-0002Rs-Ou
	for submit <at> debbugs.gnu.org; Tue, 21 Apr 2015 02:21:22 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57893)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFl-0004ew-MG
 for submit <at> debbugs.gnu.org; Mon, 20 Apr 2015 22:49:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFf-00082r-EV
 for submit <at> debbugs.gnu.org; Mon, 20 Apr 2015 22:49:32 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39612)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFf-00082n-CD
 for submit <at> debbugs.gnu.org; Mon, 20 Apr 2015 22:49:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43147)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFe-0000LQ-4f
 for bug-gnu-emacs@HIDDEN; Mon, 20 Apr 2015 22:49:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFa-00080z-4L
 for bug-gnu-emacs@HIDDEN; Mon, 20 Apr 2015 22:49:30 -0400
Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:33687)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFZ-00080k-PR
 for bug-gnu-emacs@HIDDEN; Mon, 20 Apr 2015 22:49:26 -0400
Received: by qgdy78 with SMTP id y78so62466583qgd.0
 for <bug-gnu-emacs@HIDDEN>; Mon, 20 Apr 2015 19:49:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:reply-to:subject:date:message-id:user-agent:mime-version
 :content-transfer-encoding:content-type;
 bh=0jVEQTzT+Pu/ku6wZEgFlDhaVANRYU29mIAjwCNuf1g=;
 b=VePrJHHTzBiohwsi0Z56/O1a5SUye7ptEDKtjZm86SRSNpcibndjqTgPY7sumbkYNk
 laIZ5gZFKW8IXIsAiNIq1sT0Xr0EetVBFMlHVOChwuRHObXoVElnHFNDKz0DVpGnVtc7
 N9IfylMCInc4FQsreQ5yIwF8DBB1xwNIChBsTQwa3fwoOaOOS0x3ImUPfNajDvFCEmEw
 K0nhrYrTuWAdOOlwotEtZxhPNs7LwcUnOog20hob2XouPkZaTHsAlSJ5JyPu3Oh2wVWr
 bstkRdWTTPRN+tEiW09cu+QyQ7w2pNxlXuFkleGecFZQagyHT0XsHIU99ucJnpflgbxF
 KpwQ==
X-Received: by 10.140.165.150 with SMTP id l144mr21234050qhl.99.1429584564886; 
 Mon, 20 Apr 2015 19:49:24 -0700 (PDT)
Received: from harmonia.localnet ([186.128.166.110])
 by mx.google.com with ESMTPSA id f35sm467554qga.10.2015.04.20.19.49.23
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Mon, 20 Apr 2015 19:49:23 -0700 (PDT)
From: Christian <cnngimenez@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: cannot compile when one folder has spaces
Date: Mon, 20 Apr 2015 23:49:19 -0300
Message-ID: <1641757.hIDRi88fqK@harmonia>
User-Agent: KMail/4.14.6 (Linux/3.19.3-200.fc21.x86_64; KDE/4.14.6; x86_64; ; )
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 21 Apr 2015 02:21:20 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Christian =?ISO-8859-1?Q?Gim=E9nez?= <cnngimenez@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

emacs, ada-mode 

Hi, I found a problem when trying to compile using a project (gpj) file. Is 
easy to solve.

The problem is that if you're at a directory with spaces, gnatmake will 
recieve two parameters instead of one.

The solution is easy: The variable ada-build-make-cmd needs double quotes 
between the "{gpr_file}" substring: 
"${cross_prefix}gnatmake -P\"${gpr_file}\" -o ${main} ${main} ${gnatmake_opt} -
cargs -I${src_dir} ${comp_opt} -bargs ${bind_opt} -largs ${link_opt}"

After setting that, you should restart Emacs.

Could you add this string as a default value?

Cheers!




Acknowledgement sent to Christian Giménez <cnngimenez@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#20393; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 21 Apr 2015 18:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.