all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>,
	martin rudalics <rudalics@gmx.at>,
	 Robert Pluim <rpluim@gmail.com>
Subject: emacs-26 build breaking on RHEL 6.6 GTK2
Date: Wed, 24 Jan 2018 15:48:56 +0000	[thread overview]
Message-ID: <CAFyQvY1ZpVKdCE-b9Fo_ZCu_g1SS2Q7sOKw6_Js5Cqyk-xU47w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2889 bytes --]

Hello,

emacs-26 build is breaking after the last 2 commits ([1], [2]) related to
GTK. This is after "make bootstrap".

First I get this warning:

xfns.c: In function ‘Fx_display_monitor_attributes_list’:
xfns.c:4993:15: warning: implicit declaration of function
‘gdk_screen_get_monitor_scale_factor’ [-Wimplicit-function-declaration]
       scale = gdk_screen_get_monitor_scale_factor (gscreen, i);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c:4993:7: warning: nested extern declaration of
‘gdk_screen_get_monitor_scale_factor’ [-Wnested-externs]
       scale = gdk_screen_get_monitor_scale_factor (gscreen, i);
       ^~~~~
  CC       xselect.o

And then this error:

  CC       lastfile.o
make -C ../admin/charsets all
make[2]: Entering directory '/home/kmodi/downloads/git/emacs/admin/charsets'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/kmodi/downloads/git/emacs/admin/charsets'
make -C ../admin/unidata charscript.el
make[2]: Entering directory '/home/kmodi/downloads/git/emacs/admin/unidata'
make[2]: Nothing to be done for 'charscript.el'.
make[2]: Leaving directory '/home/kmodi/downloads/git/emacs/admin/unidata'
  CCLD     temacs
xfns.o: In function `Fx_display_monitor_attributes_list':
xfns.c:(.text+0x9ab3): undefined reference to
`gdk_screen_get_monitor_scale_factor'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:600: temacs] Error 1

Here is my Emacs build info from the last successful build (yesterday):

Emacs version: GNU Emacs 26.0.91 (build 1, x86_64-pc-linux-gnu, GTK+
Version 2.24.23)
 of 2018-01-23, built using commit 1fc98ed073a2d26ad941748ecb13aa6f47dd7b01.

./configure options:
  --with-modules --prefix=/home/kmodi/usr_local/apps/6/emacs/emacs-26
'--program-transform-name=s/^ctags$/ctags_emacs/'
--enable-checking=yes,glyphs --enable-check-lisp-object-type
'CPPFLAGS=-I/home/kmodi/usr_local/6/include -I/usr/include/freetype2
-I/usr/include' 'CFLAGS=-ggdb3 -O0' 'CXXFLAGS=-ggdb3 -O0'
'LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64
-ggdb3'
PKG_CONFIG_PATH=/home/kmodi/usr_local/6/lib/pkgconfig:/home/kmodi/usr_local/6/lib64/pkgconfig:/cad/adi/apps/gnu/linux/x86_64/6/lib/pkgconfig:/cad/adi/apps/gnu/linux/x86_64/6/lib64/pkgconfig:/home/kmodi/stowed/lib/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig:/lib64/pkgconfig

Features:
  XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK2 X11 MODULES THREADS

Thanks.

[1]:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-26&id=2892f05792e1f52b0966f92c5ed1aa75dcdd66a3
[2]:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-26&id=59db8dca030ba6a34d143c3cc6715f02beba1068

-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 3580 bytes --]

             reply	other threads:[~2018-01-24 15:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-24 15:48 Kaushal Modi [this message]
2018-01-24 15:53 ` emacs-26 build breaking on RHEL 6.6 GTK2 Kaushal Modi
2018-02-20 11:04   ` Robert Pluim
2018-02-20 15:22     ` Kaushal Modi
2018-02-20 16:21       ` Robert Pluim
2018-01-24 16:12 ` Robert Pluim
2018-01-24 17:28   ` Kaushal Modi
2018-01-24 17:46 ` Glenn Morris
2018-01-24 18:04   ` Robert Pluim
2018-01-24 18:26     ` Glenn Morris
2018-01-24 18:39       ` Robert Pluim
2018-01-24 18:43         ` Noam Postavsky
2018-01-24 18:32     ` martin rudalics
2018-01-24 18:41       ` Robert Pluim
2018-01-24 18:47         ` martin rudalics
2018-01-24 18:52           ` Robert Pluim
2018-01-24 19:16             ` martin rudalics
2018-01-24 19:22               ` Robert Pluim
2018-01-24 20:10             ` Eli Zaretskii
2018-01-24 20:19               ` martin rudalics

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyQvY1ZpVKdCE-b9Fo_ZCu_g1SS2Q7sOKw6_Js5Cqyk-xU47w@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rpluim@gmail.com \
    --cc=rudalics@gmx.at \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.