[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1075126: lablgtk3: ftbfs with GCC-14



Package: src:lablgtk3
Version: 3.1.4-1
Severity: important
Tags: sid trixie
User: debian-gcc@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/lablgtk3_3.1.4-1_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

[...]
ml_gtktree.c:915:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead
  915 |     cell = alloc_small(2, Tag_cons);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~                                         
ml_gtktree.c: In function ‘callback4’:
ml_gtktree.c:968:13: warning: "callbackN" is deprecated: use "caml_callbackN" instead
  968 |   return callbackN(closure, 4, arg);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~                                     
ml_gtktree.c: In function ‘encode_iter’:
ml_gtktree.c:1166:13: warning: "callback2" is deprecated: use "caml_callback2" instead
 1166 |   })
      |             ^                                                            
ml_gtktree.c: In function ‘custom_model_get_flags’:
ml_gtktree.c:1212:13: warning: "callback" is deprecated: use "caml_callback" instead
 1212 |   })
      |             ^                                                          
ml_gtktree.c: In function ‘custom_model_get_n_columns’:
ml_gtktree.c:1225:13: warning: "callback" is deprecated: use "caml_callback" instead
 1225 |       return Int_val(n_columns);})}
      |             ^~~~~~~~~~~~~~~~~~~~~~~                                    
ml_gtktree.c: In function ‘custom_model_get_column_type’:
ml_gtktree.c:1238:13: warning: "callback2" is deprecated: use "caml_callback2" instead
 1238 |     return GType_val(t);})}
      |             ^~~~~~~~~~~~~~~                                              
ml_gtktree.c: In function ‘custom_model_get_iter’:
ml_gtktree.c:1268:27: warning: "callback2" is deprecated: use "caml_callback2" instead
 1268 |                   }})}
      |                           ^                                                            
ml_gtktree.c: In function ‘custom_model_get_path’:
ml_gtktree.c:1288:13: warning: "callback2" is deprecated: use "caml_callback2" instead
 1288 |     return gtk_tree_path_copy(GtkTreePath_val(path));})}}
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
ml_gtktree.c: In function ‘custom_model_iter_next’:
ml_gtktree.c:1329:27: warning: "callback2" is deprecated: use "caml_callback2" instead
 1329 |                     })})}}
      |                           ^                                                            
ml_gtktree.c: In function ‘custom_model_iter_children’:
ml_gtktree.c:1352:27: warning: "callback2" is deprecated: use "caml_callback2" instead
 1352 |                   })})}}
      |                           ^                                                            
ml_gtktree.c: In function ‘custom_model_iter_has_child’:
ml_gtktree.c:1368:13: warning: "callback2" is deprecated: use "caml_callback2" instead
 1368 |     return Bool_val(callback2(method,callback_object, row));})}}
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
ml_gtktree.c: In function ‘custom_model_iter_n_children’:
ml_gtktree.c:1382:13: warning: "callback2" is deprecated: use "caml_callback2" instead
 1382 |     return Int_val(callback2(method,callback_object, arg));})}}
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~          
ml_gtktree.c: In function ‘custom_model_iter_nth_child’:
ml_gtktree.c:1407:27: warning: "callback3" is deprecated: use "caml_callback3" instead
 1407 |                   })})}}
      |                           ^                                                            
ml_gtktree.c: In function ‘custom_model_iter_parent’:
ml_gtktree.c:1431:27: warning: "callback2" is deprecated: use "caml_callback2" instead
 1431 |                       })})}}
      |                           ^~                                                           
ml_gtktree.c: In function ‘custom_model_ref_node’:
ml_gtktree.c:1445:20: warning: "callback2" is deprecated: use "caml_callback2" instead
 1445 |         callback2(method, callback_object, row);})}}
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
ml_gtktree.c: In function ‘custom_model_unref_node’:
ml_gtktree.c:1459:20: warning: "callback2" is deprecated: use "caml_callback2" instead
 1459 |         callback2(method, callback_object, row);})}}
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
ml_gtktree.c: In function ‘ml_gtk_tree_view_get_visible_range’:
ml_gtktree.c:1588:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead
 1588 |      result = alloc_tuple(2);
      |             ^~~~~~~~~~~~~~~~~                                                
dh_auto_build: error: dune build -j 8 -p lablgtk3,lablgtk3-gtkspell3,lablgtk3-sourceview3 returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: