You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried compiling celestia today, but the build failed on a current version of master because of the following issue in celestia-1.6.1:
build flags: SHELL=/nix/store/xb062l4b76zyhq6grqf4iyfdikkpg8fl-bash-4.4-p23/bin/bash
CC libpangox_1_0_la-pangox.lo
pangox.c: In function 'pango_x_font_class_init':
pangox.c:282:13: error: 'PangoFontClass' {aka 'struct _PangoFontClass'} has no member named 'find_shaper'
font_class->find_shaper = pango_x_font_find_shaper;
^~
pangox.c: In function 'itemize_string_foreach':
pangox.c:758:4: warning: 'pango_font_find_shaper' is deprecated [-Wdeprecated-declarations]
shaper = pango_font_find_shaper (font, language, wc);
^~~~~~
In file included from /nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-attributes.h:25,
from /nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango.h:25,
from pango-impl-utils.h:28,
from pangox.c:29:
/nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-font.h:625:23: note: declared here
PangoEngineShape * pango_font_find_shaper (PangoFont *font,
^~~~~~~~~~~~~~~~~~~~~~
pangox.c: In function 'pango_x_font_get_metrics':
pangox.c:983:17: warning: implicit declaration of function 'pango_font_metrics_new'; did you mean 'pango_font_metrics_ref'? [-Wimplicit-function-declaration]
metrics = pango_font_metrics_new ();
^~~~~~~~~~~~~~~~~~~~~~
pango_font_metrics_ref
pangox.c:983:15: warning: assignment to 'PangoFontMetrics *' {aka 'struct _PangoFontMetrics *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
metrics = pango_font_metrics_new ();
^
pangox.c: In function 'pango_x_get_shaper_map':
pangox.c:1359:3: warning: 'pango_find_map' is deprecated [-Wdeprecated-declarations]
return pango_find_map (language, engine_type_id, render_type_id);
^~~~~~
In file included from pangox-private.h:26,
from pangox.c:30:
/nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-modules.h:59:16: note: declared here
PangoMap * pango_find_map (PangoLanguage *language,
^~~~~~~~~~~~~~
pangox.c: In function 'pango_x_font_find_shaper':
pangox.c:1380:3: warning: 'pango_script_for_unichar' is deprecated: Use 'g_unichar_get_script' instead [-Wdeprecated-declarations]
script = pango_script_for_unichar (ch);
^~~~~~
In file included from /nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-gravity.h:112,
from /nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-types.h:196,
from /nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-font.h:26,
from /nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-attributes.h:25,
from /nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango.h:25,
from pango-impl-utils.h:28,
from pangox.c:29:
/nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-script.h:310:13: note: declared here
PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST;
^~~~~~~~~~~~~~~~~~~~~~~~
pangox.c:1381:3: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations]
return (PangoEngineShape *)pango_map_get_engine (shape_map, script);
^~~~~~
In file included from pangox-private.h:26,
from pangox.c:30:
/nix/store/vaz8d4pvrb9zf3bkl5l9qvmb1050jlxa-pango-1.44.7-dev/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here
PangoEngine * pango_map_get_engine (PangoMap *map,
^~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:428: libpangox_1_0_la-pangox.lo] Error 1
builder for '/nix/store/0gwdf9j2zf8iliccs2qk4qg3wq85fmn1-pangox-compat-0.0.2.drv' failed with exit code 2
The text was updated successfully, but these errors were encountered:
I tried compiling
celestia
today, but the build failed on a current version ofmaster
because of the following issue incelestia-1.6.1
:The text was updated successfully, but these errors were encountered: