[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] Emacs 26.2 RC1 is out!
From: |
Nelson H. F. Beebe |
Subject: |
Re: [platform-testers] Emacs 26.2 RC1 is out! |
Date: |
Thu, 21 Mar 2019 16:35:50 -0600 |
On Solaris 11.4.7.0.1.4.0 x86-64, the latest O/S version using patches
released by Oracle two days ago, the native compiler is /usr/bin/gcc,
version 7.3.0. I built emacs-26.2 like this:
set path= ( /bin )
unsetenv CONFIG_SITE
./configure --prefix=$prefix --with-gnutls=no --with-pop --with-gif=no
&& gmake all check
...
CC coding.o
"coding.c", line 10365: Warning: Likely out-of-bound read: *(args[16])
in function Fdefine_coding_system_internal
...
CC xsettings.o
CC gtkutil.o
CC emacsgtkfixed.o
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from xterm.h:49,
from emacsgtkfixed.c:25:
emacsgtkfixed.c: In function âemacs_fixed_get_typeâ:
/usr/include/glib-2.0/glib/gmacros.h:232:53: error: size of array
â_GStaticAssertCompileTimeAssertion_3â is negative
Fortunately, I had already installed the Oracle Solaris Studio 12.6
compiler family in /opt/developerstudio12.6, and a build with
CC=cc got further, with some warnings:
CC xterm.o
"xterm.c", line 9835: warning: statement not reached
"xterm.c", line 9935: warning: statement not reached
CC xfns.o
"xfns.c", line 5411: warning: statement not reached
CC keyboard.o
"keyboard.c", line 3637: warning: initializer will be sign-extended:
-536870912
CC sysdep.o
"sysdep.c", line 641: warning: "vfork" is deprecated, declared in :
"/usr/include/unistd.h", line 672
CC filelock.o
"filelock.c", line 252: warning: "utmpname" is deprecated, declared in
: "/usr/include/utmp.h", line 142
"filelock.c", line 254: warning: "setutent" is deprecated, declared in
: "/usr/include/utmp.h", line 141
"filelock.c", line 260: warning: "getutid" is deprecated, declared in
: "/usr/include/utmp.h", line 138
"filelock.c", line 272: warning: "getutent" is deprecated, declared in
: "/usr/include/utmp.h", line 137
"filelock.c", line 276: warning: "endutent" is deprecated, declared in
: "/usr/include/utmp.h", line 136
CC process.o
"process.c", line 2072: warning: "vfork" is deprecated, declared in :
"/usr/include/unistd.h", line 672
CC callproc.o
"callproc.c", line 618: warning: "vfork" is deprecated, declared in :
"/usr/include/unistd.h", line 672
CC lcms.o
"lcms.c", line 23: cannot find include file: <lcms2.h>
"lisp.h", line 721: bit-field size < 0: _gl_verify_error_if_negative
"lisp.h", line 823: bit-field size < 0: _gl_verify_error_if_negative
"lisp.h", line 829: cannot recover from previous errors
cc: acomp failed for lcms.c
Solaris 11 DOES have the GNU little color management system:
% pkg info lcms2
Name: library/gnu/lcms2
Summary: A little color management system (/usr/gnu)
Category: System/Libraries
State: Installed
Publisher: localhosts12
Version: 2.7
Branch: 5.12.0.0.0.115.1
Packaging Date: January 14, 2017 at 5:26:18 PM
Size: 1.57 MB
FMRI:
pkg://localhosts12/library/gnu/address@hidden:20170114T172618Z
Project URL: http://www.littlecms.com/
Source URL:
http://downloads.sourceforge.net/lcms/lcms/2.7/lcms2-2.7.tar.gz
Name: library/lcms2
Summary: Version 2 of the Little Color Management System
Description: A small-footprint color management engine, with special
focus on
accuracy and performance
Category: System/Libraries
State: Installed
Publisher: solaris
Version: 2.8
Branch: 11.4.0.0.1.14.0
Packaging Date: August 14, 2018 at 4:47:54 PM
Size: 1.52 MB
FMRI: pkg://solaris/library/address@hidden:20180814T164754Z
Project URL: http://www.littlecms.com/
Source URL:
https://sourceforge.net/projects/lcms/files/lcms/2.8/lcms2-2.8.tar.gz
However, the lcms2.h header file is installed at
/usr/include/lcms/lcms2.h, rather than at top level in /usr/include.
The workaround was easy:
gmake CFLAGS="-I${prefix}/include -I/usr/include/lcms"
A scan of several of my build farm machines showed that most do not
even have lcms2, but those that do, have it in /usr/include, EXCEPT
for some members of the Solaris family (Oracle Solaris and Hipster).
Presumably, the emacs-26.x configure.ac file could be tweaked to check
in /usr/include/lcms as well as /usr/include.
-------------------------------------------------------------------------------
- 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: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
Re: [platform-testers] Emacs 26.2 RC1 is out!, Van L, 2019/03/21
- Re: [platform-testers] Emacs 26.2 RC1 is out!,
Nelson H. F. Beebe <=
Re: [platform-testers] Emacs 26.2 RC1 is out!, Nelson H. F. Beebe, 2019/03/22