[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1066387: marked as done (gkermit: FTBFS: gkermit.c:350:7: error: implicit declaration of function ‘sleep’ [-Werror=implicit-function-declaration])



Your message dated Fri, 05 Apr 2024 02:34:31 +0000
with message-id <E1rsZPT-00CtER-3R@fasolo.debian.org>
and subject line Bug#1066387: fixed in gkermit 2.01-4
has caused the Debian Bug report #1066387,
regarding gkermit: FTBFS: gkermit.c:350:7: error: implicit declaration of function ‘sleep’ [-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 owner@bugs.debian.org
immediately.)


-- 
1066387: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066387
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: gkermit
Version: 2.01-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
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):
> cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -c gproto.c
> gkermit.c: In function ‘errpkt’:
> gkermit.c:350:7: error: implicit declaration of function ‘sleep’ [-Werror=implicit-function-declaration]
>   350 |       sleep(1);                         /* Time to soak up incoming junk. */
>       |       ^~~~~
> gunixio.c: In function ‘sysinit’:
> gunixio.c:256:19: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
>   256 |     signal(SIGHUP,doexit);              /* Go here on hangup */
>       |                   ^~~~~~
>       |                   |
>       |                   int (*)(int)
> In file included from gunixio.c:83:
> /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘int (*)(int)’
>    88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
>       |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
> gunixio.c: In function ‘ttopen’:
> gunixio.c:358:23: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
>   358 |         signal(SIGINT,doexit);
>       |                       ^~~~~~
>       |                       |
>       |                       int (*)(int)
> /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘int (*)(int)’
>    88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
>       |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
> gunixio.c:361:24: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
>   361 |         signal(SIGTSTP,doexit);
>       |                        ^~~~~~
>       |                        |
>       |                        int (*)(int)
> /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘int (*)(int)’
>    88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
>       |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
> gunixio.c:364:24: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
>   364 |         signal(SIGQUIT,doexit);
>       |                        ^~~~~~
>       |                        |
>       |                        int (*)(int)
> /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘int (*)(int)’
>    88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
>       |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
> gunixio.c:395:26: error: implicit declaration of function ‘dup2’ [-Werror=implicit-function-declaration]
>   395 |                 else if (dup2(ofd, 1) == -1)
>       |                          ^~~~
> gunixio.c:398:19: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=implicit-function-declaration]
>   398 |                   close(ofd);
>       |                   ^~~~~
>       |                   pclose
> gunixio.c: In function ‘ttres’:
> gunixio.c:543:19: error: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Werror=implicit-function-declaration]
>   543 |     dummy = (int) write(1,"\015\012",2);
>       |                   ^~~~~
>       |                   fwrite
> gunixio.c: In function ‘ttchk’:
> gunixio.c:553:13: error: implicit declaration of function ‘read’; did you mean ‘fread’? [-Werror=implicit-function-declaration]
>   553 |         x = read(0,&tinbuf[tlast],TINBUFSIZ-tlast);
>       |             ^~~~
>       |             fread
> gunixio.c: In function ‘ttinl’:
> gunixio.c:634:24: warning: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
>   634 |         signal(SIGALRM,timerh);         /* Enable timer interrupt */
>       |                        ^~~~~~
>       |                        |
>       |                        int (*)()
> /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘int (*)()’
>    88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
>       |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
> gunixio.c:635:9: error: implicit declaration of function ‘alarm’ [-Werror=implicit-function-declaration]
>   635 |         alarm(timo);                    /* Set it. */
>       |         ^~~~~
> gunixio.c: In function ‘zchki’:
> gunixio.c:894:9: error: implicit declaration of function ‘access’ [-Werror=implicit-function-declaration]
>   894 |     if (access(fn,R_OK) < 0) {
>       |         ^~~~~~
> gunixio.c: In function ‘zbackup’:
> gunixio.c:1095:17: error: implicit declaration of function ‘link’ [-Werror=implicit-function-declaration]
>  1095 |             if (link(fn,newname) <  0) { /* Rename old file to backup name */
>       |                 ^~~~
> gunixio.c:1099:24: error: implicit declaration of function ‘unlink’ [-Werror=implicit-function-declaration]
>  1099 |             } else if (unlink(fn) < 0) {
>       |                        ^~~~~~
> gunixio.c: In function ‘ttpkt’:
> gunixio.c:515:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   515 |     system("stty raw -echo");
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[2]: *** [makefile:58: gunixio.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/gkermit_2.01-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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.

--- End Message ---
--- Begin Message ---
Source: gkermit
Source-Version: 2.01-4
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
gkermit, 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 1066387@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated gkermit 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 05 Apr 2024 03:32:43 +0200
Source: gkermit
Architecture: source
Version: 2.01-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1066387
Changes:
 gkermit (2.01-4) unstable; urgency=medium
 .
   * QA upload.
   * Fix building with -Werror=implicit-function-declaration.
     (Closes: #1066387)
   * Declare Rules-Requires-Root: no.
   * Enable all hardening flags.
Checksums-Sha1:
 11f98f7f36bcd6cadbd6293a2ced2f246eaf6ff8 1840 gkermit_2.01-4.dsc
 3c14dd0c959c58ed1ebafd9bb76a9839e3710bb5 5348 gkermit_2.01-4.debian.tar.xz
 c952a8223d828cd387ab81e48f84081781dbe6b5 5638 gkermit_2.01-4_source.buildinfo
Checksums-Sha256:
 6c856efda14eb5cb655d864517c8a3ad1286763e9a8f8e0f8bf8dc37e043b575 1840 gkermit_2.01-4.dsc
 b1503dbd7a75b534ce45e301a97f37beb9a60c22dc62a09f102705c6ae46c9ae 5348 gkermit_2.01-4.debian.tar.xz
 4a0d4bd242aff42be635232981d4aad9019c4caa59b9aaa0e454c11c71ebba16 5638 gkermit_2.01-4_source.buildinfo
Files:
 09a4afcdcf3dab20b5d31a8ff574402b 1840 comm optional gkermit_2.01-4.dsc
 d235f77ee2f4f3e4f90e0d30c855cb8c 5348 comm optional gkermit_2.01-4.debian.tar.xz
 f03b7066fc375a982d47e88ef50f9772 5638 comm optional gkermit_2.01-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYPVvoQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCN7LD/487AYb2bftM2rjMlqc4sNVbvHH0+qqkI5N
Q0zh2+lBN38F3VMuPqQiR+724kv7GuVrjqGxT2u/OMfLAL/vDFwP7j5/CjFe7QUO
6R7+8WLRcwXiR1DPxh7zGKUgEeUlRFBH1jlFsrcUOlKj5gpVUrxsuDJJODvIQGA0
EB80Z4tk7/cvYFYBf35Cce6+dLxAyZnKdkKZW4rKMqLa5IfCMvcc/G0sUP2VlwxA
8f8b/rj+vuJS/Yknn33/kmpGLlTKIn2t0QcFuzwh2EUSWPVrX9uPT1OpHys7oAXd
FuuiHowTu1VuDcPjcPz8Si1X2tgghI9aw5++VVw2oHP+BF8Cowpmywwj/10e2QJ0
TiOcGzqHUzr72lEOiL/qts2aWmTp5UWMida8oBbDKfSR1//Gm1rp/dxI7D0B0qgH
DOUrMIXHi1stYOGo1X37MqEZ+hUPfeWiviAQsaKMdUmhcsODWWbTF1leByeTJAz0
YBm92sInFNZfQev2kPk2453BeXI8E3JaOXYLb+tpzFypEsSJH06Gjk5gw3cVCFD4
wxHWHsSJrqDmVjbfMjueSFKj6h9QVTaUoPg/Dq8N2qNlX7ST1RFmBCHy5ZsypM66
a+DSj0tVYrdB77l+QjlAOet2IwQdpZqposODNVdnz3MX8kNOXoLWt7EK7/4WHWSp
uxSO8f8/ig==
=gDV1
-----END PGP SIGNATURE-----

Attachment: pgpmSvnwOoFIl.pgp
Description: PGP signature


--- End Message ---

Reply to: