Found the issue, I'm currently using nodejs 22.0.0, wheres extra nodejs is 21.7.3. If reverting back to 21.7.3, popcorntime builds just fine. Now the issue is alredy fix for the 22 new series, but it hasn't been released.
The bug can be found at node issue, and the fix on the already merged commit node fix.
That for the interested ones. BTW, I don't see nodejs as a direct dep, though it is. However both npm and yarn directly depend on nodejs, so it's covered.
For now the workaroung for me is to revert nodejs back, build popcorntime, and the move back to 2.0.0.
Thanks !
Pinned Comments
ItachiSan commented on 2018-07-24 21:01 (UTC) (edited on 2021-06-14 09:35 (UTC) by ItachiSan)
You are free to report issues regarding the packaging here! Please read all the info of this message as they include quite some information.
Be aware that sometimes the package will fail to build because of outdated upstream and updated dependency, which will require me some time to test and solve the problem.
I do also have life stuff, packaging is a free-time activity.
I believe I have an issue that is Arch-related and not upstream related
I too found out only recently this way to debug the app (as of: 2021-06-13), which helps immensely.
Whenever reporting here or on the Github issues, please provide the output of the command:
In case you are forwarding the log to a file, as the log entries will end in
stderr
, remember to redirectstderr
tostdout
Info regarding the package
The package uses the sources available at: https://github.com/popcorn-official/popcorn-desktop. I am aware of the different clones and branches; I do still believe that this code is acceptable (not affected itself from malware).
This package uses a custom NW.js build provided from the PopcornTime team; essentially, a custom compiled browser. While this won't affect you as it should be used only within the app, you are here informed that I have no power over this component.
The above point stands as the official NW.js Chromium source lacks multiple modern codecs, such as AC3 and HEVC (H.265).
Earlier this package used the official nw.js toolchain provided available at https://dl.nwjs.io/ and the prebuilt FFmpeg library with additional codecs available at https://github.com/iteufel/nwjs-ffmpeg-prebuilt/ . This was because the nw.js toolchain provided by the PopcornTime team can not be proven as non-malware easily. However, due to point 3, this approach was reverted. You are free to use an older PKGBUILD with the appropriate variable updates to re-enable this, however you will miss support for recent codecs.
In addition, the PKGBUILD won't point to the Git release reference but will also include important commits, for e.g. security reasons or providers changes.