Package: src:syslog-ng
Version: 4.8.1-7
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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:syslog-ng, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../l 
[too-long-redacted] s/libafsnmp_la-afsnmp-grammar.o
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CO 
[too-long-redacted] ./'`modules/afsnmp/afsnmpdest.c
In file included from ../../lib/filterx/filterx-scope.h:26,
                 from ../../lib/filterx/filterx-eval.h:26,
                 from ../../lib/logpipe.h:30,
                 from ../../lib/driver.h:29,
                 from ../../modules/afsnmp/afsnmpdest.h:30,
                 from ../../modules/afsnmp/afsnmp-parser.h:29,
                 from modules/afsnmp/afsnmp-grammar.y:25:
../../lib/filterx/filterx-object.h: In function 'filterx_object_getattr':
../../lib/filterx/filterx-object.h:221:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  221 |   FilterXObject *result = self->type->getattr(self, attr);
      |   ^~~~~~~~~~~~~
../../lib/filterx/filterx-object.h: In function 'filterx_object_get_subscript':
../../lib/filterx/filterx-object.h:243:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  243 |   FilterXObject *result = self->type->get_subscript(self, key);
      |   ^~~~~~~~~~~~~
In file included from ../../lib/filterx/filterx-eval.h:27:
../../lib/filterx/filterx-expr.h: In function 'filterx_expr_eval_typed':
../../lib/filterx/filterx-expr.h:90:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
   90 |   FilterXObject *unmarshalled = filterx_object_unmarshal(result);
      |   ^~~~~~~~~~~~~
In file included from ../../modules/afsnmp/afsnmpdest.h:32:
../../lib/logthrdest/logthrdestdrv.h: In function 
'log_threaded_dest_worker_insert':
../../lib/logthrdest/logthrdestdrv.h:252:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  252 |   LogThreadedResult result = self->insert(self, msg);
      |   ^~~~~~~~~~~~~~~~~
../../lib/logthrdest/logthrdestdrv.h:260:7: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  260 |       gint64 diff_msec = unix_time_diff_in_msec(&now, 
&msg->timestamps[LM_TS_RECVD]);
      |       ^~~~~~
In file included from ../../lib/cfg-grammar-internal.h:40,
                 from modules/afsnmp/afsnmp-grammar.y:33:
../../lib/str-utils.h: In function 'strsplit':
../../lib/str-utils.h:129:3: error: ISO C90 forbids mixed declarations and code 
[-Werror=declaration-after-statement]
  129 |   const gchar *delim_pos = NULL;
      |   ^~~~~
../../lib/str-utils.h:143:7: error: ISO C90 forbids mixed declarations and code 
[-Werror=declaration-after-statement]
  143 |       gint len = delim_pos - remainder;
      |       ^~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../l 
[too-long-redacted] .libs/libafsnmp_la-afsnmpdest.o
In file included from ../../lib/filterx/filterx-scope.h:26,
                 from ../../lib/filterx/filterx-eval.h:26,
                 from ../../lib/logpipe.h:30,
                 from ../../lib/driver.h:29,
                 from ../../lib/cfg-grammar-internal.h:30,
                 from ../../lib/cfg-grammar.y:34,
                 from ../../lib/plugin-types.h:40,
                 from ../../modules/afsnmp/afsnmpdest.c:36:
../../lib/filterx/filterx-object.h: In function 'filterx_object_getattr':
../../lib/filterx/filterx-object.h:221:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  221 |   FilterXObject *result = self->type->getattr(self, attr);
      |   ^~~~~~~~~~~~~
../../lib/filterx/filterx-object.h: In function 'filterx_object_get_subscript':
../../lib/filterx/filterx-object.h:243:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  243 |   FilterXObject *result = self->type->get_subscript(self, key);
      |   ^~~~~~~~~~~~~
In file included from ../../lib/filterx/filterx-eval.h:27:
../../lib/filterx/filterx-expr.h: In function 'filterx_expr_eval_typed':
../../lib/filterx/filterx-expr.h:90:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
   90 |   FilterXObject *unmarshalled = filterx_object_unmarshal(result);
      |   ^~~~~~~~~~~~~
In file included from ../../lib/cfg-grammar-internal.h:40:
../../lib/str-utils.h: In function 'strsplit':
../../lib/str-utils.h:129:3: error: ISO C90 forbids mixed declarations and code 
[-Werror=declaration-after-statement]
  129 |   const gchar *delim_pos = NULL;
      |   ^~~~~
../../lib/str-utils.h:143:7: error: ISO C90 forbids mixed declarations and code 
[-Werror=declaration-after-statement]
  143 |       gint len = delim_pos - remainder;
      |       ^~~~
In file included from ../../lib/cfg-grammar-internal.h:58:
../../lib/logthrdest/logthrdestdrv.h: In function 
'log_threaded_dest_worker_insert':
../../lib/logthrdest/logthrdestdrv.h:252:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  252 |   LogThreadedResult result = self->insert(self, msg);
      |   ^~~~~~~~~~~~~~~~~
../../lib/logthrdest/logthrdestdrv.h:260:7: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  260 |       gint64 diff_msec = unix_time_diff_in_msec(&now, 
&msg->timestamps[LM_TS_RECVD]);
      |       ^~~~~~
../../modules/afsnmp/afsnmpdest.c: In function 'snmpdest_dd_set_snmp_obj':
../../modules/afsnmp/afsnmpdest.c:160:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  160 |   const gchar *s_objectid = "objectid";
      |   ^~~~~
../../modules/afsnmp/afsnmpdest.c:180:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  180 |   gint *pcode = g_new(gint, 1);
      |   ^~~~
../../modules/afsnmp/afsnmpdest.c: In function 'parse_oid_tokens':
../../modules/afsnmp/afsnmpdest.c:353:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  353 |   gchar **oid_tokens = g_strsplit(oid_str, ".", max_oid_number);
      |   ^~~~~
../../modules/afsnmp/afsnmpdest.c: In function 'snmpdest_worker_insert':
../../modules/afsnmp/afsnmpdest.c:407:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  407 |   oid parsed_oids[MAX_OIDS];
      |   ^~~
../../modules/afsnmp/afsnmpdest.c:422:7: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  422 |       gint code = *((gint *)snmp_code->data);
      |       ^~~~
../../modules/afsnmp/afsnmpdest.c:425:7: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  425 |       gchar type_code = snmp_dd_get_object_type_code(code);
      |       ^~~~~
../../modules/afsnmp/afsnmpdest.c:442:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  442 |   gint success = snmp_send(self->ss, pdu);
      |   ^~~~
../../modules/afsnmp/afsnmpdest.c: In function 'snmpdest_dd_format_stats_key':
../../modules/afsnmp/afsnmpdest.c:473:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  473 |   gchar num[64];
      |   ^~~~~
../../modules/afsnmp/afsnmpdest.c: In function 'snmpdest_dd_session_init':
../../modules/afsnmp/afsnmpdest.c:487:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  487 |   gchar *args[24];
      |   ^~~~~
../../modules/afsnmp/afsnmpdest.c:541:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  541 |   gint arg = snmp_parse_args(argc, args, &self->session, "C:", optProc);
      |   ^~~~
../../modules/afsnmp/afsnmpdest.c: In function 'snmpdest_dd_init':
../../modules/afsnmp/afsnmpdest.c:638:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  638 |   gchar err_msg[128];
      |   ^~~~~
../../modules/afsnmp/afsnmpdest.c: In function 'snmpdest_worker_thread_init':
../../modules/afsnmp/afsnmpdest.c:722:3: error: ISO C90 forbids mixed 
declarations and code [-Werror=declaration-after-statement]
  722 |   gchar *tz = self->template_options.time_zone[LTZ_LOCAL];
      |   ^~~~~
cc1: some warnings being treated as errors
make[3]: *** [Makefile:23697: modules/afsnmp/libafsnmp_la-afsnmp-grammar.lo] 
Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
make[3]: *** [Makefile:23704: modules/afsnmp/libafsnmp_la-afsnmpdest.lo] Error 1
make[2]: *** [Makefile:31658: all-recursive] Error 1
make[1]: *** [Makefile:13731: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-tree'
dh_auto_build: error: cd debian/build-tree && make -j2 returned exit code 2
make: *** [debian/rules:215: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to