Package Details: libpdfium-nojs 7871.r1.c052afb72a-1

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: 24
Popularity: 1.43
First Submitted: 2017-07-30 18:14 (UTC)
Last Updated: 2026-07-03 17:18 (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 »

faethon commented on 2026-07-02 06:46 (UTC) (edited on 2026-07-06 09:51 (UTC) by faethon)

The dependency on 'libjpeg' is broken since 2026-07-01. The easy fix is to replace the Package dependency on 'libjpeg' to SO name dependency on 'libjpeg.so'. It is also the preferred Arch way to use direct library dependencies (see here: https://wiki.archlinux.org/title/Arch_package_guidelines#Package_dependencies). Then it builds again.

I locally applied the following diff in the PKGBUILD to make it build again:

-depends=(freetype2 lcms2 libjpeg openjpeg2 icu harfbuzz)
+depends=(freetype2 lcms2 libjpeg.so openjpeg2 icu harfbuzz)

patlefort commented on 2026-07-01 22:51 (UTC)

libjpeg-turbo no longer provides libjpeg. Can you please update the dependency?

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.