Package Details: libpdfium-nojs 7727.r1.b34626f5fd-2

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: 22
Popularity: 0.000034
First Submitted: 2017-07-30 18:14 (UTC)
Last Updated: 2026-04-10 18:06 (UTC)

Pinned Comments

faethon commented on 2026-03-12 15:42 (UTC)

Fails missing simdutf under third-party:

==> Starting build()...
ERROR at //testing/BUILD.gn:204:5: Unable to load "~/.cache/paru/clone/libpdfium-nojs/src/pdfium/third_party/simdutf/BUILD.gn".
    "//third_party/simdutf",
    ^----------------------
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'libpdfium-nojs-7632.r1.004b476195-1': 

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!

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

patlefort commented on 2026-04-09 21:18 (UTC)

Since it now depend on harfbuzz, can you please add it to depends=().

chemicalzen commented on 2026-04-08 21:03 (UTC) (edited on 2026-04-08 21:04 (UTC) by chemicalzen)

been getting this error while attempting to update (started 04/06/2026). The package version bumped to 7727.r1.b34626f5fd-1 during the build, let me kow if you need anything else, thnx!

==> Starting build()... Done. Made 534 targets from 129 files in 115ms ninja: Entering directoryout/Release' ninja: error: '../../third_party/harfbuzz-ng/src/src/OT/Var/VARC/VARC.cc', needed by 'obj/third_party/harfbuzz-ng/harfbuzz-ng/VARC.o', missing and no known rule to make it ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'libpdfium-nojs-7680.r2.bccc616f83-1`

System: CachyOS kernel 6.19.11-1-cachyos

faethon commented on 2026-03-28 07:16 (UTC)

The latest update has fixed the error related to the missing simdutf sources. All is well again. Thanks for updating!

emceebois commented on 2026-03-24 19:35 (UTC)

I get the same error as faethon.

faethon commented on 2026-03-12 15:42 (UTC)

Fails missing simdutf under third-party:

==> Starting build()...
ERROR at //testing/BUILD.gn:204:5: Unable to load "~/.cache/paru/clone/libpdfium-nojs/src/pdfium/third_party/simdutf/BUILD.gn".
    "//third_party/simdutf",
    ^----------------------
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'libpdfium-nojs-7632.r1.004b476195-1': 

Althorion commented on 2026-02-15 08:04 (UTC) (edited on 2026-02-15 08:05 (UTC) by Althorion)

Fails at build with the following error:

==> Starting build()...
ERROR at //build/config/clang/clang.gni:63:7: Undefined identifier
      build_with_chromium && !is_official_build &&
      ^------------------
See //BUILD.gn:5:1: whence it was imported.
import("//build/config/clang/clang.gni")
^--------------------------------------
==> ERROR: A failure occurred in build().
    Aborting...

HurricanePootis commented on 2026-01-25 10:20 (UTC)

This package should be libpdfium-nojs-git as there is not stable commit.

selmf commented on 2025-03-25 05:53 (UTC)

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.

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