Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure in Pango #39

Open
Piscium opened this issue Aug 28, 2019 · 1 comment
Open

build failure in Pango #39

Piscium opened this issue Aug 28, 2019 · 1 comment

Comments

@Piscium
Copy link

Piscium commented Aug 28, 2019

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

@Nanolx
Copy link
Member

Nanolx commented Sep 1, 2019

I'll have a look, thanks for the heads-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants