[Debian-mobcom-maintainers] Bug#1073344: libsmpp34: FTBFS: ../test_apps/esme.h:32:16: error: implicit declaration of function ‘strtol’; did you mean ‘strtok’? [-Werror=implicit-function-declaration]
Lucas Nussbaum
lucas at debian.org
Sun Jun 16 13:48:25 BST 2024
Source: libsmpp34
Version: 1.14.3-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240615 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I../aux_config -I../src -I.. -I/usr/include/libxml2 -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 -Wall -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sendwp-tcp.o `test -f '../test_apps/tcp.c' || echo './'`../test_apps/tcp.c
> In file included from ../test_apps/tcp.c:38:
> ../test_apps/tcp.c: In function ‘do_tcp_connect’:
> ../test_apps/esme.h:32:16: error: implicit declaration of function ‘strtol’; did you mean ‘strtok’? [-Werror=implicit-function-declaration]
> 32 | dst = strtol((char*)clave, NULL, 10);\
> | ^~~~~~
> ../test_apps/tcp.c:57:5: note: in expansion of macro ‘GET_PROP_INT’
> 57 | GET_PROP_INT(port, p, "port");
> | ^~~~~~~~~~~~
> In file included from ../test_apps/smpp.c:40:
> ../test_apps/smpp.c: In function ‘do_smpp_send_message2’:
> ../test_apps/esme.h:32:16: error: implicit declaration of function ‘strtol’; did you mean ‘strtok’? [-Werror=implicit-function-declaration]
> 32 | dst = strtol((char*)clave, NULL, 10);\
> | ^~~~~~
> ../test_apps/smpp.c:223:5: note: in expansion of macro ‘GET_PROP_INT’
> 223 | GET_PROP_INT( req.source_addr_ton, p, "source_addr_ton" );
> | ^~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:1366: esme-tcp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/libsmpp34_1.14.3-1.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&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.
More information about the Debian-mobcom-maintainers
mailing list