unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30248: Can't build Emacs pretest 26.0.91
@ 2018-01-25 12:11 Andreas Röhler
  2018-01-25 14:09 ` Robert Pluim
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andreas Röhler @ 2018-01-25 12:11 UTC (permalink / raw)
  To: 30248

Build fails at Linux myname 3.16.0-4-686-pae #1 SMP Debian 3.16.51-3 
(2017-12-13) i686

make-messages below.

Last Emacs built successfully from source here is
GNU Emacs 25.1.91.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2017-01-02

Please tell if you need further info.

   CC       image.o
   CC       xgselect.o
   CC       terminfo.o
   CC       lastfile.o
make -C ../admin/charsets all
make[2]: Entering directory '/home/my-name/emacs-26.0.91/admin/charsets'
   GEN      ../../etc/charsets/JISX2131.map
   GEN      charsets.stamp
make[2]: Leaving directory '/home/my-name/emacs-26.0.91/admin/charsets'
make -C ../admin/unidata charscript.el
make[2]: Entering directory '/home/my-name/emacs-26.0.91/admin/unidata'
make[2]: Nothing to be done for 'charscript.el'.
make[2]: Leaving directory '/home/my-name/emacs-26.0.91/admin/unidata'
   CCLD     temacs
/usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgdk-3.so: 
undefined reference to `cairo_surface_set_device_scale'
/usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgtk-3.so: 
undefined reference to `cairo_surface_get_device_scale'
collect2: error: ld returned 1 exit status
Makefile:600: recipe for target 'temacs' failed
make[1]: *** [temacs] Error 1
make -C ../admin/charsets cp51932.el
make[2]: Entering directory '/home/my-name/emacs-26.0.91/admin/charsets'
make[2]: Nothing to be done for 'cp51932.el'.
make[2]: Leaving directory '/home/my-name/emacs-26.0.91/admin/charsets'
make -C ../admin/charsets eucjp-ms.el
make[2]: Entering directory '/home/my-name/emacs-26.0.91/admin/charsets'
make[2]: Nothing to be done for 'eucjp-ms.el'.
make[2]: Leaving directory '/home/my-name/emacs-26.0.91/admin/charsets'
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/home/my-name/emacs-26.0.91/src'
Makefile:418: recipe for target 'src' failed
make: *** [src] Error 2
make info-real info-dir
make[1]: Entering directory '/home/my-name/emacs-26.0.91'
make -C doc/lispref info
make[2]: Entering directory '/home/my-name/emacs-26.0.91/doc/lispref'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/my-name/emacs-26.0.91/doc/lispref'
make -C doc/lispintro info
make[2]: Entering directory '/home/my-name/emacs-26.0.91/doc/lispintro'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/my-name/emacs-26.0.91/doc/lispintro'
make -C doc/emacs info
make[2]: Entering directory '/home/my-name/emacs-26.0.91/doc/emacs'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/my-name/emacs-26.0.91/doc/emacs'
make -C doc/misc info
make[2]: Entering directory '/home/my-name/emacs-26.0.91/doc/misc'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/my-name/emacs-26.0.91/doc/misc'
make[1]: Nothing to be done for 'info-dir'.
make[1]: Leaving directory '/home/my-name/emacs-26.0.91'
make: Target 'all' not remade because of errors.





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

* bug#30248: Can't build Emacs pretest 26.0.91
  2018-01-25 12:11 bug#30248: Can't build Emacs pretest 26.0.91 Andreas Röhler
@ 2018-01-25 14:09 ` Robert Pluim
  2018-01-25 14:24 ` Noam Postavsky
  2018-01-27  8:26 ` martin rudalics
  2 siblings, 0 replies; 7+ messages in thread
From: Robert Pluim @ 2018-01-25 14:09 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 30248

Andreas Röhler <andreas.roehler@online.de> writes:

> Build fails at Linux myname 3.16.0-4-686-pae #1 SMP Debian 3.16.51-3 
> (2017-12-13) i686
>
> make-messages below.
>
> Last Emacs built successfully from source here is
> GNU Emacs 25.1.91.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2017-01-02
>
> Please tell if you need further info.
>

Could you show us your configure command? Which GNU/Linux distribution
is this?

Thanks

Robert





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

* bug#30248: Can't build Emacs pretest 26.0.91
  2018-01-25 12:11 bug#30248: Can't build Emacs pretest 26.0.91 Andreas Röhler
  2018-01-25 14:09 ` Robert Pluim
@ 2018-01-25 14:24 ` Noam Postavsky
  2018-01-27 15:36   ` Andreas Röhler
  2018-01-27  8:26 ` martin rudalics
  2 siblings, 1 reply; 7+ messages in thread
From: Noam Postavsky @ 2018-01-25 14:24 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 30248

Andreas Röhler <andreas.roehler@online.de> writes:

> /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgdk-3.so:
> undefined reference to `cairo_surface_set_device_scale'
> /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgtk-3.so:
> undefined reference to `cairo_surface_get_device_scale'

Some suggestions in [1] that having .../anaconda/lib in LIBRARY_PATH
might cause this.  [2] is inconclusive, but also mentions anaconda.  So
does [3].

[1]: https://askubuntu.com/questions/796662/gedit-error-for-non-sudo-undefined-symbol-cairo-surface-set-device-scale-und
[2]: https://github.com/Wilfred/remacs/issues/118
[3]: http://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00543.html





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

* bug#30248: Can't build Emacs pretest 26.0.91
  2018-01-25 12:11 bug#30248: Can't build Emacs pretest 26.0.91 Andreas Röhler
  2018-01-25 14:09 ` Robert Pluim
  2018-01-25 14:24 ` Noam Postavsky
@ 2018-01-27  8:26 ` martin rudalics
  2 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2018-01-27  8:26 UTC (permalink / raw)
  To: Andreas Röhler, 30248

 > Last Emacs built successfully from source here is
 > GNU Emacs 25.1.91.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2017-01-02
[...]
 > /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgdk-3.so: undefined reference to `cairo_surface_set_device_scale'
 > /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgtk-3.so: undefined reference to `cairo_surface_get_device_scale'

This indicates that the gdk and cairo libraries found by the build
script mismatch.  You may have to either downgrade gtk, upgrade cairo,
or make sure that nothing shadows cairo in the load path.

And please tell us the options used when configuring Emacs.

Thank you, martin





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

* bug#30248: Can't build Emacs pretest 26.0.91
  2018-01-27 15:36   ` Andreas Röhler
@ 2018-01-27 15:33     ` Eli Zaretskii
  2018-01-28  9:45       ` Andreas Röhler
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2018-01-27 15:33 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 30248, npostavs, nicolas, rpluim

> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> Date: Sat, 27 Jan 2018 16:36:38 +0100
> Cc: Robert Pluim <rpluim@gmail.com>, Nicolas Petton <nicolas@petton.fr>,
> 	Noam Postavsky <npostavs@users.sourceforge.net>
> 
> On 25.01.2018 15:24, Noam Postavsky wrote:
> > Andreas Röhler <andreas.roehler@online.de> writes:
> > 
> >> /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgdk-3.so:
> >> undefined reference to `cairo_surface_set_device_scale'
> >> /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgtk-3.so:
> >> undefined reference to `cairo_surface_get_device_scale'
> > 
> > Some suggestions in [1] that having .../anaconda/lib in LIBRARY_PATH
> > might cause this.  [2] is inconclusive, but also mentions anaconda.  So
> > does [3].
> > 
> > [1]: https://askubuntu.com/questions/796662/gedit-error-for-non-sudo-undefined-symbol-cairo-surface-set-device-scale-und
> > [2]: https://github.com/Wilfred/remacs/issues/118
> > [3]: http://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00543.html
> > 
> > 
> > 
> Having anaconda removed from PATH it builds nicely.

etc/PROBLEMS stuff, perhaps?





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

* bug#30248: Can't build Emacs pretest 26.0.91
  2018-01-25 14:24 ` Noam Postavsky
@ 2018-01-27 15:36   ` Andreas Röhler
  2018-01-27 15:33     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Röhler @ 2018-01-27 15:36 UTC (permalink / raw)
  To: 30248; +Cc: Robert Pluim, Nicolas Petton, Noam Postavsky

On 25.01.2018 15:24, Noam Postavsky wrote:
> Andreas Röhler <andreas.roehler@online.de> writes:
> 
>> /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgdk-3.so:
>> undefined reference to `cairo_surface_set_device_scale'
>> /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgtk-3.so:
>> undefined reference to `cairo_surface_get_device_scale'
> 
> Some suggestions in [1] that having .../anaconda/lib in LIBRARY_PATH
> might cause this.  [2] is inconclusive, but also mentions anaconda.  So
> does [3].
> 
> [1]: https://askubuntu.com/questions/796662/gedit-error-for-non-sudo-undefined-symbol-cairo-surface-set-device-scale-und
> [2]: https://github.com/Wilfred/remacs/issues/118
> [3]: http://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00543.html
> 
> 
> 
Having anaconda removed from PATH it builds nicely.

Thanks all and sorry for the noise,

Andreas





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

* bug#30248: Can't build Emacs pretest 26.0.91
  2018-01-27 15:33     ` Eli Zaretskii
@ 2018-01-28  9:45       ` Andreas Röhler
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Röhler @ 2018-01-28  9:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 30248, npostavs, nicolas, rpluim

On 27.01.2018 16:33, Eli Zaretskii wrote:
>> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
>> Date: Sat, 27 Jan 2018 16:36:38 +0100
>> Cc: Robert Pluim <rpluim@gmail.com>, Nicolas Petton <nicolas@petton.fr>,
>> 	Noam Postavsky <npostavs@users.sourceforge.net>
>>
>> On 25.01.2018 15:24, Noam Postavsky wrote:
>>> Andreas Röhler <andreas.roehler@online.de> writes:
>>>
>>>> /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgdk-3.so:
>>>> undefined reference to `cairo_surface_set_device_scale'
>>>> /usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/libgtk-3.so:
>>>> undefined reference to `cairo_surface_get_device_scale'
>>>
>>> Some suggestions in [1] that having .../anaconda/lib in LIBRARY_PATH
>>> might cause this.  [2] is inconclusive, but also mentions anaconda.  So
>>> does [3].
>>>
>>> [1]: https://askubuntu.com/questions/796662/gedit-error-for-non-sudo-undefined-symbol-cairo-surface-set-device-scale-und
>>> [2]: https://github.com/Wilfred/remacs/issues/118
>>> [3]: http://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00543.html
>>>
>>>
>>>
>> Having anaconda removed from PATH it builds nicely.
> 
> etc/PROBLEMS stuff, perhaps?
> 


Opened a ticket at Anaconda:

https://github.com/ContinuumIO/anaconda-issues/issues/8322





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

end of thread, other threads:[~2018-01-28  9:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-25 12:11 bug#30248: Can't build Emacs pretest 26.0.91 Andreas Röhler
2018-01-25 14:09 ` Robert Pluim
2018-01-25 14:24 ` Noam Postavsky
2018-01-27 15:36   ` Andreas Röhler
2018-01-27 15:33     ` Eli Zaretskii
2018-01-28  9:45       ` Andreas Röhler
2018-01-27  8:26 ` martin rudalics

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