Craft icon indicating copy to clipboard operation
Craft copied to clipboard

Tried installing the AUR on arch

Open Jzarecta opened this issue 8 years ago • 5 comments

After installing it, I couldnt really find a craft binary or anything under /usr/bin/craft

No error output, so not sure what I need to do after the build, something weird is that it uinstall the opengl library in the end:

$ makepkg -sri PKGBUILD 
==> Making package: libretro-craft-git 923.6bf4994-1 (Wed May 18 01:00:22 CDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) glfw-3.1.2-1

Total Installed Size:  0.26 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                         [#############################################################] 100%
(1/1) checking package integrity                                                                       [#############################################################] 100%
(1/1) loading package files                                                                            [#############################################################] 100%
(1/1) checking for file conflicts                                                                      [#############################################################] 100%
(1/1) checking available disk space                                                                    [#############################################################] 100%
:: Processing package changes...
(1/1) installing glfw                                                                                  [#############################################################] 100%
==> Retrieving sources...
  -> Updating Craft git repo...
Fetching origin
  -> Found craft_libretro.info
==> Validating source files with sha256sums...
    Craft ... Skipped
    craft_libretro.info ... Skipped
==> Extracting sources...
  -> Creating working copy of Craft git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> WARNING: A package has already been built, installing existing package...
==> Installing package libretro-craft-git with pacman -U...
loading packages...
warning: libretro-craft-git-923.6bf4994-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libretro-craft-git-923.6bf4994-1

Total Installed Size:  1.00 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                         [#############################################################] 100%
(1/1) checking package integrity                                                                       [#############################################################] 100%
(1/1) loading package files                                                                            [#############################################################] 100%
(1/1) checking for file conflicts                                                                      [#############################################################] 100%
(1/1) checking available disk space                                                                    [#############################################################] 100%
:: Processing package changes...
(1/1) reinstalling libretro-craft-git                                                                  [#############################################################] 100%
==> Removing installed dependencies...
checking dependencies...

Packages (1) glfw-3.1.2-1

Total Removed Size:  0.26 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing glfw 

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Jzarecta avatar May 18 '16 06:05 Jzarecta

I have no idea why the package maintainer would want to remove glfw here, glfw is not a needed dependency for the libretro port at least but it sholdn't be manually removed either.

inactive123 avatar May 18 '16 09:05 inactive123

The pkgbuild maintainer seems to think its a dependency for some reason...

depends=('zlib' 'glew')
makedepends=('git' 'cmake' 'glfw')

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libretro-craft-git Arch will just prompt to remove any makedepends which aren't needed by other packages.

To answer Jzarecta's question. Craft should be installed in /usr/lib/libretro/craft_libretro.so according to the PKGBUILD. It can be run through the RetroArch gui or with retroarch -L /usr/lib/libretro/craft_libretro.so.

orbea avatar May 21 '16 20:05 orbea

I should just remove the standalone version from the repo then, this is meant to be only for the libretro core, glew is not required, it was just kept around while we were still porting the game to libretro.

inactive123 avatar May 21 '16 20:05 inactive123

I'm the maintainer of the responding archlinux' package and inserted the dependencys of glew and glfw 'cause I found some deps of them anywhere in the code when I built the pkgbuild and thought, better to include them, the main thing is it compiles and works :) However, thanks for clarification and the update, was a good chance to clear up the package which I did some minutes ago.

ojaksch avatar May 22 '16 06:05 ojaksch

The PKGBUILD from Archlinux's AUR was updated long ago. I suggest that this issue must be closed.

Hattshire avatar Jan 26 '19 00:01 Hattshire