Skip to content

build failure in Pango #39

@Piscium

Description

@Piscium

So building the Arch Linux AUR pagckage sawfish-git is failing.
The Pango version I have installed is 1.44.5.
$ gcc --version
gcc (GCC) 9.1.0


gcc -c -DHAVE_CONFIG_H -DSAWFISH -D__STRICT_ANSI__ -I. -I.. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -I/usr/include/ -I/usr/lib/rep/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/uuid -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -o fonts.o fonts.c
fonts.c: In function ‘pango_load’:
fonts.c:428:2: warning: ‘pango_xft_get_context’ is deprecated [-Wdeprecated-declarations]
428 | pango_context = pango_xft_get_context (dpy, screen_num);
| ^~~~~~~~~~~~~
In file included from fonts.c:58:
/usr/include/pango-1.0/pango/pangoxft.h:82:15: note: declared here
82 | PangoContext *pango_xft_get_context (Display *display,
| ^~~~~~~~~~~~~~~~~~~~~
fonts.c:460:24: error: dereferencing pointer to incomplete type ‘PangoFontMetrics’ {aka ‘struct _PangoFontMetrics’}
460 | f->ascent = metrics->ascent / PANGO_SCALE;
| ^~
make[1]: *** [../Makedefs:89: fonts.o] Error 1
make[1]: Leaving directory '/home/mymy/develt/aur/sawfish-git/src/sawfish/src'
make: *** [Makefile:30: all] Error 1
==> ERROR: A failure occurred in build().
Aborting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions