Your message dated Tue, 25 Aug 2026 13:43:40 +0200
with message-id <[email protected]>
and subject line Re: Bug#1133660: usbguard: ftbfs with GCC-16
has caused the Debian Bug report #1133660,
regarding usbguard: ftbfs with GCC-16
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1133660: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1133660
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:usbguard
Version: 1.1.4+ds-2
Severity: important
Tags: sid forky ftbfs
User: [email protected]
Usertags: ftbfs-gcc-16

Hi,

usbguard fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/usbguard_arm64.build.xz

The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


/usr/include/tao/pegtl/parse.hpp:43:70:   required from 'auto 
tao::pegtl::parse(ParseInput&&, States&& ...) [with Rule = 
usbguard::UEventParser::grammar; Action = usbguard::UEventParser::actions; 
Control = state_control<normal>::type; apply_mode A = 
tao::pegtl::apply_mode::action; rewind_mode M = 
tao::pegtl::rewind_mode::required; ParseInput = string_input<>&; States = 
{usbguard::UEvent&, tracer<tracer_traits<false, true, 2, 8> >&}]'
   43 |       return Control< Rule >::template match< A, M, Action, Control >( 
in, st... );
      |              
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/tao/pegtl/contrib/trace.hpp:169:100:   required from 'bool 
tao::pegtl::tracer<TracerTraits>::parse(ParseInput&&, States&& ...) [with Rule 
= usbguard::UEventParser::grammar; Action = usbguard::UEventParser::actions; 
Control = tao::pegtl::normal; ParseInput = tao::pegtl::string_input<>&; States 
= {usbguard::UEvent&}; TracerTraits = tao::pegtl::tracer_traits<false>]'
  169 |          return TAO_PEGTL_NAMESPACE::parse< Rule, Action, 
state_control< Control >::template type >( in, st..., *this );
      |                                                                         
                           ^
/usr/include/tao/pegtl/contrib/trace.hpp:192:47:   required from 'bool 
tao::pegtl::complete_trace(ParseInput&&, States&& ...) [with Rule = 
usbguard::UEventParser::grammar; Action = usbguard::UEventParser::actions; 
Control = normal; ParseInput = string_input<>&; States = {usbguard::UEvent&}]'
  192 |       return tr.parse< Rule, Action, Control >( in, st... );
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
src/Library/UEventParser.cpp:138:61:   required from 'void 
usbguard::parseUEventFromString(const std::string&, UEvent&, bool) [with G = 
UEventParser::grammar; std::string = std::__cxx11::basic_string<char>]'
  138 |         tao::pegtl::complete_trace<G, UEventParser::actions>(in, 
uevent);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
src/Library/UEventParser.cpp:155:51:   required from here
  155 |       parseUEventFromString<UEventParser::grammar>(uevent_string, 
uevent, trace);
      |       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/tao/pegtl/demangle.hpp:119:26: error: static assertion failed
  119 |       static_assert( end != std::string_view::npos );
      |                      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  • the comparison reduces to '(18446744073709551615 != 18446744073709551615)'
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/SysFSDevice.cpp -fPIE -o 
src/Library/libusbguard_la-SysFSDevice.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/Init.cpp -fPIE -o 
src/Library/libusbguard_la-Init.o >/dev/null 2>&1
src/Library/public/usbguard/IPCServer.cpp: In member function 'void 
usbguard::IPCServer::AccessControl::load(std::istream&)':
src/Library/public/usbguard/IPCServer.cpp:191:12: warning: variable 
'line_number' set but not used [-Wunused-but-set-variable=]
  191 |     size_t line_number = 0;
      |            ^~~~~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/LocaltimeCondition.cpp -fPIE -o 
src/Library/libusbguard_la-LocaltimeCondition.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/Rule.cpp -fPIE -o 
src/Library/public/usbguard/libusbguard_la-Rule.o >/dev/null 2>&1
cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may 
have been intended to silence earlier diagnostics
make[3]: *** [Makefile:1868: src/Library/libusbguard_la-UEventParser.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/IPCClient.cpp -fPIE -o 
src/Library/public/usbguard/libusbguard_la-IPCClient.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/DevicePrivate.cpp -fPIE -o 
src/Library/libusbguard_la-DevicePrivate.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/ConfigFilePrivate.cpp -fPIE -o 
src/Library/libusbguard_la-ConfigFilePrivate.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/IPCPrivate.cpp -fPIE -o 
src/Library/libusbguard_la-IPCPrivate.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/KeyValueParserPrivate.cpp -fPIE -o 
src/Library/libusbguard_la-KeyValueParserPrivate.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/Policy.cpp -fPIE -o 
src/Library/public/usbguard/libusbguard_la-Policy.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/RuleSet.cpp -fPIE -o 
src/Library/public/usbguard/libusbguard_la-RuleSet.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/DeviceManagerPrivate.cpp -fPIE -o 
src/Library/libusbguard_la-DeviceManagerPrivate.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/DeviceManager.cpp 
-fPIE -o src/Library/public/usbguard/libusbguard_la-DeviceManager.o >/dev/null 
2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/Logger.cpp -fPIE -o 
src/Library/public/usbguard/libusbguard_la-Logger.o >/dev/null 2>&1
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-deprecated-register’ may 
have been intended to silence earlier diagnostics
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/DeviceBase.cpp -fPIE -o 
src/Library/libusbguard_la-DeviceBase.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/USB.cpp -fPIE -o 
src/Library/public/usbguard/libusbguard_la-USB.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Common/LDAPUtil.cpp -fPIE -o 
src/Common/libusbguard_la-LDAPUtil.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/Audit.cpp -fPIE -o 
src/Library/public/usbguard/libusbguard_la-Audit.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -Wno-missing-declarations -c 
src/Library/IPC/Parameter.pb.cc -fPIE -o 
src/Library/IPC/libusbguard_la-Parameter.pb.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/DeviceManagerBase.cpp -fPIE -o 
src/Library/libusbguard_la-DeviceManagerBase.o >/dev/null 2>&1
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may 
have been intended to silence earlier diagnostics
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/IPCServer.cpp -fPIE -o 
src/Library/public/usbguard/libusbguard_la-IPCServer.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/UEventDeviceManager.cpp -fPIE -o 
src/Library/libusbguard_la-UEventDeviceManager.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -Wno-missing-declarations -c 
src/Library/IPC/Devices.pb.cc -fPIE -o 
src/Library/IPC/libusbguard_la-Devices.pb.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Common/Utility.cpp -fPIE -o 
src/Common/libusbguard_la-Utility.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -Wno-missing-declarations -c 
src/Library/IPC/Policy.pb.cc -fPIE -o 
src/Library/IPC/libusbguard_la-Policy.pb.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/RulePrivate.cpp -fPIE -o 
src/Library/libusbguard_la-RulePrivate.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/IPCClientPrivate.cpp -fPIE -o 
src/Library/libusbguard_la-IPCClientPrivate.o >/dev/null 2>&1
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-deprecated-register’ may 
have been intended to silence earlier diagnostics
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/IPCServerPrivate.cpp -fPIE -o 
src/Library/libusbguard_la-IPCServerPrivate.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/UMockdevDeviceManager.cpp -fPIE -o 
src/Library/libusbguard_la-UMockdevDeviceManager.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/UMockdevDeviceDefinition.cpp -fPIE -o 
src/Library/libusbguard_la-UMockdevDeviceDefinition.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -fPIC -I./src 
-I./src/Library -I./src/Library/public -I./src/Library/IPC -pthread 
-I/usr/include/umockdev-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread 
-DHAVE_BUILD_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -g -O2 
-ffile-prefix-map=/build/reproducible-path/usbguard-1.1.4+ds=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -pthread 
-fvisibility=hidden -pedantic -Wno-unknown-pragmas -Wall -Wextra -Wformat=2 
-Wredundant-decls -Wcast-align -Wmissing-declarations -Wmissing-include-dirs 
-Wmissing-format-attribute -Wswitch-enum -Wswitch-default -Winvalid-pch 
-Wformat-nonliteral -Wno-deprecated-register -Wno-missing-field-initializers 
-Wno-implicit-fallthrough -c src/Library/public/usbguard/RuleParser.cpp -fPIE 
-o src/Library/public/usbguard/libusbguard_la-RuleParser.o >/dev/null 2>&1
make[3]: Leaving directory '/build/reproducible-path/usbguard-1.1.4+ds'
make[2]: *** [Makefile:2737: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/usbguard-1.1.4+ds'
make[1]: *** [Makefile:1064: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/usbguard-1.1.4+ds'
dh_auto_build: error: make -j128 returned exit code 2
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2

--- End Message ---
--- Begin Message ---
Hi,

On 8/12/26 4:20 AM, John Rowley wrote:
On Mon, Apr 13, 2026 at 03:12:27PM +0200, Emanuele Rocca wrote:
Package: src:usbguard
Version: 1.1.4+ds-2
Severity: important
Tags: sid forky ftbfs
User: [email protected]
Usertags: ftbfs-gcc-16

Hi,

usbguard fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

FYI I tried building this on amd64 GCC 16.2 and the build was
successful, perhaps due to one of the regression fixes in:
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=16.2

Same here, I built the package successfully using gcc-16_16.2.0-1. Given that it succeeds to build, I'm closing the bug.

cheers,
Birger

--- End Message ---

Reply via email to