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.
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.000001 |
First Submitted: | 2017-07-30 18:14 (UTC) |
Last Updated: | 2024-11-19 08:21 (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.
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
@dolkilu installed fast_float but it still refuses to compile, it still shows the same error, anything else I have to do?
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: .....
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)
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.
@YetAnotherAli I've updated the package with a workaround for the issue. It should build without modifications again.
@selmf Thank you very much. Everything worked exactly as you said.
@YetAnotherAli it seems that pdfium upstream messed up the dependencies for the current stable branch. I did some initial checks and it looks like the build setup is referencing a version of the chromium build environment that is newer than the version they pull via DEPS.
I'm still undecided on how to best adress this, but as a workaround you can switch to a beta build by changing the chrome_version in the PKGBUILD to the beta channel. The correct line for this is already present, you just have to comment the stable and uncomment the beta chrome_version.
Failure in build: Undefined identifier at enable_safe_libstdcxx.
Only found these two links referencing something similar: https://github.com/bblanchon/pdfium-binaries/actions/runs/8323881636 https://github.com/bblanchon/pdfium-binaries/actions/runs/8323949160
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!