Building fails (again) at last point "Link" because of libopenjp2.so error.
Please Update the pkgbuild.
Git Clone URL: | https://aur.archlinux.org/ungoogled-chromium.git (read-only, click to copy) |
---|---|
Package Base: | ungoogled-chromium |
Description: | A lightweight approach to removing Google web service dependency |
Upstream URL: | https://github.com/ungoogled-software/ungoogled-chromium |
Keywords: | blink browser privacy web |
Licenses: | BSD-3-Clause |
Conflicts: | chromedriver, chromium |
Provides: | chromedriver, chromium |
Submitter: | ilikenwf |
Maintainer: | JstKddng (networkException) |
Last Packager: | networkException |
Votes: | 353 |
Popularity: | 4.28 |
First Submitted: | 2016-12-19 08:08 (UTC) |
Last Updated: | 2024-11-20 21:14 (UTC) |
« First ‹ Previous 1 .. 38 39 40 41 42 43 44 45 46 47 48 .. 66 Next › Last »
Building fails (again) at last point "Link" because of libopenjp2.so error.
Please Update the pkgbuild.
try this patch, @solnce @d351d3r I has been try and it build successfully.
diff --git a/PKGBUILD b/PKGBUILD
index 8642eb2..a3c5635 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -128,6 +128,7 @@ build() {
cp "$_ungoogled_repo/flags.gn" "out/Default/args.gn"
printf '\n' >> "out/Default/args.gn"
cat "$_ungoogled_archlinux_repo/flags.archlinux.gn" >> "out/Default/args.gn"
+ sed -i '/use_system_libopenjpeg2=true/d' "out/Default/args.gn"
# Facilitate deterministic builds (taken from build/config/compiler/BUILD.gn)
CFLAGS+=' -Wno-builtin-macro-redefined'
I just tried to build the PKGBUILD for version 80, and I get the same error.
The assembly failed. At the very end, errors got out. See the log https://gist.github.com/d351d3r/739f560d6642064643d0e0d17b75fabf
@solnce Getting the same error here. Build failed right near the end :(
Tried to build this package today. Throws an error when linking the final step.
LINK ./chrome
FAILED: chrome
clang++ -Wl,--version-script=../../build/linux/chrome.map -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -m64 -Wl,-O2 -Wl,--gc-sections -rdynamic -pie -Wl,--disable-new-dtags -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o "./chrome" -Wl,--start-group @"./chrome.rsp" -Wl,--end-group -latomic -ldl -lpthread -lrt -lX11 -lX11-xcb -lxcb -lXcomposite -lXcursor -lXdamage -lXext -lXfixes -lXi -lXrender -lXtst -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -ljsoncpp -licui18n -licuuc -licudata -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lcups -lxml2 -lfontconfig -ldbus-1 -levent -lresolv -lgio-2.0 -lz -lwebpdemux -lwebpmux -lwebp -lfreetype -ljpeg -lexpat -lharfbuzz-subset -lharfbuzz -ldrm -lre2 -lXrandr -lpci -lXss -lasound -lpulse -lavcodec -lavformat -lavutil -lsnappy -lopus -latk-1.0 -latk-bridge-2.0 -lva -lpangocairo-1.0 -lpango-1.0 -lcairo -latspi -lFLAC -lminizip -lgtk-3 -lgdk-3 -lcairo-gobject -lgdk_pixbuf-2.0 -lxslt -llzma -lm -llcms2 -lopenjp2
ld.lld: error: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib64/libopenjp2.so: undefined reference to __exp_finite
ld.lld: error: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib64/libopenjp2.so: undefined reference to __exp2_finite
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
@dumblob
It says there that OpenSUSE's uses a special tarball without all the patented stuff, I'm gonna start using that tarball just in case now.
Edit: just downloaded OpenSUSE's tarball, the sha256 sums are the same with the tarball my repo uses, no need to worry.
@dumblob you can download the package and install it manually.
@dumblob
https://github.com/ungoogled-software/ungoogled-chromium-archlinux/actions/runs/35246916 There is no issue tracking that, but it has already worked for v79. I am working on v80. It will take some time since v80 removed jumbo build which doubled buidling time causing Github runners to time out.
@sorice1123
Where is it best to track the current progress?
@JstKddng
Today I had an issue downloading your binaries from OBS:
error: failed retrieving file 'ungoogled-chromium-80.0.3987.87-1-x86_64.pkg.tar.xz' from download.opensuse.org : Maximum file size exceeded
This strange error led me to thread https://forums.opensuse.org/showthread.php/514422 and subsequently to "chromium" being blacklisted in OBS (https://en.opensuse.org/openSUSE:Build_Service_application_blacklist ). So without getting an exception for ungoogled-chromium, OBS is probably not a long term fit.
Pinned Comments
JstKddng commented on 2022-05-06 14:37 (UTC) (edited on 2022-06-27 13:48 (UTC) by JstKddng)
A new va-api patch for wayland has been added. Required flags for it to work are the following, thanks to @acidunit
JstKddng commented on 2020-07-19 06:34 (UTC)
You can get prebuilt binaries here:
https://github.com/ungoogled-software/ungoogled-chromium-archlinux#binary-downloads
seppia commented on 2018-12-12 21:34 (UTC)
Please do NOT flag this package as out of date in relation to official chromium releases.
This is NOT Google Chromium and new releases come after additional work of the ungoogled-chromium contributors, so they may not be ready, nor available for days or even weeks after a new version of official chromium is released.
Please refer to https://github.com/Eloston/ungoogled-chromium/tags for ungoogled-chromium releases. Use those and please flag this package as out of date only if a newer release is present there. I will update the PKGBUILD as soon as I can every time a new release comes out.
Thanks