Source: transmission
Version: 4.0.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/libtransmission &&
> /usr/bin/c++ -DFMT_EXCEPTIONS=0 -DFMT_HEADER_ONLY=1 -DHAVE_GETTEXT
> -DHAVE_NGETTEXT
> -DLIBTRANSMISSION_TEST_ASSETS_DIR=\"/<<PKGBUILDDIR>>/tests/libtransmission/assets\"
> -D__TRANSMISSION__ -I/<<PKGBUILDDIR>>/libtransmission/..
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libtransmission/.. -isystem
> /<<PKGBUILDDIR>>/cmake/../third-party/fmt/include -isystem
> /<<PKGBUILDDIR>>/third-party/googletest/googletest/include -isystem
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/third-party/dht.bld/pfx/include
> -isystem /<<PKGBUILDDIR>>/cmake/../third-party/wide-integer -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG
> -std=gnu++17 -W -Wall -Wextra -Wcast-align -Wduplicated-cond -Wextra-semi
> -Wfloat-equal -Winit-self -Wint-in-bool-context -Wlogical-op
> -Wmissing-format-attribute -Wnull-dereference -Wpointer-arith
> -Wredundant-decls -Wredundant-move -Wrestrict -Wself-move -Wshadow
> -Wsign-compare -Wsuggest-override -Wuninitialized -Wunreachable-code -Wunused
> -Wunused-const-variable -Wunused-parameter -Wunused-result -Wwrite-strings
> -Wformat-security -Wno-sign-compare -MD -MT
> tests/libtransmission/CMakeFiles/libtransmission-test.dir/announce-list-test.cc.o
> -MF CMakeFiles/libtransmission-test.dir/announce-list-test.cc.o.d -o
> CMakeFiles/libtransmission-test.dir/announce-list-test.cc.o -c
> /<<PKGBUILDDIR>>/tests/libtransmission/announce-list-test.cc
> In file included from /<<PKGBUILDDIR>>/gtk/Actions.h:9,
> from /<<PKGBUILDDIR>>/gtk/Actions.cc:6:
> /<<PKGBUILDDIR>>/gtk/Utils.h:125:6: error: variable or field
> ‘gtr_priority_combo_init’ declared void
> 125 | void gtr_priority_combo_init(Gtk::ComboBox& combo);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:125:35: error: ‘ComboBox’ is not a member of
> ‘Gtk’
> 125 | void gtr_priority_combo_init(Gtk::ComboBox& combo);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:125:45: error: ‘combo’ was not declared in this
> scope
> 125 | void gtr_priority_combo_init(Gtk::ComboBox& combo);
> | ^~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:127:6: error: variable or field
> ‘gtr_combo_box_set_enum’ declared void
> 127 | void gtr_combo_box_set_enum(Gtk::ComboBox& combo,
> std::vector<std::pair<Glib::ustring, int>> const& items);
> | ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:127:34: error: ‘ComboBox’ is not a member of
> ‘Gtk’
> 127 | void gtr_combo_box_set_enum(Gtk::ComboBox& combo,
> std::vector<std::pair<Glib::ustring, int>> const& items);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:127:44: error: ‘combo’ was not declared in this
> scope
> 127 | void gtr_combo_box_set_enum(Gtk::ComboBox& combo,
> std::vector<std::pair<Glib::ustring, int>> const& items);
> | ^~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:127:94: error: expected primary-expression
> before ‘const’
> 127 | void gtr_combo_box_set_enum(Gtk::ComboBox& combo,
> std::vector<std::pair<Glib::ustring, int>> const& items);
> |
> ^~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:128:40: error: ‘ComboBox’ is not a member of
> ‘Gtk’
> 128 | int gtr_combo_box_get_active_enum(Gtk::ComboBox const& combo);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:129:6: error: variable or field
> ‘gtr_combo_box_set_active_enum’ declared void
> 129 | void gtr_combo_box_set_active_enum(Gtk::ComboBox& combo, int value);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:129:41: error: ‘ComboBox’ is not a member of
> ‘Gtk’
> 129 | void gtr_combo_box_set_active_enum(Gtk::ComboBox& combo, int value);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:129:51: error: ‘combo’ was not declared in this
> scope
> 129 | void gtr_combo_box_set_active_enum(Gtk::ComboBox& combo, int value);
> | ^~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:129:58: error: expected primary-expression
> before ‘int’
> 129 | void gtr_combo_box_set_active_enum(Gtk::ComboBox& combo, int value);
> | ^~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:142:10: error: ‘TreeView’ is not a member of
> ‘Gtk’
> 142 | Gtk::TreeView& view,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:142:20: error: ‘view’ was not declared in this
> scope
> 142 | Gtk::TreeView& view,
> | ^~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:143:5: error: expected primary-expression before
> ‘double’
> 143 | double event_x,
> | ^~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:144:5: error: expected primary-expression before
> ‘double’
> 144 | double event_y,
> | ^~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:145:5: error: expected primary-expression before
> ‘bool’
> 145 | bool context_menu_requested,
> | ^~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:146:41: error: expected primary-expression
> before ‘const’
> 146 | std::function<void(double, double)> const& callback = {});
> | ^~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:146:61: error: expression list treated as
> compound expression in initializer [-fpermissive]
> 146 | std::function<void(double, double)> const& callback = {});
> | ^
> /<<PKGBUILDDIR>>/gtk/Utils.h:149:40: error: ‘TreeView’ is not a member of
> ‘Gtk’
> 149 | bool on_tree_view_button_released(Gtk::TreeView& view, double
> event_x, double event_y);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:149:50: error: ‘view’ was not declared in this
> scope
> 149 | bool on_tree_view_button_released(Gtk::TreeView& view, double
> event_x, double event_y);
> | ^~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:149:56: error: expected primary-expression
> before ‘double’
> 149 | bool on_tree_view_button_released(Gtk::TreeView& view, double
> event_x, double event_y);
> | ^~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:149:72: error: expected primary-expression
> before ‘double’
> 149 | bool on_tree_view_button_released(Gtk::TreeView& view, double
> event_x, double event_y);
> |
> ^~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:149:86: error: expression list treated as
> compound expression in initializer [-fpermissive]
> 149 | bool on_tree_view_button_released(Gtk::TreeView& view, double
> event_x, double event_y);
> |
> ^
> /<<PKGBUILDDIR>>/gtk/Utils.h:153:6: error: variable or field
> ‘setup_tree_view_button_event_handling’ declared void
> 153 | void setup_tree_view_button_event_handling(
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:154:10: error: ‘TreeView’ is not a member of
> ‘Gtk’
> 154 | Gtk::TreeView& view,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:154:20: error: ‘view’ was not declared in this
> scope
> 154 | Gtk::TreeView& view,
> | ^~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:155:73: error: expected primary-expression
> before ‘const’
> 155 | std::function<bool(guint, TrGdkModifierType, double, double,
> bool)> const& press_callback,
> |
> ^~~~~
> /<<PKGBUILDDIR>>/gtk/Utils.h:156:41: error: expected primary-expression
> before ‘const’
> 156 | std::function<bool(double, double)> const& release_callback);
> | ^~~~~
> In file included from /<<PKGBUILDDIR>>/gtk/Session.h:8,
> from /<<PKGBUILDDIR>>/gtk/Actions.cc:10:
> /<<PKGBUILDDIR>>/gtk/Torrent.h:30:5: error: expected class-name before ‘{’
> token
> 30 | {
> | ^
> /<<PKGBUILDDIR>>/gtk/Torrent.h:34:14: error: ‘TreeModelColumn’ in namespace
> ‘Gtk’ does not name a template type
> 34 | Gtk::TreeModelColumn<Torrent*> self;
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/gtk/Torrent.h:35:14: error: ‘TreeModelColumn’ in namespace
> ‘Gtk’ does not name a template type
> 35 | Gtk::TreeModelColumn<Glib::ustring> name_collated;
> | ^~~~~~~~~~~~~~~
> cc1plus: note: unrecognized command-line option ‘-Wno-exit-time-destructors’
> may have been intended to silence earlier diagnostics
> make[3]: *** [gtk/CMakeFiles/transmission-gtk.dir/build.make:143:
> gtk/CMakeFiles/transmission-gtk.dir/Actions.cc.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/07/24/transmission_4.0.2-1_unstable.log
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.