From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Smith Newsgroups: gmane.lisp.guile.user,gmane.comp.gnu.make.devel Subject: Re: Guile support in GNU make Date: Sun, 22 Jan 2012 16:56:19 -0500 Organization: GNU's Not Unix! Message-ID: <1327269379.4539.41.camel@homebase> References: <1316557011.28907.237.camel@homebase> <1326572016.3482.144.camel@homebase> <20120122182923.GB3460@mini.zxlink> Reply-To: psmith@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327269395 30226 80.91.229.12 (22 Jan 2012 21:56:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2012 21:56:35 +0000 (UTC) Cc: Guile Users , make-alpha@gnu.org To: Kirill Smelkov Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jan 22 22:56:31 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rp5Oo-00035f-IH for guile-user@m.gmane.org; Sun, 22 Jan 2012 22:56:30 +0100 Original-Received: from localhost ([::1]:51543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp5On-0006o8-MK for guile-user@m.gmane.org; Sun, 22 Jan 2012 16:56:29 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp5Oj-0006jk-BQ for guile-user@gnu.org; Sun, 22 Jan 2012 16:56:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp5Oh-0000EK-Vf for guile-user@gnu.org; Sun, 22 Jan 2012 16:56:25 -0500 Original-Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:38562) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Rp5Oh-0000EE-JZ for guile-user@gnu.org; Sun, 22 Jan 2012 16:56:23 -0500 Original-Received: (qmail 11867 invoked by uid 0); 22 Jan 2012 21:56:22 -0000 Original-Received: from unknown (HELO box531.bluehost.com) (74.220.219.131) by oproxy1.bluehost.com with SMTP; 22 Jan 2012 21:56:22 -0000 Original-Received: from 146-115-71-23.c3-0.lex-ubr1.sbo-lex.ma.cable.rcn.com ([146.115.71.23] helo=[172.31.1.105]) by box531.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rp5Of-0007Z2-Q4; Sun, 22 Jan 2012 14:56:21 -0700 In-Reply-To: <20120122182923.GB3460@mini.zxlink> X-Mailer: Evolution 2.32.2 X-Identified-User: {678:box531.bluehost.com:madscie1:mad-scientist.us} {sentby:smtp auth 146.115.71.23 authed with paul+mad-scientist.us} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.147.249.253 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9175 gmane.comp.gnu.make.devel:732 Archived-At: On Sun, 2012-01-22 at 22:29 +0400, Kirill Smelkov wrote: > Then a bug report: running make check on taday's make from CVS and with > guile-2.0 from Debian gives this: > > *** work/functions/guile.base Sun Jan 22 22:21:18 2012 > --- work/functions/guile.log Sun Jan 22 22:21:18 2012 > *************** > *** 6,8 **** > --- 6,13 ---- > bar > a b > a b c d 1 2 3 > + > + Some deprecated features have been used. Set the environment > + variable GUILE_WARN_DEPRECATED to "detailed" and rerun the > + program to get more information. Set it to "no" to suppress > + this message. > > I've tried to set that GUILE_WARN_DEPRECATED to "no", but the warning > persists to stay. Perhaps it would be a good idea not to use deprecated > features anyway... Setting that variable doesn't do anything because the test suite strips out all but a few "known good" variables. So, maybe the Guile folks can give me some portability guidance. The message Guile gives (when I set the above to "detailed") is this: Guile used to use the wrong argument order for string-delete. This call to string-filter had the arguments in the wrong order. See SRFI-13 for more details. At some point we will remove this hack. and it's because of this code in gmk-default.scm: ;; Printable string (no special characters) ((and (string? x) (eq? (string-length (string-delete x char-set:printing)) 0)) x) It's trying to determine if the string contains any non-printable chars. How can I write this so it will work both with older Guile 1.8 and also with newer Guile 2.0? Or, should I just forget about trying to work with Guile <2.0? Most systems I have access to still have Guile 1.8 though. -- ------------------------------------------------------------------------------- Paul D. Smith Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist