Your message dated Thu, 14 Mar 2024 22:21:46 +0000
with message-id <e1rktsm-00e7s1...@fasolo.debian.org>
and subject line Bug#1066249: fixed in libmediascan 0~20220401.git.34fc2d-5
has caused the Debian Bug report #1066249,
regarding libmediascan: FTBFS: api_test.c:80:3: error: implicit declaration of 
function ‘gettimeofday’ [-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 ow...@bugs.debian.org
immediately.)


-- 
1066249: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066249
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libmediascan
Version: 0~20220401.git.34fc2d-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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 -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../include 
> -I../test -I/usr/local/BerkeleyDB.5.1/include -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -c -o image_test-image_test.o `test 
> -f 'image_test.c' || echo './'`image_test.c
> api_test.c: In function ‘check_mimetypes’:
> api_test.c:80:3: error: implicit declaration of function ‘gettimeofday’ 
> [-Werror=implicit-function-declaration]
>    80 |   gettimeofday(&now, NULL);
>       |   ^~~~~~~~~~~~
> api_test.c:118:83: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 2 has type ‘long int’ [-Wformat=]
>   118 |         
> printf("------------------------------------------------------\nTotal MS 
> %d\n", end_count - start_count);
>       |                                                                       
>            ~^     ~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                                       
>             |               |
>       |                                                                       
>             int             long int
>       |                                                                       
>            %ld
> In file included from image_test.c:4:
> common.h: In function ‘_findbin’:
> common.h:27:5: warning: ignoring return value of ‘getcwd’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>    27 |     getcwd(buf, 1024);
>       |     ^~~~~~~~~~~~~~~~~
> api_test.c: In function ‘main’:
> api_test.c:198:3: error: implicit declaration of function ‘run_unit_tests’ 
> [-Werror=implicit-function-declaration]
>   198 |   run_unit_tests();
>       |   ^~~~~~~~~~~~~~
> In file included from api_test.c:10:
> common.h: In function ‘_findbin’:
> common.h:27:5: warning: ignoring return value of ‘getcwd’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>    27 |     getcwd(buf, 1024);
>       |     ^~~~~~~~~~~~~~~~~
> In file included from /usr/include/CUnit/Basic.h:36,
>                  from test_background.c:24:
> test_background.c: In function ‘test_background_api’:
> test_background.c:12:16: error: implicit declaration of function ‘mkdir’; did 
> you mean ‘_mkdir’? [-Werror=implicit-function-declaration]
>    12 | #define _mkdir mkdir
>       |                ^~~~~
> test_background.c:203:20: note: in expansion of macro ‘_mkdir’
>   203 |         CU_ASSERT( _mkdir(test_path) != -1 );
>       |                    ^~~~~~
> test_background.c: In function ‘test_async_api’:
> test_background.c:822:3: error: implicit declaration of function 
> ‘gettimeofday’ [-Werror=implicit-function-declaration]
>   822 |   gettimeofday(&now, NULL);
>       |   ^~~~~~~~~~~~
> test.c: In function ‘test_ms_scan_6’:
> test.c:356:15: warning: extra tokens at end of #endif directive 
> [-Wendif-labels]
>   356 |         #endif;
>       |               ^
> test.c: In function ‘TouchFile’:
> test.c:512:3: error: implicit declaration of function ‘gettimeofday’ 
> [-Werror=implicit-function-declaration]
>   512 |   gettimeofday(&now, NULL);
>       |   ^~~~~~~~~~~~
> test.c:513:3: error: implicit declaration of function ‘utimes’; did you mean 
> ‘ctime’? [-Werror=implicit-function-declaration]
>   513 |   utimes(filename  , &now);
>       |   ^~~~~~
>       |   ctime
> cc1: some warnings being treated as errors
> make[4]: *** [Makefile:658: api_test-api_test.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/libmediascan_0~20220401.git.34fc2d-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@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: libmediascan
Source-Version: 0~20220401.git.34fc2d-5
Done: gregor herrmann <gre...@debian.org>

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

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libmediascan 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 14 Mar 2024 22:59:29 +0100
Source: libmediascan
Architecture: source
Version: 0~20220401.git.34fc2d-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Closes: 1066249
Changes:
 libmediascan (0~20220401.git.34fc2d-5) unstable; urgency=medium
 .
   * Team upload.
   * Add implicit-function-declaration.patch. (Closes: #1066249)
Checksums-Sha1:
 66061014ff03a3ad2cd1fdcc51c3d54e68a3c21f 2938 
libmediascan_0~20220401.git.34fc2d-5.dsc
 f94e1bb870fb2bff7d6822832551f918e06196e2 15636 
libmediascan_0~20220401.git.34fc2d-5.debian.tar.xz
Checksums-Sha256:
 df023ad8063a92f157bec7c8fe975959ee8bc2a1b8df01816566f17397256563 2938 
libmediascan_0~20220401.git.34fc2d-5.dsc
 cf5a7d27817dc6cada071cb33ffbbd30ab4f9c685b65ef1f1bb26065d505c6d2 15636 
libmediascan_0~20220401.git.34fc2d-5.debian.tar.xz
Files:
 e88a49ec7ed2c6730870e3434807fd18 2938 perl optional 
libmediascan_0~20220401.git.34fc2d-5.dsc
 edae9fd18d24ef69241f6c407e719159 15636 perl optional 
libmediascan_0~20220401.git.34fc2d-5.debian.tar.xz

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

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmXzdBhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgZh1g/6AsChHM86Y3lu/CToVhO89h/RIqnsaU0kHQ+wIuCYJ7pJk/IsXHJBm1OU
P+2ZqPj8LOuRggKXeHSMrzMYl3wdDUUIENltzcTHEE4dwxyPMYsliy5MncnHN93n
cjXk4uchwcmg4cZpny5bXx1/Lo7TBNPcQMcbOu/5mRTLszi/NZBcOFIEYo6YiCc9
wOiAUFYo+akRAal0SeD+M7OKQCWepQ0ssA13XQUTv50vfyBvBHjBE5eo1PN7zBEl
sdC7UW+04xdUwyb9n43RK9yeCX+fR/pJRunFXdnIqudkakB+kQPpA+b1zL9vc0A1
BRsOl7vOfBVmra4hRD17aw2XG6ToW2vciPMkszAmCrENnTGLwowHBS6KjECxFk17
fXmfR6IUCtg6YA9IrTL3P3+rwe+UHF8jvI4zueCd/GePWLAJA8tsAmmlwLYJIpTk
U7Jb1Q84YQfhgdu3z4qkpy0ELwE3z07PuehABHTKLJXLVLkDkIhfXEkv383b4Ajl
AjInJiodNhnM5fzkhnXP5vvVvb2Exq1xIbnzx3OIHRruvtAqdpu7zovRWL0S5OnK
f+wrrqPDDqX2Q908s7wzbsgJPXoXQa5rEXiysbTK2zzPFB+f/Rj4dCZwz6A21qgn
p10czEcpf/Mj5rQrTDYt1G7QDyohyAJeYix8kcvjR9a2QpHcm6o=
=Lo4k
-----END PGP SIGNATURE-----

Attachment: pgpz_16c7NsYa.pgp
Description: PGP signature


--- End Message ---

Reply via email to