From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Nelson H. F. Beebe" Newsgroups: gmane.emacs.bugs Subject: bug#17339: emacs-24.3.90: big build report Date: Thu, 24 Apr 2014 15:07:16 -0600 (MDT) Message-ID: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1398392673 15874 80.91.229.3 (25 Apr 2014 02:24:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2014 02:24:33 +0000 (UTC) Cc: beebe@math.utah.edu To: 17339@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 25 04:24:27 2014 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 1WdVoQ-0006Rs-Lm for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Apr 2014 04:24:26 +0200 Original-Received: from localhost ([::1]:54035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdVoQ-0005yw-42 for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Apr 2014 22:24:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdVEJ-0004XC-Vx for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 21:47:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdVEE-0007X2-S9 for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 21:47:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdVEE-0007Wx-OS for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 21:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WdVEE-0004VJ-Et for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 21:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Nelson H. F. Beebe" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Apr 2014 01:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139839038817242 (code B ref -1); Fri, 25 Apr 2014 01:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Apr 2014 01:46:28 +0000 Original-Received: from localhost ([127.0.0.1]:57663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WdVDf-0004U1-PX for submit@debbugs.gnu.org; Thu, 24 Apr 2014 21:46:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58150) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WdVDd-0004Tt-CF for submit@debbugs.gnu.org; Thu, 24 Apr 2014 21:46:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdVDY-000757-2q for submit@debbugs.gnu.org; Thu, 24 Apr 2014 21:46:25 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdVDX-00074o-Vg for submit@debbugs.gnu.org; Thu, 24 Apr 2014 21:46:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdUTY-00011b-AU for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 20:59:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdRyi-0004ft-TN for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 18:18:53 -0400 Original-Received: from mail.math.utah.edu ([155.101.98.135]:47235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdRyi-0004Xd-ME for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2014 18:18:48 -0400 Original-Received: from psi.math.utah.edu (psi.math.utah.edu [155.101.96.19]) by mail.math.utah.edu (8.14.8/8.14.8) with ESMTP id s3OL7G3D025059; Thu, 24 Apr 2014 15:07:21 -0600 (MDT) Original-Received: from psi.math.utah.edu (localhost [127.0.0.1]) by psi.math.utah.edu (8.14.5/8.14.5) with ESMTP id s3OL7GHk016903; Thu, 24 Apr 2014 15:07:16 -0600 (MDT) Original-Received: (from beebe@localhost) by psi.math.utah.edu (8.14.5/8.14.8/Submit) id s3OL7G8N016901; Thu, 24 Apr 2014 15:07:16 -0600 (MDT) X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Thu, 24 Apr 2014 15:07:21 -0600 (MDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:88274 Archived-At: I have a test lab with about 40 flavors of Unix running on current and historical CPU architectures. I have now done more than 70 build attempts for the new emacs-24.3.90 release of 19-Apr-2014, and happily, I can report success on most of them. There remain a few failures, and on some of the successful systems, I had to make repeated tries to find option combinations that would produce a successful build of emacs, including X11 support on all systems. In NO CASE did I have to resort to editing any file from emacs-24.3.90. First, here is a brief list of systems for which I have successful builds and installations; compiler choices, configure options and environment variable settings are omitted, but I can supply them offlist on request. -------------------------------------------------- O/S version CPU family -------------------------------------------------- DragonFly 3.6 x86-64 FreeBSD 9.1 x86 FreeBSD 10.0 x86-64 GNU/Linux ArchLinux x86-64 GNU/Linux Debian 6.0.9 x86-64 GNU/Linux Debian 7.4 x86-64 GNU/Linux Fedora 19 x86 GNU/Linux Gentoo 2.2 Alpha GNU/Linux Gentoo 2.2 PowerPC-32 GNU/Linux Gentoo 2.2 PowerPC-64 GNU/Linux Gentoo 2.2 SPARC GNU/Linux Red Hat 5.10 IA-64 GNU/Linux Red Hat 5.10 x86 GNU/Linux Red Hat 5.10 x86-64 GNU/Linux Red Hat 6.5 x86-64 GNU/Linux Red Hat 7.0 beta x86-64 GNU/Linux Scientific Linux 6.5 x86-64 GNU/Linux Slackware 14.0 x86-64 GNU/Linux Ubuntu 12.04 x86 GNU/Linux openSUSE 11.2 x86_64 GNU/Linux openSUSE 12.3 x86_64 GNU/Linux openSUSE 13.1 x86_64 Mac OS X 10.5.8 PowerPC-32 Mac OS X 10.7.5 x86-64 MirBSD 10 x86 OpenBSD 4.7 x86 OpenBSD 5.1 x86 OpenBSD 5.4 x86-64 Solaris 10 SPARC Solaris 10 x86 Solaris 10 x86-64 Solaris 11 x86-64 -------------------------------------------------- Here are the failing systems: GNU/Hurd x86: Compilation fails with process.c: In function 'handle_child_signal': process.c:6228:58: error: 'WCONTINUED' undeclared (first use in this function) && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED)) ^ process.c:6228:58: note: each undeclared identifier is reported only once for each function it appears in The symbol WCONTINUED is not defined in any file under /usr/include. NetBSD 5.0.2 x86: Compilation fails with process.c: In function 'handle_child_signal': process.c:6228:58: error: 'WCONTINUED' undeclared (first use in this function) That symbol is not found in any file under /usr/include. SGI IRIX 6.5 MIPS: /usr/local/bin/gcc -std=gnu99 -c -Demacs -I. -I. -I../lib -I./../lib -g3 -O2 process.c process.c: In function `conv_sockaddr_to_lisp': process.c:2002: error: dereferencing pointer to incomplete type process.c:2003: error: dereferencing pointer to incomplete type process.c:2006: error: dereferencing pointer to incomplete type process.c: In function `get_lisp_to_sockaddr_size': process.c:2070: error: invalid application of `sizeof' to incomplete type `sockaddr_in6' process.c: In function `conv_lisp_to_sockaddr': process.c:2125: error: dereferencing pointer to incomplete type process.c:2126: error: dereferencing pointer to incomplete type process.c:2128: error: dereferencing pointer to incomplete type process.c: In function `server_accept_connection': process.c:4024: error: field `in6' has incomplete type On all three systems, it looks like changes in emacs source code, or perhaps the configure-time tests, will be needed. I could see no --enable-xxx, --disable-xxx, --with-xxx, or --without-xxx option that would appear to affect the compilation issues in process.c. Finally, here are problems for which I found workarounds: (1) On several systems, linking failed with a missing symbol from the ImageMagick libraries: undefined: PixelSetMagickColor The solution was to either (a) add the --without-imagemagick option to configure (b) build and install the latest ImageMagick release (6.8.9-0), and then retry the emacs build I've tried both approaches, and work in (b) is continuing. (2) On NetBSD 6, configure tests for -lpng fail because that library does not exist; instead, the vendor provides only -lpng16. I fooled the emacs configure script by creating this symlink: /usr/local/lib/libpng.a: symbolic link to `/usr/pkg/lib/libpng16.a' so that -lpng is now found. (3) On MirBSD, configure quits with the error Emacs does not support `i386-unknown-mirbsd10' systems. The solution was to use the option --build=i386-unknown-openbsd4.9 in the configure step. MirBSD is a derivative of OpenBSD 4.x, and that --build option trick has been necessary for a number of other software packages. (4) On some systems (GNU/Linux on Alpha, SPARC, x86, PowerPC-32, and PowerPC-64), in the final "make install", I get this error very near the end: /bin/bash: line 0: [: !=: unary operator expected make[1]: Leaving directory '/local/build/bare/emacs-24.3.90/lib-src' P.S. For a package of this size (410K lines of C, 1620K lines of Lisp), the portability of emacs is wonderful! My thanks go to the great emacs development team who keep it building and working (almost) everywhere. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - -------------------------------------------------------------------------------