unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [platform-testers] Emacs 26.2 RC1 is out!
@ 2019-03-21 22:35 Nelson H. F. Beebe
  2019-03-22  7:25 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Nelson H. F. Beebe @ 2019-03-21 22:35 UTC (permalink / raw)
  To: Emacs Devel; +Cc: beebe

[-- 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/ -
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [platform-testers] Emacs 26.2 RC1 is out!
@ 2019-03-22 12:25 Nelson H. F. Beebe
  0 siblings, 0 replies; 14+ messages in thread
From: Nelson H. F. Beebe @ 2019-03-22 12:25 UTC (permalink / raw)
  To: Emacs Devel; +Cc: beebe

On FreeBSD 11.0-CURRENT, a build of emacs-26.2 with

	set path = ( /bin /usr/bin /usr/local/bin )
	./configure --prefix=$prefix --with-gnutls=no --with-dbus=no --with-pop && gmake all check
	...
	Does Emacs use -ldbus?                                  no
	...

proceeded nicely until this step:

	  CCLD     temacs
	//usr/local/lib/libdbus-glib-1.so.2: undefined reference to `dbus_connection_unref@LIBDBUS_1_3'
	... dozens more complaints about dbus references ...

dbus was deselected at configure time, so why are there still
references to its functions?

-------------------------------------------------------------------------------
- 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/ -
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [platform-testers] Emacs 26.2 RC1 is out!
@ 2019-03-21 16:25 Nelson H. F. Beebe
  2019-03-21 17:03 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Nelson H. F. Beebe @ 2019-03-21 16:25 UTC (permalink / raw)
  To: Emacs Devel; +Cc: beebe

I can now report considerable success with building and installing the
emacs-26.2-rc1.tar.xz release candidate announced yesterday.  In our
test farm of physical and virtual machines, I have done 94 automated
builds, followed by 30 manual ones, with successful installations on
65 platforms.

The manual ones are due to a problem I have raised before, namely,
that the various optional libraries controlled by configure's
--with-XXX=yes/no are frequently unavailable across my many systems,
with the result that configure quits, and then reports something like
this:

	Maybe some development libraries/packages are missing?
	If you don't want to link with them give
	    --with-xpm=no --with-jpeg=no --with-gif=no --with-tiff=no --with-gnutls=no
	as options to configure

While this is not a big deal for people who build only for a single
platform, it is a huge pain for people like me with large build farms
(up to 225 different systems, until a recent hardware problem removed
a chunk of them).  I need to have fairly generic build procedures for
software, not ones that require platform-specific and package-specific
build customization.

I don't find anything that requires code changes in emacs-26.2; I just
need to do some more manual work to get builds to succeed on platforms
where they failed.

So, kudos again to the emacs development team for keeping emacs
portable across a wide range of computing environments!


-------------------------------------------------------------------------------
- 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/ -
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-03-25 17:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21 22:35 [platform-testers] Emacs 26.2 RC1 is out! Nelson H. F. Beebe
2019-03-22  7:25 ` 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

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).