Your message dated Sun, 20 Oct 2024 14:35:10 +0000
with message-id <[email protected]>
and subject line Bug#1066327: fixed in chmlib 2:0.40a-8.1
has caused the Debian Bug report #1066327,
regarding chmlib: FTBFS: chm_http.c:167:32: error: implicit declaration of
function ‘inet_addr’ [-Werror=implicit-function-declaration]
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 [email protected]
immediately.)
--
1066327: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066327
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: chmlib
Version: 2:0.40a-8
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):
> x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\"
> -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\"
> -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1
> -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -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
> -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64
> -MT test_chmLib.o -MD -MP -MF .deps/test_chmLib.Tpo -c -o test_chmLib.o
> test_chmLib.c
> chm_http.c: In function ‘chmhttp_server’:
> chm_http.c:167:32: error: implicit declaration of function ‘inet_addr’
> [-Werror=implicit-function-declaration]
> 167 | bindAddr.sin_addr.s_addr = inet_addr(config_bind);
> | ^~~~~~~~~
> chm_http.c:179:9: error: implicit declaration of function ‘close’; did you
> mean ‘pclose’? [-Werror=implicit-function-declaration]
> 179 | close(server.socket);
> | ^~~~~
> | pclose
> chm_http.c:192:73: warning: pointer targets in passing argument 3 of ‘accept’
> differ in signedness [-Wpointer-sign]
> 192 | slave->fd = accept(server.socket, (struct sockaddr
> *)&bindAddr, &addrLen);
> |
> ^~~~~~~~
> |
> |
> |
> int *
> In file included from chm_http.c:43:
> /usr/include/x86_64-linux-gnu/sys/socket.h:307:42: note: expected ‘socklen_t
> * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’
> 307 | socklen_t *__restrict __addr_len);
> | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> chm_http.c: In function ‘service_request’:
> chm_http.c:343:9: error: implicit declaration of function ‘write’; did you
> mean ‘fwrite’? [-Werror=implicit-function-declaration]
> 343 | write(fd, INTERNAL_ERROR, strlen(INTERNAL_ERROR));
> | ^~~~~
> | fwrite
> chm_http.c:348:5: warning: ignoring return value of ‘fgets’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 348 | fgets(buffer, 4096, fout);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> mv -f .deps/enum_chmLib.Tpo .deps/enum_chmLib.Po
> libtool: compile: x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"chmlib\"
> -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\"
> "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1
> -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -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
> -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64
> -MT lzx.lo -MD -MP -MF .deps/lzx.Tpo -c lzx.c -fPIC -DPIC -o .libs/lzx.o
> mv -f .deps/enumdir_chmLib.Tpo .deps/enumdir_chmLib.Po
> mv -f .deps/test_chmLib.Tpo .deps/test_chmLib.Po
> libtool: compile: x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"chmlib\"
> -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\"
> "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1
> -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -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
> -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64
> -MT chm_lib.lo -MD -MP -MF .deps/chm_lib.Tpo -c chm_lib.c -fPIC -DPIC -o
> .libs/chm_lib.o
> mv -f .deps/extract_chmLib.Tpo .deps/extract_chmLib.Po
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:543: chm_http.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/chmlib_0.40a-8_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 ---
--- Begin Message ---
Source: chmlib
Source-Version: 2:0.40a-8.1
Done: Andreas Bombe <[email protected]>
We believe that the bug you reported is fixed in the latest version of
chmlib, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Bombe <[email protected]> (supplier of updated chmlib package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 20 Oct 2024 16:07:53 +0200
Source: chmlib
Architecture: source
Version: 2:0.40a-8.1
Distribution: unstable
Urgency: medium
Maintainer: Kartik Mistry <[email protected]>
Changed-By: Andreas Bombe <[email protected]>
Closes: 1066327
Changes:
chmlib (2:0.40a-8.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Add missing includes and fix large file support to fix FTBFS (thanks to
Zixing Liu <[email protected]> for the patch) (Closes: #1066327)
Checksums-Sha1:
6b350198e5c58615dccadcfc369b8b2fe9432dbf 1947 chmlib_0.40a-8.1.dsc
3105a8e128931cb2f3bd7700394ddac58784c350 7980 chmlib_0.40a-8.1.debian.tar.xz
81618d35886181ada5cd5b33e631dd4102dc9442 6489 chmlib_0.40a-8.1_amd64.buildinfo
Checksums-Sha256:
985420b1e0b2ce20d2f3f5d79e75a9b8e69731be92e4bfd4e02f0f48cf55e6bd 1947
chmlib_0.40a-8.1.dsc
a2c38b8da45a74a53df2d96a1f22bf2531a4ba37b251567504fcbaf0f728ef68 7980
chmlib_0.40a-8.1.debian.tar.xz
ab986d49b1c738b747356120e35f11225a710630ae144917ec782037b8ba998b 6489
chmlib_0.40a-8.1_amd64.buildinfo
Files:
09bc19cf5b74b9ec7fb92740b8eed5c6 1947 libs optional chmlib_0.40a-8.1.dsc
79334d9c2e132d5b9b368d4095ad512b 7980 libs optional
chmlib_0.40a-8.1.debian.tar.xz
8008b44ab6709c82b7f389e6dacfaefd 6489 libs optional
chmlib_0.40a-8.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEE/fJ3FAtt+ejNyKmCMWRwWx2jHUwFAmcVEMUPHGFlYkBkZWJp
YW4ub3JnAAoJEDFkcFsdox1MaloQAN6/NM9JhUYD5aa18EuiOptFDTs+pbf3LSdX
u3MihHrG8NNAI7CF+wUWvzXYQcYrQJkQZYAcEtbXzFfZ/9UI+NWgmo4ofxv8zMQc
6xJZZCzdXzF1OF8eKokoAWdkx0AzOhe+IgTN3mjYZ56Dolmg1T/3Mxo7QUTnKUX2
Jx313VNkhr0W/9cli8vRcSn1wsshWzxiSvWwAyC/asi9cgZnDB73zcjEgKq/ejQA
J8IvWz1JL7z/6yMtHi+8r0FkynEVTFVpdJvuqpjn2IJDk0aWftRGml0EeWe52w5s
JoVMA9TJHIiY0v9b+tcMkAyqcQRWadcVfy3yWL5F4Xx0XEhfvPVQreBISy+yJ0tO
KIuItyZoKvIcfucez0jJESo9kQIaoo0bXHyjXu1IhiJuMs5FKjA4wMY32P5reMT3
DD2QKA7VxfXtxxsMMi8r2FinPyycUUeEMrBL9qyV/3tvzIJcDVhr9R//Vx8wfzaN
sOM5HQa72YkZ+rMNixgfYM8AtbQu6HcCIiSmtkCNyLHmjcl4bYeXCid/qtn/rRCi
hA3G2JqYqaJY+lHixvceYLF7mwbvu0kMNghLpXPHfa192brQ9ML8vrXyJRTh8DdS
6hEy2wNUDTAoPB07VHqrvzwFdO9UtvE4BjJdzLkqfW+VWlR939JFOIYQEBQBhMzG
5QX9PWVY
=xm2r
-----END PGP SIGNATURE-----
pgpjSjUHvjMlv.pgp
Description: PGP signature
--- End Message ---