Package: dh-debputy
Version: 0.1.84
Severity: normal

Hello.
Here are a reproducer and the resulting standard error.

#!/bin/sh
set -Cefuvx
mkdir -p reproducer/foo/debian/source
cd reproducer/foo
cat > debian/source/format <<EOF
3.0 (native)
EOF
cat > debian/debputy.manifest <<EOF
manifest-version: '0.1'
installations:
- install:
     source: debian/control
     into: kbd-udeb
EOF
cat > debian/control <<EOF
Source: foo
Section: utils
Maintainer: Nicolas Boulenguez <[email protected]>
Build-Driver: debputy
Build-Depends: debputy
Standards-Version: 4.7.3

Package: kbd
Architecture: any
Description: bla
 Bla

Package: kbd-udeb
Package-Type: udeb
Architecture: any
Description: bla
  Bla
EOF
cat > debian/changelog <<EOF
foo (1) UNRELEASED; urgency=medium

  * Bla

 -- Nicolas Boulenguez <[email protected]>  Sun, 14 Dec 2025 10:38:41 +0100
EOF
dpkg-buildpackage

[...]
debputy internal-command dpkg-build-driver-run-task clean
dpkg-source -b .
debputy internal-command dpkg-build-driver-run-task binary
debputy: warning: Internal error in debputy
debputy: warning:   ----- 8< ---- BEGIN STACK TRACE ---- 8< -----
Traceback (most recent call last):
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/__main__.py", line 
1163, in main
    ROOT_COMMAND(cmd_arg)
    ~~~~~~~~~~~~^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line 
691, in __call__
    self._aliases[v](command_arg)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line 
691, in __call__
    self._aliases[v](command_arg)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line 
522, in __call__
    return self._handler(context)
           ~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/__main__.py", line 
812, in _dpkg_build_driver_integration
    assemble(
    ~~~~~~~~^
        context,
        ^^^^^^^^
    ...<3 lines>...
        debug_materialization=log_level is not None,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/__main__.py", line 
930, in assemble
    cross_package_control_files(package_data_table, manifest)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/deb_packaging_support.py", line 891, in 
cross_package_control_files
    soname_info_list = compute_shlibs(
        binary_package,
    ...<6 lines>...
        combined_shlibs,
    )
  File "/usr/share/dh-debputy/debputy/packaging/makeshlibs.py", line 264, in 
compute_shlibs
    assert not binary_package.is_udeb
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
debputy: warning:   ----- 8< ---- END STACK TRACE ---- 8< -----
debputy: warning: Please file a bug against debputy with the full output.
debputy: error: 

Reply via email to