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

gtkglext build is broken in master #75943

Closed
peti opened this issue Dec 19, 2019 · 2 comments
Closed

gtkglext build is broken in master #75943

peti opened this issue Dec 19, 2019 · 2 comments
Labels
0.kind: regression Something that worked before working no longer

Comments

@peti
Copy link
Member

peti commented Dec 19, 2019

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
@peti peti added the 0.kind: regression Something that worked before working no longer label Dec 19, 2019
@fionera
Copy link
Member

fionera commented Dec 21, 2019

Anydesk is broken because of this issue

@peti
Copy link
Member Author

peti commented Dec 21, 2019

Fixed in current master. I got /nix/store/h23vnpdmhmjq6k614lyw2yxn725rynnp-celestia-1.6.1 from the NixOS cache just a minute ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: regression Something that worked before working no longer
Projects
None yet
Development

No branches or pull requests

2 participants