--- Begin Message ---
Source: pfqueue
Version: 0.5.6-9.2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Relevant part (hopefully):
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -fcf-protection -Wno-error=format-security -c -o
> pfq_socket.lo pfq_socket.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wno-error=format-security -c pfq_postfix1.c -fPIC -DPIC -o
> .libs/pfq_postfix1.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wno-error=format-security -c pfq_socket.c -fPIC -DPIC -o .libs/pfq_socket.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wno-error=format-security -c pfq_postfix2.c -fPIC -DPIC -o
> .libs/pfq_postfix2.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wno-error=format-security -c pfq_exim.c -fPIC -DPIC -o .libs/pfq_exim.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wno-error=format-security -c pfq_service.c -fPIC -DPIC -o
> .libs/pfq_service.o
> pfq_postfix1.c: In function ‘pfb_action’:
> pfq_postfix1.c:358:9: warning: ignoring return value of ‘system’ declared
> with attribute ‘warn_unused_result’ [-Wunused-result]
> 358 | system ( b );
> | ^~~~~~~~~~~~
> pfq_exim.c: In function ‘pfb_action’:
> pfq_exim.c:311:9: warning: ignoring return value of ‘system’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 311 | system ( buf );
> | ^~~~~~~~~~~~~~
> pfq_socket.c: In function ‘pfb_setup’:
> pfq_socket.c:118:17: warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
> 118 | (struct hostent*)svr->h_length );
> | ^
> pfq_socket.c:118:17: warning: passing argument 3 of ‘memcpy’ makes integer
> from pointer without a cast [-Wint-conversion]
> 118 | (struct hostent*)svr->h_length );
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | struct hostent *
> In file included from /usr/include/features.h:490,
> from /usr/include/unistd.h:25,
> from pfq_socket.c:2:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: expected
> ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘struct hostent *’
> 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
> | ^~~~~
> pfq_socket.c: In function ‘pfb_retr_headers’:
> pfq_socket.c:145:15: error: implicit declaration of function ‘pfb_retr_to’;
> did you mean ‘pfb_retr_body’? [-Werror=implicit-function-declaration]
> 145 | res = pfb_retr_to(msgid);
> | ^~~~~~~~~~~
> | pfb_retr_body
> pfq_postfix2.c: In function ‘pfb_action’:
> pfq_postfix2.c:412:9: warning: ignoring return value of ‘system’ declared
> with attribute ‘warn_unused_result’ [-Wunused-result]
> 412 | system ( b );
> | ^~~~~~~~~~~~
> pfq_socket.c:146:15: error: implicit declaration of function ‘pfb_retr_from’;
> did you mean ‘pfb_retr_body’? [-Werror=implicit-function-declaration]
> 146 | res|= pfb_retr_from(msgid);
> | ^~~~~~~~~~~~~
> | pfb_retr_body
> pfq_socket.c:147:15: error: implicit declaration of function ‘pfb_retr_subj’;
> did you mean ‘pfb_retr_body’? [-Werror=implicit-function-declaration]
> 147 | res|= pfb_retr_subj(msgid);
> | ^~~~~~~~~~~~~
> | pfb_retr_body
> pfq_postfix1.c: In function ‘dir_dig’:
> pfq_postfix1.c:90:62: warning: ‘%s’ directive output may be truncated writing
> up to 255 bytes into a region of size 249 [-Wformat-truncation=]
> 90 | snprintf ( full_path, sizeof(full_path), "%s/%s",
> basedir, dir->d_name );
> | ^~
> In file included from /usr/include/stdio.h:906,
> from pfq_postfix1.c:5:
> In function ‘snprintf’,
> inlined from ‘dir_dig’ at pfq_postfix1.c:90:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix1.c: In function ‘dir_dig’:
> pfq_postfix1.c:97:70: warning: ‘%s’ directive output may be truncated writing
> up to 255 bytes into a region of size 199 [-Wformat-truncation=]
> 97 | snprintf ( msg->path, sizeof(msg->path),
> "%s/%s",
> |
> ^~
> In function ‘snprintf’,
> inlined from ‘dir_dig’ at pfq_postfix1.c:97:4:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a
> destination of size 200
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_socket.c:148:15: error: implicit declaration of function ‘pfb_retr_path’;
> did you mean ‘pfb_retr_body’? [-Werror=implicit-function-declaration]
> 148 | res|= pfb_retr_path(msgid);
> | ^~~~~~~~~~~~~
> | pfb_retr_body
> pfq_socket.c: In function ‘w_socket’:
> pfq_socket.c:46:9: warning: ignoring return value of ‘write’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 46 | write ( s, b, strlen(b) );
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> pfq_postfix1.c: In function ‘pfb_fill_queue’:
> pfq_postfix1.c:183:44: warning: ‘__builtin___snprintf_chk’ output may be
> truncated before the last format character [-Wformat-truncation=]
> 183 | snprintf ( buf, sizeof(buf), "%s/%s", queue_path,
> q_names[CURQ] );
> | ^
> In function ‘snprintf’,
> inlined from ‘pfb_fill_queue’ at pfq_postfix1.c:183:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 251) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_exim.c: In function ‘dir_dig’:
> pfq_exim.c:73:62: warning: ‘%s’ directive output may be truncated writing up
> to 255 bytes into a region of size 249 [-Wformat-truncation=]
> 73 | snprintf ( full_path, sizeof(full_path), "%s/%s",
> basedir, dir->d_name );
> | ^~
> In file included from /usr/include/stdio.h:906,
> from pfq_exim.c:2:
> In function ‘snprintf’,
> inlined from ‘dir_dig’ at pfq_exim.c:73:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix1.c: In function ‘pfb_retr_headers’:
> pfq_postfix1.c:207:47: warning: ‘%s’ directive output may be truncated
> writing up to 199 bytes into a region of size between 0 and 249
> [-Wformat-truncation=]
> 207 | snprintf ( buf, BUF_SIZE, "%s %s 2> /dev/null",
> | ^~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_headers’ at pfq_postfix1.c:207:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 15 and 463 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix1.c: In function ‘pfb_retr_headers’:
> pfq_postfix1.c:204:46: warning: ‘ -c ’ directive output may be truncated
> writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=]
> 204 | snprintf ( buf, BUF_SIZE, "%s -c %s %s 2> /dev/null",
> | ^~~~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_headers’ at pfq_postfix1.c:204:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 19 and 716 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_exim.c: In function ‘pfb_fill_queue’:
> pfq_exim.c:162:39: warning: ‘/input’ directive output may be truncated
> writing 6 bytes into a region of size between 1 and 250 [-Wformat-truncation=]
> 162 | snprintf ( pbuf, BUF_SIZE, "%s/input", spool_dir );
> | ^~~~~~
> In function ‘snprintf’,
> inlined from ‘pfb_fill_queue’ at pfq_exim.c:162:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 7 and 256 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix2.c: In function ‘dir_dig’:
> pfq_postfix2.c:98:62: warning: ‘%s’ directive output may be truncated writing
> up to 255 bytes into a region of size 249 [-Wformat-truncation=]
> 98 | snprintf ( full_path, sizeof(full_path), "%s/%s",
> basedir, dir->d_name );
> | ^~
> In file included from /usr/include/stdio.h:906,
> from pfq_postfix2.c:6:
> In function ‘snprintf’,
> inlined from ‘dir_dig’ at pfq_postfix2.c:98:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix2.c: In function ‘dir_dig’:
> pfq_postfix2.c:105:70: warning: ‘%s’ directive output may be truncated
> writing up to 255 bytes into a region of size 199 [-Wformat-truncation=]
> 105 | snprintf ( msg->path, sizeof(msg->path),
> "%s/%s",
> |
> ^~
> In function ‘snprintf’,
> inlined from ‘dir_dig’ at pfq_postfix2.c:105:4:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a
> destination of size 200
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix1.c: In function ‘pfb_retr_body’:
> pfq_postfix1.c:320:45: warning: ‘%s’ directive output may be truncated
> writing up to 199 bytes into a region of size between 0 and 249
> [-Wformat-truncation=]
> 320 | snprintf ( b, BUF_SIZE, "%s %s 2> /dev/null",
> | ^~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_body’ at pfq_postfix1.c:320:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 15 and 463 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix1.c: In function ‘pfb_retr_body’:
> pfq_postfix1.c:317:44: warning: ‘ -c ’ directive output may be truncated
> writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=]
> 317 | snprintf ( b, BUF_SIZE, "%s -c %s %s 2> /dev/null",
> | ^~~~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_body’ at pfq_postfix1.c:317:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 19 and 716 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix1.c: In function ‘pfb_action’:
> pfq_postfix1.c:356:44: warning: ‘ -’ directive output may be truncated
> writing 2 bytes into a region of size between 1 and 250 [-Wformat-truncation=]
> 356 | snprintf ( b, BUF_SIZE, "%s -%c %s 2>/dev/null",
> | ^~
> In function ‘snprintf’,
> inlined from ‘pfb_action’ at pfq_postfix1.c:356:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 17 or more bytes (assuming 266) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix1.c: In function ‘pfb_action’:
> pfq_postfix1.c:353:44: warning: ‘ -c ’ directive output may be truncated
> writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=]
> 353 | snprintf ( b, BUF_SIZE, "%s -c %s -%c %s 2>/dev/null",
> | ^~~~
> In function ‘snprintf’,
> inlined from ‘pfb_action’ at pfq_postfix1.c:353:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 21 or more bytes (assuming 519) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_exim.c: In function ‘pfb_retr_headers’:
> pfq_exim.c:182:39: warning: ‘%s’ directive output may be truncated writing up
> to 249 bytes into a region of size between 0 and 249 [-Wformat-truncation=]
> 182 | snprintf ( buf, BUF_SIZE, "%s %s -Mvh %s 2> /dev/null",
> | ^~
> 183 | exim_cmd, exim_conf, msg->id );
> | ~~~~~~~~~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_headers’ at pfq_exim.c:182:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 21 and 538 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix2.c: In function ‘pfb_setup’:
> pfq_postfix2.c:184:60: warning: ‘%s’ directive output may be truncated
> writing between 1 and 249 bytes into a region of size 246
> [-Wformat-truncation=]
> 184 | snprintf ( pconf, BUF_SIZE, "%s -c %s -h
> mail_version 2> /dev/null", postconf_path, config_path );
> | ^~
> ~~~~~~~~~~~
> In function ‘snprintf’,
> inlined from ‘pfb_setup’ at pfq_postfix2.c:184:4:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 35 or more bytes (assuming 283) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wno-error=format-security -c pfq_postfix1.c -o pfq_postfix1.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wno-error=format-security -c pfq_service.c -o pfq_service.o >/dev/null 2>&1
> pfq_postfix2.c: In function ‘pfb_fill_queue’:
> pfq_postfix2.c:234:44: warning: ‘__builtin___snprintf_chk’ output may be
> truncated before the last format character [-Wformat-truncation=]
> 234 | snprintf ( buf, sizeof(buf), "%s/%s", queue_path,
> q_names[CURQ] );
> | ^
> In function ‘snprintf’,
> inlined from ‘pfb_fill_queue’ at pfq_postfix2.c:234:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 251) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_exim.c: In function ‘pfb_retr_status’:
> pfq_exim.c:243:39: warning: ‘%s’ directive output may be truncated writing up
> to 249 bytes into a region of size between 0 and 249 [-Wformat-truncation=]
> 243 | snprintf ( buf, BUF_SIZE, "%s %s -Mvh %s 2> /dev/null",
> | ^~
> 244 | exim_cmd, exim_conf, msg->id );
> | ~~~~~~~~~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_status’ at pfq_exim.c:243:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 21 and 538 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_exim.c: In function ‘pfb_retr_body’:
> pfq_exim.c:274:37: warning: ‘%s’ directive output may be truncated writing up
> to 249 bytes into a region of size between 0 and 249 [-Wformat-truncation=]
> 274 | snprintf ( b, BUF_SIZE, "%s %s -Mvb %s 2> /dev/null",
> | ^~
> 275 | exim_cmd, exim_conf, msg->id );
> | ~~~~~~~~~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_body’ at pfq_exim.c:274:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 21 and 538 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix2.c: In function ‘pfb_retr_headers’:
> pfq_exim.c: In function ‘pfb_action’:
> pfq_postfix2.c:258:46: warning: ‘ -q ’ directive output may be truncated
> writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=]
> 258 | snprintf ( buf, BUF_SIZE, "%s -q %s 2> /dev/null",
> | ^~~~
> pfq_exim.c:309:39: warning: ‘%s’ directive output may be truncated writing up
> to 249 bytes into a region of size between 0 and 249 [-Wformat-truncation=]
> 309 | snprintf ( buf, BUF_SIZE, "%s %s %s %s > /dev/null",
> | ^~
> 310 | exim_cmd, exim_conf, b, msg );
> | ~~~~~~~~~
> In function ‘snprintf’,
> inlined from ‘pfb_action’ at pfq_exim.c:309:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output 16 or more bytes (assuming 514) into a
> destination of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_headers’ at pfq_postfix2.c:258:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 18 and 286 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_postfix2.c: In function ‘pfb_retr_headers’:
> pfq_postfix2.c:255:46: warning: ‘ -c ’ directive output may be truncated
> writing 4 bytes into a region of size between 1 and 250 [-Wformat-truncation=]
> 255 | snprintf ( buf, BUF_SIZE, "%s -c %s -q %s 2>
> /dev/null",
> | ^~~~
> In function ‘snprintf’,
> inlined from ‘pfb_retr_headers’ at pfq_postfix2.c:255:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note:
> ‘__builtin___snprintf_chk’ output between 22 and 539 bytes into a destination
> of size 250
> 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 55 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 56 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> pfq_socket.c: In function ‘pfb_action’:
> pfq_socket.c:382:29: warning: ‘
> ’ directive writing 1 byte into a region of size between 0 and 249
> [-Wformat-overflow=]
> 382 | sprintf ( b2, "%s %s\n", b, msg );
> | ^~
> In file included from /usr/include/stdio.h:906,
> from pfq_socket.c:6:
> In function ‘sprintf’,
> inlined from ‘pfb_action’ at pfq_socket.c:382:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note:
> ‘__builtin___sprintf_chk’ output 3 or more bytes (assuming 252) into a
> destination of size 250
> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 31 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 32 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:476: pfq_socket.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/pfqueue_0.5.6-9.2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&[email protected]&allbugs=1&cseverity=1&ctags=1&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.
--- End Message ---