Thanks for reporting the issue. Missing gn_helper is a problem in the build_revision source dependency of the current stable channel. Beta has a fix, so I added a check to pull the newer build_revision for the stable build.
Search Criteria
Package Details: libpdfium-nojs 6998.r2.12f7715a63-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/libpdfium-nojs.git (read-only, click to copy) |
---|---|
Package Base: | libpdfium-nojs |
Description: | Open-source PDF rendering engine. |
Upstream URL: | https://pdfium.googlesource.com/pdfium/ |
Keywords: | pdf pdfium |
Licenses: | BSD |
Conflicts: | libpdfium-bin |
Provides: | libpdfium |
Submitter: | selmf |
Maintainer: | selmf |
Last Packager: | selmf |
Votes: | 23 |
Popularity: | 0.22 |
First Submitted: | 2017-07-30 18:14 (UTC) |
Last Updated: | 2025-03-25 05:31 (UTC) |
Dependencies (10)
- freetype2 (freetype2-macosAUR, freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR)
- icu (icu-gitAUR)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- libjpeg (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR, libjpeg-turbo)
- openjpeg2 (openjpeg-gitAUR)
- fast_float (fast_float-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gn (gn-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
Required by (3)
- megasync (requires libpdfium)
- yacreader
- yacreaderlibraryserver
Sources (4)
selmf commented on 2025-03-25 05:53 (UTC)
TanDrox commented on 2025-03-24 17:39 (UTC)
Add
cd "$srcdir/build/toolchain/"
curl https://chromium.googlesource.com/chromium/tools/depot_tools/+/12214400154a979da1470447dd7a770b8b90b6f5/gn_helper.py?format=TEXT \
| base64 --decode > "$srcdir/build/toolchain/gn_helper.py"
at the end of prepare() to fix
ModuleNotFoundError: No module named 'gn_helper'
dolkilu commented on 2025-03-06 13:30 (UTC)
Missing import in the newer version.
Traceback (most recent call last):
File "/home/dolkilu/.cache/paru/clone/libpdfium-nojs/src/pdfium/build/toolchain/use_remoteexec_value.py", line 23, in <module>
import gn_helper
ModuleNotFoundError: No module named 'gn_helper'
For a local band-aid fix, I manually put gn_helper.py into ~/.cache/paru/clone/libpdfium-nojs/src/build/toolchain/
to build, from https://chromium.googlesource.com/chromium/tools/depot_tools/+/12214400154a979da1470447dd7a770b8b90b6f5/gn_helper.py
selmf commented on 2024-11-19 08:28 (UTC)
Thanks for reporting the issue. I did a quick and dirty fix so the package can build with system fast_float.
For a proper fix, I need to submit a patch to upstream.
FabioLolix commented on 2024-11-18 18:12 (UTC)
fatal error: third_party/fast_float installed fast_float but it still refuses to compile
It don't want the system version but the vendored one
Aftershock9009 commented on 2024-11-18 18:10 (UTC)
@dolkilu installed fast_float but it still refuses to compile, it still shows the same error, anything else I have to do?
dolkilu commented on 2024-11-15 13:03 (UTC) (edited on 2024-11-15 13:04 (UTC) by dolkilu)
Missing fast_float v6.1.4 in PKGBUILD for libpdfium-nojs 6778
fatal error: third_party/fast_float/src/include/fast_float/fast_float.h: .....
zhushazang commented on 2024-10-21 22:33 (UTC)
Same problem here since some time. Just to let you know.
AUR packages marked as outdated: libpdfium-nojs openvpn-dco-dkms opera pkgtools
libpdfium-nojs: local package (6668.r4.e59b248dc4-1) is newer than the AUR one (6367.r1.7b90b15a21-1)
David-UPCT commented on 2024-06-10 09:29 (UTC)
I've just intalled this package (megasync dependency) and the version seems to be 6422.r2.94407286f4-1, not 6367.r1.7b90b15a21-1. I'm not an expert, I don't know if there is a mistake of if the version number is irrelevant.
selmf commented on 2024-05-09 10:53 (UTC)
@YetAnotherAli I've updated the package with a workaround for the issue. It should build without modifications again.
Pinned Comments
selmf commented on 2021-05-24 11:20 (UTC)
Important: This package depends on libicuuc and needs to be rebuild if the icu package is updated on your system!