[From nobody Tue Jun 30 03:35:07 2026
Received: (at submit) by bugs.debian.org; 19 Sep 2025 07:23:48 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.3 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 22; hammy, 150; neutral, 238; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;lucas@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47226)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;lucas@debian.org&gt;) id 1uzVTA-00EwYw-27
 for submit@bugs.debian.org; Fri, 19 Sep 2025 07:23:48 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=Cs+F8+N/YlmHDUshcJHP6Gu+FneQIi/K3LOsJzx2beA=; b=MSst8TzkKPkI2DdE/McWWN7jtg
 3cJ4U1oOdZgqerfj2VO3BZ7haqQP6qQIA4RO/OGpFOcluDyFN8YeWKPTAzJvf1hOliCU+WH/o+0gI
 vGG4aVpiZxcuK9CFLNdN9/14Ac7dBnYHdPXdyjmZ0SzbYIjE3DAqTVeLH+dEJJ6acF4IMdTLHoQGy
 dcaxfPtJbF4NAHC1aY8+TTJ9r/dCo/G2cavqE3pZK7GY2X7vhvCOL7xw+SYMz6pdefNJjN1ixtMYv
 SO/9gk7RuqSp3Pp+/jJNnesKtR9eLl7/T8fnmEnP86wBcc5T0NBshWrtodE/X4YlLCGPgHmM+8Mf2
 UZT1816g==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1uzVT8-00F86n-Cg
 for submit@bugs.debian.org; Fri, 19 Sep 2025 07:23:47 +0000
Received: from [127.0.0.1] (helo=grub.nussbaum.fr)
 by xanadu.blop.info with smtp (Exim 4.98.2)
 (envelope-from &lt;lucas@debian.org&gt;) id 1uzVT7-000000003Ji-0FAw
 for submit@bugs.debian.org; Fri, 19 Sep 2025 09:23:45 +0200
Received: (nullmailer pid 127135 invoked by uid 1000);
 Fri, 19 Sep 2025 07:09:15 -0000
Date: Fri, 19 Sep 2025 09:09:15 +0200
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: ruby-eb: FTBFS: eb.c:646:10: =?utf-8?Q?err?=
 =?utf-8?Q?or=3A_too_many_arguments_to_function_=E2=80=98funct=E2=80=99?=
 =?utf-8?Q?=3B?= expected 0, have 2
Message-ID: &lt;aM0BmwHk6tRSr8aU@grub.nussbaum.fr&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: ruby-eb
Version: 2.6-4.1
Severity: serious
Justification: FTBFS
Tags: forky sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20250918 ftbfs-forky

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

The full build log is available from:
http://qa-logs.debian.net/2025/09/18/ruby-eb_2.6-4.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250918;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&amp;merged=ign&amp;fnewerval=7&amp;flastmodval=7&amp;fusertag=only&amp;fusertagtag=ftbfs-20250918&amp;fusertaguser=lucas@debian.org&amp;allbugs=1&amp;cseverity=1&amp;ctags=1&amp;caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

-- 
Relevant part of the build log (hopefully):
&gt; gcc -fdebug-prefix-map=/build/reproducible-path/ruby-eb-2.6=. -I. -I/usr/include/x86_64-linux-gnu/ruby-3.3.0 -I/usr/include/ruby-3.3.0/ruby/backward -I/usr/include/ruby-3.3.0 -I. -DHAVE_RB_BLOCK_PROC -DHAVE_EB_BITMAP_TO_PNG -DHAVE_EB_SYSDEFS_H -DHAVE_TYPE_RB_ENCODING -DHAVE_EB_PTHREAD_ENABLED -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC  -o eb.o -c eb.c
&gt; eb.c: In function ‘easy_search’:
&gt; eb.c:646:10: error: too many arguments to function ‘funct’; expected 0, have 2
&gt;   646 |     r = (*funct) (eb, word);
&gt;       |         ~^~~~~~~  ~~
&gt; eb.c: In function ‘reb_searchword’:
&gt; eb.c:660:58: error: passing argument 5 of ‘easy_search’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;   660 |     return easy_search(argc, argv, obj, SEARCHTYPE_WORD, eb_search_word);
&gt;       |                                                          ^~~~~~~~~~~~~~
&gt;       |                                                          |
&gt;       |                                                          EB_Error_Code (*)(EB_Book *, const char *) {aka int (*)(struct EB_Book_Struct *, const char *)}
&gt; eb.c:615:28: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Book *, const char *)’ {aka ‘int (*)(struct EB_Book_Struct *, const char *)’}
&gt;   615 |             EB_Error_Code(*funct) ())
&gt;       |             ~~~~~~~~~~~~~~~^~~~~~~~~
&gt; In file included from eb.c:31:
&gt; /usr/include/eb/eb.h:145:15: note: ‘eb_search_word’ declared here
&gt;   145 | EB_Error_Code eb_search_word(EB_Book *book, const char *input_word);
&gt;       |               ^~~~~~~~~~~~~~
&gt; eb.c: In function ‘reb_exactsearchword’:
&gt; eb.c:666:58: error: passing argument 5 of ‘easy_search’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;   666 |     return easy_search(argc, argv, obj, SEARCHTYPE_WORD, eb_search_exactword);
&gt;       |                                                          ^~~~~~~~~~~~~~~~~~~
&gt;       |                                                          |
&gt;       |                                                          EB_Error_Code (*)(EB_Book *, const char *) {aka int (*)(struct EB_Book_Struct *, const char *)}
&gt; eb.c:615:28: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Book *, const char *)’ {aka ‘int (*)(struct EB_Book_Struct *, const char *)’}
&gt;   615 |             EB_Error_Code(*funct) ())
&gt;       |             ~~~~~~~~~~~~~~~^~~~~~~~~
&gt; /usr/include/eb/eb.h:76:15: note: ‘eb_search_exactword’ declared here
&gt;    76 | EB_Error_Code eb_search_exactword(EB_Book *book, const char *input_word);
&gt;       |               ^~~~~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘reb_endsearchword’:
&gt; eb.c:671:58: error: passing argument 5 of ‘easy_search’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;   671 |     return easy_search(argc, argv, obj, SEARCHTYPE_WORD, eb_search_endword);
&gt;       |                                                          ^~~~~~~~~~~~~~~~~
&gt;       |                                                          |
&gt;       |                                                          EB_Error_Code (*)(EB_Book *, const char *) {aka int (*)(struct EB_Book_Struct *, const char *)}
&gt; eb.c:615:28: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Book *, const char *)’ {aka ‘int (*)(struct EB_Book_Struct *, const char *)’}
&gt;   615 |             EB_Error_Code(*funct) ())
&gt;       |             ~~~~~~~~~~~~~~~^~~~~~~~~
&gt; /usr/include/eb/eb.h:72:15: note: ‘eb_search_endword’ declared here
&gt;    72 | EB_Error_Code eb_search_endword(EB_Book *book, const char *input_word);
&gt;       |               ^~~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘reb_searchkeyword’:
&gt; eb.c:677:62: error: passing argument 5 of ‘easy_search’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;   677 |     return easy_search(argc, argv, obj, SEARCHTYPE_WORDLIST, eb_search_keyword);
&gt;       |                                                              ^~~~~~~~~~~~~~~~~
&gt;       |                                                              |
&gt;       |                                                              EB_Error_Code (*)(EB_Book *, const char * const*) {aka int (*)(struct EB_Book_Struct *, const char * const*)}
&gt; eb.c:615:28: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Book *, const char * const*)’ {aka ‘int (*)(struct EB_Book_Struct *, const char * const*)’}
&gt;   615 |             EB_Error_Code(*funct) ())
&gt;       |             ~~~~~~~~~~~~~~~^~~~~~~~~
&gt; /usr/include/eb/eb.h:83:15: note: ‘eb_search_keyword’ declared here
&gt;    83 | EB_Error_Code eb_search_keyword(EB_Book *book,
&gt;       |               ^~~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘position_search’:
&gt; eb.c:807:10: error: too many arguments to function ‘funct’; expected 0, have 2
&gt;   807 |     r = (*funct) (eb, word);
&gt;       |         ~^~~~~~~  ~~
&gt; eb.c: In function ‘reb_exactsearchword2’:
&gt; eb.c:819:62: error: passing argument 5 of ‘position_search’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;   819 |     return position_search(argc, argv, obj, SEARCHTYPE_WORD, eb_search_exactword);
&gt;       |                                                              ^~~~~~~~~~~~~~~~~~~
&gt;       |                                                              |
&gt;       |                                                              EB_Error_Code (*)(EB_Book *, const char *) {aka int (*)(struct EB_Book_Struct *, const char *)}
&gt; eb.c:777:32: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Book *, const char *)’ {aka ‘int (*)(struct EB_Book_Struct *, const char *)’}
&gt;   777 |                 EB_Error_Code(*funct) ())
&gt;       |                 ~~~~~~~~~~~~~~~^~~~~~~~~
&gt; /usr/include/eb/eb.h:76:15: note: ‘eb_search_exactword’ declared here
&gt;    76 | EB_Error_Code eb_search_exactword(EB_Book *book, const char *input_word);
&gt;       |               ^~~~~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘reb_searchword2’:
&gt; eb.c:825:62: error: passing argument 5 of ‘position_search’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;   825 |     return position_search(argc, argv, obj, SEARCHTYPE_WORD, eb_search_word);
&gt;       |                                                              ^~~~~~~~~~~~~~
&gt;       |                                                              |
&gt;       |                                                              EB_Error_Code (*)(EB_Book *, const char *) {aka int (*)(struct EB_Book_Struct *, const char *)}
&gt; eb.c:777:32: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Book *, const char *)’ {aka ‘int (*)(struct EB_Book_Struct *, const char *)’}
&gt;   777 |                 EB_Error_Code(*funct) ())
&gt;       |                 ~~~~~~~~~~~~~~~^~~~~~~~~
&gt; /usr/include/eb/eb.h:145:15: note: ‘eb_search_word’ declared here
&gt;   145 | EB_Error_Code eb_search_word(EB_Book *book, const char *input_word);
&gt;       |               ^~~~~~~~~~~~~~
&gt; eb.c: In function ‘reb_endsearchword2’:
&gt; eb.c:830:62: error: passing argument 5 of ‘position_search’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;   830 |     return position_search(argc, argv, obj, SEARCHTYPE_WORD, eb_search_endword);
&gt;       |                                                              ^~~~~~~~~~~~~~~~~
&gt;       |                                                              |
&gt;       |                                                              EB_Error_Code (*)(EB_Book *, const char *) {aka int (*)(struct EB_Book_Struct *, const char *)}
&gt; eb.c:777:32: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Book *, const char *)’ {aka ‘int (*)(struct EB_Book_Struct *, const char *)’}
&gt;   777 |                 EB_Error_Code(*funct) ())
&gt;       |                 ~~~~~~~~~~~~~~~^~~~~~~~~
&gt; /usr/include/eb/eb.h:72:15: note: ‘eb_search_endword’ declared here
&gt;    72 | EB_Error_Code eb_search_endword(EB_Book *book, const char *input_word);
&gt;       |               ^~~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘reb_searchkeyword2’:
&gt; eb.c:835:66: error: passing argument 5 of ‘position_search’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;   835 |     return position_search(argc, argv, obj, SEARCHTYPE_WORDLIST, eb_search_keyword);
&gt;       |                                                                  ^~~~~~~~~~~~~~~~~
&gt;       |                                                                  |
&gt;       |                                                                  EB_Error_Code (*)(EB_Book *, const char * const*) {aka int (*)(struct EB_Book_Struct *, const char * const*)}
&gt; eb.c:777:32: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Book *, const char * const*)’ {aka ‘int (*)(struct EB_Book_Struct *, const char * const*)’}
&gt;   777 |                 EB_Error_Code(*funct) ())
&gt;       |                 ~~~~~~~~~~~~~~~^~~~~~~~~
&gt; /usr/include/eb/eb.h:83:15: note: ‘eb_search_keyword’ declared here
&gt;    83 | EB_Error_Code eb_search_keyword(EB_Book *book,
&gt;       |               ^~~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘font2bitmapformat’:
&gt; eb.c:1370:6: error: too many arguments to function ‘conv_func’; expected 0, have 5
&gt;  1370 |     (*conv_func) (font-&gt;bitmap, width, height, buffer, &amp;size);
&gt;       |     ~^~~~~~~~~~~  ~~~~~~~~~~~~
&gt; eb.c: In function ‘rebfont_toxbm’:
&gt; eb.c:1381:36: error: passing argument 2 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1381 |     return font2bitmapformat(font, eb_wide_font_xbm_size,
&gt;       |                                    ^~~~~~~~~~~~~~~~~~~~~
&gt;       |                                    |
&gt;       |                                    EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1325:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1325 |                   EB_Error_Code(*w_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; In file included from eb.c:35:
&gt; /usr/include/eb/font.h:143:15: note: ‘eb_wide_font_xbm_size’ declared here
&gt;   143 | EB_Error_Code eb_wide_font_xbm_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1382:30: error: passing argument 3 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1382 |                              eb_narrow_font_xbm_size,
&gt;       |                              ^~~~~~~~~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1326:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1326 |                   EB_Error_Code(*n_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:138:15: note: ‘eb_narrow_font_xbm_size’ declared here
&gt;   138 | EB_Error_Code eb_narrow_font_xbm_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1383:30: error: passing argument 4 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1383 |                              eb_bitmap_to_xbm);
&gt;       |                              ^~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(const char *, int,  int,  char *, size_t *) {aka int (*)(const char *, int,  int,  char *, long unsigned int *)}
&gt; eb.c:1330:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(const char *, int,  int,  char *, size_t *)’ {aka ‘int (*)(const char *, int,  int,  char *, long unsigned int *)’}
&gt;  1330 |                   EB_Error_Code(*conv_func) ())
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:148:15: note: ‘eb_bitmap_to_xbm’ declared here
&gt;   148 | EB_Error_Code eb_bitmap_to_xbm(const char *bitmap, int width, int height,
&gt;       |               ^~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘rebfont_toxpm’:
&gt; eb.c:1391:36: error: passing argument 2 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1391 |     return font2bitmapformat(font, eb_wide_font_xpm_size,
&gt;       |                                    ^~~~~~~~~~~~~~~~~~~~~
&gt;       |                                    |
&gt;       |                                    EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1325:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1325 |                   EB_Error_Code(*w_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:144:15: note: ‘eb_wide_font_xpm_size’ declared here
&gt;   144 | EB_Error_Code eb_wide_font_xpm_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1392:30: error: passing argument 3 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1392 |                              eb_narrow_font_xpm_size,
&gt;       |                              ^~~~~~~~~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1326:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1326 |                   EB_Error_Code(*n_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:139:15: note: ‘eb_narrow_font_xpm_size’ declared here
&gt;   139 | EB_Error_Code eb_narrow_font_xpm_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1393:30: error: passing argument 4 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1393 |                              eb_bitmap_to_xpm);
&gt;       |                              ^~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(const char *, int,  int,  char *, size_t *) {aka int (*)(const char *, int,  int,  char *, long unsigned int *)}
&gt; eb.c:1330:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(const char *, int,  int,  char *, size_t *)’ {aka ‘int (*)(const char *, int,  int,  char *, long unsigned int *)’}
&gt;  1330 |                   EB_Error_Code(*conv_func) ())
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:150:15: note: ‘eb_bitmap_to_xpm’ declared here
&gt;   150 | EB_Error_Code eb_bitmap_to_xpm(const char *bitmap, int width, int height,
&gt;       |               ^~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘rebfont_togif’:
&gt; eb.c:1401:36: error: passing argument 2 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1401 |     return font2bitmapformat(font, eb_wide_font_gif_size,
&gt;       |                                    ^~~~~~~~~~~~~~~~~~~~~
&gt;       |                                    |
&gt;       |                                    EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1325:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1325 |                   EB_Error_Code(*w_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:145:15: note: ‘eb_wide_font_gif_size’ declared here
&gt;   145 | EB_Error_Code eb_wide_font_gif_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1402:30: error: passing argument 3 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1402 |                              eb_narrow_font_gif_size,
&gt;       |                              ^~~~~~~~~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1326:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1326 |                   EB_Error_Code(*n_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:140:15: note: ‘eb_narrow_font_gif_size’ declared here
&gt;   140 | EB_Error_Code eb_narrow_font_gif_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1403:30: error: passing argument 4 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1403 |                              eb_bitmap_to_gif);
&gt;       |                              ^~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(const char *, int,  int,  char *, size_t *) {aka int (*)(const char *, int,  int,  char *, long unsigned int *)}
&gt; eb.c:1330:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(const char *, int,  int,  char *, size_t *)’ {aka ‘int (*)(const char *, int,  int,  char *, long unsigned int *)’}
&gt;  1330 |                   EB_Error_Code(*conv_func) ())
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:152:15: note: ‘eb_bitmap_to_gif’ declared here
&gt;   152 | EB_Error_Code eb_bitmap_to_gif(const char *bitmap, int width, int height,
&gt;       |               ^~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘rebfont_tobmp’:
&gt; eb.c:1411:36: error: passing argument 2 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1411 |     return font2bitmapformat(font, eb_wide_font_bmp_size,
&gt;       |                                    ^~~~~~~~~~~~~~~~~~~~~
&gt;       |                                    |
&gt;       |                                    EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1325:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1325 |                   EB_Error_Code(*w_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:146:15: note: ‘eb_wide_font_bmp_size’ declared here
&gt;   146 | EB_Error_Code eb_wide_font_bmp_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1412:30: error: passing argument 3 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1412 |                              eb_narrow_font_bmp_size,
&gt;       |                              ^~~~~~~~~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1326:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1326 |                   EB_Error_Code(*n_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:141:15: note: ‘eb_narrow_font_bmp_size’ declared here
&gt;   141 | EB_Error_Code eb_narrow_font_bmp_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1413:30: error: passing argument 4 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1413 |                              eb_bitmap_to_bmp);
&gt;       |                              ^~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(const char *, int,  int,  char *, size_t *) {aka int (*)(const char *, int,  int,  char *, long unsigned int *)}
&gt; eb.c:1330:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(const char *, int,  int,  char *, size_t *)’ {aka ‘int (*)(const char *, int,  int,  char *, long unsigned int *)’}
&gt;  1330 |                   EB_Error_Code(*conv_func) ())
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:154:15: note: ‘eb_bitmap_to_bmp’ declared here
&gt;   154 | EB_Error_Code eb_bitmap_to_bmp(const char *bitmap, int width, int height,
&gt;       |               ^~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘rebfont_topng’:
&gt; eb.c:1422:36: error: passing argument 2 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1422 |     return font2bitmapformat(font, eb_wide_font_png_size,
&gt;       |                                    ^~~~~~~~~~~~~~~~~~~~~
&gt;       |                                    |
&gt;       |                                    EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1325:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1325 |                   EB_Error_Code(*w_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:147:15: note: ‘eb_wide_font_png_size’ declared here
&gt;   147 | EB_Error_Code eb_wide_font_png_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1423:30: error: passing argument 3 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1423 |                              eb_narrow_font_png_size,
&gt;       |                              ^~~~~~~~~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(EB_Font_Code,  size_t *) {aka int (*)(int,  long unsigned int *)}
&gt; eb.c:1326:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(EB_Font_Code,  size_t *)’ {aka ‘int (*)(int,  long unsigned int *)’}
&gt;  1326 |                   EB_Error_Code(*n_size_func) (),
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:142:15: note: ‘eb_narrow_font_png_size’ declared here
&gt;   142 | EB_Error_Code eb_narrow_font_png_size(EB_Font_Code font_code, size_t *size);
&gt;       |               ^~~~~~~~~~~~~~~~~~~~~~~
&gt; eb.c:1424:30: error: passing argument 4 of ‘font2bitmapformat’ from incompatible pointer type [-Wincompatible-pointer-types]
&gt;  1424 |                              eb_bitmap_to_png);
&gt;       |                              ^~~~~~~~~~~~~~~~
&gt;       |                              |
&gt;       |                              EB_Error_Code (*)(const char *, int,  int,  char *, size_t *) {aka int (*)(const char *, int,  int,  char *, long unsigned int *)}
&gt; eb.c:1330:34: note: expected ‘EB_Error_Code (*)(void)’ {aka ‘int (*)(void)’} but argument is of type ‘EB_Error_Code (*)(const char *, int,  int,  char *, size_t *)’ {aka ‘int (*)(const char *, int,  int,  char *, long unsigned int *)’}
&gt;  1330 |                   EB_Error_Code(*conv_func) ())
&gt;       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
&gt; /usr/include/eb/font.h:156:15: note: ‘eb_bitmap_to_png’ declared here
&gt;   156 | EB_Error_Code eb_bitmap_to_png(const char *bitmap, int width, int height,
&gt;       |               ^~~~~~~~~~~~~~~~
&gt; eb.c: In function ‘rebhk_register’:
&gt; eb.c:1534:23: error: assignment to ‘EB_Error_Code (*)(EB_Book *, EB_Appendix *, void *, EB_Hook_Code,  int,  const unsigned int *)’ {aka ‘int (*)(struct EB_Book_Struct *, struct EB_Appendix_Struct *, void *, int,  int,  const unsigned int *)’} from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types]
&gt;  1534 |         hook.function = (int (*)()) (text_hook);
&gt;       |                       ^
&gt; make[1]: *** [Makefile:248: eb.o] Error 1
]