GNU bug report logs -
#55022
error compiling emacs 28.1
Previous Next
Reported by: robin hankin <hankin.robin <at> gmail.com>
Date: Tue, 19 Apr 2022 11:17:01 UTC
Severity: normal
Tags: moreinfo
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: robin hankin <hankin.robin <at> gmail.com>
> Date: Tue, 19 Apr 2022 19:03:07 +1200
>
> Ubuntu 20.04. I downloaded emacs-28.1.tar.gz and untarred it and changed
> to the correct directory. Then:
>
> ./configure
> ./make
>
> configure finished without error. But make failed:
>
> [snip]
> e[2]: Leaving directory '/home/rhankin/Downloads/emacs-28.1/admin/unidata'
> make -C ../admin/unidata emoji-zwj.el
> make[2]: Entering directory '/home/rhankin/Downloads/emacs-28.1/admin/unidata'
> make[2]: Nothing to be done for 'emoji-zwj.el'.
> make[2]: Leaving directory '/home/rhankin/Downloads/emacs-28.1/admin/unidata'
> CCLD temacs
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to
> `hb_ot_layout_script_select_language'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_blob_create_from_file'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to
> `hb_ot_var_named_instance_get_design_coords'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to
> `hb_ot_tags_from_script_and_language'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_ot_var_get_axis_infos'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined reference to `hb_buffer_set_invisible_glyph'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `hb_ot_metrics_get_position'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:647: temacs] Error 1
> make[1]: Leaving directory '/home/rhankin/Downloads/emacs-28.1/src'
> make: *** [Makefile:449: src] Error 2
> rhankin <at> limpet:~/Downloads/emacs-28.1$
Emacs 28.1 doesn't call any of these functions. Since the error
messages are triggered by libpangoft2-1.0.so, my guess would be that
your system has a misconfigured installation of Pango and HarfBuzz:
the former requires a (probably later?) version of HarfBuzz than the
HarfBuzz version actually installed.
So I think you should review the relevant libraries installed on your
system, and perhaps upgrade some of them. Then try reconfiguring and
rebuilding Emacs.
This bug report was last modified 3 years and 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.