NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.28k stars 14.27k forks source link

Libraries missing from playonlinux's WINE #219126

Open l0b0 opened 1 year ago

l0b0 commented 1 year ago

Describe the bug

When trying to install Ultima Underworld 1, I get as far as a window saying "Please wait while the virtual drive is being created…" which never finishes, presumably because of these errors:

Wine cannot find the ncurses library (libncurses.so.5).

and

Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install pkgs.playonlinux
  2. Run playonlinux
  3. Try to install Ultima Underworld 1 from GOG

Expected behavior

The package should be installed.

Screenshots

The progress window which never finishes: Screenshot from 2023-03-02 21-33-44

Additional context

Add any other context about the problem here.

Notify maintainers

@pasqui23

Metadata

pasqui23 commented 1 year ago

Check if the latest plaayonlinux update did fix it. Run NIXPKGS_ALLOW_UNFREE=1 nix --experimental-features "nix-command flakes" run --impure nixpkgs#playonlinux and check if you can install it. I cannot check it myself as I do not have brought it.

l0b0 commented 1 year ago

@pasqui23 I tried installing with that version, but it got stuck for half an hour trying to create a virtual drive. There's a few error messages in the console:

/nix/store/6lc50yw9bkg1ncwphv7f8h4a5h2s9mql-playonlinux-4.4/share/playonlinux/lib/variables: line 33: 1584147 Aborted (core dumped) sudo -k 2> /dev/null

cp: cannot create regular file '/home/username/.PlayOnLinux//tmp/check_dd_amd64.bz2': Permission denied

Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.