Source: telegram-cli
Version: 1.3.1+git20160323.6547c0b21-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

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


Relevant part (hopefully):
> gcc -I. -I. -I/usr/include/tgl -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -I/usr/include 
> -I/usr/include/lua5.2 -I/usr/include/wolfssl -DWC_NO_HARDEN -DHAVE_CONFIG_H 
> -Wall -Werror -Wextra -Wno-missing-field-initializers 
> -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer 
> -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/lua-tg.d -MQ 
> objs/lua-tg.o -o objs/lua-tg.o lua-tg.c
> main.c: In function ‘termination_signal_handler’:
> main.c:824:7: error: ‘write’ reading 18 bytes from a region of size 17 
> [-Werror=stringop-overread]
>   824 |   if (write (1, "SIGNAL received\n", 18) < 0) {
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from main.c:29:
> /usr/include/unistd.h:367:16: note: in a call to function ‘write’ declared 
> with attribute ‘access (read_only, 2, 3)’
>   367 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
>       |                ^~~~~
> cc1: all warnings being treated as errors
> make[1]: *** [Makefile:48: objs/main.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/telegram-cli_1.3.1+git20160323.6547c0b21-2_unstable.log

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 marking 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.

Reply via email to