I was getting ninja: error: 'ar', needed by 'obj/third_party/abseil-cpp/libabsl.a'
I have tested 2 solutions,
hacky solutions, at line 127:
gn gen out/Release --args="${_flags[*]}"
ln -sf /usr/bin/ar out/Release/ar
better solution suggested by LLM:
after cd "$srcdir/pdfium/build", git checkout, at line 67:
# GN treats a bare "ar" as out/Release/ar
sed -i 's/ar = "ar"/ar = "\/usr\/bin\/ar"/' toolchain/linux/BUILD.gn
Pinned Comments
faethon commented on 2026-03-12 15:42 (UTC)
Fails missing simdutf under third-party:
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!