@dreieck You can see this : https://github.com/mifi/lossless-cut/blob/cfe7620d2e53c69a14351a6c1907dd84a9932c22/package.json#L76 The binary files were built from electron33
, and some dependencies were dependent on electron33
too. If using other versions of electron, you may encounter unknown problems. It is recommended that you directly feedback to the upstream.
Search Criteria
Package Details: losslesscut-git 3.64.0.r47.g8b43485-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/losslesscut-git.git (read-only, click to copy) |
---|---|
Package Base: | losslesscut-git |
Description: | The swiss army knife of lossless video/audio editing.Using system-wide ffmpeg.(Use system-wide electron) |
Upstream URL: | https://github.com/mifi/lossless-cut |
Keywords: | codec cut editor ffmpeg lossless player video video-editor video-files |
Licenses: | GPL-2.0-only |
Conflicts: | losslesscut |
Provides: | losslesscut |
Submitter: | zxp19821005 |
Maintainer: | zxp19821005 |
Last Packager: | zxp19821005 |
Votes: | 2 |
Popularity: | 0.004176 |
First Submitted: | 2023-12-07 04:20 (UTC) |
Last Updated: | 2025-01-06 10:04 (UTC) |
Dependencies (7)
- electron33
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR)
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- npm (corepackerAUR, nodejs6-binAUR, python-nodejs-wheelAUR) (make)
- nvmAUR (nvm-gitAUR) (make)
Required by (0)
Sources (2)
zxp19821005 commented on 2025-02-10 07:20 (UTC)
dreieck commented on 2025-02-09 15:42 (UTC)
Dependency `electron33' is getting old.
Can you check if there is any newer version of electron which works with this, and update the dependency to the newest supported version?
Regards and thanks for the package!
zxp19821005 commented on 2025-01-06 10:07 (UTC)
@gue5t I've not met a problem like you, but I suggest deleting the whole package and installing again.Here are part of my building logs:
✓ built in 9.93s
• electron-builder version=24.13.3 os=6.12.7-arch1-1
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
• packaging platform=linux arch=x64 electron=33.3.0 appOutDir=dist/linux-unpacked
• copying Electron source=/usr/lib/electron33 destination=/home/zxp-endeavouros/.cache/paru/clone/losslesscut-git/src/losslesscut.git/dist/linux-unpacked
• file source doesn't exist from=/home/zxp-endeavouros/.cache/paru/clone/losslesscut-git/src/losslesscut.git/ffmpeg/linux-x64/lib
==> 正在进入 fakeroot 环境...
gue5t commented on 2025-01-03 23:30 (UTC)
This package fails to install with a Node OOM message after printing the following:
✓ built in 9.04s
• electron-builder version=24.13.3 os=6.12.6-arch1-1
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
• packaging platform=linux arch=x64 electron=33.3.0 appOutDir=dist/linux-unpacked
• copying Electron source=/home/user/.cache/yay/losslesscut-git/src/losslesscut.git destination=/home/user/.cache/yay/losslesscut-git/src/losslesscut.git/dist/linux-unpacked
This seems to correspond to the following line from the PKGBUILD
:
NODE_ENV=production yarn electron-builder --linux dir -c.electronDist="${electronDist}"
Somehow this creates an infinitely nested series of dist/linux-unpacked/dist/linux-unpacked directories (not symlinks) which takes gigs and gigs of disk space and seems to blow up the memory usage of Node. It seems like the installation/copy being performed is unintentionally recursive, as the listed "source" contains the listed "destination" in the above output.
I don't know how this could be going differently on my system than others; building with simply makepkg
fails this way for me.
zxp19821005 commented on 2024-12-12 02:18 (UTC)
@dreieck Thanks for your suggestions, added it.
dreieck commented on 2024-12-11 17:10 (UTC)
Ahoj,
I noticed that yarn
wants to collect data and phone home during build:
➤ YN0065: Yarn will periodically gather anonymous telemetry: https://yarnpkg.com/advanced/telemetry
➤ YN0065: Run yarn config set --home enableTelemetry 0 to disable
Since yarn is run in a local environment, a yarn config set --home enableTelemetry 0 to disable
as user is not the solution here.
Telemetry needs to be disabled within the actual environment used for this build.
Can you add this, please?
Regards!
zxp19821005 commented on 2024-12-10 03:02 (UTC)
@dreieck Thanks for your feedback and suggestions, fixed it.
dreieck commented on 2024-12-09 11:38 (UTC)
There seems to be some packaging error.
When I start it, I get a warning dialogue saying
Failed to open file
ENOENT: no such file or directory, lstat '/usr/lib/losslesscut/env'
It expects some files in directories without write access by the user, so package()
should create that files.
Regards!
dreieck commented on 2024-12-09 11:34 (UTC) (edited on 2024-12-09 11:36 (UTC) by dreieck)
Ahoj,
this PKGBUILD
downloads stuff in build()
.
This should not happen.
Please do the nvm
/ npm
specific downloads in prepare()
.
Also, if possible, use Arch Linux repo's nodejs
instead of downloading your own.
==> Starting build()...
Downloading and installing node v20.18.1...
Downloading https://nodejs.org/dist/v20.18.1/node-v20.18.1-linux-x64.tar.xz...
############################################################################################################################################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v20.18.1 (npm v10.8.2)
Creating default alias: default -> 20 (-> v20.18.1)
Now using node v20.18.1 (npm v10.8.2)
! Corepack is about to download https://repo.yarnpkg.com/4.4.0/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: lossless-cut@workspace:.: Bumped to 4.4.0
➤ YN0000: Done in 0s 3ms
➤ YN0000: · Yarn 4.4.0
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + electron@npm:31.7.6
➤ YN0085: │ - electron@npm:33.2.1
➤ YN0000: └ Completed in 0s 785ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ typescript is listed by your project with version 5.7.2 (p6348b), which doesn't satisfy what eslint-config-mifi and other dependencies request (~5.2.0).
➤ YN0002: │ lossless-cut@workspace:. doesn't provide react-is (p6ee21), requested by evergreen-ui.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: ⠦ ===============================================================================-
[...]
Regards and thanks for the package!
zxp19821005 commented on 2024-05-17 08:23 (UTC)
@kelvie Thanks a lot, fixed it.
Pinned Comments
zxp19821005 commented on 2024-01-08 10:19 (UTC)
When you first used it,you will got errors like 'Cann't find ffmpeg'.Then please switch to
advanced settings
and manually set the ffmpeg path to/usr/bin
.That will be OK.