chmlib: FTBFS: chm_http.c:167:32: error: implicit declaration of function ‘inet_addr’ [-Werror=implicit-function-declaration]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chmlib (Debian) |
New
|
Unknown
|
|||
chmlib (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Imported from Debian bug http://
Source: chmlib
Version: 2:0.40a-8
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: <email address hidden>
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=
https:/
Relevant part (hopefully):
> x86_64-
> chm_http.c: In function ‘chmhttp_server’:
> chm_http.c:167:32: error: implicit declaration of function ‘inet_addr’ [-Werror=
> 167 | bindAddr.
> | ^~~~~~~~~
> chm_http.c:179:9: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=
> 179 | close(server.
> | ^~~~~
> | pclose
> chm_http.c:192:73: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign]
> 192 | slave->fd = accept(
> | ^~~~~~~~
> | |
> | int *
> In file included from chm_http.c:43:
> /usr/include/
> 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=
> 343 | write(fd, INTERNAL_ERROR, strlen(
> | ^~~~~
> | fwrite
> chm_http.c:348:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_
> 348 | fgets(buffer, 4096, fout);
> | ^~~~~~~
> mv -f .deps/enum_
> libtool: compile: x86_64-
> mv -f .deps/enumdir_
> mv -f .deps/test_
> libtool: compile: x86_64-
> mv -f .deps/extract_
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:543: chm_http.o] Error 1
The full build log is available from:
http://
All bugs filed during this archive rebuild are listed at:
https:/
or:
https:/
A list of current common problems and possible solutions is available at
http://
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https:/
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.
Changed in chmlib (Debian): | |
importance: | Undecided → Unknown |