Your message dated Tue, 06 May 2025 08:36:23 +0000
with message-id <e1ucdmp-007nsu...@fasolo.debian.org>
and subject line Bug#1104747: Removed package(s) from unstable
has caused the Debian Bug report #1104651,
regarding dovecot-fts-flatcurve: FTBFS: fts-flatcurve-plugin.c:39:9: error: 
implicit declaration of function 'fts_mail_user_deinit'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1104651: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104651
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:dovecot-fts-flatcurve
Version: 1.0.3-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/inclu 
[too-long-redacted] o .libs/doveadm-fts-flatcurve.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/inclu 
[too-long-redacted] -o .libs/fts-flatcurve-plugin.o
fts-flatcurve-plugin.c: In function 'fts_flatcurve_mail_user_deinit':
fts-flatcurve-plugin.c:39:9: error: implicit declaration of function 
'fts_mail_user_deinit'; did you mean 'fts_mail_user_init'? 
[-Wimplicit-function-declaration]
   39 |         fts_mail_user_deinit(user);
      |         ^~~~~~~~~~~~~~~~~~~~
      |         fts_mail_user_init
fts-flatcurve-plugin.c: In function 'fts_flatcurve_plugin_init_settings':
fts-flatcurve-plugin.c:50:13: error: implicit declaration of function 
'mail_user_plugin_getenv'; did you mean 'mail_user_is_plugin_loaded'? 
[-Wimplicit-function-declaration]
   50 |         if (mail_user_plugin_getenv(user, "fts_flatcurve") != NULL)
      |             ^~~~~~~~~~~~~~~~~~~~~~~
      |             mail_user_is_plugin_loaded
fts-flatcurve-plugin.c:50:60: warning: comparison between pointer and integer
   50 |         if (mail_user_plugin_getenv(user, "fts_flatcurve") != NULL)
      |                                                            ^~
fts-flatcurve-plugin.c:54:14: error: assignment to 'const char *' from 'int' 
makes pointer from integer without a cast [-Wint-conversion]
   54 |         pset = mail_user_plugin_getenv(user, 
FTS_FLATCURVE_PLUGIN_COMMIT_LIMIT);
      |              ^
fts-flatcurve-plugin.c:67:14: error: assignment to 'const char *' from 'int' 
makes pointer from integer without a cast [-Wint-conversion]
   67 |         pset = mail_user_plugin_getenv(user,
      |              ^
fts-flatcurve-plugin.c:81:14: error: assignment to 'const char *' from 'int' 
makes pointer from integer without a cast [-Wint-conversion]
   81 |         pset = mail_user_plugin_getenv(user,
      |              ^
fts-flatcurve-plugin.c:95:14: error: assignment to 'const char *' from 'int' 
makes pointer from integer without a cast [-Wint-conversion]
   95 |         pset = mail_user_plugin_getenv(user, 
FTS_FLATCURVE_PLUGIN_ROTATE_SIZE);
      |              ^
fts-flatcurve-plugin.c:108:14: error: assignment to 'const char *' from 'int' 
makes pointer from integer without a cast [-Wint-conversion]
  108 |         pset = mail_user_plugin_getenv(user, 
FTS_FLATCURVE_PLUGIN_ROTATE_TIME);
      |              ^
fts-flatcurve-plugin.c:121:33: error: implicit declaration of function 
'mail_user_plugin_getenv_bool' [-Wimplicit-function-declaration]
  121 |         set->substring_search = mail_user_plugin_getenv_bool(user,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
fts-flatcurve-plugin.c: In function 'fts_flatcurve_mail_user_created':
fts-flatcurve-plugin.c:142:38: error: passing argument 2 of 
'fts_mail_user_init' from incompatible pointer type 
[-Wincompatible-pointer-types]
  142 |         if (fts_mail_user_init(user, &error) < 0) {
      |                                      ^~~~~~
      |                                      |
      |                                      const char **
In file included from fts-flatcurve-plugin.c:6:
/usr/include/dovecot/fts-user.h:10:62: note: expected 'struct event *' but 
argument is of type 'const char **'
   10 | int fts_mail_user_init(struct mail_user *user, struct event *event,
      |                                                ~~~~~~~~~~~~~~^~~~~
fts-flatcurve-plugin.c:142:13: error: too few arguments to function 
'fts_mail_user_init'
  142 |         if (fts_mail_user_init(user, &error) < 0) {
      |             ^~~~~~~~~~~~~~~~~~
/usr/include/dovecot/fts-user.h:10:5: note: declared here
   10 | int fts_mail_user_init(struct mail_user *user, struct event *event,
      |     ^~~~~~~~~~~~~~~~~~
doveadm-fts-flatcurve.c: In function 'cmd_fts_flatcurve_mailbox_alloc':
doveadm-fts-flatcurve.c:288:25: error: assignment to 'void (*)(struct 
doveadm_mail_cmd_context *)' from incompatible pointer type 'void (*)(struct 
doveadm_mail_cmd_context *, const char * const*)' [-Wincompatible-pointer-types]
  288 |         ctx->ctx.v.init = cmd_fts_flatcurve_mailbox_init;
      |                         ^
doveadm-fts-flatcurve.c: In function 'cmd_fts_flatcurve_dump_alloc':
doveadm-fts-flatcurve.c:326:13: error: 'struct doveadm_mail_cmd_context' has no 
member named 'getopt_args'
  326 |         _ctx->getopt_args = "h";
      |             ^~
doveadm-fts-flatcurve.c:327:16: error: 'struct doveadm_mail_cmd_vfuncs' has no 
member named 'parse_arg'
  327 |         _ctx->v.parse_arg = cmd_fts_flatcurve_dump_parse_arg;
      |                ^
make[3]: *** [Makefile:629: fts-flatcurve-plugin.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:629: doveadm-fts-flatcurve.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:547: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:448: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202505/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:dovecot-fts-flatcurve, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Version: 1.0.3-1+rm

Dear submitter,

as the package dovecot-fts-flatcurve has just been removed from the Debian 
archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1104747

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to