Emerge fails.. gnome-lib is required. I assume it wasn't emerged before matritsa because its not listed as a dep. Reproducible: Always Steps to Reproduce: 1. emerge -v matrista 2. 3. Actual Results: Emerge failed Expected Results: Installed /usr/include/gdk_imlib.h:19: error: syntax error before "gdk_imlib_best_color_match" /usr/include/gdk_imlib.h:19: error: syntax error before '*' token /usr/include/gdk_imlib.h:20: error: syntax error before '*' token /usr/include/gdk_imlib.h:21: error: syntax error before "gdk_imlib_render" /usr/include/gdk_imlib.h:21: error: syntax error before "gint" /usr/include/gdk_imlib.h:22: error: syntax error before '*' token /usr/include/gdk_imlib.h:23: error: syntax error before '*' token /usr/include/gdk_imlib.h:24: error: syntax error before '*' token /usr/include/gdk_imlib.h:25: error: syntax error before '*' token /usr/include/gdk_imlib.h:29: error: syntax error before '*' token /usr/include/gdk_imlib.h:30: error: syntax error before '*' token /usr/include/gdk_imlib.h:35: error: syntax error before "gdk_imlib_save_image_to_eim" /usr/include/gdk_imlib.h:36: error: syntax error before "gdk_imlib_add_image_to_eim" /usr/include/gdk_imlib.h:37: error: syntax error before "gdk_imlib_save_image_to_ppm" /usr/include/gdk_imlib.h:38: error: syntax error before "gdk_imlib_load_file_to_pixmap" /usr/include/gdk_imlib.h:38: error: syntax error before "GdkPixmap" /usr/include/gdk_imlib.h:55: error: syntax error before "GdkWindow" /usr/include/gdk_imlib.h:56: error: syntax error before "GdkWindow" /usr/include/gdk_imlib.h:57: error: syntax error before "GdkWindow" /usr/include/gdk_imlib.h:60: error: syntax error before "gint" /usr/include/gdk_imlib.h:61: error: syntax error before "gint" /usr/include/gdk_imlib.h:64: error: syntax error before "gdk_imlib_get_fallback" /usr/include/gdk_imlib.h:65: error: syntax error before "fallback" /usr/include/gdk_imlib.h:66: error: syntax error before '*' token /usr/include/gdk_imlib.h:67: error: syntax error before '*' token /usr/include/gdk_imlib.h:68: error: syntax error before '*' token /usr/include/gdk_imlib.h:70: error: syntax error before "gdk_imlib_data_to_pixmap" /usr/include/gdk_imlib.h:70: error: syntax error before "GdkPixmap" /usr/include/gdk_imlib.h:71: error: syntax error before "gint" /usr/include/gdk_imlib.h:72: error: syntax error before "gdk_imlib_save_image" /usr/include/gdk_imlib.h:74: error: syntax error before '*' token In file included from matritsa.c:25: matritsa.h:27:19: gnome.h: No such file or directory In file included from matritsa.c:25: matritsa.h:30: error: syntax error before '*' token matritsa.h:30: warning: data definition has no type or storage class matritsa.h:31: error: syntax error before "matritsa_columns" matritsa.h:31: warning: data definition has no type or storage class matritsa.h:32: error: syntax error before "matritsa_rows" matritsa.h:32: warning: data definition has no type or storage class matritsa.h:33: error: syntax error before '*' token matritsa.c:31: error: syntax error before '*' token matritsa.c:31: warning: data definition has no type or storage class matritsa.c:32: error: syntax error before "matritsa_columns" matritsa.c:32: warning: data definition has no type or storage class matritsa.c:33: error: syntax error before "matritsa_rows" matritsa.c:33: warning: data definition has no type or storage class matritsa.c:35: error: syntax error before "height" matritsa.c:35: warning: data definition has no type or storage class matritsa.c:36: error: syntax error before "width" matritsa.c:36: warning: data definition has no type or storage class matritsa.c:37: error: syntax error before "dx" matritsa.c:37: warning: data definition has no type or storage class matritsa.c:38: error: syntax error before "dy" matritsa.c:38: warning: data definition has no type or storage class matritsa.c:39: error: syntax error before "board_width" matritsa.c:39: warning: data definition has no type or storage class matritsa.c:40: error: syntax error before "board_height" matritsa.c:40: warning: data definition has no type or storage class matritsa.c:41: error: syntax error before "has_moved_last_card" matritsa.c:41: warning: data definition has no type or storage class matritsa.c:42: error: syntax error before "card_width" matritsa.c:42: warning: data definition has no type or storage class matritsa.c:43: error: syntax error before '*' token matritsa.c:43: warning: data definition has no type or storage class matritsa.c:45: error: syntax error before "big_card_width" matritsa.c:45: warning: data definition has no type or storage class matritsa.c:46: error: syntax error before '*' token matritsa.c:46: warning: data definition has no type or storage class matritsa.c:47: error: syntax error before '*' token matritsa.c:47: warning: data definition has no type or storage class matritsa.c:48: error: syntax error before '*' token matritsa.c:48: warning: data definition has no type or storage class matritsa.c:49: error: syntax error before "dragging" matritsa.c:49: warning: data definition has no type or storage class matritsa.c:56: error: syntax error before '*' token matritsa.c:58: error: syntax error before '*' token matritsa.c:60: error: syntax error before '*' token matritsa.c:65: error: syntax error before '*' token matritsa.c:65: warning: data definition has no type or storage class matritsa.c:66: error: syntax error before '*' token matritsa.c:66: warning: data definition has no type or storage class matritsa.c:68: warning: initialization makes pointer from integer without a cast matritsa.c:68: error: initializer element is not constant matritsa.c:69: error: elements of array `options' have incomplete type matritsa.c:70: warning: excess elements in struct initializer matritsa.c:70: warning: (near initialization for `options[0]') matritsa.c:70: warning: excess elements in struct initializer matritsa.c:70: warning: (near initialization for `options[0]') matritsa.c:70: warning: excess elements in struct initializer matritsa.c:70: warning: (near initialization for `options[0]') matritsa.c:70: warning: excess elements in struct initializer matritsa.c:70: warning: (near initialization for `options[0]') matritsa.c:70: warning: excess elements in struct initializer matritsa.c:70: warning: (near initialization for `options[0]') matritsa.c:73: error: syntax error before "game_menu" matritsa.c:74: error: initializer element is not constant matritsa.c:74: error: (near initialization for `game_menu[0]') matritsa.c:75: error: `GNOMEUIINFO_SEPARATOR' undeclared here (not in a function) matritsa.c:75: error: initializer element is not constant matritsa.c:75: error: (near initialization for `game_menu[1]') matritsa.c:76: error: initializer element is not constant matritsa.c:76: error: (near initialization for `game_menu[2]') matritsa.c:77: error: `GNOMEUIINFO_SEPARATOR' undeclared here (not in a function) matritsa.c:77: error: initializer element is not constant matritsa.c:77: error: (near initialization for `game_menu[3]') matritsa.c:78: error: initializer element is not constant matritsa.c:78: error: (near initialization for `game_menu[4]') matritsa.c:80: error: `GNOMEUIINFO_END' undeclared here (not in a function) matritsa.c:80: error: initializer element is not constant matritsa.c:80: error: (near initialization for `game_menu[5]') matritsa.c:80: warning: data definition has no type or storage class matritsa.c:82: error: syntax error before "help_menu" matritsa.c:83: error: initializer element is not constant matritsa.c:83: error: (near initialization for `help_menu[0]') matritsa.c:85: error: `GNOMEUIINFO_END' undeclared here (not in a function) matritsa.c:85: error: initializer element is not constant matritsa.c:85: error: (near initialization for `help_menu[1]') matritsa.c:85: warning: data definition has no type or storage class matritsa.c:87: error: syntax error before "main_menu" matritsa.c:89: error: initializer element is not constant matritsa.c:89: error: (near initialization for `main_menu[0]') matritsa.c:90: error: initializer element is not constant matritsa.c:90: error: (near initialization for `main_menu[1]') matritsa.c:92: error: `GNOMEUIINFO_END' undeclared here (not in a function) matritsa.c:92: error: initializer element is not constant matritsa.c:92: error: (near initialization for `main_menu[2]') matritsa.c:92: warning: data definition has no type or storage class matritsa.c:95: error: syntax error before '*' token matritsa.c: In function `about_cb': matritsa.c:97: error: `GtkWidget' undeclared (first use in this function) matritsa.c:97: error: (Each undeclared identifier is reported only once matritsa.c:97: error: for each function it appears in.) matritsa.c:97: error: `about' undeclared (first use in this function) matritsa.c:99: error: syntax error before '*' token matritsa.c: At top level: /bin/sh: line 1: gnome-config: command not found matritsa.c:104: error: `about' used prior to declaration matritsa.c:106: error: `authors' undeclared here (not in a function) matritsa.c:108: error: initializer element is not constant matritsa.c:108: warning: data definition has no type or storage class matritsa.c:109: warning: parameter names (without types) in function declaration matritsa.c:109: warning: data definition has no type or storage class matritsa.c:110: error: syntax error before '}' token matritsa.c:116: error: syntax error before "cb_bg_card_event" matritsa.c:116: error: syntax error before '*' token matritsa.c: In function `cb_bg_card_event': matritsa.c:119: error: `GdkCursor' undeclared (first use in this function) matritsa.c:119: error: `fleur' undeclared (first use in this function) matritsa.c:123: error: `event' undeclared (first use in this function) matritsa.c:127: error: `GDK_BUTTON_PRESS' undeclared (first use in this function) matritsa.c:131: error: request for member `parent' in something not a structure or union matritsa.c:135: error: `GDK_FLEUR' undeclared (first use in this function) matritsa.c:137: error: `GDK_POINTER_MOTION_MASK' undeclared (first use in this function) matritsa.c:137: error: `GDK_BUTTON_RELEASE_MASK' undeclared (first use in this function) matritsa.c:141: error: `TRUE' undeclared (first use in this function) matritsa.c:154: error: `FALSE' undeclared (first use in this function) matritsa.c: At top level: matritsa.c:158: error: syntax error before "cb_cards_event" matritsa.c:158: error: syntax error before '*' token matritsa.c: In function `cb_cards_event': matritsa.c:161: error: `GdkCursor' undeclared (first use in this function) matritsa.c:161: error: `fleur' undeclared (first use in this function) matritsa.c:165: error: `event' undeclared (first use in this function) matritsa.c:167: error: `item' undeclared (first use in this function) matritsa.c:171: error: `GDK_BUTTON_PRESS' undeclared (first use in this function) matritsa.c:177: error: `GDK_FLEUR' undeclared (first use in this function) matritsa.c:180: error: `GDK_POINTER_MOTION_MASK' undeclared (first use in this function) matritsa.c:180: error: `GDK_BUTTON_RELEASE_MASK' undeclared (first use in this function) matritsa.c:184: error: `TRUE' undeclared (first use in this function) matritsa.c:191: error: `GDK_MOTION_NOTIFY' undeclared (first use in this function) matritsa.c:192: error: `GDK_BUTTON1_MASK' undeclared (first use in this function) matritsa.c:219: error: `GDK_BUTTON_RELEASE' undeclared (first use in this function) matritsa.c:222: error: `FALSE' undeclared (first use in this function) matritsa.c: At top level: matritsa.c:241: error: syntax error before '*' token matritsa.c: In function `create_cards_in_deck': matritsa.c:249: warning: assignment makes pointer from integer without a cast matritsa.c:262: error: request for member `len' in something not a structure or union matritsa.c:263: error: request for member `len' in something not a structure or union matritsa.c:266: error: syntax error before "int" matritsa.c:267: error: syntax error before "int" matritsa.c:269: error: syntax error before "int" matritsa.c:270: error: syntax error before "int" matritsa.c: At top level: matritsa.c:279: error: syntax error before '*' token matritsa.c: In function `set_pixel_coordinates': matritsa.c:285: error: `canvas' undeclared (first use in this function) matritsa.c:285: error: `x' undeclared (first use in this function) matritsa.c:285: error: `y' undeclared (first use in this function) matritsa.c:286: error: `where' undeclared (first use in this function) matritsa.c: In function `create_big_card': matritsa.c:292: error: `gchar' undeclared (first use in this function) matritsa.c:292: error: syntax error before "fn" matritsa.c:298: error: `fn' undeclared (first use in this function) matritsa.c:300: error: dereferencing pointer to incomplete type matritsa.c:301: error: dereferencing pointer to incomplete type matritsa.c: At top level: matritsa.c:304: error: syntax error before '*' token matritsa.c:305: error: syntax error before '*' token matritsa.c: In function `create_card': matritsa.c:312: error: `src_pos' undeclared (first use in this function) matritsa.c:314: error: `dst_pos' undeclared (first use in this function) matritsa.c:318: error: `GnomeCanvasGroup' undeclared (first use in this function) matritsa.c:318: error: `group' undeclared (first use in this function) matritsa.c:329: error: `big_card' undeclared (first use in this function) matritsa.c:336: error: `canvas' undeclared (first use in this function) matritsa.c:352: error: dereferencing pointer to incomplete type matritsa.c:353: error: dereferencing pointer to incomplete type matritsa.c:354: error: `GTK_ANCHOR_CENTER' undeclared (first use in this function) matritsa.c:359: error: `is_movable' undeclared (first use in this function) matritsa.c:361: error: `GtkSignalFunc' undeclared (first use in this function) matritsa.c:361: error: syntax error before "cb_cards_event" matritsa.c:362: error: syntax error before ')' token matritsa.c:364: warning: return makes pointer from integer without a cast matritsa.c: At top level: matritsa.c:367: error: syntax error before '*' token matritsa.c: In function `snap_card': matritsa.c:371: error: `card' undeclared (first use in this function) matritsa.c: In function `create_border_cards': matritsa.c:392: error: `GnomeCanvasGroup' undeclared (first use in this function) matritsa.c:392: error: `root' undeclared (first use in this function) matritsa.c:402: warning: assignment makes pointer from integer without a cast matritsa.c:406: error: `FALSE' undeclared (first use in this function) matritsa.c:416: error: `GtkSignalFunc' undeclared (first use in this function) matritsa.c:416: error: syntax error before "cb_bg_card_event" matritsa.c: In function `get_next_card': matritsa.c:425: error: syntax error before "int" matritsa.c:427: error: `TRUE' undeclared (first use in this function) matritsa.c:429: error: request for member `len' in something not a structure or union matritsa.c: At top level: matritsa.c:433: error: syntax error before '*' token matritsa.c: In function `create_grid_lines': matritsa.c:436: error: `GnomeCanvasGroup' undeclared (first use in this function) matritsa.c:436: error: `root' undeclared (first use in this function) matritsa.c:436: error: `canvas' undeclared (first use in this function) matritsa.c:446: warning: assignment makes pointer from integer without a cast matritsa.c:451: error: `GnomeCanvasPoints' undeclared (first use in this function) matritsa.c:451: error: `points' undeclared (first use in this function) matritsa.c: At top level: matritsa.c:494: error: syntax error before '*' token matritsa.c: In function `create_widgets': matritsa.c:509: error: `GtkWidget' undeclared (first use in this function) matritsa.c:509: error: `vbox' undeclared (first use in this function) matritsa.c:510: error: `GnomeCanvasGroup' undeclared (first use in this function) matritsa.c:510: error: `root' undeclared (first use in this function) matritsa.c:520: warning: assignment makes pointer from integer without a cast matritsa.c:521: error: `FALSE' undeclared (first use in this function) matritsa.c:521: error: `TRUE' undeclared (first use in this function) matritsa.c:532: error: `GNOME_PREFERENCES_USER' undeclared (first use in this function) matritsa.c:532: warning: assignment makes pointer from integer without a cast matritsa.c:544: warning: assignment makes pointer from integer without a cast matritsa.c: At top level: /usr/include/gdk_imlib_types.h:47: error: storage size of `shape_color' isn't known /usr/include/gdk_imlib_types.h:48: error: storage size of `border' isn't known /usr/include/gdk_imlib_types.h:52: error: storage size of `mod' isn't known /usr/include/gdk_imlib_types.h:52: error: storage size of `rmod' isn't known /usr/include/gdk_imlib_types.h:52: error: storage size of `gmod' isn't known /usr/include/gdk_imlib_types.h:52: error: storage size of `bmod' isn't known make[1]: *** [matritsa.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from matritsa_files.c:22: matritsa.h:24:18: glib.h: No such file or directory matritsa.h:25:21: gtk/gtk.h: No such file or directory In file included from /usr/include/gdk_imlib.h:5, from matritsa.h:26, from matritsa_files.c:22: /usr/include/gdk_imlib_types.h:1:21: gdk/gdk.h: No such file or directory In file included from /usr/include/gdk_imlib.h:5, from matritsa.h:26, from matritsa_files.c:22: /usr/include/gdk_imlib_types.h:17: error: syntax error before "gint" /usr/include/gdk_imlib_types.h:19: error: syntax error before '}' token /usr/include/gdk_imlib_types.h:23: error: syntax error before "gint" /usr/include/gdk_imlib_types.h:29: error: syntax error before "gint" /usr/include/gdk_imlib_types.h:31: error: syntax error before "contrast" /usr/include/gdk_imlib_types.h:41: error: syntax error before "gint" /usr/include/gdk_imlib_types.h:44: error: syntax error before '*' token /usr/include/gdk_imlib_types.h:46: error: syntax error before "width" /usr/include/gdk_imlib_types.h:49: error: syntax error before '*' token /usr/include/gdk_imlib_types.h:50: error: syntax error before '*' token /usr/include/gdk_imlib_types.h:51: error: syntax error before "cache" /usr/include/gdk_imlib_types.h:55: error: syntax error before '*' token /usr/include/gdk_imlib_types.h:56: error: syntax error before '}' token In file included from matritsa.h:26, from matritsa_files.c:22: /usr/include/gdk_imlib.h:14: error: syntax error before "gdk_imlib_get_render_type" /usr/include/gdk_imlib.h:15: error: syntax error before "rend_type" /usr/include/gdk_imlib.h:16: error: syntax error before "gdk_imlib_load_colors" /usr/include/gdk_imlib.h:19: error: syntax error before "gdk_imlib_best_color_match" /usr/include/gdk_imlib.h:19: error: syntax error before '*' token /usr/include/gdk_imlib.h:20: error: syntax error before '*' token /usr/include/gdk_imlib.h:21: error: syntax error before "gdk_imlib_render" /usr/include/gdk_imlib.h:21: error: syntax error before "gint" /usr/include/gdk_imlib.h:22: error: syntax error before '*' token /usr/include/gdk_imlib.h:23: error: syntax error before '*' token /usr/include/gdk_imlib.h:24: error: syntax error before '*' token /usr/include/gdk_imlib.h:25: error: syntax error before '*' token /usr/include/gdk_imlib.h:29: error: syntax error before '*' token /usr/include/gdk_imlib.h:30: error: syntax error before '*' token /usr/include/gdk_imlib.h:35: error: syntax error before "gdk_imlib_save_image_to_eim" /usr/include/gdk_imlib.h:36: error: syntax error before "gdk_imlib_add_image_to_eim" /usr/include/gdk_imlib.h:37: error: syntax error before "gdk_imlib_save_image_to_ppm" /usr/include/gdk_imlib.h:38: error: syntax error before "gdk_imlib_load_file_to_pixmap" /usr/include/gdk_imlib.h:38: error: syntax error before "GdkPixmap" /usr/include/gdk_imlib.h:55: error: syntax error before "GdkWindow" /usr/include/gdk_imlib.h:56: error: syntax error before "GdkWindow" /usr/include/gdk_imlib.h:57: error: syntax error before "GdkWindow" /usr/include/gdk_imlib.h:60: error: syntax error before "gint" /usr/include/gdk_imlib.h:61: error: syntax error before "gint" /usr/include/gdk_imlib.h:64: error: syntax error before "gdk_imlib_get_fallback" /usr/include/gdk_imlib.h:65: error: syntax error before "fallback" /usr/include/gdk_imlib.h:66: error: syntax error before '*' token /usr/include/gdk_imlib.h:67: error: syntax error before '*' token /usr/include/gdk_imlib.h:68: error: syntax error before '*' token /usr/include/gdk_imlib.h:70: error: syntax error before "gdk_imlib_data_to_pixmap" /usr/include/gdk_imlib.h:70: error: syntax error before "GdkPixmap" /usr/include/gdk_imlib.h:71: error: syntax error before "gint" /usr/include/gdk_imlib.h:72: error: syntax error before "gdk_imlib_save_image" /usr/include/gdk_imlib.h:74: error: syntax error before '*' token In file included from matritsa_files.c:22: matritsa.h:27:19: gnome.h: No such file or directory In file included from matritsa_files.c:22: matritsa.h:30: error: syntax error before '*' token matritsa.h:30: warning: data definition has no type or storage class matritsa.h:31: error: syntax error before "matritsa_columns" matritsa.h:31: warning: data definition has no type or storage class matritsa.h:32: error: syntax error before "matritsa_rows" matritsa.h:32: warning: data definition has no type or storage class matritsa.h:33: error: syntax error before '*' token matritsa_files.c:23: error: syntax error before '*' token matritsa_files.c:23: error: `NULL' undeclared here (not in a function) matritsa_files.c:23: warning: data definition has no type or storage class matritsa_files.c:28: error: syntax error before '*' token matritsa_files.c: In function `open_ok_cb': matritsa_files.c:32: warning: assignment makes pointer from integer without a cast matritsa_files.c:36: warning: passing arg 1 of `create_big_card' from incompatible pointer type matritsa_files.c:38: error: `NULL' undeclared (first use in this function) matritsa_files.c:38: error: (Each undeclared identifier is reported only once matritsa_files.c:38: error: for each function it appears in.) matritsa_files.c: At top level: matritsa_files.c:47: error: syntax error before '*' token matritsa_files.c:53: error: syntax error before '*' token matritsa_files.c: In function `do_open_dialog': matritsa_files.c:56: error: `GtkWidget' undeclared (first use in this function) matritsa_files.c:56: error: `fsel' undeclared (first use in this function) matritsa_files.c:61: error: invalid type argument of `->' matritsa_files.c:64: error: invalid type argument of `->' matritsa_files.c: At top level: /usr/include/gdk_imlib_types.h:47: error: storage size of `shape_color' isn't known /usr/include/gdk_imlib_types.h:48: error: storage size of `border' isn't known /usr/include/gdk_imlib_types.h:52: error: storage size of `mod' isn't known /usr/include/gdk_imlib_types.h:52: error: storage size of `rmod' isn't known /usr/include/gdk_imlib_types.h:52: error: storage size of `gmod' isn't known /usr/include/gdk_imlib_types.h:52: error: storage size of `bmod' isn't known make[1]: *** [matritsa_files.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/matritsa-0.1.2/work/matritsa-0.1.2' make: *** [all] Error 2 !!! ERROR: games-kids/matritsa-0.1.2 failed. !!! Function games_src_compile, Line 143, Exitcode 2 !!! emake failed
It works for you if you merge gnome-base/gnome-libs first?
after posting the answer to my question, please reopen the bug, thanks.
no reply. closing.
clean up bug list after bugzilla update