From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#11558: 24.1.50; Image Magick related build failure on bzr revision 108365 Date: Fri, 13 Jul 2012 09:03:00 +0200 Message-ID: <87629sdty3.fsf@thinkpad.tsdh.de> References: <87obpcjmu2.fsf@gmx.com> <4B43DF4E-B37C-49B3-9B5F-16C51BF2D8D3@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342163028 9923 80.91.229.3 (13 Jul 2012 07:03:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2012 07:03:48 +0000 (UTC) Cc: Kalle Kankare , 11558@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 13 09:03:46 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SpZug-0000py-VK for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jul 2012 09:03:43 +0200 Original-Received: from localhost ([::1]:49494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpZug-0005bq-9S for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jul 2012 03:03:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpZuY-0005bl-LX for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2012 03:03:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpZuR-0007c3-P1 for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2012 03:03:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpZuR-0007bX-LG for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2012 03:03:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SpZzq-0003cR-Nr for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2012 03:09:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jul 2012 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11558-submit@debbugs.gnu.org id=B11558.134216332813892 (code B ref 11558); Fri, 13 Jul 2012 07:09:02 +0000 Original-Received: (at 11558) by debbugs.gnu.org; 13 Jul 2012 07:08:48 +0000 Original-Received: from localhost ([127.0.0.1]:38198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SpZzZ-0003by-E6 for submit@debbugs.gnu.org; Fri, 13 Jul 2012 03:08:47 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:41877) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SpZzW-0003bp-GZ for 11558@debbugs.gnu.org; Fri, 13 Jul 2012 03:08:44 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 06B8BD2313; Fri, 13 Jul 2012 09:03:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VPzO3pyPc16U; Fri, 13 Jul 2012 09:03:04 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 08545D2311; Fri, 13 Jul 2012 09:03:03 +0200 (CEST) In-Reply-To: <4B43DF4E-B37C-49B3-9B5F-16C51BF2D8D3@swipnet.se> ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Thu, 12 Jul 2012 11:19:21 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61875 Archived-At: Jan Dj=C3=A4rv writes: >> I got the build to complete by introducing the following change: >>=20 >> --- src/image.c 2012-07-09 12:02:27 +0000 >> +++ src/image.c 2012-07-11 19:59:24 +0000 >> @@ -7968,7 +7968,9 @@ >> Lisp_Object typelist =3D Qnil; >> size_t numf =3D 0; >> ExceptionInfo ex; >> + GetExceptionInfo(&ex); >> char **imtypes =3D GetMagickList ("*", &numf, &ex); >> + DestroyExceptionInfo(&ex); >> size_t i; >> Lisp_Object Qimagemagicktype; >> for (i =3D 0; i < numf; i++) >>=20 >>=20 >> The generated emacs-binary at least appears to function properly. I >> tested this with the following versions: >>=20 >> emacs: bzr:109033 >> gcc: 4.7.1 >> ImageMagick: 6.7.8-1 > > I see this too. Can it be that GetExceptionInfo/DestroyExceptionInfo > is version dependent and we need a configure check for them? People > have run Emacs with Imagemagic without this. I build and run emacs with imagemagick support just fine. The IM version is 6.7.7.5, so it might be a version difference between 6.7.7 and 6.7.8. I also tried building and running with the above patch, and it doesn't seem to cause any harm. Bye, Tassilo