From debbugs-submit-bounces@debbugs.gnu.org Wed May 07 02:35:27 2014 Received: (at submit) by debbugs.gnu.org; 7 May 2014 06:35:27 +0000 Received: from localhost ([127.0.0.1]:53431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhvRt-0004R6-Qb for submit@debbugs.gnu.org; Wed, 07 May 2014 02:35:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44703) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhvRq-0004Qi-Nb for submit@debbugs.gnu.org; Wed, 07 May 2014 02:35:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhvRb-0007mU-Fl for submit@debbugs.gnu.org; Wed, 07 May 2014 02:35:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvRb-0007mQ-De for submit@debbugs.gnu.org; Wed, 07 May 2014 02:35:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvRT-0004oz-NQ for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:35:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhvRM-0007UX-0b for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:34:59 -0400 Received: from mout.gmx.net ([212.227.17.21]:64326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhvRL-0007Tq-M9 for bug-gnu-emacs@gnu.org; Wed, 07 May 2014 02:34:51 -0400 Received: from localhost.localdomain ([79.198.17.8]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MXZw6-1WNWWM1liQ-00WWxV for ; Wed, 07 May 2014 08:34:48 +0200 Received: by localhost.localdomain (Postfix, from userid 1000) id B2C963F4C6; Wed, 7 May 2014 08:34:51 +0200 (CEST) From: Sven Joachim To: bug-gnu-emacs@gnu.org Subject: 24.4.50; __pngconf.h__ in libpng already includes setjmp.h X-Debbugs-Cc: Sven Joachim Date: Wed, 07 May 2014 08:34:51 +0200 Message-ID: <87r4462j1w.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:wDtkz5pqhAeUXQerm2A4Tg9EhXcuf0T4pER/KmETpwlNWHVS0Kj dr+QZhse7M6ItQJ4aV4reTztwXe364z1+JV61nTtN2pxv54rQzAn2JIy2hjzl0Ru1Zh5MwK kHeHY8V4kZeM3OTKk0O9Jm5LIKGfjcHsSSJuU3Lvr0emFzfBiKpkO2tRtwMdd2FrCm5NddN 9J3GTpcLmgtT6HyBtWsug== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Trunk does not build for me, I get an error when compiling image.c: ,---- | In file included from /usr/include/libpng12/png.h:540:0, | from image.c:5515: | /usr/include/libpng12/pngconf.h:371:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token | __pngconf.h__ in libpng already includes setjmp.h; | ^ | /usr/include/libpng12/pngconf.h:372:12: error: unknown type name '__dont__' | __dont__ include it again.; | ^ | /usr/include/libpng12/pngconf.h:372:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'it' | __dont__ include it again.; | ^ | /usr/include/libpng12/pngconf.h:372:29: error: unknown type name 'it' | Makefile:339: recipe for target 'image.o' failed `---- In pngconf.h there is the following explanation: ,---- | #ifdef PNG_SETJMP_SUPPORTED | /* This is an attempt to force a single setjmp behaviour on Linux. If | * the X config stuff didn't define _BSD_SOURCE we wouldn't need this. | * | * You can bypass this test if you know that your application uses exactly | * the same setjmp.h that was included when libpng was built. Only define | * PNG_SKIP_SETJMP_CHECK while building your application, prior to the | * application's '#include "png.h"'. Don't define PNG_SKIP_SETJMP_CHECK | * while building a separate libpng library for general use. | */ | | # ifndef PNG_SKIP_SETJMP_CHECK | # ifdef __linux__ | # ifdef _BSD_SOURCE | # define PNG_SAVE_BSD_SOURCE | # undef _BSD_SOURCE | # endif | # ifdef _SETJMP_H | /* If you encounter a compiler error here, see the explanation | * near the end of INSTALL. | */ | __pngconf.h__ in libpng already includes setjmp.h; | __dont__ include it again.; | # endif | # endif /* __linux__ */ | # endif /* PNG_SKIP_SETJMP_CHECK */ `---- This is with libpng 1.2.50. From debbugs-submit-bounces@debbugs.gnu.org Wed May 07 13:42:50 2014 Received: (at 17429) by debbugs.gnu.org; 7 May 2014 17:42:50 +0000 Received: from localhost ([127.0.0.1]:54743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi5rl-0002er-UY for submit@debbugs.gnu.org; Wed, 07 May 2014 13:42:50 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:58586 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi5rj-0002eg-MU for 17429@debbugs.gnu.org; Wed, 07 May 2014 13:42:48 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wi5ri-0000TU-DF; Wed, 07 May 2014 13:42:46 -0400 From: Glenn Morris To: Paul Eggert Subject: Re: bug#17429: 24.4.50; __pngconf.h__ in libpng already includes setjmp.h References: <87r4462j1w.fsf@turtle.gmx.de> X-Spook: MD5 bemd Vickie Weaver Sundevil Chobetsu Bosnia IRA X-Ran: ?Llh*"oAMHjWM/7rF3jVy}1o3U37CVu/hP>H^"fN+u2|S/|f_;=6+k*i?Qm&#jRfh1d#_` X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 07 May 2014 13:42:46 -0400 In-Reply-To: <87r4462j1w.fsf@turtle.gmx.de> (Sven Joachim's message of "Wed, 07 May 2014 08:34:51 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17429 Cc: 17429@debbugs.gnu.org, Sven Joachim X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) Sven Joachim wrote: > Trunk does not build for me, I get an error when compiling image.c: Prior to trunk r117068, image.c included png.h before setjmp.h. > ,---- > | In file included from /usr/include/libpng12/png.h:540:0, > | from image.c:5515: > | /usr/include/libpng12/pngconf.h:371:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token > | __pngconf.h__ in libpng already includes setjmp.h; > | ^ > | /usr/include/libpng12/pngconf.h:372:12: error: unknown type name '__dont__' > | __dont__ include it again.; > | ^ > | /usr/include/libpng12/pngconf.h:372:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'it' > | __dont__ include it again.; > | ^ > | /usr/include/libpng12/pngconf.h:372:29: error: unknown type name 'it' > | Makefile:339: recipe for target 'image.o' failed > `---- > > In pngconf.h there is the following explanation: > > ,---- > | #ifdef PNG_SETJMP_SUPPORTED > | /* This is an attempt to force a single setjmp behaviour on Linux. If > | * the X config stuff didn't define _BSD_SOURCE we wouldn't need this. > | * > | * You can bypass this test if you know that your application uses exactly > | * the same setjmp.h that was included when libpng was built. Only define > | * PNG_SKIP_SETJMP_CHECK while building your application, prior to the > | * application's '#include "png.h"'. Don't define PNG_SKIP_SETJMP_CHECK > | * while building a separate libpng library for general use. > | */ > | > | # ifndef PNG_SKIP_SETJMP_CHECK > | # ifdef __linux__ > | # ifdef _BSD_SOURCE > | # define PNG_SAVE_BSD_SOURCE > | # undef _BSD_SOURCE > | # endif > | # ifdef _SETJMP_H > | /* If you encounter a compiler error here, see the explanation > | * near the end of INSTALL. > | */ > | __pngconf.h__ in libpng already includes setjmp.h; > | __dont__ include it again.; > | # endif > | # endif /* __linux__ */ > | # endif /* PNG_SKIP_SETJMP_CHECK */ > `---- From debbugs-submit-bounces@debbugs.gnu.org Wed May 07 14:23:06 2014 Received: (at 17429-done) by debbugs.gnu.org; 7 May 2014 18:23:06 +0000 Received: from localhost ([127.0.0.1]:54780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi6Uj-0003tm-UJ for submit@debbugs.gnu.org; Wed, 07 May 2014 14:23:06 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:57708) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi6Uh-0003tC-NB for 17429-done@debbugs.gnu.org; Wed, 07 May 2014 14:23:04 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4412CA60039; Wed, 7 May 2014 11:22:56 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S+Hga0HVFCb6; Wed, 7 May 2014 11:22:48 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id E743C39E8015; Wed, 7 May 2014 11:22:47 -0700 (PDT) Message-ID: <536A79F7.7010307@cs.ucla.edu> Date: Wed, 07 May 2014 11:22:47 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Glenn Morris Subject: Re: bug#17429: 24.4.50; __pngconf.h__ in libpng already includes setjmp.h References: <87r4462j1w.fsf@turtle.gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 17429-done Cc: 17429-done@debbugs.gnu.org, Sven Joachim X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) > Sven Joachim wrote: >> | __pngconf.h__ in libpng already includes setjmp.h; >> | ^ Thanks, that doesn't happen for me on Fedora 20 (libpng16), so I didn't run into the problem. I installed an obvious patch in trunk bzr 117070; please give it a try. I'll take the liberty of marking this bug as done to save us all work later; if I'm wrong I'll unmark it. From debbugs-submit-bounces@debbugs.gnu.org Wed May 07 14:41:33 2014 Received: (at 17429) by debbugs.gnu.org; 7 May 2014 18:41:33 +0000 Received: from localhost ([127.0.0.1]:54807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi6mb-0004Sh-6I for submit@debbugs.gnu.org; Wed, 07 May 2014 14:41:33 -0400 Received: from mout.gmx.net ([212.227.17.22]:54394) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi6mZ-0004SN-8b for 17429@debbugs.gnu.org; Wed, 07 May 2014 14:41:32 -0400 Received: from localhost.localdomain ([79.198.17.8]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0McEkx-1WRGBT0V7P-00JefG; Wed, 07 May 2014 20:41:12 +0200 Received: by localhost.localdomain (Postfix, from userid 1000) id 4BAB53F4C6; Wed, 7 May 2014 20:41:13 +0200 (CEST) From: Sven Joachim To: Paul Eggert Subject: Re: bug#17429: 24.4.50; __pngconf.h__ in libpng already includes setjmp.h References: <87r4462j1w.fsf@turtle.gmx.de> <536A79F7.7010307@cs.ucla.edu> Date: Wed, 07 May 2014 20:41:13 +0200 In-Reply-To: <536A79F7.7010307@cs.ucla.edu> (Paul Eggert's message of "Wed, 07 May 2014 11:22:47 -0700") Message-ID: <87mwete8ja.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:q/QhVe9ecaUfjrfY24T8Vsu25B1uEmRCOHH1M5uvL7gBMVKQRh6 FMlBQQATs40f+QL7laylSpTNoSOU/PAuVClSigd3Jw54cI9ZV1mXa/HpdPMYiOPeMRwfp0Q b81NRM7AARDSEi52+DA+4A2asniUUb+qnbCwDB2MA2yoN0a2XF/BqPYkUTykf5ELDURNjuA bwfiZUxHmXmOqQpVrwUCA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17429 Cc: 17429@debbugs.gnu.org, Glenn Morris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 2014-05-07 20:22 +0200, Paul Eggert wrote: >> Sven Joachim wrote: >>> | __pngconf.h__ in libpng already includes setjmp.h; >>> | ^ > > Thanks, that doesn't happen for me on Fedora 20 (libpng16), so I > didn't run into the problem. I installed an obvious patch in trunk > bzr 117070; please give it a try. I'll take the liberty of marking > this bug as done to save us all work later; if I'm wrong I'll unmark > it. This change fixes the problem, thanks. Cheers, Sven From unknown Mon Aug 18 17:59:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jun 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator