Your message dated Sat, 16 Mar 2024 15:46:42 +0000
with message-id <e1rlwf8-005vry...@fasolo.debian.org>
and subject line Bug#1066648: fixed in ots 0.5.0-9
has caused the Debian Bug report #1066648,
regarding ots: FTBFS: grader-tf.c:108:9: error: implicit declaration of 
function ‘log’ [-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.)


-- 
1066648: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066648
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ots
Version: 0.5.0-8
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):
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
> -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/libxml2  -Wall  -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 -c -o text.lo text.c
> dictionary.c: In function ‘ots_load_xml_dictionary’:
> dictionary.c:321:40: warning: pointer targets in passing argument 2 of 
> ‘xmlGetProp’ differ in signedness [-Wpointer-sign]
>   321 |            idf_key=xmlGetProp(tf_words,"idf");
>       |                                        ^~~~~
>       |                                        |
>       |                                        char *
> In file included from /usr/include/libxml2/libxml/parser.h:16,
>                  from /usr/include/libxml2/libxml/globals.h:18,
>                  from /usr/include/libxml2/libxml/threads.h:35,
>                  from /usr/include/libxml2/libxml/xmlmemory.h:218,
>                  from dictionary.c:28:
> /usr/include/libxml2/libxml/tree.h:1030:57: note: expected ‘const xmlChar *’ 
> {aka ‘const unsigned char *’} but argument is of type ‘char *’
>  1030 |                                          const xmlChar *name);
>       |                                          ~~~~~~~~~~~~~~~^~~~
> dictionary.c:322:84: warning: pointer targets in passing argument 1 of ‘atof’ 
> differ in signedness [-Wpointer-sign]
>   322 |            Doc->tf_terms = g_list_append 
> (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key)));
>       |                                                                       
>              ^~~~~~~
>       |                                                                       
>              |
>       |                                                                       
>              xmlChar * {aka unsigned char *}
> In file included from /usr/include/features.h:490,
>                  from 
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from dictionary.c:21:
> /usr/include/x86_64-linux-gnu/bits/stdlib-float.h:25:1: note: expected ‘const 
> char *’ but argument is of type ‘xmlChar *’ {aka ‘unsigned char *’}
>    25 | __NTH (atof (const char *__nptr))
>       | ^~~~~
> dictionary.c:322:75: warning: pointer targets in passing argument 1 of 
> ‘ots_new_OtsWordTF’ differ in signedness [-Wpointer-sign]
>   322 |            Doc->tf_terms = g_list_append 
> (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key)));
>       |                                                                       
>     ^~~
>       |                                                                       
>     |
>       |                                                                       
>     xmlChar * {aka unsigned char *}
> In file included from dictionary.c:25:
> libots.h:114:43: note: expected ‘const char *’ but argument is of type 
> ‘xmlChar *’ {aka ‘unsigned char *’}
>   114 | OtsWordTF*  ots_new_OtsWordTF(const char* word,const double idf);
>       |                               ~~~~~~~~~~~~^~~~
> grader-tf.c: In function ‘ots_calc_idf’:
> grader-tf.c:108:9: error: implicit declaration of function ‘log’ 
> [-Werror=implicit-function-declaration]
>   108 | return -log(doc_word_count/term_count);
>       |         ^~~
> grader-tf.c:25:1: note: include ‘<math.h>’ or provide a declaration of ‘log’
>    24 | #include "libots.h"
>   +++ |+#include <math.h>
>    25 | 
> grader-tf.c:108:9: warning: incompatible implicit declaration of built-in 
> function ‘log’ [-Wbuiltin-declaration-mismatch]
>   108 | return -log(doc_word_count/term_count);
>       |         ^~~
> grader-tf.c:108:9: note: include ‘<math.h>’ or provide a declaration of ‘log’
> html.c: In function ‘ots_get_line_HTML’:
> html.c:62:13: warning: pointer targets in assignment from ‘gchar *’ {aka 
> ‘char *’} to ‘unsigned char *’ differ in signedness [-Wpointer-sign]
>    62 |   utf8_data = text->str;
>       |             ^
> In file included from /usr/include/glib-2.0/glib/giochannel.h:36,
>                  from /usr/include/glib-2.0/glib.h:56,
>                  from libots.h:24,
>                  from html.c:24:
> html.c: In function ‘ots_get_doc_HTML’:
> html.c:105:34: warning: pointer targets in passing argument 2 of 
> ‘g_string_append_len_inline’ differ in signedness [-Wpointer-sign]
>   105 |       g_string_append_len (text, utf8_data, line_len);
>       |                                  ^~~~~~~~~
>       |                                  |
>       |                                  unsigned char *
> /usr/include/glib-2.0/glib/gstring.h:247:37: note: in definition of macro 
> ‘g_string_append_len’
>   247 |   g_string_append_len_inline (gstr, val, len)
>       |                                     ^~~
> grader.c: In function ‘ots_grade_structure’:
> grader.c:45:2: warning: this ‘if’ clause does not guard... 
> [-Wmisleading-indentation]
>    45 |  if (Doc->lines!=NULL)
>       |  ^~
> grader.c:47:3: note: ...this statement, but the latter is misleadingly 
> indented as if it were guarded by the ‘if’
>    47 |   if (NULL!=first_line) first_line->score *= 2; /*first line/title is 
> very important so we increase its score */
>       |   ^~
> /usr/include/glib-2.0/glib/gstring.h:215:41: note: expected ‘const char *’ 
> but argument is of type ‘unsigned char *’
>   215 |                             const char *val,
>       |                             ~~~~~~~~~~~~^~~
> html.c:112:13: warning: pointer targets in assignment from ‘gchar *’ {aka 
> ‘char *’} to ‘unsigned char *’ differ in signedness [-Wpointer-sign]
>   112 |   utf8_data = text->str;
>       |             ^
> /usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 
> ‘g_string_free_and_steal’ declared with attribute ‘warn_unused_result’ 
> [-Wunused-result]
>    70 |   (__builtin_constant_p (free_segment) ?        \
>       |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    71 |     ((free_segment) ?                           \
>       |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    72 |       (g_string_free) ((str), (free_segment)) : \
>       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    73 |       g_string_free_and_steal (str))            \
>       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    74 |     :                                           \
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    75 |     (g_string_free) ((str), (free_segment)))
>       |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> html.c:114:3: note: in expansion of macro ‘g_string_free’
>   114 |   g_string_free (text, FALSE);
>       |   ^~~~~~~~~~~~~
> html.c: In function ‘ots_get_line_HTML’:
> /usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 
> ‘g_string_free_and_steal’ declared with attribute ‘warn_unused_result’ 
> [-Wunused-result]
>    70 |   (__builtin_constant_p (free_segment) ?        \
>       |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    71 |     ((free_segment) ?                           \
>       |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    72 |       (g_string_free) ((str), (free_segment)) : \
>       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    73 |       g_string_free_and_steal (str))            \
>       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    74 |     :                                           \
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    75 |     (g_string_free) ((str), (free_segment)))
>       |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> html.c:63:3: note: in expansion of macro ‘g_string_free’
>    63 |   g_string_free (text, FALSE);
>       |   ^~~~~~~~~~~~~
> article.c: In function ‘ots_append_word’:
> article.c:107:37: warning: pointer targets in passing argument 1 of ‘strlen’ 
> differ in signedness [-Wpointer-sign]
>   107 |   if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return;
>       |                                     ^~~~~
>       |                                     |
>       |                                     const unsigned char *
> In file included from article.c:23:
> /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is 
> of type ‘const unsigned char *’
>   407 | extern size_t strlen (const char *__s)
>       |                       ~~~~~~~~~~~~^~~
> In file included from /usr/include/glib-2.0/glib/gstring.h:37,
>                  from /usr/include/glib-2.0/glib/giochannel.h:36,
>                  from /usr/include/glib-2.0/glib.h:56,
>                  from libots.h:24,
>                  from article.c:25:
> article.c:109:68: warning: pointer targets in passing argument 1 of 
> ‘g_strdup_inline’ differ in signedness [-Wpointer-sign]
>   109 |   aLine->words = g_list_append (aLine->words, (gpointer) g_strdup 
> (aWord));
>       |                                                                    
> ^~~~~
>       |                                                                    |
>       |                                                                    
> const unsigned char *
> /usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro 
> ‘g_strdup’
>   324 | #define g_strdup(x) g_strdup_inline (x)
>       |                                      ^
> /usr/include/glib-2.0/glib/gstrfuncs.h:309:30: note: expected ‘const char *’ 
> but argument is of type ‘const unsigned char *’
>   309 | g_strdup_inline (const char *str)
>       |                  ~~~~~~~~~~~~^~~
> libtool: compile:  gcc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" 
> -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -Wall 
> -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 -c 
> text.c  -fPIC -DPIC -o .libs/text.o
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
> -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/share/ots/\" -I. -I.. -I.. 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/libxml2  -Wall  -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 -c -o stemmer.lo stemmer.c
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:563: grader-tf.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/ots_0.5.0-8_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: ots
Source-Version: 0.5.0-9
Done: Andrey Rakhmatullin <w...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ots, 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.
Andrey Rakhmatullin <w...@debian.org> (supplier of updated ots 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: Sat, 16 Mar 2024 19:21:38 +0500
Source: ots
Architecture: source
Version: 0.5.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Andrey Rakhmatullin <w...@debian.org>
Closes: 1066648
Changes:
 ots (0.5.0-9) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1066648).
Checksums-Sha1:
 174a21d4ad50d12ef9988cd712e695cad65c7563 1989 ots_0.5.0-9.dsc
 87d4444123651d414abacced082204f27ba3b9c1 7544 ots_0.5.0-9.debian.tar.xz
 cc0f3db49ef846ff35081e28073fbafa39ae1852 10983 ots_0.5.0-9_amd64.buildinfo
Checksums-Sha256:
 e5c92940d09be8ee3aa91cdebe888cb5b8ac68176757c0f76034baeeca5e596e 1989 
ots_0.5.0-9.dsc
 5c52719f2761e8d2a4e2c8e4e949cea428c750f029c6272ebb46cde7c1f8adea 7544 
ots_0.5.0-9.debian.tar.xz
 1ad2b14cca629923ee3c01a3d19b046bd73e06f87b0f14359bc61e81b7c3f1fb 10983 
ots_0.5.0-9_amd64.buildinfo
Files:
 c53deccaa0289891ffce4b65f14da342 1989 devel optional ots_0.5.0-9.dsc
 3baa2e7a6683a6b7674890389863eef5 7544 devel optional ots_0.5.0-9.debian.tar.xz
 e18e8d9c668a9cc80aab6390eb09b00c 10983 devel optional 
ots_0.5.0-9_amd64.buildinfo

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

iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmX1r4sACgkQM2L3AxpJ
kuH9FQ//d31FXcp0qt9lscvQDlGnssQOtgZXDMGm48+ymcsMAUxwEPWamZtEGcM0
outcOEWZpmPxhXSW7ClFH/7kgLyJ47YAT1KnlwhUnL9aZT+/Agdj+ueG74aLeTe6
PDmkrBRsgXu4AvOOjS2/eHvMyXGF0WWW2JD4P5VDIIkT7/24HO/rO05OQZVmDibE
4PZbX+Dz/jQftBESgzVKV9AQyEfDrFTLB7UC67AD78Oi97uyGYnj1d0akwh/iaXd
srbnNwQuvqfQGwidKFZJaIQLWWFVngcyYH/gT/8zSMAQJBqfOc6kdlOafrSuL3Yv
vIsDYf03YB5b1UTYXaXj6vPbPtDuhWquieNL5zhGwNRuE/+QQJ2KWEzXL+6gIKHl
JgsrusTELuLG1hDQpXcyIgzNh9ZrpzI/OW+0tdb5JTlPbDvBqzhx76Mw6HEHd483
/RsEbtQvqbkLV3Jd3sknX40OqCBzugcrZ13SYinpKPuAHZqn69eDQgycDggBVh7M
E446aHdloV63X+/0TCsj/Yr/+HLcvQgVfLWvB/GMnHux4/gfeyqqSP0zs8vsyeq0
M5/PiQuGm7AmocX6kPlqAOjdcJ2K+R9NOQuQL0Ce6xCQJtbRFO6RU6CX7/txCA0l
jFkig6PR7dGnQNuXAjz0DluJ7EPAo384SfXbLShJelL013eBhwo=
=n1+u
-----END PGP SIGNATURE-----

Attachment: pgpEu3vyibHoR.pgp
Description: PGP signature


--- End Message ---

Reply via email to