Package: src:opensnitch
Version: 1.6.9-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202603/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:opensnitch, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang --with=golang,python3
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
/usr/bin/make clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>/daemon'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/daemon'
make[3]: Entering directory '/<<PKGBUILDDIR>>/proto'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/proto'
make[3]: Entering directory '/<<PKGBUILDDIR>>/ui'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/ui'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f daemon/ui/protocol/ui_grpc.pb.go

[... snipped ...]

        Python recognizes 'opensnitch.database.migrations' as an importable 
package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to 
distribute this
        package, please make sure that 'opensnitch.database.migrations' is 
explicitly added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'opensnitch.database.migrations' to be distributed 
and are
        already explicitly excluding 'opensnitch.database.migrations' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: 
Package 'opensnitch.proto.pre3200' is absent from the `packages` configuration.
!!

        
********************************************************************************
        ############################
        # Package would be ignored #
        ############################
        Python recognizes 'opensnitch.proto.pre3200' as an importable 
package[^1],
        but it is absent from setuptools' `packages` configuration.

        This leads to an ambiguous overall configuration. If you want to 
distribute this
        package, please make sure that 'opensnitch.proto.pre3200' is explicitly 
added
        to the `packages` configuration field.

        Alternatively, you can also rely on setuptools' discovery methods
        (for example by using `find_namespace_packages(...)`/`find_namespace:`
        instead of `find_packages(...)`/`find:`).

        You can read more about "package discovery" on setuptools documentation 
page:

        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

        If you don't want 'opensnitch.proto.pre3200' to be distributed and are
        already explicitly excluding 'opensnitch.proto.pre3200' via
        `find_namespace_packages(...)/find_namespace` or 
`find_packages(...)/find`,
        you can try to use `exclude_package_data`, or 
`include-package-data=False` in
        combination with a more fine grained `package-data` configuration.

        You can read more about "package data files" on setuptools 
documentation page:

        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


        [^1]: For Python, any directory (with suitable naming) can be imported,
              even if it does not contain any `.py` files.
              On the other hand, currently there is no concept of package data
              directory, all directories are treated like packages.
        
********************************************************************************

!!
  check.warn(importable)
copying opensnitch/config.py -> build/lib/opensnitch
copying opensnitch/ui_pb2_grpc.py -> build/lib/opensnitch
copying opensnitch/nodes.py -> build/lib/opensnitch
copying opensnitch/desktop_parser.py -> build/lib/opensnitch
copying opensnitch/ui_pb2.py -> build/lib/opensnitch
copying opensnitch/notifications.py -> build/lib/opensnitch
copying opensnitch/version.py -> build/lib/opensnitch
copying opensnitch/__init__.py -> build/lib/opensnitch
copying opensnitch/service.py -> build/lib/opensnitch
copying opensnitch/rules.py -> build/lib/opensnitch
copying tests/README.md -> build/lib/tests
copying tests/__init__.py -> build/lib/tests
copying tests/test_nodes.py -> build/lib/tests
copying opensnitch/firewall/enums.py -> build/lib/opensnitch/firewall
copying opensnitch/firewall/utils.py -> build/lib/opensnitch/firewall
copying opensnitch/firewall/profiles.py -> build/lib/opensnitch/firewall
copying opensnitch/firewall/exprs.py -> build/lib/opensnitch/firewall
copying opensnitch/firewall/__init__.py -> build/lib/opensnitch/firewall
copying opensnitch/firewall/chains.py -> build/lib/opensnitch/firewall
copying opensnitch/firewall/rules.py -> build/lib/opensnitch/firewall
creating build/lib/opensnitch/database/migrations
copying opensnitch/database/migrations/upgrade_1.sql -> 
build/lib/opensnitch/database/migrations
copying opensnitch/database/migrations/upgrade_2.sql -> 
build/lib/opensnitch/database/migrations
copying opensnitch/database/migrations/upgrade_3.sql -> 
build/lib/opensnitch/database/migrations
copying opensnitch/database/enums.py -> build/lib/opensnitch/database
copying opensnitch/database/__init__.py -> build/lib/opensnitch/database
copying opensnitch/res/firewall.ui -> build/lib/opensnitch/res
copying opensnitch/res/firewall_rule.ui -> build/lib/opensnitch/res
copying opensnitch/res/icon-alert.png -> build/lib/opensnitch/res
copying opensnitch/res/icon-off.png -> build/lib/opensnitch/res
copying opensnitch/res/icon-pause.png -> build/lib/opensnitch/res
copying opensnitch/res/icon-pause.svg -> build/lib/opensnitch/res
copying opensnitch/res/icon-red.png -> build/lib/opensnitch/res
copying opensnitch/res/icon-white.png -> build/lib/opensnitch/res
copying opensnitch/res/icon-white.svg -> build/lib/opensnitch/res
copying opensnitch/res/icon.png -> build/lib/opensnitch/res
copying opensnitch/res/preferences.ui -> build/lib/opensnitch/res
copying opensnitch/res/process_details.ui -> build/lib/opensnitch/res
copying opensnitch/res/prompt.ui -> build/lib/opensnitch/res
copying opensnitch/res/resources.qrc -> build/lib/opensnitch/res
copying opensnitch/res/ruleseditor.ui -> build/lib/opensnitch/res
copying opensnitch/res/stats.ui -> build/lib/opensnitch/res
copying opensnitch/res/__init__.py -> build/lib/opensnitch/res
copying opensnitch/customwidgets/main.py -> build/lib/opensnitch/customwidgets
copying opensnitch/customwidgets/updownbtndelegate.py -> 
build/lib/opensnitch/customwidgets
copying opensnitch/customwidgets/addresstablemodel.py -> 
build/lib/opensnitch/customwidgets
copying opensnitch/customwidgets/colorizeddelegate.py -> 
build/lib/opensnitch/customwidgets
copying opensnitch/customwidgets/firewalltableview.py -> 
build/lib/opensnitch/customwidgets
copying opensnitch/customwidgets/__init__.py -> 
build/lib/opensnitch/customwidgets
copying opensnitch/customwidgets/generictableview.py -> 
build/lib/opensnitch/customwidgets
copying opensnitch/actions/utils.py -> build/lib/opensnitch/actions
copying opensnitch/actions/default_configs.py -> build/lib/opensnitch/actions
copying opensnitch/actions/highlight.py -> build/lib/opensnitch/actions
copying opensnitch/actions/__init__.py -> build/lib/opensnitch/actions
copying opensnitch/auth/__init__.py -> build/lib/opensnitch/auth
copying opensnitch/dialogs/ruleseditor.py -> build/lib/opensnitch/dialogs
copying opensnitch/dialogs/firewall.py -> build/lib/opensnitch/dialogs
copying opensnitch/dialogs/prompt.py -> build/lib/opensnitch/dialogs
copying opensnitch/dialogs/stats.py -> build/lib/opensnitch/dialogs
copying opensnitch/dialogs/__init__.py -> build/lib/opensnitch/dialogs
copying opensnitch/dialogs/conndetails.py -> build/lib/opensnitch/dialogs
copying opensnitch/dialogs/preferences.py -> build/lib/opensnitch/dialogs
copying opensnitch/dialogs/firewall_rule.py -> build/lib/opensnitch/dialogs
copying opensnitch/dialogs/processdetails.py -> build/lib/opensnitch/dialogs
copying opensnitch/utils/languages.py -> build/lib/opensnitch/utils
copying opensnitch/utils/xdg.py -> build/lib/opensnitch/utils
copying opensnitch/utils/infowindow.py -> build/lib/opensnitch/utils
copying opensnitch/utils/__init__.py -> build/lib/opensnitch/utils
copying opensnitch/utils/qvalidator.py -> build/lib/opensnitch/utils
creating build/lib/opensnitch/proto/pre3200
copying opensnitch/proto/pre3200/ui_pb2.py -> build/lib/opensnitch/proto/pre3200
copying opensnitch/proto/pre3200/ui_pb2_grpc.py -> 
build/lib/opensnitch/proto/pre3200
copying opensnitch/proto/ui_pb2_grpc.py -> build/lib/opensnitch/proto
copying opensnitch/proto/ui_pb2.py -> build/lib/opensnitch/proto
copying opensnitch/proto/__init__.py -> build/lib/opensnitch/proto
copying tests/dialogs/__init__.py -> build/lib/tests/dialogs
copying tests/dialogs/test_ruleseditor.py -> build/lib/tests/dialogs
copying tests/dialogs/test_preferences.py -> build/lib/tests/dialogs
running build_scripts
creating build/scripts-3.13
copying and adjusting bin/opensnitch-ui -> build/scripts-3.13
changing mode of build/scripts-3.13/opensnitch-ui from 644 to 755
if true ; then make -C ebpf_prog; fi
make[2]: Entering directory '/<<PKGBUILDDIR>>/ebpf_prog'
clang -I. -I/usr/src/linux-headers-6.19.8+deb14-amd64//arch/ 
[too-long-redacted] nitch.c -o opensnitch.o.partial
In file included from opensnitch.c:3:
In file included from ./common_defs.h:4:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/sched.h:12:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/current.h:10:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/cache.h:6:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/vdso/cache.h:5:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/cache.h:5:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/linkage.h:8:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/linkage.h:6:
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/ibt.h:77:8: 
warning: 'nocf_check' attribute ignored; use -fcf-protection to enable the 
attribute [-Wignored-attributes]
   77 | extern __noendbr bool is_endbr(u32 *val);
      |        ^
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/ibt.h:32:34: note: 
expanded from macro '__noendbr'
   32 | #define __noendbr       __attribute__((nocf_check))
      |                                        ^
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/ibt.h:78:8: 
warning: 'nocf_check' attribute ignored; use -fcf-protection to enable the 
attribute [-Wignored-attributes]
   78 | extern __noendbr u64 ibt_save(bool disable);
      |        ^
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/ibt.h:32:34: note: 
expanded from macro '__noendbr'
   32 | #define __noendbr       __attribute__((nocf_check))
      |                                        ^
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/ibt.h:79:8: 
warning: 'nocf_check' attribute ignored; use -fcf-protection to enable the 
attribute [-Wignored-attributes]
   79 | extern __noendbr void ibt_restore(u64 save);
      |        ^
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/ibt.h:32:34: note: 
expanded from macro '__noendbr'
   32 | #define __noendbr       __attribute__((nocf_check))
      |                                        ^
In file included from opensnitch.c:3:
In file included from ./common_defs.h:4:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/sched.h:12:
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/current.h:17:1: 
warning: multiple identical address spaces specified for type 
[-Wduplicate-decl-specifier]
   17 | DECLARE_PER_CPU_CACHE_HOT(struct task_struct * const 
__percpu_seg_override,
      | ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/percpu-defs.h:124:2: note: 
expanded from macro 'DECLARE_PER_CPU_CACHE_HOT'
  124 |         DECLARE_PER_CPU_SECTION(type, name, "..hot.." #name)
      |         ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/percpu-defs.h:100:9: note: 
expanded from macro 'DECLARE_PER_CPU_SECTION'
  100 |         extern __PCPU_ATTRS(sec) __typeof__(type) name
      |                ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/percpu-defs.h:48:2: note: 
expanded from macro '__PCPU_ATTRS'
   48 |         __percpu __attribute__((section(PER_CPU_BASE_SECTION sec)))     
\
      |         ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see 
all)
/lib/modules/6.19.8+deb14-amd64/source/include/linux/args.h:25:24: note: 
expanded from macro '__CONCAT'
   25 | #define __CONCAT(a, b) a ## b
      |                        ^
<scratch space>:43:1: note: expanded from here
   43 | __seg_gs
      | ^
<built-in>:376:33: note: expanded from macro '__seg_gs'
  376 | #define __seg_gs __attribute__((address_space(256)))
      |                                 ^
In file included from opensnitch.c:3:
In file included from ./common_defs.h:4:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/sched.h:13:
/lib/modules/6.19.8+deb14-amd64/source/arch/x86/include/asm/processor.h:427:1: 
warning: multiple identical address spaces specified for type 
[-Wduplicate-decl-specifier]
  427 | DECLARE_PER_CPU_CACHE_HOT(const unsigned long __percpu_seg_override,
      | ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/percpu-defs.h:124:2: note: 
expanded from macro 'DECLARE_PER_CPU_CACHE_HOT'
  124 |         DECLARE_PER_CPU_SECTION(type, name, "..hot.." #name)
      |         ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/percpu-defs.h:100:9: note: 
expanded from macro 'DECLARE_PER_CPU_SECTION'
  100 |         extern __PCPU_ATTRS(sec) __typeof__(type) name
      |                ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/percpu-defs.h:48:2: note: 
expanded from macro '__PCPU_ATTRS'
   48 |         __percpu __attribute__((section(PER_CPU_BASE_SECTION sec)))     
\
      |         ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see 
all)
/lib/modules/6.19.8+deb14-amd64/source/include/linux/args.h:25:24: note: 
expanded from macro '__CONCAT'
   25 | #define __CONCAT(a, b) a ## b
      |                        ^
<scratch space>:71:1: note: expanded from here
   71 | __seg_gs
      | ^
<built-in>:376:33: note: expanded from macro '__seg_gs'
  376 | #define __seg_gs __attribute__((address_space(256)))
      |                                 ^
In file included from opensnitch.c:3:
In file included from ./common_defs.h:5:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/ptrace.h:10:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/pid_namespace.h:11:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/ns_common.h:5:
/lib/modules/6.19.8+deb14-amd64/source/include/linux/ns/ns_common_types.h:117:3:
 warning: declaration does not declare anything [-Wmissing-declarations]
  117 |                 struct ns_tree;
      |                 ^~~~~~~~~~~~~~
In file included from opensnitch.c:3:
In file included from ./common_defs.h:5:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/ptrace.h:10:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/linux/pid_namespace.h:11:
/lib/modules/6.19.8+deb14-amd64/source/include/linux/ns_common.h:25:23: error: 
no member named 'ns_id' in 'struct ns_common'
   25 |         VFS_WARN_ON_ONCE(ns->ns_id == 0);
      |                          ~~  ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/ns_common.h:26:13: error: 
no member named 'ns_id' in 'struct ns_common'
   26 |         return ns->ns_id <= NS_LAST_INIT_ID;
      |                ~~  ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/ns_common.h:60:26: error: 
no member named '__ns_ref_active' in 'struct ns_common'
   60 |         return atomic_read(&ns->__ns_ref_active);
      |                             ~~  ^
In file included from opensnitch.c:6:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/net/udp_tunnel.h:5:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/net/ip_tunnels.h:21:
In file included from 
/lib/modules/6.19.8+deb14-amd64/source/include/net/dst_cache.h:8:
/lib/modules/6.19.8+deb14-amd64/source/include/net/ip6_fib.h:272:10: warning: 
default initialization of an object of type 'typeof (f6i->expires)' (aka 'const 
unsigned long') leaves the object uninitialized 
[-Wdefault-const-init-var-unsafe]
  272 |                 return time_after(jiffies, f6i->expires);
      |                        ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/jiffies.h:129:3: note: 
expanded from macro 'time_after'
  129 |          typecheck(unsigned long, b) && \
      |          ^
/lib/modules/6.19.8+deb14-amd64/source/include/linux/typecheck.h:11:12: note: 
expanded from macro 'typecheck'
   11 |         typeof(x) __dummy2; \
      |                   ^
7 warnings and 3 errors generated.
make[2]: *** [Makefile:59: opensnitch.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/ebpf_prog'
make[1]: *** [debian/rules:32: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:56: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to