From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,46b7978bb2005ec,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!r12g2000vbe.googlegroups.com!not-for-mail From: Simon Belmont Newsgroups: comp.lang.ada Subject: gprbuild with --db switch Date: Sat, 20 Aug 2011 08:39:59 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9de55a2b-dea8-4351-b09f-77e6c3f79ba1@r12g2000vbe.googlegroups.com> NNTP-Posting-Host: 24.218.138.255 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1313854799 11670 127.0.0.1 (20 Aug 2011 15:39:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 20 Aug 2011 15:39:59 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r12g2000vbe.googlegroups.com; posting-host=24.218.138.255; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLUEHNKC X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; InfoPath.2),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:21666 Date: 2011-08-20T08:39:59-07:00 List-Id: Obstensibly, gprbuild will recognize a "--db dir" switch and pass it onto gprconfig when spawned (to add an additional knowledge base directory), but i'm having trouble getting it to do so. Gprbuild will not complain about the switch (and even spit out an error if the directory is invalid), but does not seems to invoke gprconfig with it. By turning on the verbosity, the gprconfig line (as invoked by gprbuild) is quite clearly missing it, and consequently generates the auto.cgpr from only the original KB. If i manually run the gprconfig line as generated by gprbuild, but add the --db switch, the configuration file is generated as intended. Is this a known defenciency, or is there an order the switches must be in, or other 'gotcha' someone knows about? I have tried most of the obvious things to no avail. (Gprbuild Pro 1.4.1, 20100106, Linux) -sb