From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: emacs-26 build breaking on RHEL 6.6 GTK2 Date: Wed, 24 Jan 2018 15:48:56 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0af2fa7328a10563879aac" X-Trace: blaine.gmane.org 1516808902 14782 195.159.176.226 (24 Jan 2018 15:48:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Jan 2018 15:48:22 +0000 (UTC) To: Emacs developers , martin rudalics , Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 24 16:48:18 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeNHa-0003Ij-3j for ged-emacs-devel@m.gmane.org; Wed, 24 Jan 2018 16:48:14 +0100 Original-Received: from localhost ([::1]:56364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeNJa-0000pM-A1 for ged-emacs-devel@m.gmane.org; Wed, 24 Jan 2018 10:50:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeNIT-0000m1-8p for emacs-devel@gnu.org; Wed, 24 Jan 2018 10:49:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeNIR-0008EO-OB for emacs-devel@gnu.org; Wed, 24 Jan 2018 10:49:09 -0500 Original-Received: from mail-yb0-x232.google.com ([2607:f8b0:4002:c09::232]:44260) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeNIR-0008DW-II for emacs-devel@gnu.org; Wed, 24 Jan 2018 10:49:07 -0500 Original-Received: by mail-yb0-x232.google.com with SMTP id z90so1687740ybh.11 for ; Wed, 24 Jan 2018 07:49:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0WOxoROQc7jyqFIUdP/BakxBVp1WvaGuW7BnQv3Yf/Y=; b=J20gS5YplUlzxg5efbYtFZWz6k/autiB0Puk+wYJfZ19efphOr8Aw3pYCz9n/E8i1s Unt3J41qYI4I6JJS/h4j4yrNu1LYNJagsyoebMBXX8dvPes1LMogjKtL2aSTFkXG6GA/ VSVsP4wr0bF9lvMGSzgmaHE/Jv1La6WvulKeAOUeTcfZz/ukrF8qe6BkC0kxgsK2s4rF l+nPmRE0LB5gepdb8TinkCjQo829IhZDj0Xh94g2pGMvlnfJvAnY/blr++nTDlQ7ZCPj NJMRzXeaerz4rIb9LGYjUbwW8OTHhuOENvnWGx/QiVG+7a7yejIJTCGLYMY4QqGkEH31 Us+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0WOxoROQc7jyqFIUdP/BakxBVp1WvaGuW7BnQv3Yf/Y=; b=qWzWnx70HwYqYQhgPWUIJ5BusI1GezUEIS55xAYh4PkN7mgUmvC0urcLFw4Rs3Up63 zO8128XFddz9vMqjB8ABNFnLo9WePnRb/DNAnegFaQK9LY+qdGuq8zHDGBn2bqe60az/ nmpIf3GBNYAHuBQkA7EaYywF3wVcX/p47MFh+jNfcXcUa2ymkyuphj09+elHVGuKU+8E am6+9f7IRFXZEV2RUKG5drMbhEAehqDepSbsOE/IgwG/FmonvlA7p3g0RUW+b5lCHPvQ 1D/NhqkkaG6hqXFreOEM4efac4jrEWNSv9+IBCVf/EDhAP1423bT0A7GxS7MgGtY9KcA giMA== X-Gm-Message-State: AKwxytfyyAxu7ek0lqnetsCLJOs+TmcOPPnpvQJL8LBcKO4vCgRT6gen NB+aoq2HxQyTThMb86Nm9g+s6Kes1XA1PKVJtLs= X-Google-Smtp-Source: AH8x227v8rXa1NF+ecXuXWf0YljJ+8X1Z8xG8q5/VFUMx4ATh4TMcTYUTtmQKk8QIjQDyizVFyA3lSfnqL3/eUJJPEQ= X-Received: by 10.37.172.39 with SMTP id w39mr5717267ybi.164.1516808946524; Wed, 24 Jan 2018 07:49:06 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c09::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222184 Archived-At: --94eb2c0af2fa7328a10563879aac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=98Fx_display_monitor_attributes_list=E2=80=99: xfns.c:4993:15: warning: implicit declaration of function =E2=80=98gdk_screen_get_monitor_scale_factor=E2=80=99 [-Wimplicit-function-= declaration] scale =3D gdk_screen_get_monitor_scale_factor (gscreen, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xfns.c:4993:7: warning: nested extern declaration of =E2=80=98gdk_screen_get_monitor_scale_factor=E2=80=99 [-Wnested-externs] scale =3D 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=3D/home/kmodi/usr_local/apps/6/emacs/emacs-26 '--program-transform-name=3Ds/^ctags$/ctags_emacs/' --enable-checking=3Dyes,glyphs --enable-check-lisp-object-type 'CPPFLAGS=3D-I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=3D-ggdb3 -O0' 'CXXFLAGS=3D-ggdb3 -O0' 'LDFLAGS=3D-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3' PKG_CONFIG_PATH=3D/home/kmodi/usr_local/6/lib/pkgconfig:/home/kmodi/usr_loc= al/6/lib64/pkgconfig:/cad/adi/apps/gnu/linux/x86_64/6/lib/pkgconfig:/cad/ad= i/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=3Demacs-26&id=3D2892f0= 5792e1f52b0966f92c5ed1aa75dcdd66a3 [2]: http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=3Demacs-26&id=3D59db8d= ca030ba6a34d143c3cc6715f02beba1068 --=20 Kaushal Modi --94eb2c0af2fa7328a10563879aac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

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

First I get this warning:
=
xfns.c: In function =E2=80=98Fx_display_monitor_attributes_list=E2=80= =99:
xfns.c:4993:15: warning: implicit declaration of function =E2=80=98= gdk_screen_get_monitor_scale_factor=E2=80=99 [-Wimplicit-function-declarati= on]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 scale =3D gdk_screen_get_monito= r_scale_factor (gscreen, i);
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~
xfns.c:4993:7: warning: nested extern declaration of =E2=80=98gdk_sc= reen_get_monitor_scale_factor=E2=80=99 [-Wnested-externs]
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 scale =3D gdk_screen_get_monitor_scale_factor (gsc= reen, i);
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~
=C2=A0 CC=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 xselect.o

And then this error:<= br>
=C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lastfile.o
make -C = ../admin/charsets all
make[2]: Entering directory '/home/kmodi/downl= oads/git/emacs/admin/charsets'
make[2]: Nothing to be done for '= all'.
make[2]: Leaving directory '/home/kmodi/downloads/git/emac= s/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]: Le= aving directory '/home/kmodi/downloads/git/emacs/admin/unidata'
= =C2=A0 CCLD=C2=A0=C2=A0=C2=A0=C2=A0 temacs
xfns.o: In function `Fx_displ= ay_monitor_attributes_list':
xfns.c:(.text+0x9ab3): undefined refere= nce to `gdk_screen_get_monitor_scale_factor'
collect2: error: ld ret= urned 1 exit status
make[1]: *** [Makefile:600: temacs] Error 1

<= /div>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, GT= K+ Version 2.24.23)
=C2=A0of 2018-01-23, built using commit 1fc98ed073a2= d26ad941748ecb13aa6f47dd7b01.

./configure options:
=C2=A0 --with-= modules --prefix=3D/home/kmodi/usr_local/apps/6/emacs/emacs-26 '--progr= am-transform-name=3Ds/^ctags$/ctags_emacs/' --enable-checking=3Dyes,gly= phs --enable-check-lisp-object-type 'CPPFLAGS=3D-I/home/kmodi/usr_local= /6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=3D-ggdb= 3 -O0' 'CXXFLAGS=3D-ggdb3 -O0' 'LDFLAGS=3D-L/home/kmodi/usr= _local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3' PKG_CONFIG_PATH=3D= /home/kmodi/usr_local/6/lib/pkgconfig:/home/kmodi/usr_local/6/lib64/pkgconf= ig:/cad/adi/apps/gnu/linux/x86_64/6/lib/pkgconfig:/cad/adi/apps/gnu/linux/x= 86_64/6/lib64/pkgconfig:/home/kmodi/stowed/lib/pkgconfig:/usr/lib/pkgconfig= :/usr/lib64/pkgconfig:/usr/share/pkgconfig:/lib/pkgconfig:/lib64/pkgconfig<= br>
Features:
=C2=A0 XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM= DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZL= IB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES THREADS

Thanks.
=
--

Kaushal Modi

--94eb2c0af2fa7328a10563879aac--