Skip to content

[Bug]: Unable to install cnc-ddraw dependency #330

Open

Description

@ecadiz123

Describe the bug

Unable to install the cnc-ddraw dependency through the bottle dependencies tab

To Reproduce

  1. Pick a a bottle, specifically a gaming focused one
  2. Go to the dependencies tab under options
  3. Try to install cnc-ddraw

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '51.21'
DE/WM: null
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-570-144/lib/nvidia/wine
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.14.6-arch1-1
Disk:
    Total: 8340664320
    Free: 8340484096
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 10.8GiB
Bottles_envs: null

Troubleshooting Logs

ERROR:
Unexpected end of input stream
18:44:04 (ERROR) Something wrong happened during extraction.
18:44:04 (ERROR) Command \['/app/bin/7z', 'x', '-o/home/Esteban/.var/app/com.usebottles.bottles/data/bottles/temp/cnc-ddraw', '--', '/home/Esteban/.var/app/com.usebottles.bottles/data/bottles/temp/cnc-ddraw.zip']' returned non-zero exit status 2`
18:44:04 (ERROR) Traceback (most recent call last):
  `File "/app/share/bottles/bottles/backend/managers/dependency.py", line 443, in __step_archive_extract`
patoolib.extract_archive(
  `File "/app/lib/python3.12/site-packages/patoolib/__init__.py", line 1057, in extract_archive`
return _extract_archive(
^^^^^^^^^^^^^^^^^
  `File "/app/lib/python3.12/site-packages/patoolib/__init__.py", line 803, in _extract_archive`
run_archive_cmdlist(cmdlist, verbosity=verbosity)
  `File "/app/lib/python3.12/site-packages/patoolib/__init__.py", line 736, in run_archive_cmdlist`
return util.run_checked(cmdlist, verbosity=verbosity, **runkwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  `File "/app/lib/python3.12/site-packages/patoolib/util.py", line 109, in run_checked`
raise PatoolError(msg)
`patoolib.util.PatoolError: Command \`['/app/bin/7z', 'x', '-o/home/Esteban/.var/app/com.usebottles.bottles/data/bottles/temp/cnc-ddraw', '--', '/home/Esteban/.var/app/com.usebottles.bottles/data/bottles/temp/cnc-ddraw.zip']' returned non-zero exit status 2`

Additional context

Trying to install cnc-ddraw since StarCraft 2 from Battle.net doesn't launch because its missing DDRAW.dll

Activity

  1. Donnyofdoom commented on Jun 2, 2025

    @Donnyofdoom

    It seems to create an empty directory called "cnc-ddraw config.exe" in temp/cnc-draw/ before crashing.

  2. githubplanetarparrot commented on Jul 7, 2025

    @githubplanetarparrot

    Same issue into July. Any workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions