pacstall / pacstall-programs

Pacstall's official program repository
https://pacstall.dev/packages
MIT License
174 stars 133 forks source link

BugRep: failed installing steamtinkerlaunch-git #1463

Closed bayazidbh closed 2 years ago

bayazidbh commented 2 years ago

Tried steamtinkerlaunch-git on a freshly installed Ubuntu 22.04 VM (installed using Boxes express installer, already updated). Got an error with the following message:

First Try Log

``` $ pacstall -I -K steamtinkerlaunch-git [+] INFO: Keeping build files Do you want to view/edit the pacscript [y/N] [+] INFO: Sourcing pacscript [+] INFO: Installing yad [*] WARNING: Prompts are disabled [+] INFO: Keeping build files Do you want to view/edit the pacscript [y/N] N [+] INFO: Sourcing pacscript [+] INFO: yad requires autotools-dev intltool libgtk-3-dev automake to install Do you want to remove them after installing yad [y/N] N Extracting templates from packages: 100% // truncated package installation [+] INFO: Creating dummy package [+] INFO: yad has optional dependencies that can enhance its functionalities Optional dependencies: libwebkit2gtk-4.0-dev: for supporting HTML dialog libgtksourceview-3.0-dev: for enabling syntax highlighting in text-info dialog libgspell-1-dev: for support spell checking in text fields Do you want to install them [Y/n] Y [+] INFO: Installing dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'yad' instead of '/tmp/pacstall/yad-pacstall.deb' // truncated package installation [+] INFO: Retrieving packages Initializing download: https://github.com/v1cont/yad/releases/download/v12.0/yad-12.0.tar.xz File size: 282.508 Kilobyte(s) (289288 bytes) Opening output file yad-12.0.tar.xz Starting download Connection 1 finished [100%] [..................................................................................................................] [ 151.2KB/s] [00:00] Downloaded 282.508 Kilobyte(s) in 1 second(s). (151.19 KB/s) [+] INFO: Preparing // omitted yad install log as there was no issue [+] INFO: Symlinking files [+] INFO: Storing pacscript [+] INFO: Cleaning up [+] INFO: Creating dummy package [+] INFO: steamtinkerlaunch-git has optional dependencies that can enhance its functionalities Optional dependencies: mangohud: vulkan/opengl monitoring hud winetricks: wine settings tweaker vkbasalt: vulkan graphics enhancer goverlay: vulkan overlay configurator scummvm: VM for point-and-click games gameconqueror: memory editing for cheating Do you want to install them [Y/n] Y [+] INFO: Installing dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'steamtinkerlaunch-git' instead of '/tmp/pacstall/steamtinkerlaunch-git-pacstall.deb' Setting up steamtinkerlaunch-git (2c28fc5b-1) ... // truncated package installation [+] INFO: Retrieving packages Checking object directories: 100% (256/256), done. Checking objects: 100% (192/192), done. [+] INFO: Preparing [+] INFO: Building [+] INFO: Installing cp: cannot stat 'categories': No such file or directory [!] ERROR: Could not install steamtinkerlaunch-git properly [+] INFO: Cleaning up ``` Full log here: https://pastebin.com/ykAX3Ave

Second Try Log

``` $ pacstall -I steamtinkerlaunch-git Do you want to view/edit the pacscript [y/N] [+] INFO: Sourcing pacscript [+] INFO: The pacstall dependency yad is already installed [*] WARNING: It's recommended to upgrade, as yad may have a newer version [+] INFO: Creating dummy package [+] INFO: Installing dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'steamtinkerlaunch-git' instead of '/tmp/pacstall/steamtinkerlaunch-git-pacstall.deb' The following NEW packages will be installed: steamtinkerlaunch-git 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1394 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 /tmp/pacstall/steamtinkerlaunch-git-pacstall.deb steamtinkerlaunch-git all 2c28fc5b-1 [1394 B] Selecting previously unselected package steamtinkerlaunch-git. (Reading database ... 235368 files and directories currently installed.) Preparing to unpack .../steamtinkerlaunch-git-pacstall.deb ... Unpacking steamtinkerlaunch-git (2c28fc5b-1) ... Setting up steamtinkerlaunch-git (2c28fc5b-1) ... [+] INFO: Retrieving packages Checking object directories: 100% (256/256), done. Checking objects: 100% (192/192), done. [+] INFO: Preparing [+] INFO: Building [+] INFO: Installing cp: cannot stat 'categories': No such file or directory [!] ERROR: Could not install steamtinkerlaunch-git properly [+] INFO: Cleaning up ```

It does manage to install all the other required dependencies, so I managed to just manually git clone https://github.com/frostworx/steamtinkerlaunch and sudo make install. Here is the log for that:

Manual Install Log

``` $ git clone https://github.com/frostworx/steamtinkerlaunch Cloning into 'steamtinkerlaunch'... remote: Enumerating objects: 5818, done. remote: Counting objects: 100% (1324/1324), done. remote: Compressing objects: 100% (402/402), done. remote: Total 5818 (delta 957), reused 1244 (delta 905), pack-reused 4494 Receiving objects: 100% (5818/5818), 2.81 MiB | 2.37 MiB/s, done. Resolving deltas: 100% (3930/3930), done. $ cd ./steamtinkerlaunch/ $ sudo make install sed "s:^PREFIX=\"/usr\":PREFIX=\"/usr\":" -i steamtinkerlaunch install -Dm755 steamtinkerlaunch -t "/usr/bin" install -d "/usr/share/steamtinkerlaunch" cp -r collections eval guicfgs lang misc "/usr/share/steamtinkerlaunch" install -Dm644 README.md -t "/usr/share/doc/steamtinkerlaunch" install -Dm644 "misc/steamtinkerlaunch.desktop" -t "/usr/share/applications" install -Dm644 "misc/steamtinkerlaunch.svg" -t "/usr/share/icons/hicolor/scalable/apps" ```

![image](https://user-images.githubusercontent.com/26621899/183240801-b72c0a94-6a47-4ea3-9168-4c0987f28efb.png)

Something wrong with the ./categories folder it seems?

Elsie19 commented 2 years ago

Thanks for the report!

Once I get back from vacation (7-8 hours), I will fix this bug.