From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Paul Eggert <eggert@cs.ucla.edu>
Newsgroups: gmane.emacs.bugs
Subject: bug#22442: [PATCH] Fix compilation erorr when --enable-gcc-warnings
	passed
Date: Sun, 24 Jan 2016 00:49:31 -0800
Organization: UCLA Computer Science Department
Message-ID: <56A4901B.2030408@cs.ucla.edu>
References: <1453460084-19646-1-git-send-email-kuleshovmail@gmail.com>
	<56A2C41C.7030401@cs.ucla.edu> <20160123062857.GA1205@localhost>
	<56A342F8.1080303@cs.ucla.edu> <20160123120424.GB1446@localhost>
	<20160123123705.GC1446@localhost> <56A41F7F.4040404@cs.ucla.edu>
	<20160124073459.GA29099@localhost>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: ger.gmane.org 1453625423 8860 80.91.229.3 (24 Jan 2016 08:50:23 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 24 Jan 2016 08:50:23 +0000 (UTC)
Cc: 22442@debbugs.gnu.org
To: Alexander Kuleshov <kuleshovmail@gmail.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 24 09:50:10 2016
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1aNGN7-0006IW-NB
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jan 2016 09:50:09 +0100
Original-Received: from localhost ([::1]:59730 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1aNGN6-0001Oc-MR
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Jan 2016 03:50:08 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60754)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1aNGN3-0001OU-Fv
	for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2016 03:50:06 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1aNGN0-0008Al-8j
	for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2016 03:50:05 -0500
Original-Received: from debbugs.gnu.org ([208.118.235.43]:44529)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1aNGN0-0008AS-4y
	for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2016 03:50:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1aNGMz-0002OV-RO
	for bug-gnu-emacs@gnu.org; Sun, 24 Jan 2016 03:50:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Paul Eggert <eggert@cs.ucla.edu>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 24 Jan 2016 08:50:01 +0000
Resent-Message-ID: <handler.22442.B22442.14536253809170@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 22442
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
Original-Received: via spool by 22442-submit@debbugs.gnu.org id=B22442.14536253809170
	(code B ref 22442); Sun, 24 Jan 2016 08:50:01 +0000
Original-Received: (at 22442) by debbugs.gnu.org; 24 Jan 2016 08:49:40 +0000
Original-Received: from localhost ([127.0.0.1]:60982 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1aNGMd-0002Nq-UG
	for submit@debbugs.gnu.org; Sun, 24 Jan 2016 03:49:40 -0500
Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43638)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <eggert@cs.ucla.edu>) id 1aNGMc-0002Nc-EA
	for 22442@debbugs.gnu.org; Sun, 24 Jan 2016 03:49:38 -0500
Original-Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id DA2A71607DA;
	Sun, 24 Jan 2016 00:49:32 -0800 (PST)
Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id b5JykCpNNlgZ; Sun, 24 Jan 2016 00:49:31 -0800 (PST)
Original-Received: from localhost (localhost [127.0.0.1])
	by zimbra.cs.ucla.edu (Postfix) with ESMTP id AA8B2160819;
	Sun, 24 Jan 2016 00:49:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1])
	by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id JTSM_WYlQeY1; Sun, 24 Jan 2016 00:49:31 -0800 (PST)
Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net
	[100.32.155.148])
	by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7D67C1607DA;
	Sun, 24 Jan 2016 00:49:31 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
	Thunderbird/38.5.1
In-Reply-To: <20160124073459.GA29099@localhost>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=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:111914
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/111914>

Alexander Kuleshov wrote:
> Even without it I can't reproduce this bug. I've checkout to the previous
> commit (035bd8159fe5bcea15eacc8a23ab54f4bc3b6f17) and configured and
> built emacs with:
>
> ./configure --enable-link-time-optimization --without-pop \
> --without-kerberos --without-kerberos5 --without-hesiod   \
> --with-sound=alsa --with-x-toolkit=gtk3 --with-xpm --with-jpeg \
> --with-tiff --with-gif --with-png --with-rsvg --with-cairo     \
> --with-xml2 --with-imagemagick --with-xft --without-libotf     \
> --with-xim --with-xaw3d --with-dbus --without-gconf            \
> --without-gsettings --without-selinux --with-gnutls --with-zlib \
> --with-modules --with-file-notification=inotify --without-makeinfo \
> --with-x && make
>
> Than I've opened image as you described in thehttp://bugs.gnu.org/22442
> and it works perfectly for me.

I tried the same scenario and I get a blank image on the screen. Perhaps it 
depends on the imagemagick or cairo version or whatever. I'm running Emacs on 
Fedora 23 x86-64, and displaying on Ubuntu 15.10 x86-64 via an ssh -X link.

If I use the current emacs-25 commit () but keep everything else the same, Emacs 
displays the binary text of the image with a message in the bottom line "Cannot 
display image: (This Emacs mishandles this image file type)", which is what I 
would expect from the current code. I don't know why I wasn't observing this 
behavior earlier, but at least now I know that Bug#22442 is still kicking.

As Mark says, Bug#22442 and Bug#21110 are probably the same bug, so I'll merge 
them. I can't recommend --with-cairo at this point.