From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5768 invoked by alias); 26 Nov 2014 00:40:56 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 5758 invoked by uid 89); 26 Nov 2014 00:40:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: terror.hungry.com Received: from terror.hungry.com (HELO terror.hungry.com) (199.181.107.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 26 Nov 2014 00:40:53 +0000 Received: from [10.0.1.153] ([98.210.163.199]) (AUTH: PLAIN alves, SSL: TLSv1/SSLv3,128bits,AES128-SHA) by terror.hungry.com with ESMTPSA; Tue, 25 Nov 2014 16:40:41 -0800 id 00072C6C.000000005475218E.0000B758 Message-ID: <54752188.8070700@hungry.com> Date: Wed, 26 Nov 2014 00:40:00 -0000 From: Seth Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_terror.hungry.com-46936-1416962446-0001-2" To: kawa@sourceware.org Subject: Re: relative includes in r7rs library definitions References: <546F4449.4050303@hungry.com> <546F85E7.6020404@bothner.com> <546F8AD9.6080404@hungry.com> <54726634.9090105@bothner.com> <547437D7.7060500@bothner.com> <54749C51.9020301@hungry.com> <5474E8F0.7090000@bothner.com> In-Reply-To: <5474E8F0.7090000@bothner.com> X-IsSubscribed: yes X-SW-Source: 2014-q4/txt/msg00082.txt.bz2 This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_terror.hungry.com-46936-1416962446-0001-2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1053 I see... the shell script is mangling the arguments together. This patch (attached) makes it work for me. -seth On 11/25/2014 12:39 PM, Per Bothner wrote: > > > On 11/25/2014 07:12 AM, Seth Alves wrote: >> with [ -Dkawa.include.path='|:.' ] , I get a crash. >> >> ./test-kawa.scm:12:32: unexpected exception while compiling: >> java.lang.IllegalArgumentException: Illegal character in path at >> index 37: ./scheme/base.sld-Dkawa.include.path=| >> java.lang.IllegalArgumentException: Illegal character in path at >> index 37: ./scheme/base.sld-Dkawa.include.path=| >> at java.net.URI.create(URI.java:859) > > I'm not seeing anything like that. Looks like Kawa is getting invoked > with the second > -D option being pasted onto the first. I'd verify this by printing > out the > args (one to a line) in the top of the main method in kawa/repl.scm. > >> The output I'm hoping for is >> >> this is the first one >> this is the second one > > Works for me: > > $ ./test-kawa.scm > this is the first one > this is the second one > > > --=_terror.hungry.com-46936-1416962446-0001-2 Content-Type: text/plain; charset=utf-8; name=kawa-sh-patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kawa-sh-patch" Content-length: 1115 SW5kZXg6IGJpbi9rYXdhLnNoLmluCj09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K LS0tIGJpbi9rYXdhLnNoLmluCShyZXZpc2lvbiA4MTczKQorKysgYmluL2th d2Euc2guaW4JKHdvcmtpbmcgY29weSkKQEAgLTI5LDcgKzI5LDcgQEAKICAg ICAgICAgZm9yIGFyZyBpbiAiJEAiOyBkbwogICAgICAgICAgICAgY2FzZSAi JGFyZyIgaW4KICAgICAgICAgICAgICAgICAtRCogfCAtSiopCi0gICAgICAg ICAgICAgICAgICAgIGp2bV9hcmdzKz0iJGFyZyIKKyAgICAgICAgICAgICAg ICAgICAganZtX2FyZ3MrPSIgJGFyZyIKICAgICAgICAgICAgICAgICAgICAg c2hpZnQKICAgICAgICAgICAgICAgICA7OwogICAgICAgICAgICAgICAgICop IGJyZWFrCkBAIC0zNiw3ICszNiw3IEBACiAgICAgICAgICAgICAgICAgOzsK ICAgICAgICAgICAgIGVzYWMKICAgICAgICAgZG9uZQotICAgICAgICBleGVj ICR7SkFWQS0iamF2YSJ9IC1Ea2F3YS5jb21tYW5kLmxpbmU9IiR7Y29tbWFu ZF9saW5lfSIgIiR7anZtX2FyZ3NbQF19IiBrYXdhLnJlcGwgJHtub19jb25z b2xlfSAiJEAiCisgICAgICAgIGV4ZWMgJHtKQVZBLSJqYXZhIn0gLURrYXdh LmNvbW1hbmQubGluZT0iJHtjb21tYW5kX2xpbmV9IiAke2p2bV9hcmdzW0Bd fSBrYXdhLnJlcGwgJHtub19jb25zb2xlfSAiJEAiCiAgICAgICAgIDs7CiAg ICAgKikKICAgICAgICAgZXhlYyAke0pBVkEtImphdmEifSAtRGthd2EuY29t bWFuZC5saW5lPSIke2NvbW1hbmRfbGluZX0iIGthd2EucmVwbCAke25vX2Nv bnNvbGV9ICIkQCIK --=_terror.hungry.com-46936-1416962446-0001-2--