Package Details: popcorntime-git 0.4.4.r1879.g64553fa7-1

Git Clone URL: https://aur.archlinux.org/popcorntime-git.git (read-only, click to copy)
Package Base: popcorntime-git
Description: Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player.
Upstream URL: https://github.com/popcorn-official/popcorn-desktop
Keywords: bittorrent popcorntime
Licenses: GPL3
Conflicts: popcorntime, popcorntime-bin
Provides: popcorntime
Submitter: 314eter
Maintainer: FirstAirBender
Last Packager: FirstAirBender
Votes: 13
Popularity: 0.000000
First Submitted: 2016-02-19 14:55 (UTC)
Last Updated: 2023-10-27 04:42 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 Next › Last »

xiota commented on 2023-10-27 03:43 (UTC) (edited on 2024-04-18 03:00 (UTC) by xiota)

Clean chroot. Build completes without npm. But shows error:

[05:42:14] Starting 'nwjs'...
Error: Command failed: npm ls --production=true --parseable=true
/bin/sh: line 1: npm: command not found

    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:514:28)
    at ChildProcess.emit (node:domain:551:15)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:514:28)
    at Socket.emit (node:domain:551:15)
    at Pipe.<anonymous> (node:net:337:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 127,
  killed: false,
  signal: null,
  cmd: 'npm ls --production=true --parseable=true'
}

At runtime, produces message:

popcorntime: error while loading shared libraries: libnw.so: cannot open shared object file: No such file or directory

Also, this package should conflicts with only popcorntime. Other packages either don't exist or have correct conflicts, so they do not need to be listed.

Technetium1 commented on 2022-08-30 19:56 (UTC)

Missing npm in makedepends to build in clean chroot.

samxl001 commented on 2021-06-03 11:48 (UTC) (edited on 2021-06-03 11:52 (UTC) by samxl001)

I am getting some kind of npm build error when I try to install it.

Error: Command failed: npm ls --production=true --parseable=true npm ERR! code ELSPROBLEMS npm ERR! invalid: webtorrent@0.118.0 /home/faisal/.cache/yay/popcorntime-git/src/popcorntime/node_modules/webtorrent

npm ERR! A complete log of this run can be found in: npm ERR! /home/faisal/.npm/_logs/2021-06-03T11_38_15_690Z-debug.log

Mouath commented on 2021-05-22 01:01 (UTC) (edited on 2021-05-22 01:02 (UTC) by Mouath)

To get this to build you need to update gulpfile.js according to this https://github.com/popcorn-official/popcorn-desktop/compare/development...popcorn-time-ru:nw-location

I created a patch file and updated my PKGBUILD

package.patch

diff '--color=auto' --unified --recursive --text package.orig/popcorntime/gulpfile.js package.new/popcorntime/gulpfile.js
--- package.orig/popcorntime/gulpfile.js    2021-05-22 03:43:47.429026441 +0300
+++ package.new/popcorntime/gulpfile.js 2021-05-22 03:46:40.548523600 +0300
@@ -142,8 +142,8 @@
   macIcns: './src/app/images/butter.icns',
   version: nwVersion,
   flavor: nwFlavor,
-  manifestUrl: 'https://popcorntime.app/version.json',
-  downloadUrl: 'https://get.popcorntime.app/repo/nw/',
+  manifestUrl: 'http://popcorn-ru.tk/version.json',
+  downloadUrl: 'http://popcorn-ru.tk/nw/',
   platforms: parsePlatforms()
 }).on('log', console.log);

PKGBUILD

diff --git a/PKGBUILD b/PKGBUILD
index 5772211..569c662 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,9 +18,11 @@ provides=(popcorntime)
 conflicts=(popcorntime popcorntime-bin popcorntime-bin-ci)
 options=(!emptydirs !strip)
 source=("$_pkgname"::git+https://github.com/popcorn-official/popcorn-desktop#branch=development
-        popcorntime.desktop)
+        popcorntime.desktop
+        package.patch)
 sha512sums=('SKIP'
-            '81a447cd3365b439964c1b9eba14bcf31de05e62123ce032590ac2109a447c5db0306bf4c593fe30f075d2b3674a1611a81b7554e43acba152ef34652c819a33')
+            '81a447cd3365b439964c1b9eba14bcf31de05e62123ce032590ac2109a447c5db0306bf4c593fe30f075d2b3674a1611a81b7554e43acba152ef34652c819a33'
+            '8d4953fbf46adbcb370750d7685216ea3cfe59ffed7783c573f937d46d1ae95228256d210804d09b54c0da638ac7a91e56a971998bbb7fea9a71cc4d28e9f7c4')

 pkgver() {
   # https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver()_function
@@ -28,6 +30,11 @@ pkgver() {
   git describe $(git remote)/master --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }

+prepare() {
+    cd "$_pkgname"
+    patch --forward --strip=2 --input="${srcdir}/package.patch"
+}
+
 build() {
   export YARN_GLOBAL_FOLDER=/tmp/node_modules/
   cd "$_pkgname"

source: https://github.com/popcorn-official/popcorn-desktop/issues/2105 https://wiki.archlinux.org/title/Patching_packages

linux-aarhus commented on 2021-04-23 12:30 (UTC) (edited on 2021-04-23 12:34 (UTC) by linux-aarhus)

output from makepkg - output is similar using a clean chroot build

makepkg -is
....

yarn run v1.22.10
$ gulp build
(node:33452) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:33452) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
[14:32:22] Using gulpfile ~/popcorntime-git/src/popcorntime/gulpfile.js
[14:32:22] Starting 'build'...
[14:32:22] Starting 'injectgit'...
Branch: makepkg
Commit: f9437d1f
[14:32:22] Finished 'injectgit' after 9.56 ms
[14:32:22] Starting 'css'...
(node:33452) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:33452) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
Stylus files compiled in /home/fh/popcorntime-git/src/popcorntime/src/app/themes/
[14:32:25] Finished 'css' after 2.36 s
[14:32:25] Starting 'nwjs'...
Error: Command failed: npm ls --production=true --parseable=true
/bin/sh: line 1: npm: command not found

    at ChildProcess.exithandler (node:child_process:326:12)
    at ChildProcess.emit (node:events:369:20)
    at ChildProcess.emit (node:domain:532:15)
    at maybeClose (node:internal/child_process:1067:16)
    at Socket.<anonymous> (node:internal/child_process:453:11)
    at Socket.emit (node:events:369:20)
    at Socket.emit (node:domain:532:15)
    at Pipe.<anonymous> (node:net:666:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:132:14) {
  killed: false,
  code: 127,
  signal: null,
  cmd: 'npm ls --production=true --parseable=true'
}
Error: getaddrinfo ENOTFOUND popcorntime.app
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:69:26)
    at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:132:14) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'popcorntime.app'
}
[14:32:31] Finished 'nwjs' after 5.82 s
[14:32:31] Starting '<anonymous>'...
[14:32:31] Finished '<anonymous>' after 477 μs
[14:32:31] Finished 'build' after 8.19 s
Done in 8.60s.
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'build/Popcorn-Time/*': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

gameslayer commented on 2021-04-08 09:08 (UTC) (edited on 2021-04-08 09:11 (UTC) by gameslayer)

Think this might be due to the website shutting down and other issues

Preparing...
Checking dependencies...
Removing popcorntime-git (0.4.4.r0.g0c54b2cd-1)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Updating icon theme caches...
Updating the desktop file MIME type cache...
Transaction successfully finished.

Preparing...
Cloning popcorntime-ce build files...

Transaction cancelled.

Preparing...
Cloning popcorntime-git build files...
Checking popcorntime-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building popcorntime-git...
==> Making package: popcorntime-git 0.4.4.r0.g0c54b2cd-1 (Thu 08 Apr 2021 19:07:23)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating popcorntime git repo...
Fetching origin
  -> Found popcorntime.desktop
==> Validating source files with sha512sums...
    popcorntime ... Skipped
    popcorntime.desktop ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of popcorntime git repo...
Cloning into 'popcorntime'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Starting build()...
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 17.63s.
yarn run v1.22.10
$ gulp build
(node:25649) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:25649) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
[19:07:43] Using gulpfile /var/tmp/pamac-build-corey/popcorntime-git/src/popcorntime/gulpfile.js
[19:07:43] Starting 'build'...
[19:07:43] Starting 'injectgit'...
Branch: makepkg
Commit: 46ccfa24
[19:07:43] Finished 'injectgit' after 9.14 ms
[19:07:43] Starting 'css'...
(node:25649) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:25649) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
Stylus files compiled in /var/tmp/pamac-build-corey/popcorntime-git/src/popcorntime/src/app/themes/
[19:07:46] Finished 'css' after 2.67 s
[19:07:46] Starting 'nwjs'...
Received status code 410: https://popcorntime.app/version.json
[19:07:53] Finished 'nwjs' after 7.61 s
[19:07:53] Starting '<anonymous>'...
[19:07:53] Finished '<anonymous>' after 499 μs
[19:07:53] Finished 'build' after 10 s
Done in 10.88s.
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'build/Popcorn-Time/*': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

gameslayer commented on 2021-03-21 04:07 (UTC) (edited on 2021-03-21 04:25 (UTC) by gameslayer)

I installed the package from Manjaro's repository and it still persists, Itried popcorntime-bin and it works just fine so idk what the issue is with popcorntime-git but my other machines they work so maybe something is missing?

FirstAirBender commented on 2021-03-20 14:14 (UTC) (edited on 2021-03-20 14:16 (UTC) by FirstAirBender)

@gameslayer, try installing this dependency on the problematic machine:

https://archlinux.org/packages/extra/x86_64/libatomic_ops/

Tell me if the problem still persists

gameslayer commented on 2021-03-20 12:11 (UTC)

Doesn't to seem to be a issue anymore thanks but my dads PC ran into a issue, I tried removing, clearing AUR cache and than installing it but I am getting the same message when it launches and it doesn't open.

popcorntime %U
[1963:1963:0320/221517.384313:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

The GPU is confirmed to be working fine, I ran gears and bounce and they work fine on the RX 5400XT