From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: more define-inlinable-related breakage Date: Wed, 13 Apr 2011 18:23:01 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1302711776 8469 80.91.229.12 (13 Apr 2011 16:22:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2011 16:22:56 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Apr 13 18:22:52 2011 Return-path: Envelope-to: guile-devel@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 1QA2q6-00054U-Iy for guile-devel@m.gmane.org; Wed, 13 Apr 2011 18:22:46 +0200 Original-Received: from localhost ([::1]:44949 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA2q5-0002A8-QH for guile-devel@m.gmane.org; Wed, 13 Apr 2011 12:22:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA2py-00029P-1j for guile-devel@gnu.org; Wed, 13 Apr 2011 12:22:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA2pt-0008Tw-Na for guile-devel@gnu.org; Wed, 13 Apr 2011 12:22:38 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:61236 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA2pt-0008ST-Il for guile-devel@gnu.org; Wed, 13 Apr 2011 12:22:33 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 66232422D for ; Wed, 13 Apr 2011 12:24:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=2 DtstE7M/R+mX0LOHtGPr/Brqr4=; b=WfS3L6nigRGT/eByOfE9JoHDkOAX2+q45 jb+hFVDbk91ThvbJLobqKfn4BGT/tdW6miSYdPKYlvc0Cn65qbMjZvssIXIgYEOq 13zQfDT7S457Mu8VepJCtBNWTZt2DeGKN3EN6w2IWxVQ6CplPZnmO+FvmXmkRVwE soz6z5SC1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=EWk hV+qU+CplBrqnU0BuPobdX3mN7esuP2h9qXY+h2AglA2kIbB3Yz6W982XofjkXE9 yFSUMfbeGbZSc8T7LbC9YVkU1HUoBsWrl4jlLG/281ZwGEQMgIjvDnyn8Xf+4I8/ 7efW6+beljdah/xZOad7oJPi6qYxs0ZhMOBVvj1Y= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 606B8422C for ; Wed, 13 Apr 2011 12:24:29 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id D304B422B for ; Wed, 13 Apr 2011 12:24:28 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 81A86C3C-65EA-11E0-88EA-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12244 Archived-At: I was doing some bisecting. I started at v2.0.0, did a full clean and build then went to df1297956211b7353155c9b54d7e9c22d05ce493 and built without a "clean". However I got an error: GUILEC web/request.go ;;; note: source file /home/wingo/src/guile/module/web/uri.scm ;;; newer than compiled /home/wingo/src/guile/module/web/uri.go [...] 986: 1 [declare-uri-header! "Content-Location"] In module/ice-9/boot-9.scm: 119: 0 [# unbound-variable ...] module/ice-9/boot-9.scm:118:20: In procedure #: module/ice-9/boot-9.scm:118:20: In procedure module-lookup: Unbound variable: %uri?-procedure This indicates that (web request) uses (web http) which calls uri? on something. (web http) is up-to-date, and so the .go file is used. When the .go was compiled, `uri?' expanded to reference `%uri?-procedure', but 531c9f1dc51c4801c4d031ee80a31f15285a6b85 changed the names of the private procedures to have a space instead of a dash, so the new uri.scm is incompatible with the old web/http.go. Note that this situation would be even worse if we generated a unique name for the uri? procedure when uri.scm was compiled, as has been discussed in http://thread.gmane.org/gmane.lisp.guile.devel/11722. What should we do here? Here are a few options: 1) Require people to recompile all the time. Sucks. 2) Implement some sort of proper dependency management. Tricky, because installing a new version of package A could force a recompile of all dependent packages; tough to get right on a package-management level. 3) Declare that private names referenced by macro expansions are actually API that should not break. Regards, Andy -- http://wingolog.org/