Package Details: libpdfium-nojs 6778.r0.7a8409531f-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: 23
Popularity: 0.87
First Submitted: 2017-07-30 18:14 (UTC)
Last Updated: 2024-11-19 08:21 (UTC)

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!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next › Last »

selmf commented on 2021-02-25 12:07 (UTC)

@RobinHood2015: This is a regression caused by the latest update of gn, which introduced a change in the handling of set_sources_assignment_filter. I'm still pondering on how to best fix this in-package. As a workararound, you can either try downgrading gn to the last version or you can comment out the part of the PKGBUILD where the version of the build repo requested by pdfium is being checked out (currently line 54). This will cause the package to use the newest version of the build toolchain which is compatible with the current version of gn.

Another option is to simply switch to pdfium's beta channel. To do that, you just have to switch the first checkout in the PKGBUILD to the beta or dev channel checkout in the comments.

RobinHood2015 commented on 2021-02-25 01:47 (UTC) (edited on 2021-02-25 01:49 (UTC) by RobinHood2015)

ERROR at //build/win/BUILD.gn:14:1: set_sources_assignment_filter argument must be an empty list.
set_sources_assignment_filter(deprecated_default_sources_assignment_filter)
^-------------------------------------------------------------------------
See //testing/test.gni:232:9: which caused the file to be included.                    
        "//build/win:default_exe_manifest",
        ^---------------------------------
==> ERROR: A failure occurred in build().                                              
    Aborting...

paapereira commented on 2020-12-31 14:03 (UTC)

Removing the cache didn't work, but reinstalling gn did it.

rm -rf .cache/paru/clone/libpdfium-nojs
paru -S gn --overwrite /usr/bin/gn
paru -S libpdfium-nojs

selmf commented on 2020-12-27 09:00 (UTC)

@paapereira, @keren_sky: I can't replicate your issues on my system. Your best option is to retry with clean build directories and sources (i.e. delete the cached stuff). Also, if you're using AUR flavors of dependencies or build dependencies, replace those with vanilla versions.

paapereira commented on 2020-12-23 20:22 (UTC) (edited on 2020-12-23 20:22 (UTC) by paapereira)

I'm getting:

==> Starting build()...
ERROR at //.gn:15:20: Assignment had no effect.
no_check_targets = [
                   ^
You set the variable "no_check_targets" here and it was unused before it went
out of scope.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'libpdfium-nojs-4280.r1.0950ad89ea-1':

keren_sky commented on 2020-12-14 22:26 (UTC)

Hi, is anybody else seeing this error message?

==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... ninja: Entering directory `out/Release' ninja: fatal: chdir to 'out/Release' - No such file or directory ==> ERROR: A failure occurred in build(). Aborting...

Hekuran commented on 2020-12-14 12:50 (UTC)

Minor nitpick

Could you update the version? its annoying when i yay -Syyu and its been telling me for weeks now that i have a newer version than AUR.

Cheers

DDoSolitary commented on 2020-11-02 12:28 (UTC)

@selmf You're right. I just took a deeper look at the PKGBUILD file and found out that I was mistaken.