Package: src:microdc2
Version: 0.15.6-6
Severity: important
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/microdc2_0.15.6-6_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
      |                                                                      
char *
xml_flist.c:38:11: note: in definition of macro ‘XML_CALL’
   38 |     var = call; \
      |           ^~~~
/usr/include/libxml2/libxml/tree.h:829:57: note: expected ‘const xmlChar *’ 
{aka ‘const unsigned char *’} but argument is of type ‘char *’
  829 |                                          const xmlChar *value);
      |                                          ~~~~~~~~~~~~~~~^~~~~
xml_flist.c: In function ‘start_element_callback’:
xml_flist.c:376:20: error: assignment to ‘char **’ from incompatible pointer 
type ‘const char **’ [-Wincompatible-pointer-types]
  376 |             for (a = (const char**)attrs; *a != NULL; a++) {
      |                    ^
xml_flist.c:387:53: warning: pointer targets in passing argument 1 of 
‘strcasecmp’ differ in signedness [-Wpointer-sign]
  387 |         if (pctxt->unknown_level == 0 && strcasecmp(name, 
"FileListing") == 0) {
      |                                                     ^~~~
      |                                                     |
      |                                                     const xmlChar * 
{aka const unsigned char *}
In file included from /usr/include/string.h:462:
/usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of 
type ‘const xmlChar *’ {aka ‘const unsigned char *’}
  116 | extern int strcasecmp (const char *__s1, const char *__s2)
      |                        ~~~~~~~~~~~~^~~~
xml_flist.c:391:60: warning: pointer targets in passing argument 1 of 
‘strcasecmp’ differ in signedness [-Wpointer-sign]
  391 |         } else if (pctxt->unknown_level == 0 && strcasecmp(name, 
"Directory") == 0) {
      |                                                            ^~~~
      |                                                            |
      |                                                            const 
xmlChar * {aka const unsigned char *}
/usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of 
type ‘const xmlChar *’ {aka ‘const unsigned char *’}
  116 | extern int strcasecmp (const char *__s1, const char *__s2)
      |                        ~~~~~~~~~~~~^~~~
xml_flist.c:398:60: warning: pointer targets in passing argument 1 of 
‘strcasecmp’ differ in signedness [-Wpointer-sign]
  398 |         } else if (pctxt->unknown_level == 0 && strcasecmp(name, 
"File") == 0) {
      |                                                            ^~~~
      |                                                            |
      |                                                            const 
xmlChar * {aka const unsigned char *}
/usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of 
type ‘const xmlChar *’ {aka ‘const unsigned char *’}
  116 | extern int strcasecmp (const char *__s1, const char *__s2)
      |                        ~~~~~~~~~~~~^~~~
xml_flist.c:416:20: error: assignment to ‘char **’ from incompatible pointer 
type ‘const char **’ [-Wincompatible-pointer-types]
  416 |             for (a = (const char**)attrs; *a != NULL; a++) {
      |                    ^
fs.c: In function ‘file_node_compare’:
fs.c:359:27: warning: pointer targets in passing argument 1 of ‘strcoll’ differ 
in signedness [-Wpointer-sign]
  359 |             res = strcoll(s1, s2);
      |                           ^~
      |                           |
      |                           unsigned char *
In file included from common/error.h:25,
                 from fs.c:45:
/usr/include/string.h:163:33: note: expected ‘const char *’ but argument is of 
type ‘unsigned char *’
  163 | extern int strcoll (const char *__s1, const char *__s2)
      |                     ~~~~~~~~~~~~^~~~
fs.c:359:31: warning: pointer targets in passing argument 2 of ‘strcoll’ differ 
in signedness [-Wpointer-sign]
  359 |             res = strcoll(s1, s2);
      |                               ^~
      |                               |
      |                               unsigned char *
/usr/include/string.h:163:51: note: expected ‘const char *’ but argument is of 
type ‘unsigned char *’
  163 | extern int strcoll (const char *__s1, const char *__s2)
      |                                       ~~~~~~~~~~~~^~~~
make[4]: *** [Makefile:594: xml_flist.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:653: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:460: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:397: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Reply via email to