ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.78k stars 1.33k forks source link

[Bug]: Tartube fails installing ffmpeg #12114

Open gwenl opened 10 months ago

gwenl commented 10 months ago

Prerequisites

Package Name

tartube

Expected/Current Behaviour

Tartube depends on ffmpeg, which it tries to install on first launch. The install always fails with the message: "Update operation finished. Installation failed." In the console window, the last output is:

mingw-w64-x86_64-vulkan-loader: /mingw64/bin exists in filesystem mingw-w64-x86_64-x265: /mingw64/bin exists in filesystem mingw-w64-x86_64-xvidcore: /mingw64/bin exists in filesystem mingw-w64-x86_64-zimg: /mingw64/bin exists in filesystem Update operation finished Installation failed

Steps to Reproduce

scoop install tartube
Launch Tartube, go through the first launch wizard.
On the ffmpeg page, click install, and watch the installation fail.

Possible Solution

The cause seems to be the presence of a symbolic link in the installation path: mingw64/bin is persisted, so it points to another directory in scoop/persist/tartube. If I replace the link by an actual directory, the ffmpeg installation succeeds.

I wonder if there's a need for this directory to be persisted, as is seems to only contain binaries.

Scoop and Buckets Version

Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
1e76a1ce9 (HEAD -> master, origin/master, origin/HEAD) upscayl: Update to version 2.9.1

'main' bucket:
1899173ca (HEAD -> master, origin/master, origin/HEAD) trivy: Update to version 0.46.1

'nirsoft' bucket:
846b59b (HEAD -> master, origin/master, origin/HEAD) Updated Wireless Network Watcher

'nonportable' bucket:
cac6dc7 (HEAD -> master, origin/master, origin/HEAD) 10x-np: Update to version 1.0.86

'php' bucket:
a996045 (HEAD -> master, origin/master, origin/HEAD) php8.2: Update to version 8.2.12

'sysinternals' bucket:
b17427d (HEAD -> main, origin/main, origin/HEAD) vmmap: Update to version 3.4

'versions' bucket:
24a8c52e1 (HEAD -> master, origin/master, origin/HEAD) zig-dev: Update to version 0.12.0-dev.1313

Scoop Config

last_update           : 28/10/2023 13:53:44
cache_path            : D:\setup\scoop
aria2-warning-enabled : False
scoop_branch          : master
scoop_repo            : https://github.com/ScoopInstaller/Scoop

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.3.8
PSEdition                      Core
GitCommitId                    7.3.8
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

HUMORCE commented 9 months ago

Can you make a PR to improve it?