Package Details: heroic-games-launcher-git 2.15.1.r0.g47d3075ca-2

Git Clone URL: https://aur.archlinux.org/heroic-games-launcher-git.git (read-only, click to copy)
Package Base: heroic-games-launcher-git
Description: Native GOG, Epic Games and Amazon games launcher for Linux
Upstream URL: https://heroicgameslauncher.com/
Licenses: GPL3
Conflicts: heroic-games-launcher
Provides: heroic-games-launcher
Submitter: FabioLolix
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 6
Popularity: 1.33
First Submitted: 2022-07-18 20:21 (UTC)
Last Updated: 2024-08-13 19:08 (UTC)

Pinned Comments

FabioLolix commented on 2024-05-21 12:28 (UTC)

You are using an AUR helper see https://aur.archlinux.org/packages/heroic-games-launcher#comment-950957 for starting

Latest Comments

1 2 Next › Last »

FabioLolix commented on 2024-07-26 21:50 (UTC)

Thanks for reporting!

italoghost commented on 2024-07-23 02:28 (UTC)

Hi! Since this commit, it is necessary to add pnpm download-helper-binaries to the build instructions:

build() {
  cd HeroicGamesLauncher
  pnpm install
  pnpm download-helper-binaries
  pnpm dist:linux tar.xz
}

FabioLolix commented on 2024-06-02 20:53 (UTC)

btw my network error reported some days ago seems instead that upstream (the Electron vendor) have deleted that tag

FabioLolix commented on 2024-05-22 08:13 (UTC)

Thanks for the pnpm tip

About the makedepends you can find out with devtools

About the depends that 3 are mandatory for every electron program

italoghost commented on 2024-05-22 03:16 (UTC)

Hi, @FabioLolix! As the project is using pnpm on its building instructions, I tried to change the PKGBUILD and it worked. I am not experienced on this and I do not know if any of the packages that I removed from the depends and makedepends would cause any problems, but I supposed that they would be satisfied when I added the command pnpm install, as stated on the building instructions.

Could you tell if what I did make sense? Because it has build just fine!

Here is what I changed:

diff --unified --recursive --text "/home/ghost/repos/heroic-games-launcher-git (2)/PKGBUILD" "/home/ghost/repos/heroic-games-launcher-git (3)/PKGBUILD"
--- "/home/ghost/repos/heroic-games-launcher-git (2)/PKGBUILD"  2023-11-04 12:27:10.000000000 -0300
+++ "/home/ghost/repos/heroic-games-launcher-git (3)/PKGBUILD"  2024-05-21 23:52:52.238193331 -0300
@@ -1,14 +1,13 @@
 # Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix

 pkgname=heroic-games-launcher-git
-pkgver=2.10.0.r1.gc19bc525d
+pkgver=2.14.1.r24.g969c8ae08
 pkgrel=1
 pkgdesc="Native GOG, Epic Games and Amazon games launcher for Linux"
 arch=(x86_64)
 url="https://heroicgameslauncher.com/"
 license=(GPL3)
-depends=(alsa-lib gtk3 nss)
-makedepends=(git yarn node-gyp openssh)
+makedepends=(git pnpm)
 provides=(heroic-games-launcher)
 conflicts=(heroic-games-launcher)
 source=("git+https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git")
@@ -21,8 +20,8 @@

 build() {
   cd HeroicGamesLauncher
-  yarn
-  yarn dist:linux tar.xz
+  pnpm install
+  pnpm dist:linux tar.xz
 }

 package() {
diff --unified --recursive --text "/home/ghost/repos/heroic-games-launcher-git (2)/.SRCINFO" "/home/ghost/repos/heroic-games-launcher-git (3)/.SRCINFO"
--- "/home/ghost/repos/heroic-games-launcher-git (2)/.SRCINFO"  2023-11-04 12:27:10.000000000 -0300
+++ "/home/ghost/repos/heroic-games-launcher-git (3)/.SRCINFO"  2024-05-21 23:50:17.105884572 -0300
@@ -6,12 +6,7 @@
    arch = x86_64
    license = GPL3
    makedepends = git
-   makedepends = yarn
-   makedepends = node-gyp
-   makedepends = openssh
-   depends = alsa-lib
-   depends = gtk3
-   depends = nss
+   makedepends = pnpm
    provides = heroic-games-launcher
    conflicts = heroic-games-launcher
    source = git+https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher.git

FabioLolix commented on 2024-05-21 15:30 (UTC)

I have a different failure; network related

error Error: https://github.com/castlabs/electron-releases: socket hang up

==> Updated version: heroic-games-launcher-git 2.14.1.r24.g969c8ae08-1
==> Starting build()...
yarn install v1.22.22
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
(node:1816) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
warning @testing-library/jest-dom > css > source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
error Error: https://github.com/castlabs/electron-releases: socket hang up
    at TLSSocket.socketOnEnd (node:_http_client:526:23)
    at TLSSocket.emit (node:events:532:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in build().

While the stable version give

==> Starting build()...
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "ts-morph@17.0.1" is incompatible with requested version "ts-morph@^13.0.1"
[3/5] Fetching packages...
(node:1786) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[4/5] Linking dependencies...
warning " > recharts@2.4.3" has unmet peer dependency "prop-types@^15.6.0".
warning "recharts > react-smooth@2.0.5" has unmet peer dependency "prop-types@^15.6.0".
warning " > @vitejs/plugin-react-swc@3.2.0" has incorrect peer dependency "vite@^4".
warning "electron-builder > app-builder-lib@24.13.3" has unmet peer dependency "electron-builder-squirrel-windows@24.13.3".
[5/5] Building fresh packages...
error /build/heroic-games-launcher/src/HeroicGamesLauncher/node_modules/@fortawesome/fontawesome-common-types: Command failed.
Exit code: 126
Command: node attribution.js
Arguments: 
Directory: /build/heroic-games-launcher/src/HeroicGamesLauncher/node_modules/@fortawesome/fontawesome-common-types
Output:
/bin/sh: /tmp/yarn--1716305333779-0.3006642665045314/node: /bin/sh: bad interpreter: Text file busy
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning Error running install script for optional dependency: "/build/heroic-games-launcher/src/HeroicGamesLauncher/node_modules/register-scheme: Command failed.
Exit code: 126
Command: node-gyp rebuild
Arguments: 
Directory: /build/heroic-games-launcher/src/HeroicGamesLauncher/node_modules/register-scheme
Output:
/usr/bin/env: ‘node’: Text file busy"
info This module is OPTIONAL, you can safely ignore this error
==> ERROR: A failure occurred in build().

italoghost commented on 2024-05-21 13:40 (UTC) (edited on 2024-05-21 13:42 (UTC) by italoghost)

@FabioLolix, tested on a clean chroot, using devtools and I had a different error:

[5/5] Building fresh packages...
error /build/heroic-games-launcher-git/src/HeroicGamesLauncher/node_modules/electron: Command failed.
Exit code: 126
Command: node install.js
Arguments: 
Directory: /build/heroic-games-launcher-git/src/HeroicGamesLauncher/node_modules/electron
Output:
/bin/sh: /tmp/yarn--1716298756803-0.2793210110199895/node: /bin/sh: bad interpreter: Text file busy
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
warning Error running install script for optional dependency: "/build/heroic-games-launcher-git/src/HeroicGamesLauncher/node_modules/register-scheme: Command failed.
Exit code: 126
Command: node-gyp rebuild
Arguments: 
Directory: /build/heroic-games-launcher-git/src/HeroicGamesLauncher/node_modules/register-scheme
Output:
/usr/bin/env: ‘node’: Text file busy"
info This module is OPTIONAL, you can safely ignore this error
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/ghost/build
erro: falha ao compilar 'heroic-games-launcher-git-2.10.0.r1.gc19bc525d-1': falha ao executar: makechrootpkg -r /var/lib/aurbuild/x86_64 -d /var/cache/pacman/pkg/ -- -feA --noconfirm --noprepare --holdver: 
erro: os pacotes heroic-games-launcher-git-2.10.0.r1.gc19bc525d-1 falharam na compilação

FabioLolix commented on 2024-05-21 12:28 (UTC)

You are using an AUR helper see https://aur.archlinux.org/packages/heroic-games-launcher#comment-950957 for starting

italoghost commented on 2024-05-21 12:17 (UTC)

Hi! I have this error when I try to compile. I wonder if it is related to yarn, as I have another package with the same error. Another user reported that it may be related to Kernel 6.9.1.

==> Iniciando build()...
yarn install v1.22.22
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
⠁ (node:20035) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
warning @testing-library/jest-dom > css > source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
warning i18next-parser > vinyl-fs > glob-stream > unique-stream > through2-filter@3.1.0: this package has been deprecated for breaking semver major
warning Resolution field "ts-morph@17.0.1" is incompatible with requested version "ts-morph@^13.0.1"
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > recharts@2.4.3" has unmet peer dependency "prop-types@^15.6.0".
warning "recharts > react-smooth@2.0.5" has unmet peer dependency "prop-types@^15.6.0".
warning " > @vitejs/plugin-react-swc@3.2.0" has incorrect peer dependency "vite@^4".
warning "electron-builder > app-builder-lib@24.13.3" has unmet peer dependency "electron-builder-squirrel-windows@24.13.3".
[5/5] Building fresh packages...
⠁ 
⠁ 
⠁ 
⠁ 
error /home/ghost/.cache/paru/clone/heroic-games-launcher-git/src/HeroicGamesLauncher/node_modules/electron: Command failed.
Exit code: 126
Command: node install.js
Arguments: 
Directory: /home/ghost/.cache/paru/clone/heroic-games-launcher-git/src/HeroicGamesLauncher/node_modules/electron




warning Error running install script for optional dependency: "/home/ghost/.cache/paru/clone/heroic-games-launcher-git/src/HeroicGamesLauncher/node_modules/register-scheme: Command failed.
Exit code: 126
Command: node-gyp rebuild
Arguments: 
Directory: /home/ghost/.cache/paru/clone/heroic-games-launcher-git/src/HeroicGamesLauncher/node_modules/register-scheme
Output:
/usr/bin/env: “node”: Área de texto ocupada"
info This module is OPTIONAL, you can safely ignore this error
==> ERRO: Uma falha ocorreu em build().
    Abortando...
erro: falha ao compilar 'heroic-games-launcher-git-2.10.0.r1.gc19bc525d-1': 

FabioLolix commented on 2023-06-30 18:12 (UTC)

@RedHolden your ODD flag is invalid, this is a VCS pkgbuild https://wiki.archlinux.org/title/VCS_package_guidelines#The_pkgver()_function