unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Cc: emacs-devel@gnu.org
Subject: Re: [platform-testers] Emacs 26.2 RC1 is out!
Date: Fri, 22 Mar 2019 10:25:31 +0300	[thread overview]
Message-ID: <834l7vtlp0.fsf@gnu.org> (raw)
In-Reply-To: <CMM.0.96.0.1553207750.beebe@gamma.math.utah.edu>

> Date: Thu, 21 Mar 2019 16:35:50 -0600
> From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
> Cc: beebe@math.utah.edu
> 
> 	  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

Sounds like a compatibility problem between GTK headers and that port
of GCC.  IOW, it doesn't look like  an Emacs problem, as those headers
are not Emacs headers.

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

Our configure doesn't look for the header file at all, so it isn't
just a matter of adding one more directory to search.

I think we should use pkg-config to detect the correct switches.  Does
that system have an lcms2/pc file and pkg-config, and does the
following command show the correct -I switch:

  pkg-config --cflags lcms2

It's too bad we know this only now, because I don't think I'd like to
delay Emacs 26.2 release due to this issue.  (I believe Emacs 26.1
also doesn't compile on that system for the same reason?)  End users
could either use your workaround or configure without lcms2.

Thanks again for your testing.



  reply	other threads:[~2019-03-22  7:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-21 22:35 [platform-testers] Emacs 26.2 RC1 is out! Nelson H. F. Beebe
2019-03-22  7:25 ` Eli Zaretskii [this message]
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=834l7vtlp0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=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).