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

Bug#1066238: marked as done (dvbackup: FTBFS: dvconnect.c:264:33: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration])



Your message dated Fri, 12 Apr 2024 16:49:02 +0000
with message-id <E1rvK5G-00HC0U-9W@fasolo.debian.org>
and subject line Bug#1066238: fixed in dvbackup 1:0.0.4-10
has caused the Debian Bug report #1066238,
regarding dvbackup: FTBFS: dvconnect.c:264:33: error: implicit declaration of function ‘memcpy’ [-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.)


-- 
1066238: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066238
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: dvbackup
Version: 1:0.0.4-9
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):
> gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -pie -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -DHAVE_LIBPOPT -o dvconnect dvconnect.c -lpopt -lpthread
> dvconnect.c: In function ‘handle_packet’:
> dvconnect.c:264:33: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
>   264 |                                 memcpy(p_out, data + 12, 480);
>       |                                 ^~~~~~
> dvconnect.c:22:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
>    21 | #include <malloc.h>
>   +++ |+#include <string.h>
>    22 | 
> dvconnect.c:264:33: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
>   264 |                                 memcpy(p_out, data + 12, 480);
>       |                                 ^~~~~~
> dvconnect.c:264:33: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
> dvconnect.c: In function ‘capture_raw’:
> dvconnect.c:326:26: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
>   326 |         if (!filename || strcmp(filename, "-") == 0) {
>       |                          ^~~~~~
> dvconnect.c:326:26: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
> dvconnect.c:401:25: error: implicit declaration of function ‘memset’ [-Werror=implicit-function-declaration]
>   401 |                         memset(curr, 0, v.buf_size);
>       |                         ^~~~~~
> dvconnect.c:401:25: note: include ‘<string.h>’ or provide a declaration of ‘memset’
> dvconnect.c:401:25: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch]
> dvconnect.c:401:25: note: include ‘<string.h>’ or provide a declaration of ‘memset’
> dvconnect.c:426:41: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
>   426 |                                         memcpy(outbuf + outbuf_used, curr+ofs,
>       |                                         ^~~~~~
> dvconnect.c:426:41: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
> dvconnect.c:431:41: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
>   431 |                                         memcpy(outbuf + outbuf_used,
>       |                                         ^~~~~~
> dvconnect.c:431:41: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
> dvconnect.c: In function ‘fill_buffer’:
> dvconnect.c:584:33: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
>   584 |                                 memcpy(f_node->data, underrun_data_frame,
>       |                                 ^~~~~~
> dvconnect.c:584:33: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
> dvconnect.c:633:25: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
>   633 |                         memcpy(p, frame + vdata, 480);
>       |                         ^~~~~~
> dvconnect.c:633:25: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
> dvconnect.c: In function ‘send_raw’:
> dvconnect.c:782:9: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch]
>   782 |         memset(packet_sizes, 0, sizeof(packet_sizes));
>       |         ^~~~~~
> dvconnect.c:782:9: note: include ‘<string.h>’ or provide a declaration of ‘memset’
> dvconnect.c: In function ‘rt_raisepri’:
> dvconnect.c:848:17: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch]
>   848 |                 memset (&scp, '\0', sizeof (scp));
>       |                 ^~~~~~
> dvconnect.c:848:17: note: include ‘<string.h>’ or provide a declaration of ‘memset’
> dvconnect.c: In function ‘sig_int_recv_handler’:
> dvconnect.c:305:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   305 |         write(2, t, sizeof(t));
>       |         ^~~~~~~~~~~~~~~~~~~~~~
> dvconnect.c: In function ‘sig_int_send_handler’:
> dvconnect.c:499:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   499 |         write(2, t, sizeof(t));
>       |         ^~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:16: dvconnect] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/dvbackup_0.0.4-9_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: dvbackup
Source-Version: 1:0.0.4-10
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
dvbackup, 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 1066238@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 dvbackup 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, 12 Apr 2024 18:29:46 +0200
Source: dvbackup
Architecture: source
Version: 1:0.0.4-10
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 991022 1066238
Changes:
 dvbackup (1:0.0.4-10) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * QA upload.
   * Fix building with -Werror=implicit-function-declaration.
     (Closes: #1066238)
   * Declare Rules-Requires-Root: no.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS.  (Closes: #991022)
 .
   [ Jelmer Vernooij ]
   * Migrate repository from alioth to salsa.
Checksums-Sha1:
 15d76e059d6f5f5c3c85650116edb49765d55a3c 1906 dvbackup_0.0.4-10.dsc
 dcb4c98d04ccbdb32155e0dd38fb6c5b20a763f1 8892 dvbackup_0.0.4-10.debian.tar.xz
 c2744b8f3e1ad11545551d26da5ab4a94ab076db 5926 dvbackup_0.0.4-10_source.buildinfo
Checksums-Sha256:
 45c6dfd5320666d5ff27537044d5dbf9f650a1b06f2f3baeea0ca8deb1d5c87f 1906 dvbackup_0.0.4-10.dsc
 2d5062a5b08703eab6063e147f057428c0ff7d3dc848ef706cb14c9bb09f6c33 8892 dvbackup_0.0.4-10.debian.tar.xz
 13b772d7641d45c24baba1cd5d5bfb131c91e596aac9ad55763a55753d356f71 5926 dvbackup_0.0.4-10_source.buildinfo
Files:
 b08370f72af8580ab7104da40833980d 1906 admin optional dvbackup_0.0.4-10.dsc
 7f04a7bcf0ba2bc288a6e5ddb06ec147 8892 admin optional dvbackup_0.0.4-10.debian.tar.xz
 ac3951841ce4875c01473173bbd0865a 5926 admin optional dvbackup_0.0.4-10_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYZYr8QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCK3mD/9x59qA8Gvqdp00qkQ7f+SNeDYabobu9Ywa
6nL5GX+uGkQVWR1GaT/lmlwBUoMB/Scb7lCSZ1Xz7jApdHmsInSjs4NoO55gdWNz
HsypJ/YuSGzeOQJJU6lF/jeD0RcdiV5oCLZw2FRXOVHw2Qt2AdYGJbGzIAjdV/t/
peYzf8K+fHmGsXIveaxs4ubpL3jIlNlG+E2x5SKSnFDQhh00OlRCZiS21RHlqC44
9e5boP8H6yJHB6keH8dXi6y96ffM1TM+HwKQU9LR+eecl9ZAfsewLNk73R+PJmwq
PhoYvHBkqnShOwHq6Ha1i0lVKUUwn7hCQWlDpCf99hUuNX6gxJmOQzCmLlgc7hh+
ob49bi7b4LOiS363afdm2lpxRHvZIYMp+EM3STd39l9sNDoqTlHwxG3cN0hul/nT
ner/WVyyNvxpQCmEdXAD7wTDTsLzE+nNp2rYmnmHK/5xM7VB1tgzuhAd8BSciWKB
CANGbATBNtFVNpXyjL4rfjKSAR+UODepet0MNJfA5E/E9O4ysQiLtb6OjbYtWtB5
O85/IagOk45O0YwXYLcfg1SRy97XNOD5QUbxKbATjbS8+/Kq29zWUp7zcetB4oYa
8P1OosQXGIVS/a6vKpjedrtcIYyvMDmba99vBCZhpzUwuTA0egN162ywiSaHzeP3
VcdXffsTdg==
=AFS9
-----END PGP SIGNATURE-----

Attachment: pgp1cGfz7JMAs.pgp
Description: PGP signature


--- End Message ---

Reply to: