[Users] Latest git version build failure - errors shown in the message body

Brian Morrison bdm at fenrir.org.uk
Fri Feb 24 13:44:01 UTC 2023


Running my normal build process, git46 is failing whereas git44 built
normally.

These are the webkit2gtk versions on Fedora 37:

webkit2gtk4.0-2.38.5-1.fc37.x86_64
webkit2gtk4.1-2.38.5-1.fc37.x86_64
webkit2gtk5.0-2.38.5-1.fc37.x86_64
webkit2gtk5.0-devel-2.38.5-1.fc37.x86_64
webkit2gtk4.1-devel-2.38.5-1.fc37.x86_64
webkit2gtk4.0-devel-2.38.5-1.fc37.x86_64

not sure what the libsoup-gnome errors are about:

In file included from
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome.h:11, from
./fancy_viewer.h:55, from fancy_viewer.c:30:
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:21:25:
error: field 'parent' has incomplete type 21 |         SoupCookieJarDB
parent; |                         ^~~~~~
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:32:1:
error: unknown type name 'SOUP_AVAILABLE_IN_2_26'; did you mean
'SOUP_AVAILABLE_IN_3_2'? 32 | SOUP_AVAILABLE_IN_2_26 |
^~~~~~~~~~~~~~~~~~~~~~ | SOUP_AVAILABLE_IN_3_2
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h: In
function 'SOUP_DEPRECATED_IN_2_42_FOR':
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:36:1:
error: unknown type name 'SOUP_AVAILABLE_IN_2_26'; did you mean
'SOUP_AVAILABLE_IN_3_2'? 36 | SOUP_AVAILABLE_IN_2_26 |
^~~~~~~~~~~~~~~~~~~~~~ | SOUP_AVAILABLE_IN_3_2
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:38:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SoupCookieJar' 38 | SoupCookieJar *soup_cookie_jar_sqlite_new (const
char *filename, | ^~~~~~~~~~~~~ In file included from
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome.h:12:
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:13:1:
error: unknown type name 'SOUP_AVAILABLE_IN_2_26'; did you mean
'SOUP_AVAILABLE_IN_3_2'? 13 | SOUP_AVAILABLE_IN_2_26 |
^~~~~~~~~~~~~~~~~~~~~~ | SOUP_AVAILABLE_IN_3_2
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:14:40:
error: expected ';', ',' or ')' before ':' token 14 |
SOUP_DEPRECATED_IN_2_42_FOR(SoupSession:proxy-resolver) |
                         ^
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:18:1:
error: unknown type name 'SOUP_AVAILABLE_IN_2_26'; did you mean
'SOUP_AVAILABLE_IN_3_2'? 18 | SOUP_AVAILABLE_IN_2_26 |
^~~~~~~~~~~~~~~~~~~~~~ | SOUP_AVAILABLE_IN_3_2
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:20:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GType'
20 | GType soup_gnome_features_2_26_get_type (void); | ^~~~~
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:23:1:
error: unknown type name 'SOUP_AVAILABLE_IN_2_28'; did you mean
'SOUP_AVAILABLE_IN_3_2'? 23 | SOUP_AVAILABLE_IN_2_28 |
^~~~~~~~~~~~~~~~~~~~~~ | SOUP_AVAILABLE_IN_3_2
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:25:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GType'
25 | GType soup_password_manager_gnome_get_type (void); | ^~~~~
./fancy_viewer.h:62:3: error: storage class specified for parameter
'NavigationMode' 62 | } NavigationMode; |   ^~~~~~~~~~~~~~
./fancy_viewer.h:64:29: error: storage class specified for parameter
'FancyViewer' 64 | typedef struct _FancyViewer FancyViewer; |
                  ^~~~~~~~~~~ ./fancy_viewer.h:65:1: warning: empty
declaration 65 | struct _FancyViewer | ^~~~~~
In file included from fancy_viewer.c:31:
./fancy_prefs.h:25:28: error: storage class specified for parameter
'FancyPrefs' 25 | typedef struct _FancyPrefs FancyPrefs;
      |                            ^~~~~~~~~~
./fancy_prefs.h:27:1: warning: empty declaration
   27 | struct _FancyPrefs
      | ^~~~~~
./fancy_prefs.h:46:19: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fancy_prefs' 46 | extern FancyPrefs fancy_prefs;
      |                   ^~~~~~~~~~~
In file included from fancy_viewer.c:32:
../../../src/alertpanel.h:34:3: error: storage class specified for
parameter 'AlertValue' 34 | } AlertValue;
      |   ^~~~~~~~~~
../../../src/alertpanel.h:42:3: error: storage class specified for
parameter 'AlertType' 42 | } AlertType;
      |   ^~~~~~~~~
../../../src/alertpanel.h:50:3: error: storage class specified for
parameter 'AlertFocus' 50 | } AlertFocus;
      |   ^~~~~~~~~~
../../../src/alertpanel.h:54:1: error: expected declaration specifiers
before 'AlertValue' 54 | AlertValue alertpanel_full(const gchar *title,
const gchar *message, | ^~~~~~~~~~
../../../src/alertpanel.h:66:1: error: expected declaration specifiers
before 'AlertValue' 66 | AlertValue alertpanel   (const gchar    *title,
      | ^~~~~~~~~~
../../../src/alertpanel.h:76:1: error: expected declaration specifiers
before 'AlertValue' 76 | AlertValue alertpanel_with_widget(const gchar
*title, | ^~~~~~~~~~
In file included from fancy_viewer.c:36:
../../../src/printing.h:29:41: error: storage class specified for
parameter 'PrintData' 29 | typedef struct _PrintData
PrintData; |                                         ^~~~~~~~~
../../../src/printing.h:38:3: error: storage class specified for
parameter 'PrintRenderer' 38 | } PrintRenderer;
      |   ^~~~~~~~~~~~~
../../../src/printing.h:41:45: error: expected declaration specifiers
or '...' before 'PrintRenderer' 41 | void printing_print_full(GtkWindow
*parent, PrintRenderer *renderer, gpointer renderer_data, |
                                ^~~~~~~~~~~~~
../../../src/printing.h:44:37: error: expected declaration specifiers
or '...' before 'PrintData' 44 | gpointer
printing_get_renderer_data(PrintData *print_data); |
                 ^~~~~~~~~ ../../../src/printing.h:45:28: error:
expected declaration specifiers or '...' before 'PrintData' 45 |
gdouble  printing_get_zoom(PrintData *print_data); |
        ^~~~~~~~~ ../../../src/printing.h:46:31: error: expected
declaration specifiers or '...' before 'PrintData' 46 | void
printing_set_n_pages(PrintData *print_data, gint n_pages); |
                   ^~~~~~~~~ fancy_viewer.c:38:13: error: storage class
specified for parameter 'load_changed_cb' 38 | static void
load_changed_cb(WebKitWebView *view, |             ^~~~~~~~~~~~~~~
fancy_viewer.c:41:13: error: storage class specified for parameter
'mouse_target_changed_cb' 41 | static void mouse_target_changed_cb
(WebKitWebView *view, |             ^~~~~~~~~~~~~~~~~~~~~~~
fancy_viewer.c:48:58: error: expected declaration specifiers or '...'
before 'FancyViewer' 48 | load_progress_cb(WebKitWebView *view,
GParamSpec *param, FancyViewer *viewer); |
                            ^~~~~~~~~~~ fancy_viewer.c:50:26: error:
storage class specified for parameter 'fancy_viewer_factory' 50 |
static MimeViewerFactory fancy_viewer_factory; |
  ^~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:59:42: error: expected
declaration specifiers or '...' before 'FancyViewer' 59 |
viewer_menu_handler(GtkWidget *menuitem, FancyViewer *viewer); |
                                  ^~~~~~~~~~~ fancy_viewer.c:62:65:
error: expected declaration specifiers or '...' before 'FancyViewer' 62
|                                                                 FancyViewer
| *viewer); |
|       ^~~~~~~~~~~ fancy_viewer.c:63:57: error: expected declaration
| specifiers or '...' before 'FancyViewer'
   63 | static void zoom_in_cb(GtkWidget *widget, GdkEvent *ev,
FancyViewer *viewer); |
        ^~~~~~~~~~~ fancy_viewer.c:64:58: error: expected declaration
specifiers or '...' before 'FancyViewer' 64 | static void
zoom_out_cb(GtkWidget *widget, GdkEvent *ev, FancyViewer *viewer); |
                                                      ^~~~~~~~~~~
fancy_viewer.c:65:71: error: expected declaration specifiers or '...'
before 'FancyViewer' 65 | static gboolean fancy_prefs_cb(GtkWidget
*widget, GdkEventButton *ev, FancyViewer *viewer); |
                                                   ^~~~~~~~~~~
fancy_viewer.c:66:58: error: expected declaration specifiers or '...'
before 'FancyViewer' 66 | static void zoom_100_cb(GtkWidget *widget,
GdkEvent *ev, FancyViewer *viewer); |
                       ^~~~~~~~~~~ fancy_viewer.c:67:51: error:
expected declaration specifiers or '...' before 'FancyViewer' 67 |
static void open_in_browser_cb(GtkWidget *widget, FancyViewer *viewer);
|                                                   ^~~~~~~~~~~
| fancy_viewer.c:68:43: error: expected declaration specifiers or '...'
| before 'FancyViewer' 68 | static void
| fancy_create_popup_prefs_menu(FancyViewer *viewer); |
|                           ^~~~~~~~~~~
fancy_viewer.c:69:31: error: expected declaration specifiers or '...'
before 'FancyViewer' 69 | static void fancy_show_notice(FancyViewer
*viewer, const gchar *message); |
^~~~~~~~~~~ fancy_viewer.c:70:15: error: storage class specified for
parameter 'download_file_curl_write_cb' 70 | static size_t
download_file_curl_write_cb(void *buffer, size_t size, |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:72:14: error: storage class
specified for parameter 'download_file_curl' 72 | static void
*download_file_curl (void *data); |              ^~~~~~~~~~~~~~~~~~
fancy_viewer.c:73:49: error: expected declaration specifiers or '...'
before 'FancyViewer' 73 | static void download_file_cb(GtkWidget
*widget, FancyViewer *viewer); |
         ^~~~~~~~~~~ fancy_viewer.c:74:36: error: expected declaration
specifiers or '...' before 'FancyViewer' 74 | static gboolean
fancy_set_contents(FancyViewer *viewer, gboolean use_defaults); |
                             ^~~~~~~~~~~ fancy_viewer.c:78:1: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 78 | {
      | ^
fancy_viewer.c:85:31: error: expected declaration specifiers or '...'
before 'FancyViewer' 85 | static void fancy_apply_prefs(FancyViewer
*viewer) |                               ^~~~~~~~~~~
fancy_viewer.c:144:70: error: expected declaration specifiers or '...'
before 'FancyViewer' 144 | static void
fancy_auto_load_images_activated(GtkCheckMenuItem *item, FancyViewer
*viewer) { |
          ^~~~~~~~~~~ fancy_viewer.c:150:75: error: expected
declaration specifiers or '...' before 'FancyViewer' 150 | static void
fancy_enable_remote_content_activated(GtkCheckMenuItem *item,
FancyViewer *viewer) { |
                           ^~~~~~~~~~~ fancy_viewer.c:156:68: error:
expected declaration specifiers or '...' before 'FancyViewer' 156 |
static void fancy_enable_scripts_activated(GtkCheckMenuItem *item,
FancyViewer *viewer) { |
                    ^~~~~~~~~~~ fancy_viewer.c:162:68: error: expected
declaration specifiers or '...' before 'FancyViewer' 162 | static void
fancy_enable_plugins_activated(GtkCheckMenuItem *item, FancyViewer
*viewer) { |
        ^~~~~~~~~~~ fancy_viewer.c:168:65: error: expected declaration
specifiers or '...' before 'FancyViewer' 168 | static void
fancy_enable_java_activated(GtkCheckMenuItem *item, FancyViewer
*viewer) { |
     ^~~~~~~~~~~ fancy_viewer.c:174:67: error: expected declaration
specifiers or '...' before 'FancyViewer' 174 | static void
fancy_open_external_activated(GtkCheckMenuItem *item, FancyViewer
*viewer) { |
       ^~~~~~~~~~~ fancy_viewer.c:179:32: error: expected declaration
specifiers or '...' before 'FancyViewer' 179 | static void
fancy_set_defaults(FancyViewer *viewer) |
 ^~~~~~~~~~~ fancy_viewer.c:258:36: error: expected declaration
specifiers or '...' before 'FancyViewer' 258 | static gboolean
fancy_set_contents(FancyViewer *viewer, gboolean use_defaults) |
                            ^~~~~~~~~~~ fancy_viewer.c:325:1: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 325 |
{ | ^ fancy_viewer.c:329:31: error: expected declaration specifiers or
'...' before 'FancyViewer' 329 | static void
fancy_show_notice(FancyViewer *viewer, const gchar *message) |
                     ^~~~~~~~~~~ fancy_viewer.c:335:1: error: expected
'=', ',', ';', 'asm' or '__attribute__' before '{' token 335 | { | ^
fancy_viewer.c:344:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 344 | { | ^ fancy_viewer.c:353:65:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
token 353 |                                gpointer
user_data) { |
       ^ fancy_viewer.c:363:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 363 | { | ^ fancy_viewer.c:425:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
token 425 | { | ^ fancy_viewer.c:442:1: error: expected '=', ',', ';',
'asm' or '__attribute__' before '{' token 442 | {
      | ^
fancy_viewer.c:454:23: error: expected declaration specifiers or '...'
before 'FancyViewer' 454 |                       FancyViewer
   *viewer) |                       ^~~~~~~~~~~
fancy_viewer.c:491:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 491 | {
      | ^
fancy_viewer.c:522:42: error: expected declaration specifiers or '...'
before 'FancyViewer' 522 |
FancyViewer            *viewer) |
   ^~~~~~~~~~~ fancy_viewer.c:571:71: error: expected declaration
specifiers or '...' before 'FancyViewer' 571 | static gboolean
fancy_prefs_cb(GtkWidget *widget, GdkEventButton *ev, FancyViewer
*viewer) |
         ^~~~~~~~~~~ fancy_viewer.c:581:43: error: expected declaration
specifiers or '...' before 'FancyViewer' 581 | static void
fancy_create_popup_prefs_menu(FancyViewer *viewer) { |
                         ^~~~~~~~~~~ fancy_viewer.c:637:1: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 637 |
{ | ^ fancy_viewer.c:649:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 649 | {
      | ^
fancy_viewer.c:663:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 663 | {
      | ^
fancy_viewer.c:689:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 689 | {
      | ^
fancy_viewer.c:706:30: error: expected declaration specifiers or '...'
before 'FancyViewer' 706 |                              FancyViewer
*viewer) |                              ^~~~~~~~~~~
fancy_viewer.c:730:57: error: expected declaration specifiers or '...'
before 'FancyViewer' 730 |
           FancyViewer *viewer) |
                  ^~~~~~~~~~~ fancy_viewer.c:755:51: error: expected
declaration specifiers or '...' before 'FancyViewer' 755 | static void
open_in_browser_cb(GtkWidget *widget, FancyViewer *viewer) |
                                       ^~~~~~~~~~~
fancy_viewer.c:764:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 764 | { | ^
fancy_viewer.c:774:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 774 | {
      | ^
fancy_viewer.c:806:49: error: expected declaration specifiers or '...'
before 'FancyViewer' 806 | static void download_file_cb(GtkWidget
*widget, FancyViewer *viewer) |
        ^~~~~~~~~~~ fancy_viewer.c:838:46: error: expected declaration
specifiers or '...' before 'FancyViewer' 838 | static void
save_image_cb(GtkWidget *widget, FancyViewer *viewer) |
                             ^~~~~~~~~~~ fancy_viewer.c:843:46: error:
expected declaration specifiers or '...' before 'FancyViewer' 843 |
static void open_image_cb(GtkWidget *widget, FancyViewer *viewer) |
                                         ^~~~~~~~~~~
fancy_viewer.c:848:46: error: expected declaration specifiers or '...'
before 'FancyViewer' 848 | static void copy_image_cb(GtkWidget *widget,
FancyViewer *viewer) |
^~~~~~~~~~~ fancy_viewer.c:852:47: error: expected declaration
specifiers or '...' before 'FancyViewer' 852 | static void
import_feed_cb(GtkWidget *widget, FancyViewer *viewer) |
                               ^~~~~~~~~~~ fancy_viewer.c:857:54:
error: expected declaration specifiers or '...' before 'FancyViewer'
857 | static void viewer_menu_handler(GtkWidget *menuitem, FancyViewer
*viewer) |
^~~~~~~~~~~ fancy_viewer.c:944:1: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '{' token 944 | { | ^ fancy_viewer.c:981:65:
error: expected declaration specifiers or '...' before 'FancyViewer'
981 |
FancyViewer *viewer) |
               ^~~~~~~~~~~ fancy_viewer.c:1057:58: error: expected
declaration specifiers or '...' before 'FancyViewer' 1057 | static void
zoom_100_cb(GtkWidget *widget, GdkEvent *ev, FancyViewer *viewer) |
                                                     ^~~~~~~~~~~
fancy_viewer.c:1063:57: error: expected declaration specifiers or '...'
before 'FancyViewer' 1063 | static void zoom_in_cb(GtkWidget *widget,
GdkEvent *ev, FancyViewer *viewer) |
                     ^~~~~~~~~~~ fancy_viewer.c:1071:58: error:
expected declaration specifiers or '...' before 'FancyViewer' 1071 |
static void zoom_out_cb(GtkWidget *widget, GdkEvent *ev, FancyViewer
*viewer) |
^~~~~~~~~~~ fancy_viewer.c:1084:37: error: expected declaration
specifiers or '...' before 'FancyViewer' 1084 |
            FancyViewer       *viewer) |
     ^~~~~~~~~~~ fancy_viewer.c:1090:1: error: expected '=', ',', ';',
'asm' or '__attribute__' before '{' token 1090 | { | ^
fancy_viewer.c:1247:15: error: storage class specified for parameter
'content_types' 1247 | static gchar *content_types[] = {"text/html",
NULL}; |               ^~~~~~~~~~~~~ fancy_viewer.c:1247:1: error:
NULL}parameter 'content_types' is initialized 1247 | static gchar
NULL}*content_types[] = {"text/html", NULL};
      | ^~~~~~
fancy_viewer.c:1247:34: warning: initialization of 'gchar **' {aka
'char **'} from incompatible pointer type 'char *'
[-Wincompatible-pointer-types] 1247 | static gchar *content_types[] =
{"text/html", NULL}; |                                  ^~~~~~~~~~~
fancy_viewer.c:1247:34: note: (near initialization for 'content_types')
fancy_viewer.c:1247:47: warning: excess elements in scalar initializer
1247 | static gchar *content_types[] = {"text/html", NULL}; |
                                    ^~~~ fancy_viewer.c:1247:47: note:
(near initialization for 'content_types') fancy_viewer.c:1249:26:
error: storage class specified for parameter 'fancy_viewer_factory'
1249 | static MimeViewerFactory fancy_viewer_factory = |
          ^~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:1249:1: error: parameter
'fancy_viewer_factory' is initialized 1249 | static MimeViewerFactory
fancy_viewer_factory = | ^~~~~~
fancy_viewer.c:1249:26: error: redefinition of parameter
'fancy_viewer_factory' 1249 | static MimeViewerFactory
fancy_viewer_factory = |                          ^~~~~~~~~~~~~~~~~~~~
fancy_viewer.c:50:26: note: previous definition of
'fancy_viewer_factory' with type 'MimeViewerFactory' {aka 'struct
_MimeViewerFactory'} 50 | static MimeViewerFactory
fancy_viewer_factory; |                          ^~~~~~~~~~~~~~~~~~~~
fancy_viewer.c:1253:9: error: 'fancy_viewer_create' undeclared (first
use in this function) 1253 |         fancy_viewer_create, |
^~~~~~~~~~~~~~~~~~~ fancy_viewer.c:1253:9: note: each undeclared
identifier is reported only once for each function it appears in
fancy_viewer.c:1257:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 1257 | { | ^
fancy_viewer.c:1300:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 1300 | {
      | ^
fancy_viewer.c:1307:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 1307 | {
      | ^
fancy_viewer.c:1313:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 1313 | {
      | ^
fancy_viewer.c:1323:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 1323 | {
      | ^
fancy_viewer.c:1328:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 1328 | {
      | ^
fancy_viewer.c:1333:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 1333 | {
      | ^
fancy_viewer.c:1338:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token 1338 | {
      | ^
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:33:1:
warning: type of 'soup_cookie_jar_db_get_type' defaults to 'int'
[-Wimplicit-int] 33 |
SOUP_DEPRECATED_IN_2_42_FOR(soup_cookie_jar_db_get_type) |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:1249:26: error: declaration
for parameter 'fancy_viewer_factory' but no such parameter 1249 |
static MimeViewerFactory fancy_viewer_factory = |
   ^~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:1247:15: error: declaration for
parameter 'content_types' but no such parameter 1247 | static gchar
*content_types[] = {"text/html", NULL}; |               ^~~~~~~~~~~~~
fancy_viewer.c:72:14: error: declaration for parameter
'download_file_curl' but no such parameter 72 | static void
*download_file_curl (void *data); |              ^~~~~~~~~~~~~~~~~~
fancy_viewer.c:70:15: error: declaration for parameter
'download_file_curl_write_cb' but no such parameter 70 | static size_t
download_file_curl_write_cb(void *buffer, size_t size, |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:50:26: error: declaration
for parameter 'fancy_viewer_factory' but no such parameter 50 | static
MimeViewerFactory fancy_viewer_factory; |
^~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:41:13: error: declaration for
parameter 'mouse_target_changed_cb' but no such parameter 41 | static
void mouse_target_changed_cb (WebKitWebView *view, |
^~~~~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:38:13: error: declaration for
parameter 'load_changed_cb' but no such parameter 38 | static void
load_changed_cb(WebKitWebView *view, |             ^~~~~~~~~~~~~~~
../../../src/printing.h:49:6: error: declaration for parameter
'printing_store_settings' but no such parameter 49 | void
printing_store_settings(GtkPrintSettings *new_settings); |
^~~~~~~~~~~~~~~~~~~~~~~ ../../../src/printing.h:48:15: error:
declaration for parameter 'printing_get_page_setup' but no such
parameter 48 | GtkPageSetup *printing_get_page_setup(void); |
    ^~~~~~~~~~~~~~~~~~~~~~~ ../../../src/printing.h:47:19: error:
declaration for parameter 'printing_get_settings' but no such parameter
47 | GtkPrintSettings *printing_get_settings(void); |
^~~~~~~~~~~~~~~~~~~~~ ../../../src/printing.h:43:6: error: declaration
for parameter 'printing_page_setup' but no such parameter 43 | void
printing_page_setup(GtkWindow*); |      ^~~~~~~~~~~~~~~~~~~
../../../src/printing.h:40:6: error: declaration for parameter
'printing_print' but no such parameter 40 | void
printing_print(GtkTextView*, GtkWindow*, gint, gint, GtkImage *avatar);
|      ^~~~~~~~~~~~~~ ../../../src/printing.h:38:3: error: declaration
| for parameter 'PrintRenderer' but no such parameter 38 | }
| PrintRenderer;
      |   ^~~~~~~~~~~~~
../../../src/printing.h:29:41: error: parameter 'PrintData' has
incomplete type 29 | typedef struct _PrintData               PrintData;
      |                                         ^~~~~~~~~
../../../src/printing.h:29:41: error: declaration for parameter
'PrintData' but no such parameter In file included from
fancy_viewer.c:33: ../../../src/common/file-utils.h:99:6: error:
declaration for parameter 'str_write_to_file' but no such parameter 99
| gint str_write_to_file          (const gchar    *str, |
| ^~~~~~~~~~~~~~~~~
../../../src/common/file-utils.h:98:7: error: declaration for parameter
'str_open_as_stream' but no such parameter 98 | FILE
*str_open_as_stream        (const gchar    *str); |
^~~~~~~~~~~~~~~~~~ ../../../src/common/file-utils.h:96:7: error:
declaration for parameter 'get_tmpfile_in_dir' but no such parameter 96
| FILE *get_tmpfile_in_dir        (const gchar    *dir, |
| ^~~~~~~~~~~~~~~~~~
../../../src/common/file-utils.h:95:7: error: declaration for parameter
'my_tmpfile' but no such parameter 95 | FILE *my_tmpfile
(void); |       ^~~~~~~~~~
../../../src/common/file-utils.h:93:6: error: declaration for parameter
'change_file_mode_rw' but no such parameter 93 | gint
change_file_mode_rw        (FILE           *fp, |
^~~~~~~~~~~~~~~~~~~ ../../../src/common/file-utils.h:91:6: error:
declaration for parameter 'copy_dir' but no such parameter 91 | gint
copy_dir                   (const gchar    *src, |      ^~~~~~~~
../../../src/common/file-utils.h:89:6: error: declaration for parameter
'rename_force' but no such parameter 89 | gint rename_force
  (const gchar    *oldpath, |      ^~~~~~~~~~~~
../../../src/common/file-utils.h:87:8: error: declaration for parameter
'file_read_stream_to_str_no_recode' but no such parameter 87 | gchar
*file_read_stream_to_str_no_recode(FILE   *fp); |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/common/file-utils.h:86:8: error: declaration for parameter
'file_read_stream_to_str' but no such parameter 86 | gchar
*file_read_stream_to_str  (FILE           *fp); |
^~~~~~~~~~~~~~~~~~~~~~~ ../../../src/common/file-utils.h:85:8: error:
declaration for parameter 'file_read_to_str_no_recode' but no such
parameter 85 | gchar *file_read_to_str_no_recode(const gchar   *file);
|        ^~~~~~~~~~~~~~~~~~~~~~~~~~
| ../../../src/common/file-utils.h:84:8: error: declaration for
| parameter 'file_read_to_str' but no such parameter 84 | gchar
| *file_read_to_str         (const gchar    *file);
      |        ^~~~~~~~~~~~~~~~
../../../src/common/file-utils.h:83:6: error: declaration for parameter
'canonicalize_file_replace' but no such parameter 83 | gint
canonicalize_file_replace  (const gchar    *file); |
^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/common/file-utils.h:81:6: error:
declaration for parameter 'canonicalize_file' but no such parameter 81
| gint canonicalize_file          (const gchar    *src, |
| ^~~~~~~~~~~~~~~~~
../../../src/common/file-utils.h:77:6: error: declaration for parameter
'copy_file_part' but no such parameter 77 | gint copy_file_part
    (FILE           *fp, |      ^~~~~~~~~~~~~~
../../../src/common/file-utils.h:73:6: error: declaration for parameter
'copy_file_part_to_fp' but no such parameter 73 | gint
copy_file_part_to_fp       (FILE           *fp, |
^~~~~~~~~~~~~~~~~~~~ ../../../src/common/file-utils.h:70:6: error:
declaration for parameter 'move_file' but no such parameter 70 | gint
move_file                  (const gchar    *src, |      ^~~~~~~~~
../../../src/common/file-utils.h:67:6: error: declaration for parameter
'copy_file' but no such parameter 67 | gint copy_file
(const gchar    *src, |      ^~~~~~~~~
../../../src/common/file-utils.h:64:6: error: declaration for parameter
'append_file' but no such parameter 64 | gint append_file
 (const gchar    *src, |      ^~~~~~~~~~~
../../../src/common/file-utils.h:63:6: error: declaration for parameter
'file_strip_crs' but no such parameter 63 | gint file_strip_crs
    (const gchar    *file); |      ^~~~~~~~~~~~~~
../../../src/common/file-utils.h:61:5: error: declaration for parameter
'claws_unlink' but no such parameter 61 | int claws_unlink
  (const char     *filename); |     ^~~~~~~~~~~~
../../../src/common/file-utils.h:60:5: error: declaration for parameter
'claws_safe_fclose' but no such parameter 60 | int claws_safe_fclose
       (FILE *fp); |     ^~~~~~~~~~~~~~~~~
../../../src/common/file-utils.h:43:5: error: declaration for parameter
'claws_fclose' but no such parameter 43 | int claws_fclose
  (FILE *fp); |     ^~~~~~~~~~~~
../../../src/common/file-utils.h:41:7: error: declaration for parameter
'claws_fdopen' but no such parameter 41 | FILE *claws_fdopen
  (int fd, |       ^~~~~~~~~~~~
../../../src/common/file-utils.h:39:7: error: declaration for parameter
'claws_fopen' but no such parameter 39 | FILE *claws_fopen
 (const char *file, |       ^~~~~~~~~~~
../../../src/alertpanel.h:94:6: error: declaration for parameter
'alertpanel_error_log' but no such parameter 94 | void
alertpanel_error_log(const gchar   *format, |      ^~~~~~~~~~~~~~~~~~~~
../../../src/alertpanel.h:92:6: error: declaration for parameter
'alertpanel_error' but no such parameter 92 | void alertpanel_error
(const gchar    *format, |      ^~~~~~~~~~~~~~~~
../../../src/alertpanel.h:90:6: error: declaration for parameter
'alertpanel_warning' but no such parameter 90 | void alertpanel_warning
(const gchar    *format, |      ^~~~~~~~~~~~~~~~~~
../../../src/alertpanel.h:88:6: error: declaration for parameter
'alertpanel_notice' but no such parameter 88 | void alertpanel_notice
(const gchar    *format, |      ^~~~~~~~~~~~~~~~~
../../../src/alertpanel.h:50:3: error: declaration for parameter
'AlertFocus' but no such parameter 50 | } AlertFocus;
      |   ^~~~~~~~~~
../../../src/alertpanel.h:42:3: error: declaration for parameter
'AlertType' but no such parameter 42 | } AlertType;
      |   ^~~~~~~~~
../../../src/alertpanel.h:34:3: error: declaration for parameter
'AlertValue' but no such parameter 34 | } AlertValue;
      |   ^~~~~~~~~~
./fancy_prefs.h:49:6: error: declaration for parameter
'fancy_prefs_done' but no such parameter 49 | void
fancy_prefs_done(void); |      ^~~~~~~~~~~~~~~~
./fancy_prefs.h:48:6: error: declaration for parameter
'fancy_prefs_init' but no such parameter 48 | void
fancy_prefs_init(void); |      ^~~~~~~~~~~~~~~~
./fancy_prefs.h:25:28: error: declaration for parameter 'FancyPrefs'
but no such parameter 25 | typedef struct _FancyPrefs FancyPrefs;
      |                            ^~~~~~~~~~
./fancy_viewer.h:64:29: error: declaration for parameter 'FancyViewer'
but no such parameter 64 | typedef struct _FancyViewer FancyViewer;
      |                             ^~~~~~~~~~~
./fancy_viewer.h:62:3: error: declaration for parameter
'NavigationMode' but no such parameter 62 | } NavigationMode;
      |   ^~~~~~~~~~~~~~
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:34:7:
error: declaration for parameter 'soup_cookie_jar_sqlite_get_type' but
no such parameter 34 | GType soup_cookie_jar_sqlite_get_type (void); |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fancy_viewer.c:1345: error:
expected '{' at end of input fancy_viewer.c:1345: warning: control
reaches end of non-void function [-Wreturn-type] make[5]: ***
[Makefile:719: fancy_la-fancy_viewer.lo] Error 1 make[5]: *** Waiting
for unfinished jobs.... make[5]: Leaving directory
'/home/bdm/rpmbuild/BUILD/claws-mail-4.1.1git46/src/plugins/fancy'
make[4]: *** [Makefile:545: all-recursive] Error 1 make[4]: Leaving
directory '/home/bdm/rpmbuild/BUILD/claws-mail-4.1.1git46/src/plugins'
make[3]: *** [Makefile:1663: all-recursive] Error 1 make[3]: Leaving
directory '/home/bdm/rpmbuild/BUILD/claws-mail-4.1.1git46/src' make[2]:
*** [Makefile:1342: all] Error 2 make[2]: Leaving directory
'/home/bdm/rpmbuild/BUILD/claws-mail-4.1.1git46/src' make[1]: ***
[Makefile:799: all-recursive] Error 1 make[1]: Leaving directory
'/home/bdm/rpmbuild/BUILD/claws-mail-4.1.1git46' make: ***
[Makefile:573: all] Error 2 error: Bad exit status from
/home/bdm/rpmbuild/tmp/rpm-tmp.LOXGmC (%build)

RPM build errors:
    Bad exit status from /home/bdm/rpmbuild/tmp/rpm-tmp.LOXGmC (%build)


-- 

Brian Morrison

                "I am not young enough to know everything"
                                                          Oscar Wilde


More information about the Users mailing list