From MAILER-DAEMON Sun Jan 13 16:41:30 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TuVJ4-0001nX-O2 for mharc-g-wrap-dev@gnu.org; Sun, 13 Jan 2013 16:41:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuRih-0002ZH-Js for g-wrap-dev@nongnu.org; Sun, 13 Jan 2013 12:51:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuRie-00022Q-L4 for g-wrap-dev@nongnu.org; Sun, 13 Jan 2013 12:51:43 -0500 Received: from mail-pb0-f48.google.com ([209.85.160.48]:53925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuRie-000227-Ej for g-wrap-dev@nongnu.org; Sun, 13 Jan 2013 12:51:40 -0500 Received: by mail-pb0-f48.google.com with SMTP id rq13so1776385pbb.7 for ; Sun, 13 Jan 2013 09:51:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=9kJKb+DWI+fKkuNC6NyiA42mYYcr/4pdgUqgXcutz9Q=; b=Rmo4qC98blD8Rxi8reHvk48P3s3LNCR/IV6hrkKotdJC8/M1Xsk3vMA55davzTNZvc i0TzCEIVSbV+GtzhpdfcUMdDfi5S42CWj3nCqySKlerGgKTT7eUIN+XL7HE5CxX0Oh6Y Ox0/uH0dwy+maUcYr4pjD/FocC10nyLrfyk7VKB5aW2fOlnZoXz3DI3CZxcaBTDx68lj Q9wy/WI+uOsNf0/ZmN0aD2wMcWFm8V+Tg6k24lLYxgwiFhLq3pXh7ScQF7yCHbZNgAjJ 71KQvBTv8ZrqQx8YIXGLsazHCDwYuwzaLZDANMVmZEKyQ5xKHkzwJCz0OKlryrqfSYao 7PJQ== MIME-Version: 1.0 Received: by 10.66.73.2 with SMTP id h2mr60039016pav.59.1358099498953; Sun, 13 Jan 2013 09:51:38 -0800 (PST) Sender: noah549@gmail.com Received: by 10.68.242.73 with HTTP; Sun, 13 Jan 2013 09:51:38 -0800 (PST) Date: Sun, 13 Jan 2013 12:51:38 -0500 X-Google-Sender-Auth: Af0ULMiud42Kbw7o1oD4CCuAdy0 Message-ID: Subject: Build Issue with Latest Git Guile From: Noah Lavine To: g-wrap-dev@nongnu.org Content-Type: multipart/alternative; boundary=f46d042f9f88346df104d32f2edb X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.48 X-Mailman-Approved-At: Sun, 13 Jan 2013 16:41:29 -0500 X-BeenThere: g-wrap-dev@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2013 17:51:46 -0000 --f46d042f9f88346df104d32f2edb Content-Type: text/plain; charset=ISO-8859-1 Hello, I just tried to build g-wrap with the latest development guile, and got a build error. It seems that scm_sym2var and scm_module_lookup_closure (used on line 346 of guile-runtime.c in g-wrap 1.9.14) will be gone in guile 2.2. I would be more than happy to write a patch that replaces these with equivalent calls, but I don't know how to modify the build system to make it detect guile 2.2. If someone could tell me how to do that, I would be glad to do the rest. (I'm not sure it's necessary to detect 2.2., but it might be if we need to have different versions of the code that apply in different guile versions.) Thanks, Noah Lavine --f46d042f9f88346df104d32f2edb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

I just tried to build g-wr= ap with the latest development guile, and got a build error. It seems that = scm_sym2var and scm_module_lookup_closure (used on line 346 of guile-runtim= e.c in g-wrap 1.9.14) will be gone in guile 2.2.

I would be more than happy to write a patch= that replaces these with equivalent calls, but I don't know how to mod= ify the build system to make it detect guile 2.2. If someone could tell me = how to do that, I would be glad to do the rest. (I'm not sure it's = necessary to detect 2.2., but it might be if we need to have different vers= ions of the code that apply in different guile versions.)

Thanks,
Noah Lavine

--f46d042f9f88346df104d32f2edb-- From MAILER-DAEMON Mon Jan 14 09:30:54 2013 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Tul3t-0003tg-VG for mharc-g-wrap-dev@gnu.org; Mon, 14 Jan 2013 09:30:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tul3q-0003tY-HW for g-wrap-dev@nongnu.org; Mon, 14 Jan 2013 09:30:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tul3l-0005r8-GF for g-wrap-dev@nongnu.org; Mon, 14 Jan 2013 09:30:50 -0500 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:63943 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tul3l-0005r2-0m for g-wrap-dev@nongnu.org; Mon, 14 Jan 2013 09:30:45 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 835CCA8F9; Mon, 14 Jan 2013 09:30:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=+az9SnPKazLLZ6UF24RgU8iV66U=; b=pjYzlE +OAl0d4vmytmkHMqUL51HlmXUi4M26InVNOv6KU/0kNuTswkSLenkhN5FTVVgclS YHO9Gb6bFND9XZfkYuruq1I2F1vwnn4CfLUYkduUVfIsmr1+e0q8/i2zXOFb4fCJ voFIYsoZanW86J8cgB9HKkH+tDliR6zp8QG40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=w1dHOaV0+1CEGJ7a2THXaFoN+7wWq5OT q1NLQ6ejjKSrTtaj82rP+Wljs8439MMn3YHr54yWgkTgfICuBkJSby5ff2WKC8MI 6smdLAIFM4njpuFjP+t+2JWR7BMXzvwMG77k/uxUAk+uUlcMJtIOjTXlwxF7NSBA EiQfinSokGY= Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 7ABE9A8F8; Mon, 14 Jan 2013 09:30:44 -0500 (EST) Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id F2393A8F7; Mon, 14 Jan 2013 09:30:43 -0500 (EST) From: Andy Wingo To: Noah Lavine Subject: Re: Build Issue with Latest Git Guile References: Date: Mon, 14 Jan 2013 15:30:37 +0100 In-Reply-To: (Noah Lavine's message of "Sun, 13 Jan 2013 12:51:38 -0500") Message-ID: <87d2x7rg4y.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: FAB92D94-5E56-11E2-B1E0-0A4F0E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 Cc: g-wrap-dev@nongnu.org X-BeenThere: g-wrap-dev@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 14:30:52 -0000 On Sun 13 Jan 2013 18:51, Noah Lavine writes: > I just tried to build g-wrap with the latest development guile, and got > a build error. It seems that scm_sym2var and scm_module_lookup_closure > (used on line 346 of guile-runtime.c in g-wrap 1.9.14) will be gone in > guile 2.2. It should be a warning. Are tarballs being released with -Werror? That would be a bug. Anyway it is fixed in git: commit 9a7e60dcc511a8f34aa4cf0f98a04886b28acc43 Author: Andy Wingo Date: Wed Jul 11 13:31:08 2012 +0200 use scm_module_variable instead of the deprecated scm_sym2var * guile/g-wrap/guile-compatibility.h: * guile/g-wrap/guile-compatibility.c (scm_module_variable): New stub for Guile < 2.0. * guile/g-wrap/guile-runtime.c (allocate_generic_variable): Use scm_module_variable, and update the comments. Thanks to Dale Smith for the report and patch. Cheers, Andy -- http://wingolog.org/