From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: "Emacs Devel" <emacs-devel@gnu.org>
Cc: beebe@math.utah.edu
Subject: Re: [platform-testers] Emacs 26.2 RC1 is out!
Date: Thu, 21 Mar 2019 16:35:50 -0600 [thread overview]
Message-ID: <CMM.0.96.0.1553207750.beebe@gamma.math.utah.edu> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5105 bytes --]
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/lcms2@2.7-5.12.0.0.0.115.1: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/lcms2@2.8-11.4.0.0.1.14.0: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: 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/ -
-------------------------------------------------------------------------------
next reply other threads:[~2019-03-21 22:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-21 22:35 Nelson H. F. Beebe [this message]
2019-03-22 7:25 ` [platform-testers] Emacs 26.2 RC1 is out! Eli Zaretskii
2019-03-22 12:54 ` Nelson H. F. Beebe
2019-03-22 13:29 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2019-03-22 12:25 Nelson H. F. Beebe
2019-03-21 16:25 Nelson H. F. Beebe
2019-03-21 17:03 ` Eli Zaretskii
2019-03-22 1:08 ` Stefan Monnier
2019-03-22 7:37 ` Eli Zaretskii
2019-03-22 12:20 ` Stefan Monnier
2019-03-22 13:19 ` Eli Zaretskii
2019-03-22 13:58 ` Stefan Monnier
2019-03-25 17:50 ` Paul Eggert
2019-03-22 3:36 ` Van L
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CMM.0.96.0.1553207750.beebe@gamma.math.utah.edu \
--to=beebe@math.utah.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).