Source: stardict
Version: 3.0.7+git20220909+dfsg-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240809 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I../..  -I/usr/include/sigc++-2.0 
> -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -Wall -Werror=format-security 
> -D_FORTIFY_SOURCE=2 -O1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 
> -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid 
> -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu 
> -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders 
> -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 
> -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/json-glib-1.0 
> -D_REENTRANT -D_REENTRANT -pthread  -I../.. -I../..  -I../../../lib/src 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/speech_tools  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o http_client.lo http_client.cpp
> stddict.cpp: In member function 'collation_file* 
> idxsyn_file::collate_load_impl(const std::string&, const std::string&, 
> CollateFunctions, show_progress_t*, CacheFileType)':
> stddict.cpp:722:34: warning: 'void g_qsort_with_data(gconstpointer, gint, 
> gsize, GCompareDataFunc, gpointer)' is deprecated: Use 'g_sort_array' instead 
> [-Wdeprecated-declarations]
>   722 |                 g_qsort_with_data(_clt_file->get_wordoffset(), 
> wordcount, sizeof(guint32), sort_collation_index, &data);
>       |                 
> ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib.h:71:
> /usr/include/glib-2.0/glib/gqsort.h:39:6: note: declared here
>    39 | void g_qsort_with_data (gconstpointer    pbase,
>       |      ^~~~~~~~~~~~~~~~~
> stddict.cpp: In member function 'bool Dict::LookupWithRule(GPatternSpec*, 
> glong*, int)':
> stddict.cpp:1466:43: warning: 'gboolean g_pattern_match_string(GPatternSpec*, 
> const gchar*)' is deprecated: Use 'g_pattern_spec_match_string' instead 
> [-Wdeprecated-declarations]
>  1466 |                 if (g_pattern_match_string(pspec, 
> idx_file->getWord(i, CollationLevel_NONE, 0)))
>       |                     
> ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib.h:68:
> /usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here
>    57 | gboolean      g_pattern_match_string   (GPatternSpec *pspec,
>       |               ^~~~~~~~~~~~~~~~~~~~~~
> stddict.cpp: In member function 'bool 
> Dict::LookupWithRuleSynonym(GPatternSpec*, glong*, int)':
> stddict.cpp:1479:43: warning: 'gboolean g_pattern_match_string(GPatternSpec*, 
> const gchar*)' is deprecated: Use 'g_pattern_spec_match_string' instead 
> [-Wdeprecated-declarations]
>  1479 |                 if (g_pattern_match_string(pspec, 
> syn_file->getWord(i, CollationLevel_NONE, 0)))
>       |                     
> ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here
>    57 | gboolean      g_pattern_match_string   (GPatternSpec *pspec,
>       |               ^~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/gstring.h:35:
> stddict.cpp: In member function 'bool Libs::LookupSynonymSimilarWord(const 
> gchar*, glong&, glong&, size_t, int)':
> /usr/include/glib-2.0/glib/gunicode.h:809:34: error: invalid conversion from 
> 'const gchar*' {aka 'const char*'} to 'gchar*' {aka 'char*'} [-fpermissive]
>   809 | #define g_utf8_next_char(p) ((p) + g_utf8_skip[*(const guchar *)(p)])
>       |                             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                  |
>       |                                  const gchar* {aka const char*}
> stddict.cpp:2541:43: note: in expansion of macro 'g_utf8_next_char'
>  2541 |                         gchar *nextchar = g_utf8_next_char(sWord);
>       |                                           ^~~~~~~~~~~~~~~~
> stddict.cpp: In member function 'bool Libs::LookupSimilarWord(const gchar*, 
> glong&, glong&, size_t, int)':
> /usr/include/glib-2.0/glib/gunicode.h:809:34: error: invalid conversion from 
> 'const gchar*' {aka 'const char*'} to 'gchar*' {aka 'char*'} [-fpermissive]
>   809 | #define g_utf8_next_char(p) ((p) + g_utf8_skip[*(const guchar *)(p)])
>       |                             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                  |
>       |                                  const gchar* {aka const char*}
> stddict.cpp:2651:43: note: in expansion of macro 'g_utf8_next_char'
>  2651 |                         gchar *nextchar = g_utf8_next_char(sWord);
>       |                                           ^~~~~~~~~~~~~~~~
> In file included from mapfile.h:37,
>                  from dictziplib.h:27,
>                  from dictbase.h:29,
>                  from stddict.h:31,
>                  from storage_impl.h:23,
>                  from storage.cpp:30:
> utils.h: In function 'gchar* stardict_datadup(gconstpointer)':
> utils.h:82:33: warning: 'void* g_memdup(gconstpointer, guint)' is deprecated: 
> Use 'g_memdup2' instead [-Wdeprecated-declarations]
>    82 |         return (gchar *)g_memdup(mem, sizeof(guint32) + 
> *reinterpret_cast<const guint32 *>(mem));
>       |                         
> ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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 storage.cpp:20:
> /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here
>   338 | gpointer              g_memdup         (gconstpointer mem,
>       |                       ^~~~~~~~
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/sigc++-2.0 
> -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -Wall -Werror=format-security 
> -D_FORTIFY_SOURCE=2 -O1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 
> -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid 
> -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu 
> -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders 
> -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 
> -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/json-glib-1.0 
> -D_REENTRANT -D_REENTRANT -pthread -I../.. -I../.. -I../../../lib/src 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/speech_tools -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> http_client.cpp  -fPIC -DPIC -o .libs/http_client.o
> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I../..  -I/usr/include/sigc++-2.0 
> -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include  -Wall -Werror=format-security 
> -D_FORTIFY_SOURCE=2 -O1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 
> -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid 
> -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu 
> -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders 
> -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 
> -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/json-glib-1.0 
> -D_REENTRANT -D_REENTRANT -pthread  -I../.. -I../..  -I../../../lib/src 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/speech_tools  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c 
> -o httpmanager.lo httpmanager.cpp
> make[5]: *** [Makefile:603: stddict.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/08/09/stardict_3.0.7+git20220909+dfsg-5_unstable.log

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

Reply via email to