Package: src:lua-svn
Version: 0.4.0-11
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/lua-svn_0.4.0-11_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

[...]
src/luasvn.c: In function ‘l_revprop_set’:
src/luasvn.c:1409:9: warning: ‘svn_path_canonicalize’ is deprecated 
[-Wdeprecated-declarations]
 1409 |         url = svn_path_canonicalize (url, pool);
      |         ^~~
/usr/include/subversion-1/svn_path.h:284:1: note: declared here
  284 | svn_path_canonicalize(const char *path, apr_pool_t *pool);
      | ^~~~~~~~~~~~~~~~~~~~~
src/luasvn.c:1418:25: warning: ‘svn_subst_translate_string’ is deprecated 
[-Wdeprecated-declarations]
 1418 |                         err = svn_subst_translate_string (&sstring, 
sstring, APR_LOCALE_CHARSET, pool);
      |                         ^~~
/usr/include/subversion-1/svn_subst.h:687:14: note: declared here
  687 | svn_error_t *svn_subst_translate_string(svn_string_t **new_value,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/luasvn.c:1422:17: warning: ‘svn_client_revprop_set’ is deprecated 
[-Wdeprecated-declarations]
 1422 |                 err = svn_client_revprop_set (propname_utf8, sstring, 
url, &revision, &rev, force, ctx, pool);
      |                 ^~~
/usr/include/subversion-1/svn_client.h:6183:1: note: declared here
 6183 | svn_client_revprop_set(const char *propname,
      | ^~~~~~~~~~~~~~~~~~~~~~
src/luasvn.c:1424:17: warning: ‘svn_client_revprop_set’ is deprecated 
[-Wdeprecated-declarations]
 1424 |                 err = svn_client_revprop_set (propname_utf8, NULL, url, 
&revision, &rev, force, ctx, pool);
      |                 ^~~
/usr/include/subversion-1/svn_client.h:6183:1: note: declared here
 6183 | svn_client_revprop_set(const char *propname,
      | ^~~~~~~~~~~~~~~~~~~~~~
src/luasvn.c: In function ‘status_func’:
src/luasvn.c:1609:9: warning: ‘svn_path_local_style’ is deprecated 
[-Wdeprecated-declarations]
 1609 |         print_status (svn_path_local_style (path, pool),
      |         ^~~~~~~~~~~~
/usr/include/subversion-1/svn_path.h:82:1: note: declared here
   82 | svn_path_local_style(const char *path, apr_pool_t *pool);
      | ^~~~~~~~~~~~~~~~~~~~
src/luasvn.c: In function ‘l_status’:
src/luasvn.c:1669:9: warning: ‘svn_path_canonicalize’ is deprecated 
[-Wdeprecated-declarations]
 1669 |         path = svn_path_canonicalize (path, pool);
      |         ^~~~
/usr/include/subversion-1/svn_path.h:284:1: note: declared here
  284 | svn_path_canonicalize(const char *path, apr_pool_t *pool);
      | ^~~~~~~~~~~~~~~~~~~~~
src/luasvn.c:1679:9: warning: ‘svn_client_status2’ is deprecated 
[-Wdeprecated-declarations]
 1679 |         err = svn_client_status2 (&rev, path, &revision, status_func, 
&baton,
      |         ^~~
/usr/include/subversion-1/svn_client.h:2724:1: note: declared here
 2724 | svn_client_status2(svn_revnum_t *result_rev,
      | ^~~~~~~~~~~~~~~~~~
src/luasvn.c: In function ‘l_update’:
src/luasvn.c:1725:9: warning: ‘svn_path_canonicalize’ is deprecated 
[-Wdeprecated-declarations]
 1725 |         path = svn_path_canonicalize (path, pool);
      |         ^~~~
/usr/include/subversion-1/svn_path.h:284:1: note: declared here
  284 | svn_path_canonicalize(const char *path, apr_pool_t *pool);
      | ^~~~~~~~~~~~~~~~~~~~~
src/luasvn.c:1730:9: warning: ‘svn_client_update2’ is deprecated 
[-Wdeprecated-declarations]
 1730 |         err = svn_client_update2 (&result_revs, array, &revision, 
recursive, ignore_externals, ctx, pool);
      |         ^~~
/usr/include/subversion-1/svn_client.h:1436:1: note: declared here
 1436 | svn_client_update2(apr_array_header_t **result_revs,
      | ^~~~~~~~~~~~~~~~~~
src/luasvn.c:1736:27: warning: cast from pointer to integer of different size 
[-Wpointer-to-int-cast]
 1736 |                 int rev = (int) ((int **) (result_revs->elts))[0];
      |                           ^
src/luasvn.c: At top level:
src/luasvn.c:1775:1: error: return type defaults to ‘int’ [-Wimplicit-int]
 1775 | luaopen_svn (lua_State *L) {
      | ^~~~~~~~~~~
make[2]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.single:446: 
/<<PKGBUILDDIR>>/5.1-svn/src/luasvn.lo] Error 1
make[1]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.multiple:12: build] Error 1
dh_auto_build: error: make --no-print-directory -f 
/usr/share/dh-lua/make/dh-lua.Makefile.multiple build returned exit code 2
make: *** [debian/rules:4: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to