Package: dh-debputy
Version: 0.1.48~bpo12+1
Severity: important

Dear Maintainer,

dh-deputy crashes when building castle-game-engine.

The full log of crash is https://buildd.debian.org/status/fetch.php?pkg=castle-
game-engine&arch=amd64&ver=7.0~alpha.3%2Bdfsg1-10&stamp=1737359406&raw=0

Below the trace log.

make[1]: Leaving directory '/build/reproducible-path/castle-game-
engine-7.0~alpha.3+dfsg1'
   debian/rules execute_before_dh_debputy
make[1]: Entering directory '/build/reproducible-path/castle-game-
engine-7.0~alpha.3+dfsg1'
mkdir -p /build/reproducible-path/castle-game-
engine-7.0~alpha.3+dfsg1/debian/tmp/packages
echo 'If you are looking for CGE documentation, please install the package
named' > /build/reproducible-path/castle-game-
engine-7.0~alpha.3+dfsg1/debian/tmp/packages/README.txt
echo 'castle-game-engine-doc.' >> /build/reproducible-path/castle-game-
engine-7.0~alpha.3+dfsg1/debian/tmp/packages/README.txt
make[1]: Leaving directory '/build/reproducible-path/castle-game-
engine-7.0~alpha.3+dfsg1'
   dh_debputy -a
debputy: warning: Unhandled exception (Re-run with --debug/DEBPUTY_DEBUG=1 to
see the raw stack trace)
debputy: warning:   ----- 8< ---- BEGIN STACK TRACE ---- 8< -----
Traceback (most recent call last):
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/__main__.py", line
1106, in main
    ROOT_COMMAND(cmd_arg)
    ~~~~~~~~~~~~^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line
703, in __call__
    self._aliases[v](command_arg)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line
703, in __call__
    self._aliases[v](command_arg)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/context.py", line
534, in __call__
    return self._handler(context)
           ~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/__main__.py", line
828, in _dh_integration_generate_debs
    assemble(
    ~~~~~~~~^
        context,
        ^^^^^^^^
    ...<2 lines>...
        debug_materialization=log_level is not None,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/share/dh-debputy/debputy/commands/debputy_cmd/__main__.py", line
847, in assemble
    package_data_table = manifest.perform_installations(integration_mode)
  File "/usr/share/dh-debputy/debputy/highlevel_manifest.py", line 1411, in
perform_installations
    install_rule.perform_install(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        path_matcher,
        ^^^^^^^^^^^^^
        install_rule_context,
        ^^^^^^^^^^^^^^^^^^^^^
        source_condition_context,
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/share/dh-debputy/debputy/installations.py", line 1131, in
perform_install
    self._install_matches(
    ~~~~~~~~~~~~~~~~~~~~~^
        path_matcher,
        ^^^^^^^^^^^^^
    ...<4 lines>...
        condition_context,
        ^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/share/dh-debputy/debputy/installations.py", line 718, in
_install_matches
    self._install_dir_recursively(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        path_matcher,
        ^^^^^^^^^^^^^
    ...<2 lines>...
        into,
        ^^^^^
    )
    ^
  File "/usr/share/dh-debputy/debputy/installations.py", line 807, in
_install_dir_recursively
    d.mkdir(dir_entry.name, reference_path=dir_entry)
    ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dh-debputy/debputy/filesystem_scan.py", line 916, in mkdir
    raise ValueError(f"Path {existing.path} already exist")
ValueError: Path ./data already exist
debputy: warning:   ----- 8< ---- END STACK TRACE ---- 8< -----
debputy: warning: Please file a bug against debputy with the full output.
debputy: error: Path ./data already exist
dh_debputy: error: debputy internal-command dh-integration-generate-debs -p fp-
units-castle-game-engine .. returned exit code 1
make: *** [debian/rules:54: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2025-01-20T07:50:04Z


-- System Information:
On buildd systems

This fail happens on all architectures.

Please let me know if you need more information
-- 
Cheers,
Abou Al Montacir

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to