Package Details: ungoogled-chromium 101.0.4951.64-1

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/Eloston/ungoogled-chromium
Keywords: blink browser privacy web
Licenses: BSD
Conflicts: chromium
Provides: chromium
Submitter: ilikenwf
Maintainer: seppia (JstKddng)
Last Packager: JstKddng
Votes: 306
Popularity: 6.77
First Submitted: 2016-12-19 08:08 (UTC)
Last Updated: 2022-05-11 17:09 (UTC)

Dependencies (43)

Required by (104)

Sources (13)

Pinned Comments

JstKddng commented on 2022-05-06 14:37 (UTC)

A new va-api patch for wayland has been added. Required flags for it to work are the following, thanks to @acidunit

--disable-features=UseChromeOSDirectVideoDecoder
--disable-gpu-memory-buffer-compositor-resources
--disable-gpu-memory-buffer-video-frames
--enable-hardware-overlays

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

Latest Comments

JstKddng commented on 2022-05-16 15:13 (UTC)

@pdpelf

icu was updated to 71.1 a long time ago, maybe you are using an outdated mirror.

pdpelf commented on 2022-05-16 09:23 (UTC)

/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory

Since last update, ICU is now at: libicui18n.so.71.1

JstKddng commented on 2022-05-06 14:37 (UTC)

A new va-api patch for wayland has been added. Required flags for it to work are the following, thanks to @acidunit

--disable-features=UseChromeOSDirectVideoDecoder
--disable-gpu-memory-buffer-compositor-resources
--disable-gpu-memory-buffer-video-frames
--enable-hardware-overlays

smokeinbrain commented on 2022-04-29 10:44 (UTC)

@fcolecumberri i don't seem to have that flag in my /etc/makepkg.conf file...

fcolecumberri commented on 2022-04-26 22:56 (UTC)

the -fvar-tracking-assignments problem can be solved by removing that flag from the /etc/makepkg.conf file (which makes sense since it's a g++ only flag and ungoogled-chromium uses clang++ to compile).

rEnr3n commented on 2022-04-17 01:25 (UTC)

Please bump the package. icu just got updated.

$ chromium                                                                                         
/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory

JstKddng commented on 2022-04-12 15:54 (UTC)

@monarc99

yeah, it's in chromium's PKGBUILD and I'm trying to maintain this with the least possible changes to it.

monarc99 commented on 2022-04-12 15:26 (UTC)

@JstKddng

do you need the debug flag in the PKGBUILD?

... options=('debug' '!lto') ...

maybe it is easier to switch to '!debug' than fixing the DEBUG_CFLAGS of all users. ;)

JstKddng commented on 2022-04-12 14:33 (UTC)

@mrturcot

Have you edited /etc/makepkg.conf accordingly? If so, maybe you have a makepkg.conf file in your home directory somewhere not letting you build.

mrturcot commented on 2022-04-12 03:20 (UTC)

Yeah no dice it still has same error as before and build fails almost right away after it starts...

networkException commented on 2022-04-10 09:34 (UTC)

Try installing the devtools package, paru should pick that up and build in an isolated environment or otherwise you can also use the extra-x86_64-build command manually.

mrturcot commented on 2022-04-10 06:45 (UTC)

@JstKddng - I tried using paru and makepkg, both fail with same error as @smokeinbrain

'error: clang++: error: unknown argument: '-fvar-tracking-assignments' ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...'

JstKddng commented on 2022-04-06 15:10 (UTC)

@smokeinbrain

try to use makepkg instead of pamac. I've tested building on my pc and I found a makepkg.conf.pacnew files with the new changes, after merging them I was able to build without a problem.

smokeinbrain commented on 2022-04-06 13:47 (UTC)

@monarc99 After editing /etc/makepkg.conf I have run pamac clean ----build-files And then run pamac install ungoogled-chromium. I'm still getting same error: clang++: error: unknown argument: '-fvar-tracking-assignments' ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

Nephilim commented on 2022-04-04 23:03 (UTC) (edited on 2022-04-04 23:05 (UTC) by Nephilim)

@monarc99 I'm having the same issue. I made sure to do a clean build and I'm getting the following error:

 [23246/48981] ACTION //components/url_formatter/spoof_checks/top_domains:generate_top_domain_list_variables_file(//build/toolchain/linux/unbundle:default)
FAILED: gen/components/url_formatter/spoof_checks/top_domains/top500-domains-inc.cc 
python3 ../../build/gn_run_binary.py make_top_domain_list_variables ../../components/url_formatter/spoof_checks/top_domains/domains.list top500_domains gen/components/url_formatter/spoof_checks/top_domains/top500-domains-inc.cc
make_top_domain_list_variables failed with exit code -4
[23271/48981] ACTION //third_party/blink/public/mojom:mojom_platform_blink__generator(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

monarc99 commented on 2022-04-02 12:19 (UTC)

@smokeinbrain did you removed your whole build directory (src) ? the build files must be recreated after changing the flags.

smokeinbrain commented on 2022-04-02 11:13 (UTC)

@monarc99 disabling the debug vars in /etc/makepkg.conf did not work for me. Have anyone fixed this problem? Thanks

JstKddng commented on 2022-03-30 15:37 (UTC)

@T_Robertson @noahvogt

You have to do a clean build everytime

noahvogt commented on 2022-03-30 14:11 (UTC)

@T_Robertson I get the same error. If anyone knows how to fix this, your help would be appreciated.

T_Robertson commented on 2022-03-26 20:48 (UTC) (edited on 2022-03-26 20:49 (UTC) by T_Robertson)

I am getting this error, my system is up to date.

patching file net/url_request/url_request.cc
patching file net/url_request/url_request_context_builder.cc
patching file url/url_constants.cc
patching file url/url_constants.h
patching file url/url_util.cc
Traceback (most recent call last):
  File "/home/madcowog/Builds/ungoogled-chromium/src/ungoogled-chromium-99.0.4844.82-1/utils/patches.py", line 250, in <module>
    main()
  File "/home/madcowog/Builds/ungoogled-chromium/src/ungoogled-chromium-99.0.4844.82-1/utils/patches.py", line 246, in main
    args.callback(args, parser.error)
  File "/home/madcowog/Builds/ungoogled-chromium/src/ungoogled-chromium-99.0.4844.82-1/utils/patches.py", line 198, in _apply_callback
    apply_patches(
  File "/home/madcowog/Builds/ungoogled-chromium/src/ungoogled-chromium-99.0.4844.82-1/utils/patches.py", line 132, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/madcowog/Builds/ungoogled-chromium/src/ungoogled-chromium-99.0.4844.82-1/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch', '-d', '.', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.

Is this something I should submit to the github?

ervinshiznit commented on 2022-03-19 00:32 (UTC)

@Jstkddng It's up to date. My pacman is version 6.0.1-4. And I always run pacman -Syu before making packages from the AUR.

@monarc99 Thanks, that fixed it.

monarc99 commented on 2022-03-18 23:32 (UTC)

Or disable the debug vars in /etc/makepkg.conf

DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"

JstKddng commented on 2022-03-18 23:10 (UTC)

@ervinshiznit

your have to upgrade your system. Pacman's version should be 6.0.1-4

ervinshiznit commented on 2022-03-18 22:57 (UTC)

It fails on step 9 of 48646 for me with the error clang: error: unknown argument: '-fvar-tracking-assignments'

JstKddng commented on 2022-02-26 17:31 (UTC)

huh, I'm not getting notifications from new comments, weird.

@mindstormer

Do you still have the issue?

@cool3

Sorry, I can only support arch.

cool3 commented on 2022-02-19 08:09 (UTC) (edited on 2022-02-19 08:10 (UTC) by cool3)

Pls add dependency ffmpeg-compat-58 do avoid error on Artix:

 /usr/lib/chromium/chromium: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory

mindstormer commented on 2022-02-19 00:10 (UTC)

Failing to build in chroot for me:

/home/mindstormer/.cache/aurutils/sync/ungoogled-chromium/PKGBUILD: line 149: ./build/linux/unbundle/replace_gn_files.py: Permission denied

JstKddng commented on 2022-02-17 19:32 (UTC)

Finally ffmpeg 5.0 has left testing so the previous patches were removed, be sure to update ffmpeg before compiling.

@followait

what do you mean?

followait commented on 2022-02-05 04:52 (UTC)

What about making PKGBUILD reenterable?

Relih commented on 2022-01-27 13:27 (UTC)

@JstKddng No worries I just got it fixed myself, I removed the application of chromium-93-ffmpeg-4.4.patch and unbundle-ffmpeg-av_stream_get_first_dts.patch and had the built go through fine.

JstKddng commented on 2022-01-27 12:48 (UTC)

@Relih

You are gonna have to wait until ffmpeg 5 is released on extra.

Relih commented on 2022-01-26 22:43 (UTC)

I am getting the same error as lunainvictum, sadly symlinking the old .so versions doesn't work and chromium is too complex for me to understand where the actual error is.

lunainvictum commented on 2022-01-25 15:49 (UTC)

That's weird, have you tried forcing a repo sync? I updated fine to 97.0.4692.99-2 >from the obs repo.

Yep, even with pacman -Syyu first :)

But seems it is like @networkException said. Because on the Repo like here described https://github.com/ungoogled-software/ungoogled-chromium-archlinux#binary-downloads

it uses the repo where X.71-2 is only available.

I switch actualy to https://github.com/jstkdng/aur. I misunderstood first something, thought first that the first one is your repo :-)

Installed the latest one, but still didnt run anyway because of ffmpeg 5.0.

But that is my problem, because im temporarly using Artix to try out.

networkException commented on 2022-01-25 15:42 (UTC)

The OBS repo at https://build.opensuse.org/package/show/home:ungoogled_chromium/ungoogled-chromium-arch is stuck on 97.0.4692.71-2 right now unfortionately. https://build.opensuse.org/package/show/home:justkidding:arch/ungoogled-chromium is up to date

JstKddng commented on 2022-01-25 15:37 (UTC)

That's weird, have you tried forcing a repo sync? I updated fine to 97.0.4692.99-2 from the obs repo.

lunainvictum commented on 2022-01-25 15:22 (UTC)

Yes, ffmpeg is the problem. On my System is ffmpeg 5.0 already installed.

And what i found out: If i install from your repo, it wants to install

Pakete (1) ungoogled-chromium-97.0.4692.71-2

But like you know, 97.0.4692.99-2 is actual release :)

JstKddng commented on 2022-01-25 15:19 (UTC)

@lunainvictum

not sure about x264 but once ffmpeg 5 is released this package will need an update. And yes, the signature format error is on the OBS side, nothing I can do about it. You could disable signature checking on your pacman.conf to get rid of the error but I haven't tested that.

lunainvictum commented on 2022-01-25 14:50 (UTC) (edited on 2022-01-25 15:07 (UTC) by lunainvictum)

@JstKddng

Yes. Tried multiple times. I think it is because of new x264 or ffmpeg update i got? dont know. Installed from your Repo.

Little OT: Is it normal that if using your repo, to get everytime a warning/error about a wrong signature format? Anyhow to disable that?

JstKddng commented on 2022-01-25 12:59 (UTC)

@lunainvictum

are you making a clean build? It builds without a problem in the OBS

lunainvictum commented on 2022-01-25 09:17 (UTC)

Actual release is broken:

FAILED: obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264_decoder_impl.o clang++ -MMD -MF obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264_decoder_impl.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-14-init-8033-gabb2a91b-2\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DRTC_ENABLE_VP9 -DWEBRTC_HAVE_SCTP -DENABLE_EXTERNAL_AUTH -DWEBRTC_USE_H264 -DHAVE_WEBRTC_VIDEO -DLOGGING_INSIDE_WEBRTC -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -Dav_stream_get_first_dts(stream)=stream->first_dts -I../.. -Igen -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../third_party/libyuv/include -Igen/shim_headers/ffmpeg_shim -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wno-shadow -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc -o obj/third_party/webrtc/modules/video_coding/webrtc_h264/h264_decoder_impl.o In file included from ../../third_party/webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc:25: In file included from gen/shim_headers/ffmpeg_shim/third_party/ffmpeg/libavformat/avformat.h:5: /usr/include/libavformat/avformat.h:1119:42: error: redefinition of 'AVStream' as different kind of symbol int64_t av_stream_get_first_dts(const AVStream st); ^ /usr/include/libavformat/avformat.h:1107:3: note: previous definition is here } AVStream; ^ /usr/include/libavformat/avformat.h:1119:51: error: expected ';' after top level declarator int64_t av_stream_get_first_dts(const AVStream st); ^ 2 errors generated. [18684/48294] CXX obj/third_party/webrtc/modules/video_coding/webrtc_vp9/libvpx_vp9_encoder.o ninja: build stopped: subcommand failed. ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

JstKddng commented on 2022-01-08 22:54 (UTC)

@ewout

I'd use them but those patches aren't used on the extra/chromium PKGBUILD

ewout commented on 2022-01-08 22:00 (UTC)

@JstKddng @seppia there are new libstdc++ patches in the stha09/chromium-patches repo on GitHub for the new Chromium 97 version

below is a patch for the PKGBUILD

diff --git a/PKGBUILD b/PKGBUILD
index 7058f69..e342ff1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -116,7 +115,9 @@ prepare() {
   patch -Np1 -i ../sql-make-VirtualCursor-standard-layout-type.patch

   # Fixes for building with libstdc++ instead of libc++
-  #patch -Np1 -i ../patches/
+  patch -Np1 -i ../patches/chromium-97-compiler.patch
+  patch -Np1 -i ../patches/chromium-97-Point-constexpr.patch
+  patch -Np1 -i ../patches/chromium-97-ScrollView-reference.patch

   # Wayland/EGL regression (crbug #1071528 #1071550)
   patch -Np1 -i ../wayland-egl.patch

cradcore commented on 2022-01-07 14:44 (UTC)

I'm getting an error when building in xdg_mime: clang: error while loading shared libraries: libffi.so.7: cannot open shared object file: No such file or directory

aemonge commented on 2021-12-07 16:24 (UTC)

@qcasey

Thanks! That seamed to start the build, and I don't think it'll fail.

qcasey commented on 2021-12-07 15:56 (UTC)

Try makepkg --help: --cleanbuild Remove $srcdir/ dir before building the package

aemonge commented on 2021-12-07 15:53 (UTC)

@JstKddng

I've just runned makepkg --clean but the same error persists for this command to. Maybe there's something that I'm missing, how else can I clean the build ?

JstKddng commented on 2021-12-07 14:52 (UTC)

@aemonge

You need to do a clean build every time you need to rebuild

aemonge commented on 2021-12-07 11:32 (UTC)

Hi, recent updates broke my chromium with the following errors:

patching file url/url_util.cc
Traceback (most recent call last):
  File "/home/aemonge/lib/ungoogled-chromium-archlinux/src/ungoogled-chromium-96.0.4664.45-1/utils/patches.py", line 25
0, in <module>
    main()
  File "/home/aemonge/lib/ungoogled-chromium-archlinux/src/ungoogled-chromium-96.0.4664.45-1/utils/patches.py", line 24
6, in main
    args.callback(args, parser.error)
  File "/home/aemonge/lib/ungoogled-chromium-archlinux/src/ungoogled-chromium-96.0.4664.45-1/utils/patches.py", line 19
8, in _apply_callback
    apply_patches(
  File "/home/aemonge/lib/ungoogled-chromium-archlinux/src/ungoogled-chromium-96.0.4664.45-1/utils/patches.py", line 13
2, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/aemonge/lib/ungoo
gled-chromium-archlinux/src/ungoogled-chromium-96.0.4664.45-1/patches/core/ungoogled-chromium/block-trk-and-subdomains.
patch', '-d', '.', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.

JstKddng commented on 2021-12-05 20:06 (UTC)

@doron-cohen

Are you trying to build on /tmp or another tmpfs? Maybe you ran out of ram for the build.

doron-cohen commented on 2021-12-05 19:18 (UTC) (edited on 2021-12-05 19:20 (UTC) by doron-cohen)

Hi! I get a build error:

chromium-96.0.4664.45/url/url_constants.cc: Failed to create dir 'chromium-96.0.4664.45/url'
chromium-96.0.4664.45/url/gurl_fuzzer.dict: Failed to create dir 'chromium-96.0.4664.45/url'
chromium-96.0.4664.45/url/url_canon_etc.cc: Failed to create dir 'chromium-96.0.4664.45/url'
chromium-96.0.4664.45/url/url_canon_path.cc: Failed to create dir 'chromium-96.0.4664.45/url'
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract chromium-96.0.4664.45.tar.xz
    Aborting...

aura >>= There was a makepkg failure.

There are tons of "Failed to create dir" errors I can't see what perceds it.

JstKddng commented on 2021-11-28 07:07 (UTC)

@reclusivesage

just fixed the issue

@ararhoo

thanks for reporting the issue

reclusivesage commented on 2021-11-28 01:46 (UTC)

I only updated Arch 1 week later and got the same error in the comment from @narwhalofages when trying to debug in the terminal:

/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.69: cannot open shared object file: No such file or directory

I tried rebuilding Ungoogled Chromium, but then got the same error in the comment from @ararhoo:

  -> Downloading chromium-launcher-8.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   151  100   151    0     0    759      0 --:--:-- --:--:-- --:--:--   762
  0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/foutrelis/chromium-launcher/archive/v8/chromium-launcher-8.tar.gz
    Aborting...

ararhoo commented on 2021-11-26 23:03 (UTC) (edited on 2021-11-26 23:14 (UTC) by ararhoo)

It looks like the URI for https://github.com/foutrelis/chromium-launcher/archive/v8/chromium-launcher-8.tar.gz has changed:

Works for me: https://codeload.github.com/foutrelis/chromium-launcher/tar.gz/v8 (chromium-launcher-8.tar.gz is given back in browser)

JstKddng commented on 2021-11-25 11:24 (UTC) (edited on 2021-11-25 11:25 (UTC) by JstKddng)

@followait

The changes were made mostly to aid binary repository users

@aemonge

You're welcome

aemonge commented on 2021-11-25 08:14 (UTC)

@JstKddng thanks <3

followait commented on 2021-11-25 08:00 (UTC)

What's the difference between 96.0.4664.45-1 and 96.0.4664.45-2?

$ git diff HEAD~
diff --git a/.SRCINFO b/.SRCINFO
index c516532..7325fdf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ungoogled-chromium
        pkgdesc = A lightweight approach to removing Google web service dependency
        pkgver = 96.0.4664.45
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/Eloston/ungoogled-chromium
        arch = x86_64
        license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index d0581dd..bc14481 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@

 pkgname=ungoogled-chromium
 pkgver=96.0.4664.45
-pkgrel=1
+pkgrel=2
 _launcher_ver=8
 _gcc_patchset=4
 pkgdesc="A lightweight approach to removing Google web service dependency"

JstKddng commented on 2021-11-25 01:11 (UTC)

@ginnokami

I told the guy what to do, no need for a new PKGBUILD for that. Don't start unnecessary drama.

ginnokami commented on 2021-11-24 23:31 (UTC)

@JstKddng I like how reporting that there is a bug results in a condescending answer. When he posted that there was no new PKGBUILD and his bug report was valid.

JstKddng commented on 2021-11-24 13:05 (UTC)

@narwhalofages

Yeah, that's why you need to rebuild chromium so that it can link against the new library

narwhalofages commented on 2021-11-24 08:10 (UTC)

Attempting to run chromium results in the following error:

/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.69: cannot open shared object file: No such file or directory

icu 70.1-1 appears to be the current package, updated as of today.

DAC324 commented on 2021-11-19 16:53 (UTC) (edited on 2021-11-19 16:55 (UTC) by DAC324)

@IEPforAUR As monarc99 already commented, the Chromium development versions (which ungoogled-Chromium is based on) are originally developed with clang 13 (trunk versions) in mind.

So in Manjaro, you have two options:

1) Set the source to compile using the toolchain supplied by the Chromium developers, which includes clang 13 trunk. To achieve this, you will have to make the following modifications to PKGBUILD (taken from the chromium-dev AUR package):

_clang_path="${BUILDDIR}${_builddir}/src/chromium-${pkgver}/third_party/llvm-build/Release+Asserts/bin/"

export CC="${_clang_path}clang"
export CXX="${_clang_path}clang++"
export AR="${_clang_path}llvm-ar"
export NM=nm
export RANLIB=/usr/bin/true
_lld="ld.lld"                  

  msg2 "Download prebuilt clang from Google"
  tools/clang/scripts/update.py

2) You can try to compile the sources with clang 12 but they must be patched:

--- a/build/config/compiler/BUILD.gn    2021-08-04 15:33:17.770055119 +0200
+++ b/build/config/compiler/BUILD.gn    2021-08-04 15:33:58.576421902 +0200
@@ -1228,7 +1228,9 @@
     } else {
       # -ffile-compilation-dir is an alias for both -fdebug-compilation-dir=
       # and -fcoverage-compilation-dir=.
-      cflags += [ "-ffile-compilation-dir=." ]
+      # recognized by clang > 14 only
+      # cflags += [ "-ffile-compilation-dir=." ]
+      cflags += [ "-fdebug-compilation-dir=." ]
     }
     if (!is_win) {
       # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167)
--- a/build/config/sanitizers/BUILD.gn  2021-08-20 16:26:39.534393242 +0200
+++ b/build/config/sanitizers/BUILD.gn  2021-08-20 16:30:43.165895367 +0200
@@ -276,7 +276,7 @@
         asan_win_blocklist_path =
             rebase_path("//tools/memory/asan/blocklist_win.txt", root_build_dir)
       }
-      cflags += [ "-fsanitize-ignorelist=$asan_win_blocklist_path" ]
+      cflags += [ "-fsanitize-blacklist=$asan_win_blocklist_path" ]
     }
   }
 }
@@ -312,7 +312,7 @@
     }
     cflags += [
       "-fsanitize=cfi-vcall",
-      "-fsanitize-ignorelist=$cfi_ignorelist_path",
+      "-fsanitize-blacklist=$cfi_ignorelist_path",
     ]

     if (use_cfi_cast) {
@@ -416,7 +416,7 @@
     cflags = [
       "-fsanitize=memory",
       "-fsanitize-memory-track-origins=$msan_track_origins",
-      "-fsanitize-ignorelist=$msan_ignorelist_path",
+      "-fsanitize-blacklist=$msan_ignorelist_path",
     ]
   }
 }
@@ -430,7 +430,7 @@
     }
     cflags = [
       "-fsanitize=thread",
-      "-fsanitize-ignorelist=$tsan_ignorelist_path",
+      "-fsanitize-blacklist=$tsan_ignorelist_path",
     ]
   }
 }
@@ -456,7 +456,7 @@
       "-fsanitize=signed-integer-overflow",
       "-fsanitize=unreachable",
       "-fsanitize=vla-bound",
-      "-fsanitize-ignorelist=$ubsan_ignorelist_path",
+      "-fsanitize-blacklist=$ubsan_ignorelist_path",
     ]

     # Chromecast ubsan builds fail to compile with these
@@ -495,7 +495,7 @@
       "-fsanitize=shift",
       "-fsanitize=signed-integer-overflow",
       "-fsanitize=vla-bound",
-      "-fsanitize-ignorelist=$ubsan_security_ignorelist_path",
+      "-fsanitize-blacklist=$ubsan_security_ignorelist_path",
     ]
   }
 }
@@ -514,7 +514,7 @@
     }
     cflags = [
       "-fsanitize=vptr",
-      "-fsanitize-ignorelist=$ubsan_vptr_ignorelist_path",
+      "-fsanitize-blacklist=$ubsan_vptr_ignorelist_path",
     ]
   }
 }                                                        
--- a/build/config/sanitizers/sanitizers.gni    2021-08-20 13:32:46.380117649 +0200
+++ b/build/config/sanitizers/sanitizers.gni    2021-08-20 14:04:17.785744980 +0200
@@ -55,10 +55,11 @@
   # crbug.com/1033839. Similarly, don't use this on ARC builds.
   #
   # TODO(crbug.com/1159424): Reassess the validity of the next expression.
-  is_cfi =
-      is_official_build &&
-      (((target_os == "linux" || is_chromeos_lacros) && target_cpu == "x64") ||
-       ((is_chromeos_ash || is_chromeos_lacros) && is_chromeos_device))
+  is_cfi = false
+  # is_cfi =
+  #    is_official_build &&
+  #    (((target_os == "linux" || is_chromeos_lacros) && target_cpu == "x64") ||
+  #     ((is_chromeos_ash || is_chromeos_lacros) && is_chromeos_device))

   # Enable checks for indirect function calls via a function pointer.
   # TODO(pcc): remove this when we're ready to add these checks by default.

monarc99 commented on 2021-11-19 01:53 (UTC)

@IEPforAUR you need clang 13. Manjaro stable branch has only clang 12 atm.

missingSleepDeps commented on 2021-11-18 19:13 (UTC)

Building on Manjaro is having a ton of errors like this one:

[164/49551] CXX obj/base/third_party/double_conversion/double_conversion/double-to-string.o
FAILED: obj/base/third_party/double_conversion/double_conversion/double-to-string.o 
clang++ -MMD -MF obj/base/third_party/double_conversion/double_conversion/double-to-string.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-14-init-5759-g02895eed-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-builtin-assume-aligned-alignment -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-bitwise-instead-of-logical -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-unused-const-variable -Wno-unused-function -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden  -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../base/third_party/double_conversion/double-conversion/double-to-string.cc -o obj/base/third_party/double_conversion/double_conversion/double-to-string.o
clang++: error: unknown argument: '-ffile-compilation-dir=.'
clang++: error: unknown argument: '-fsanitize-ignorelist=../../tools/cfi/ignores.txt'

JstKddng commented on 2021-11-18 17:22 (UTC)

@followait

You can try updating and checking if that error persists, though, I think that error is on the window manager side, not chromium's. Under awesomewm it does remember the size before closing.

@aemonge

Clean the srcdir

followait commented on 2021-11-05 22:11 (UTC) (edited on 2021-11-06 13:15 (UTC) by followait)

Env
  • manjaro: x86-64 2021/11/05
  • ungoogled-chromium: 95.0.4638.69
Reproduce
  1. lauch chromium, let the window be in non-maximum and non-minimum mode, close the window, so chromium will remember the size of the window as default
  2. lauch chromium again, the size of the window is obviously smaller than the size it remembers

aemonge commented on 2021-11-05 14:07 (UTC)

Any idea how to fix this issue?

Traceback (most recent call last):
  File "/home/aemonge/lib/ungoogled-chromium/src/ungoogled-chromium-95.0.4638.69-1/utils/patches.py", line 250, in <module>
    main()
  File "/home/aemonge/lib/ungoogled-chromium/src/ungoogled-chromium-95.0.4638.69-1/utils/patches.py", line 246, in main
    args.callback(args, parser.error)
  File "/home/aemonge/lib/ungoogled-chromium/src/ungoogled-chromium-95.0.4638.69-1/utils/patches.py", line 198, in _apply_callback
    apply_patches(
  File "/home/aemonge/lib/ungoogled-chromium/src/ungoogled-chromium-95.0.4638.69-1/utils/patches.py", line 132, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,

followait commented on 2021-10-31 12:56 (UTC)

@monarc99

"using AVX instructions infrequently could degrade performance or power efficiency"

https://stackoverflow.com/questions/52653025/why-is-march-native-used-so-rarely

monarc99 commented on 2021-10-31 10:33 (UTC)

i use for my private builds on my newer notebook (with avx2 support):

CFLAGS="-march=native -mtune=native -O3 -pipe -fno-plt"

for my old desktop (pre AVX2) pc, i had to switch back to

CFLAGS="-march=x86-64-v2 -mtune=native -O3 -pipe -fno-plt"

there a avx2 instructions in tensorflow (to test, if the cpu support avx2), and the compiler is confused, to compile avx2 instructions, when -march=native disables avx2.

and i enable PGO: in PKGBUILD before the CFLAGS settings:

# enable pgo
_linux_pgo_file=$(cat chrome/build/linux.pgo.txt)
if [ ! -f "chrome/build/pgo_profiles/${_linux_pgo_file}" ]; then
  msg2 'Downloading pgo_profiles data'
  curl "https://storage.googleapis.com/chromium-optimization-profiles/pgo_profiles/${_linux_pgo_file}" --output "chrome/build/pgo_profiles/${_linux_pgo_file}"
fi
_flags+=(
  'chrome_pgo_phase=2'
  'is_clang=true'
  'use_lld=true'
)

lahwaacz commented on 2021-10-31 07:05 (UTC)

and that could hurt performance on intel cpus.

Not only that, it would most likely segfault on other (micro)architectures due to unknown instructions.

JstKddng commented on 2021-10-31 03:26 (UTC)

@followait

you can certainly try adding it to your builds but I wouldn't add it here as the repo builds would be optimized for the architecture the OBS uses for compiling (amd epyc iirc) and that could hurt performance on intel cpus.

followait commented on 2021-10-31 01:51 (UTC) (edited on 2021-10-31 01:52 (UTC) by followait)

For GCC and clang, what about adding option "-march=native", which also implies "-mtune=native"?

How much performance can it boost?

RonnyD commented on 2021-10-26 16:52 (UTC)

On one of my devices, I get the following error:

[4041/49178] ACTION //third_party/blink/public/moj...sage_ids(//build/toolchain/linux/unbundle:default)ninja: error: WriteFile(__third_party_blink_public_mojom_memory_usage_monitor_linux_mojo_bindings__generate_message_ids___build_toolchain_linux_unbundle_default__rule..rsp): Unable to create file. File name too long

Maybe this could be caused through /tmp being mounted on the drive as opposed to a ramdisk? Versions up 'til 91 installed fine, just fine, though.

Any thoughts?

JstKddng commented on 2021-10-12 17:45 (UTC)

@unphysicalix

yes it's ok, just click on the Flag package out-of-date button. I'll update asap

unphysicalix commented on 2021-10-11 19:35 (UTC)

Hi, is it ok to remind you of a 3 day old newer version ? https://github.com/Eloston/ungoogled-chromium/releases/tag/94.0.4606.81-1

A new PKGBUILD will be appreciated. Thanks.

DAC324 commented on 2021-10-01 22:10 (UTC)

Sorry - typo. I just meant clang 12, had only confused that with gcc 11. Sorry again. chromium comes with clang 13, and apparently, there are a few differences.

JstKddng commented on 2021-10-01 19:51 (UTC)

clang 11? latest clang is 12, the OBS is using clang 12 and compiles without a problem, maybe you have an outdated system

DAC324 commented on 2021-10-01 10:55 (UTC) (edited on 2021-10-01 22:08 (UTC) by DAC324)

Looks like I have found the reason why flatc, protoc and protozero_plugin are all failing with error code 5:

These binaries are freshly built during the chromium build process. If the system clang 12 is used, they crash with code 5 (which, unfortunately, does not add any insight as it is simply a crash without further information provided).

That means: If you experience errors coming from any of those three binaries, you must switch to the clang toolchain provided by Google:

  echo "Download prebuilt clang from Google"
  cd "$srcdir/chromium-$pkgver"

  ./tools/clang/scripts/update.py
# For use of the bundled clang
# if not defined or commented out, system clang will be used
_clang_path="${srcdir}/chromium-${pkgver}/third_party/llvm-build/Release+Asserts/bin/"

  export CC="${_clang_path}clang"
  export CXX="${_clang_path}clang++"
  export AR="${_clang_path}llvm-ar"

DAC324 commented on 2021-09-29 08:23 (UTC)

@JstKddng: python2 is installed here but my /usr/bin/python says it is 3.9.7:

$ /usr/bin/python --version
Python 3.9.7

So this does not seem to be the cause for this error. I tried executing the offending command line separately in the terminal, and got the following:

$ /usr/bin/python ../../tools/protoc_wrapper/protoc_wrapper.py chrome_track_event.proto --protoc ./protoc --proto-in-dir ../../base/tracing/protos --plugin protozero_plugin --plugin-out-dir gen/base/tracing/protos --plugin-options wrapper_namespace=pbzero --import-dir=../../third_party/perfetto/
Protoc has returned non-zero status: -5

python2 adds some more detail:

$ /usr/bin/python2 ../../tools/protoc_wrapper/protoc_wrapper.py chrome_track_event.proto --protoc /var/tmp/pamac-build-gerd/chromium-dev/src/chromium-96.0.4651.0/out/Release/protoc --proto-in-dir ../../base/tracing/protos --plugin protozero_plugin --plugin-out-dir gen/base/tracing/protos --plugin-options wrapper_namespace=pbzero --import-dir=../../third_party/perfetto/
--plugin_out: protoc-gen-plugin: Plugin killed by signal 5.
Protoc has returned non-zero status: 1

Unfortunately, all I could find about Signal 5 is that it is SIGTRAP: Breakpoint/Exception Handling and it looks impossible to find out what caused the exception.

JstKddng commented on 2021-09-28 12:43 (UTC)

@DAC324

Do you have python2 installed? Since v93 python2 is no longer a dep and I think when you build it is trying to use python2 on some of the scripts and thus fails.

DAC324 commented on 2021-09-28 09:03 (UTC) (edited on 2021-09-28 09:38 (UTC) by DAC324)

The build aborts with funny errors like below

[5314/41730] /usr/bin/python ../../tools/protoc_wrapper/protoc_wrapper.py raw_events.proto --protoc ./protoc --proto-in-dir ../../media/cast/logging/proto --cc-out-dir gen/media/cast/logging/proto --py-out-dir pyproto/media/cast/logging/proto
FAILED: pyproto/media/cast/logging/proto/raw_events_pb2.py gen/media/cast/logging/proto/raw_events.pb.h gen/media/cast/logging/proto/raw_events.pb.cc 
/usr/bin/python ../../tools/protoc_wrapper/protoc_wrapper.py raw_events.proto --protoc ./protoc --proto-in-dir ../../media/cast/logging/proto --cc-out-dir gen/media/cast/logging/proto --py-out-dir pyproto/media/cast/logging/proto
Protoc has returned non-zero status: -5
  • and Google does not find anything about these :(

JstKddng commented on 2021-09-26 18:35 (UTC)

@followait

just checked, nothing too important, but if there was I'd prefer that guy to PR the uc repo with those patches so that everyone can benefit.

@IEPforAUR

not sure how pamac or pikaur download/reuse the downloaded package sources

followait commented on 2021-09-26 07:05 (UTC) (edited on 2021-09-26 08:45 (UTC) by followait)

Found some patches for ungoogled-chromium-windows https://github.com/Nifury/ungoogled-chromium-windows/tree/master/patches

Some of them might be useful for this pkg?

BTW, I've checked some, but none is critical.

missingSleepDeps commented on 2021-09-25 05:11 (UTC)

I think so...Do I need to delete pamac's/pikaur's temp/cache folders or soemthing?

JstKddng commented on 2021-09-25 02:29 (UTC)

@IEPforAUR

are you doing a clean build? The OBS built fine btw.

missingSleepDeps commented on 2021-09-24 22:14 (UTC)

error: unknown type name 'FT_ClipBox'

JstKddng commented on 2021-09-24 16:54 (UTC)

@RonnyD

I think that could be possible on the -git package, I'm not sure if it'd be any faster though.

Kyuunex commented on 2021-09-24 11:49 (UTC) (edited on 2021-09-24 11:50 (UTC) by Kyuunex)

I agree with @RonnyD. I at least tried forcing ccache but it does not seem to have any effect, it's still a 4 hour wait to build.

RonnyD commented on 2021-09-24 06:23 (UTC)

Would there be any way to keep cached compiled files across updates? I recon not all source files need recompilation every time. This would probably drastically speed up compilation times, especially on lower end hardware.

Maybe this could be done setting a specific temporary directory when using an AUR helper (trizen, paru, yay, etc.)?

JstKddng commented on 2021-09-23 22:32 (UTC)

sorry for not noticing the need for an update, looks like my mail server is not working properly. I'll update once OBS build is succesful.

DAC324 commented on 2021-08-14 10:26 (UTC) (edited on 2021-08-14 10:29 (UTC) by DAC324)

@followait: The Home URL is not patched into this package. It rather looks like chromium recognizes your /etc/os-release file. You can also verify this by checking the About page with the chromium version info: At the end of the version info, Manjaro Linux is displayed if you are running Manjaro.

lahwaacz commented on 2021-08-13 19:44 (UTC)

@followait: Ask in the Manjaro User Repository, this is the Arch User Repository.

followait commented on 2021-08-13 16:13 (UTC)

Where is the default home url (manjaro.org) patched?

JstKddng commented on 2021-08-08 14:33 (UTC)

Just updated to latest UC, I've disowned UC-git since I'm too lazy to maintain both, if anyone wants to update it feel free.

DAC324 commented on 2021-08-04 19:02 (UTC)

Still getting

In file included from ../../sql/recover_module/table.cc:11:
../../sql/recover_module/cursor.h:65:5: error: static_assert failed due to requirement 'std::is_standard_layout<sql::recover::VirtualCursor>::value' "needed for the reinterpret_cast below"
    static_assert(std::is_standard_layout<VirtualCursor>::value,
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

despite the sql-make-VirtualCursor-standard-layout-type.patch.

What am I supposed to do?

JstKddng commented on 2021-07-16 20:25 (UTC)

hello everyone, if anyone is using my repository for this package I'd advice to switch to other repositories or the default repository created by the OBS since I'm planning to take the repository down.

You can use OBS's repository by following these instructions

https://software.opensuse.org//download.html?project=home%3Ajustkidding%3Aarch&package=ungoogled-chromium

Thanks for using my repository!

ginnokami commented on 2021-06-26 00:39 (UTC) (edited on 2021-06-26 00:44 (UTC) by ginnokami)

I get the following build error while patching url/url_util.cc for v91.0.4472.114-1

patching file url/url_util.cc
Traceback (most recent call last):
  File "/home/gin/.aur/ungoogled-chromium/src/ungoogled-chromium-91.0.4472.114-1/utils/patches.py", line 250, in <module>
    main()
  File "/home/gin/.aur/ungoogled-chromium/src/ungoogled-chromium-91.0.4472.114-1/utils/patches.py", line 246, in main
    args.callback(args, parser.error)
  File "/home/gin/.aur/ungoogled-chromium/src/ungoogled-chromium-91.0.4472.114-1/utils/patches.py", line 198, in _apply_callback
    apply_patches(
  File "/home/gin/.aur/ungoogled-chromium/src/ungoogled-chromium-91.0.4472.114-1/utils/patches.py", line 132, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/gin/.aur/ungoogled-chromium/src/ungoogled-chromium-91.0.4472.114-1/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch', '-d', '.', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.

LcSfiQFipLyWF9qH commented on 2021-06-22 12:57 (UTC)

I get an unrecognized command line option for the latest version.

cc -o chromium -DLAUNCHER_VERSION=\"v7\" -DCHROMIUM_NAME=\"chromium\" -DCHROMIUM_BINARY=\"/usr/lib/chromium/chromium\" -DCHROMIUM_VENDOR="\"Arch Linux\"" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fasynchronous-unwind-tables -fpie -Wl,-pie -fpic -shared         -fplugin=annobin -fstack-protector-all -mcet -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now launcher.c -lglib-2.0
cc: error: unrecognized command-line option ‘-mcet’

randomnobody commented on 2021-06-17 15:11 (UTC)

BTW I resolved my error by deleting ~/node_modules which I had some temporary stuff in, I guess there was a version conflict issue.

dr460nf1r3 commented on 2021-06-03 16:36 (UTC)

The AUR is targeted at Arch Linux, not Manjaro which holds back certain package versions. Either rebuild, or install Arch Linux ;)

missingSleepDeps commented on 2021-06-03 16:32 (UTC)

@lunainvictum That's not a solution I want use chromium now not 38 hours from now (with a molten CPU to boot).

lunainvictum commented on 2021-06-03 02:51 (UTC)

@IEPforAUR this is not a error message from this package.

Your Error is because of using manjaro and the binary package.

Rebuilding solves this issue.

missingSleepDeps commented on 2021-06-02 21:14 (UTC)


/usr/lib/chromium/chromium: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/chromium/chromium)
/usr/lib/chromium/chromium: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /usr/lib/chromium/chromium)

randomnobody commented on 2021-06-01 22:13 (UTC)

FAILED: gen/ui/webui/resources/js/cr.m.d.ts python ../../build/util/python2_action.py ../../tools/typescript/ts_definitions.py --root_dir ../../ui/webui/resources --gen_dir gen/ui/webui/resources --js_files js/cr.m.js Traceback (most recent call last): File "../../tools/typescript/ts_definitions.py", line 43, in <module> main(sys.argv[1:]) File "../../tools/typescript/ts_definitions.py", line 39, in main ] + js_files) File "../../third_party/node/node.py", line 37, in RunNode raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err)) RuntimeError: Command '../../third_party/node/linux/node-linux-x64/bin/node ../../third_party/node/node_modules/typescript/bin/tsc --declaration --allowJs --emitDeclarationOnly --removeComments --noResolve --rootDir ../../ui/webui/resource s --outDir gen/ui/webui/resources ../../ui/webui/resources/js/cr.m.js' failed ../../../../../../../../node_modules/@types/bn.js/index.d.ts(30,59): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/bn.js/index.d.ts(35,59): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/bn.js/index.d.ts(93,27): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/bn.js/index.d.ts(96,8): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/bn.js/index.d.ts(107,56): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(19,24): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(20,20): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(23,40): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(26,24): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(27,20): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(31,40): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(34,24): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(35,20): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. ../../../../../../../../node_modules/@types/pbkdf2/index.d.ts(39,4): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.

cartesius commented on 2021-05-18 11:54 (UTC)

@A520 Confirmed. Currently downgraded gcc and gcc-libs back to 10 until gcc 11 is more prevalent.

A520 commented on 2021-05-18 11:38 (UTC) (edited on 2021-05-18 11:40 (UTC) by A520)

@networkException It still fails even with the patch:



In file included from ../../sql/recover_module/module.cc:17:
../../sql/recover_module/cursor.h:65:5: error: static_assert failed due to requirement 'std::is_standard_layout<sql::recover::VirtualCursor>::value' "needed for the reinterpret_cast below"
    static_assert(std::is_standard_layout<VirtualCursor>::value,
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[15540/47493] CXX obj/sql/sql/table.o
FAILED: obj/sql/sql/table.o

In file included from ../../sql/recover_module/table.cc:11:
../../sql/recover_module/cursor.h:65:5: error: static_assert failed due to requirement 'std::is_standard_layout<sql::recover::VirtualCursor>::value' "needed for the reinterpret_cast below"
    static_assert(std::is_standard_layout<VirtualCursor>::value,
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[15550/47493] CXX obj/sql/sql/sql_memory_dump_provider.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
:: Packages failed to build: ungoogled-chromium-90.0.4430.212-

networkException commented on 2021-05-17 20:27 (UTC)

@cartesius The chromium-90-ruy-include patch seems to be required now (see https://github.com/ungoogled-software/ungoogled-chromium-archlinux/commit/1453d87fe8ced77bd6e28b7b149f4af16bc7463a)

cartesius commented on 2021-05-17 14:03 (UTC)

Missing

#include <limits>

in

ungoogled-chromium/src/chromium-90.0.4430.212/third_party/ruy/src/ruy/block_map.cc

fails otherwise after recent upgrade to GCC 11 (stdlib).

eq891 commented on 2021-05-03 11:38 (UTC)

Thanks for your hard work.

JstKddng commented on 2021-05-02 18:30 (UTC)

@eimis

yeah, seems like more CFLAGS were added with a recent pacman upgrade so I'm removing them in the PKGBUILD to have it build at least. Once I get a succesfull build from the OBS I'll update here.

eimis commented on 2021-05-02 18:26 (UTC)

just compiled 90.0.4430.85-1 with -march=native -mtune=native -O2 and everything is great.

@JstKddng I really appreciate all your effort. ☮

eq891 commented on 2021-05-02 15:52 (UTC)

@JstKddng Is it because you updated PKGBUILD to .85 instead of .93?

eq891 commented on 2021-05-02 15:51 (UTC)

Now I also get this error although I use latest docker image to build.

JstKddng commented on 2021-05-02 14:15 (UTC)

@eq891

I'm still alive here, I just talk more on github. I have the update to v90 available but with this compilation problem I don't see a reason to update until it can be fixed.

eq891 commented on 2021-05-02 07:33 (UTC)

@JstKddng Are you still alive? It seems we will need to get ungoogled from other sources. For example Flathub. Can't be helped.

neeks commented on 2021-04-30 20:30 (UTC)

@lahwaacz that is absolutely not the case, see: https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/123


@SirNapkin @bsdice when a shared library breaks and I don't have time to recompile, I always check AUR first for the pinned version needed. I held off on rebuilding v89 for a few days because icu68 had been available since 2021-04-18

lahwaacz commented on 2021-04-30 06:14 (UTC)

@JuniorJPDJ Most likely you don't have enough RAM to build chromium with the default number of CPU threads. See this comment and this comment (and also the adjacent comments) for hints on how to solve this.

JuniorJPDJ commented on 2021-04-30 00:31 (UTC)

I cannot build latest version:

[4936/44931] ACTION //components/subresource_filter/core/common/flat:indexed_ruleset_gen(//build/toolchain/linux/unbundle:default)
FAILED: gen/components/subresource_filter/core/common/flat/indexed_ruleset_generated.h 
python ../../build/gn_run_binary.py flatc -c --keep-prefix -o gen/components/subresource_filter/core/common/flat -I ../../ ../../components/subresource_filter/core/common/flat/indexed_ruleset.fbs
flatc failed with exit code -5
[4945/44931] ACTION //third_party/blink/renderer/bindings:generate_bindings_all(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

Anyone having similar error?

drbuds commented on 2021-04-28 12:28 (UTC)

@SirNapkin the shared library issue happens to me every time one of the depends is upgraded on my system. You have to recompile it with the latest packages in that case. Alternatively, you could downgrade the depends to the versions used in the build.

Regarding the compiling, it used to error out on me when I tried to build this locally on my Thinkpad X200 laptop. Not enough system resources I think. Now I do it remotely on Linode (Dedicated CPU) and it works perfectly.

SirNapkin commented on 2021-04-27 15:42 (UTC)

It appears I am also getting the same error as everyone else. First error accessing a shared library when starting the browser, so I reinstalled and can't even compile! And the binaries give the aforementioned error...

drbuds commented on 2021-04-26 04:54 (UTC)

@Rena If you are still interested in building this from source, consider renting a "cloud" server that lets you pay by the hour, such as Linode. That's what I do and total cost is under $1.

Rena commented on 2021-04-24 15:13 (UTC)

Yep, did an update and my browser no longer works! Nor does it compile, even if I had the hours to spend doing that on this old laptop. Thank goodness for the binaries.

It's a pretty major problem when just updating your system breaks something so important!

bsdice commented on 2021-04-23 09:23 (UTC)

Aaand the pain is back. Getting this compile failure, anyone by chance has seen it?

[4709/46201] ACTION //extensions/browser/api/declarative_net_request/flat:extension_ruleset_gen(//build/toolchain/linux/unbundle:default) FAILED: gen/extensions/browser/api/declarative_net_request/flat/extension_ruleset_generated.h python ../../build/gn_run_binary.py flatc -c --keep-prefix -o gen/extensions/browser/api/declarative_net_request/flat -I ../../../../extensions/browser/api/declarative_net_request/flat/extension_ruleset.fbs flatc failed with exit code -5 [4718/46201] ACTION //third_party/blink/renderer/bindings:generate_bindings_all(//build/toolchain/linux/unbundle:default) ninja: build stopped: subcommand failed.

Somehow flatc errors out with dmesg

[ 6112.383083] traps: flatc[78048] trap int3 ip:557fb00a7deb sp:7ffded8a02a8 error:0 in flatc[557fb00a7000+2f2000]

gdb says

(gdb) r Starting program: /home/bsdice/tmp/packages/ungoogled-chromium/ungoogled-chromium/src/chromium-89.0.4389.128/out/Release/flatc -c --keep-prefix -o gen/extensions/browser/api/declarative_net_request/flat -I ../../ ../../extensions/browser/api/declarative_net_request/flat/extension_ruleset.fbs [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Program received signal SIGTRAP, Trace/breakpoint trap. 0x00005555555b7deb in flatbuffers::GenerateCPP(flatbuffers::Parser const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&) () (gdb) bt

<h1>0 0x00005555555b7deb in flatbuffers::GenerateCPP(flatbuffers::Parser const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&) ()</h1> <h1>1 0x00005555555f23ff in flatbuffers::FlatCompiler::Compile(int, char const**) ()</h1> <h1>2 0x00005555555b817d in main ()</h1>

Also, please stop using the system's icu lib. Chromium should not break whenever they decide to publish a new release. Breaks the browser every single time. With Chromium needing exploit updating as frequently as it does, if a new icu lib is necessary, let Chromium handle it internally. FWIW IMHO get rid of any external dependency, if it does not bring something like a crucial feature to the table (hardware playback acceleration, better rendering, etc.). Everyone using this package that lived through MS Windows' "DLL hell" is having a deja vu. ;-)

hohol92 commented on 2021-04-19 18:20 (UTC)

It means I shouldn't have connected aur because there is a repository. Thanks now everything works

JstKddng commented on 2021-04-19 18:14 (UTC)

I have binaries for 89.0.4389.128 in my repo.

https://github.com/jstkdng/aur

hohol92 commented on 2021-04-19 18:11 (UTC)

@JstKddng Ok i install ungoogled-chromium-89.0.4389.114-1-x86_64.pkg.tar.zst I already had it installed, the problem did not disappear

JstKddng commented on 2021-04-19 18:07 (UTC)

@hohol92

read the sticky if you want binary builds

hohol92 commented on 2021-04-19 18:06 (UTC)

@lat I have important things to do and I don't have time for a long compilation. I need a new binary package

lahwaacz commented on 2021-04-19 18:04 (UTC) (edited on 2021-04-19 18:04 (UTC) by lahwaacz)

@hohol92: Read the previous comments.

hohol92 commented on 2021-04-19 18:02 (UTC)

Today after updating I see this error: [code]usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.68: cannot open shared object file: No such file or directory [/code] This happened because icu was updated to version 69. What to do

lat commented on 2021-04-17 20:40 (UTC)

@bkmo rebuilding fixes it.

bkmo commented on 2021-04-17 16:33 (UTC)

icu 68.2-1 to 69.1-1 upgrade today breaks chromium.

JstKddng commented on 2021-04-07 13:16 (UTC)

@snowyy

That makes sense as the OBS hasn't failed on newer builds. Thanks for the clarification.

snowyy commented on 2021-04-07 11:53 (UTC)

@JstKddng I believe the error is happening due to Manjaro using libva 2.10.0-1 I haven't actually tested this, but in theory it should work with libva 2.11.0-1

Jertzukka commented on 2021-04-04 22:30 (UTC)

Same libva error as previous posters building 89.0.4389.114-1.

../../third_party/libva_protected_content/va_protected_content.h:158:3: error: unknown type name 'VAEncryptionParameters'; did you mean 'VAEncryptionStatus'?

JstKddng commented on 2021-04-02 13:39 (UTC)

Damn it libva, you keep causing issues! I managed to build 89.0.4389.114-1 on the obs.

anonim85 commented on 2021-04-02 12:37 (UTC)

../../third_party/libva_protected_content/va_protected_content.h:158:3: error: unknown type name 'VAEncryptionParameters'; did you mean 'VAEncryptionStatus'?

WTF? I have such ridiculus thing every time

boomerdango commented on 2021-04-02 11:59 (UTC)

I'm getting this error when building version 89.0.4389.114-1:

[25551/44931] CXX obj/media/gpu/vaapi/common/vaapi_utils.o                                                                                                                                   
FAILED: obj/media/gpu/vaapi/common/vaapi_utils.o                                                                                                                                             
clang++ -MMD -MF obj/media/gpu/vaapi/common/vaapi_utils.o.d -DMEDIA_GPU_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-16296-g5e476061-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -Igen/shim_headers/icuuc_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/opus_shim -Igen/shim_headers/snappy_shim -Ig
en/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../../third_party/crashpad/crashp
ad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/protobuf/src -I../../third_party/ced/src -I../../third_party/libwebm/source -I../../third_party/mesa_headers -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Whe
ader-hygiene -Wstring-conversion -Wtautological-overlap-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/include/libdrm -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -
O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../media/gpu/vaapi/vaapi_utils.cc -o obj/media/gpu/vaapi/common/vaapi_utils.o                               
In file included from ../../media/gpu/vaapi/vaapi_utils.cc:18:                                                                                                                               
../../third_party/libva_protected_content/va_protected_content.h:158:3: error: unknown type name 'VAEncryptionParameters'; did you mean 'VAEncryptionStatus'?                                
  VAEncryptionParameters*                                                                                                                                                                    
  ^~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                     
  VAEncryptionStatus                                                                                                                                                                         
../../third_party/libva_protected_content/va_protected_content.h:147:3: note: 'VAEncryptionStatus' declared here                                                                             
} VAEncryptionStatus;                                                                                                                                                                        
  ^                                                                                                                                                                                          
1 error generated.                                                                                                                                                                           

lat commented on 2021-04-02 11:55 (UTC)

I am getting this error every time I try to build ungoogled-chromium after the 89.0.4389.114-1 update.

[34650/44931] CXX obj/content/browser/browser/browser_interface_binders.o
FAILED: obj/content/browser/browser/browser_interface_binders.o 
clang++ -MMD -MF obj/content/browser/browser/browser_interface_binders.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-16296-g5e476061-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -DUSE_V8_CONTEXT_SNAPSHOT -DV8_CONTEXT_SNAPSHOT_FILENAME=\"v8_context_snapshot.bin\" -DV8_USE_EXTERNAL_STARTUP_DATA -DATK_LIB_DIR=\"/usr/lib\" -DUSE_ATK_BRIDGE -DATSPI_MAJOR_VERSION=2 -DATSPI_MINOR_VERSION=40 -DATSPI_MICRO_VERSION=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -D_WTL_NO_AUTOMATIC_NAMESPACE -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.8pp2p8t.qjz9zk/ssl-aggregate-address/\" -DSQLITE_OMIT_ANALYZE -DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_GET_TABLE -DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1 -DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_LOCKING_MODE=1 -DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_NO_ARGUMENTS_ADAPTOR -DCPPGC_CAGED_HEAP -DANGLE_USE_ABSEIL -DABSL_ALLOCATOR_NOTHROW=1 -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/snappy_shim -I../../third_party/khronos -I../../gpu -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/wtl/include -Igen/shim_headers/minizip_shim -Igen/shim_headers/flac_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/ced/src -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -Igen/net/third_party/quiche/src -I../../net/third_party/quiche/src -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/mesa_headers -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -Igen/third_party/metrics_proto -I../../third_party/libaddressinput/src/cpp/include -I../../v8/include -Igen/v8/include -I../../third_party/angle/src/common/third_party/base -I../../third_party/abseil-cpp -Igen/angle -I../../third_party/angle/include -I../../third_party/brotli/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshadow -Wexit-time-destructors -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-shorten-64-to-32 -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=native -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../content/browser/browser_interface_binders.cc -o obj/content/browser/browser/browser_interface_binders.o
[34657/44931] CXX obj/content/browser/browser/native_file_system_file_writer_impl.o
In file included from ../../content/browser/file_system_access/native_file_system_file_writer_impl.cc:5:
../../content/browser/file_system_access/native_file_system_file_writer_impl.h:143:8: warning: private field 'has_transient_user_activation_' is not used [-Wunused-private-field]
  bool has_transient_user_activation_ = false;
       ^
1 warning generated.
[34659/44931] CXX obj/content/browser/browser/native_file_system_manager_impl.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: ungoogled-chromium

mudskipper commented on 2021-04-01 12:40 (UTC)

Thanks @JstKddng, I'll start it now

JstKddng commented on 2021-04-01 12:38 (UTC)

@everyone

Latest upgrade has a fix for that issue

mudskipper commented on 2021-03-30 01:50 (UTC) (edited on 2021-03-31 15:54 (UTC) by mudskipper)

@ceri @jch

Made an account just for this, having the same exact build problem, even after an update and a reboot. Would love a fix.

Also just tried this on a second computer running Arch, same problem

ceri commented on 2021-03-27 05:36 (UTC) (edited on 2021-03-27 06:14 (UTC) by ceri)

@jch

I have the same error when building too (in chroot).

jch commented on 2021-03-26 21:26 (UTC) (edited on 2021-03-26 21:26 (UTC) by jch)

I'm getting the following errors when building:

[21640/44930] CXX obj/media/gpu/vaapi/vaapi/vp9_vaapi_video_decoder_delegate.o
FAILED: obj/media/gpu/vaapi/vaapi/vp9_vaapi_video_decoder_delegate.o
clang++ -MMD -MF obj/media/gpu/vaapi/vaapi/vp9_vaapi_video_decoder_delegate.o.d -DMEDIA_GPU_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-16296-g5e476061-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DVK_USE_PLATFORM_XCB_KHR -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I../.. -Igen -I../../third_party/libvpx/source/config -I../../third_party/libvpx/source/config/linux/x64 -I../../third_party/libvpx/source/libvpx -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -Igen/shim_headers/icuuc_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/opus_shim -Igen/shim_headers/snappy_shim -I../../third_party/khronos -I../../gpu -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/libwebm/source -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../../third_party/mesa_headers -I../../third_party/protobuf/src -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/ced/src -I../../third_party/libvpx/source/libvpx -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-conversion -Wno-parentheses-equality -Wno-unused-function -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-shorten-64-to-32 -I/usr/include/libdrm -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../media/gpu/vaapi/vp9_vaapi_video_decoder_delegate.cc -o obj/media/gpu/vaapi/vaapi/vp9_vaapi_video_decoder_delegate.o
In file included from ../../media/gpu/vaapi/vp9_vaapi_video_decoder_delegate.cc:5:
In file included from ../../media/gpu/vaapi/vp9_vaapi_video_decoder_delegate.h:11:
In file included from ../../media/gpu/vaapi/vaapi_video_decoder_delegate.h:23:
../../third_party/libva_protected_content/va_protected_content.h:136:14: error: redefinition of '_VA_TEE_EXEC_FUNCTION_ID'
typedef enum _VA_TEE_EXEC_FUNCTION_ID {
             ^
/usr/include/va/va_prot.h:405:14: note: previous definition is here
typedef enum _VA_TEE_EXEC_FUNCTION_ID {
             ^
In file included from ../../media/gpu/vaapi/vp9_vaapi_video_decoder_delegate.cc:5:
In file included from ../../media/gpu/vaapi/vp9_vaapi_video_decoder_delegate.h:11:
In file included from ../../media/gpu/vaapi/vaapi_video_decoder_delegate.h:23:
../../third_party/libva_protected_content/va_protected_content.h:163:16: error: redefinition of '_VAEncryptionSegmentInfo'
typedef struct _VAEncryptionSegmentInfo {
               ^
/usr/include/va/va.h:2044:16: note: previous definition is here
typedef struct _VAEncryptionSegmentInfo {
               ^
In file included from ../../media/gpu/vaapi/vp9_vaapi_video_decoder_delegate.cc:5:
In file included from ../../media/gpu/vaapi/vp9_vaapi_video_decoder_delegate.h:11:
In file included from ../../media/gpu/vaapi/vaapi_video_decoder_delegate.h:23:
../../third_party/libva_protected_content/va_protected_content.h:183:16: error: redefinition of '_VAEncryptionParameters'
typedef struct _VAEncryptionParameters {
               ^
/usr/include/va/va.h:2064:16: note: previous definition is here
typedef struct _VAEncryptionParameters {
               ^
3 errors generated.
[21650/44930] CXX obj/media/gpu/vaapi/common/vaapi_wrapper.o
FAILED: obj/media/gpu/vaapi/common/vaapi_wrapper.o
clang++ -MMD -MF obj/media/gpu/vaapi/common/vaapi_wrapper.o.d -DMEDIA_GPU_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-16296-g5e476061-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -Igen/shim_headers/icuuc_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/opus_shim -Igen/shim_headers/snappy_shim -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/ced/src -I../../third_party/protobuf/src -I../../third_party/libwebm/source -I../../third_party/mesa_headers -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/include/libdrm -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../media/gpu/vaapi/vaapi_wrapper.cc -o obj/media/gpu/vaapi/common/vaapi_wrapper.o
In file included from ../../media/gpu/vaapi/vaapi_wrapper.cc:54:
../../third_party/libva_protected_content/va_protected_content.h:136:14: error: redefinition of '_VA_TEE_EXEC_FUNCTION_ID'
typedef enum _VA_TEE_EXEC_FUNCTION_ID {
             ^
/usr/include/va/va_prot.h:405:14: note: previous definition is here
typedef enum _VA_TEE_EXEC_FUNCTION_ID {
             ^
In file included from ../../media/gpu/vaapi/vaapi_wrapper.cc:54:
../../third_party/libva_protected_content/va_protected_content.h:163:16: error: redefinition of '_VAEncryptionSegmentInfo'
typedef struct _VAEncryptionSegmentInfo {
               ^
/usr/include/va/va.h:2044:16: note: previous definition is here
typedef struct _VAEncryptionSegmentInfo {
               ^
In file included from ../../media/gpu/vaapi/vaapi_wrapper.cc:54:
../../third_party/libva_protected_content/va_protected_content.h:183:16: error: redefinition of '_VAEncryptionParameters'
typedef struct _VAEncryptionParameters {
               ^
/usr/include/va/va.h:2064:16: note: previous definition is here
typedef struct _VAEncryptionParameters {
               ^
3 errors generated.
[21653/44930] CXX obj/media/learning/mojo/public/mojom/mojom/learning_task_controller.mojom.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: ungoogled-chromium

bsdice commented on 2021-03-16 14:26 (UTC) (edited on 2021-03-16 14:29 (UTC) by bsdice)

@JstKddng

maybe your server has bad ram ? The OBS with 16GB of ram and 18 parallel jobs finishes without a problem.

RAM is good, edac-util reports no ECC errors. Your numbers would work out to 800 MB RAM per job.

Thinking about it some more today, I have for sysctl.conf, because I also run PostgreSQL on the build box (https://www.postgresql.org/docs/current/kernel-resources.html#LINUX-MEMORY-OVERCOMMIT):

vm.swappiness=1

vm.overcommit_memory=2

with vm.overcommit_ratio = 50 as default. I think this is the culprit. Maybe llvm/clang doing insane malloc()s which they never utilize. I set vm.overcommit_memory=0 and am trying again to see what happens.

Anyway thanks for keeping this package up-to-date. Privacy matters.

qcasey commented on 2021-03-15 21:04 (UTC)

@eimis

If you mean getting Chromium to respect the GTK dark theme or prefers-color-scheme, I had to patch this issue for myself. Here's how:

https://github.com/qcasey/chromium-patches#gtk-dark-theme

eimis commented on 2021-03-15 20:58 (UTC)

any way to enable dark mode in settings page and everywhere else?

JstKddng commented on 2021-03-15 20:29 (UTC)

@bsdice

maybe your server has bad ram (?

The OBS with 16GB of ram and 18 parallel jobs finishes without a problem.

bsdice commented on 2021-03-15 20:19 (UTC) (edited on 2021-03-15 20:23 (UTC) by bsdice)

I scratched my itch and made a patch for PKGBUILD: https://pbot.rmdir.de/4aOfwx2X1ftFGqVusX_VHw

Public domain. Will be deleted in 30 days from the server.

Since 10 parallel jobs (ninja calculates 8 threads + 2) failed with 48 GB available, I limit parallel jobs now to "RAM available"/7000, which gives me 6 jobs right now. "Empty" Linux boxes with 16 GB of RAM should run with 2 parallel jobs. Anything below 7000 MB of RAM available will result in a single "good-luck-dude" ninja job, instead of 2 or 3 parallel jobs with 1 or 2 core machines. So it may again work if that guy's Core2 machine has 4/8 GB RAM and 8 GB swap file or swap partition.

Alternatively you can define NINJAFLAGS="-j1" or similar in /etc/makepkg.conf to statically set ninja's parallel job count. In this case no heuristic is used.

bsdice commented on 2021-03-15 18:28 (UTC)

Hey JstKddng and fellow Ungooglers:

I am getting LLVM out of memory errors now too with latest PKGBUILD. I am on a 4C/8T Xeon E3 with 64 GB of RAM. As mentioned here by others MAKEFLAGS is ignored by ninja. My machine is not running empty Linux though. I run 8 GB Swap into zRAM, ZFS (ARC limited to 4 GB), and a bunch of containers but free says 48 GB available right now after aborted makepkg.

I have a hunch this OOM breakage will continue in the future. This is one of the nastiest packages to compile after all in the Archlinux universe.

Could this be automated into a heuristic in PKGBUILD? One that takes "Available" from /usr/bin/free output and if no NINJAFLAGS is available, adjusts the allowed compile processes depending how much memory is currently available. From 1 to floor(AvailableMB / 8000) allowed processes, whichever is higher. Looks to me as if 6000 MB per process is no longer good enough? Ninja's default according to https://github.com/ninja-build/ninja/issues/1441https://github.com/ninja-build/ninja/issues/1441 appears to be CPU Threads + 2.

Hit me up if you think this could work and are open to a patch suggestion.

Intel VAAPI users should also put --enable-features=VaapiVideoDecoder into their chromium-flags.conf because latest version changed things. Hat tip to foutrelis for digging that one up https://bbs.archlinux.org/viewtopic.php?pid=1961399#p1961399

Also only a couple more funny RCEs in this package and I think we should rename it ungoogled-exchange. /s

Thanks!

JstKddng commented on 2021-03-14 02:49 (UTC)

Be sure to update as this release fixes some cves being actively exploited.

BachoSeven commented on 2021-02-09 14:25 (UTC)

@FatBantha

Have a look at the first pinned comment for pre-compiled binaries of this very package, they are always up to date.

FatBantha commented on 2021-02-09 12:52 (UTC)

How much diskspace and memory do I need, to compile Ungoogled Chromium?

I've got barely 4GB of RAM and usually something about 40GB of free space on my legacy Intel Core 2 Duo PC - and that's one of my reasons for choosing UC as a very light browser. Unfortunetely, while the browser itself works perfectly fine, the process of making it is extremely cumbersome if not impossible on older PCs.

Currently, I'm using ungoogled-chromium-appimage, but it's often even more delayed in its package development cycle, just like binaries on site and that's a bit worrying from security/patching standpoint.

Is there a way to compile Ungoogled Chromium on my config?

JstKddng commented on 2021-02-07 04:33 (UTC)

@dr460nf1r3

yeah, that is a problem with glibc, next release will have a patch for that.

dr460nf1r3 commented on 2021-02-07 00:52 (UTC) (edited on 2021-02-07 00:52 (UTC) by dr460nf1r3)

The update from yesterday broke the build for the users of Chaotic-AUR. Websites are not getting rendered correctly, reverting to previous version fixes this.

bkb commented on 2021-01-22 14:32 (UTC)

@JstKddng Thanks! I will'nt try because this thing is heavier than the universe, but I added it to conf files and it will definitively be useful next time, thanks!

(Though, I think that these parameters should be automatically setted with CPU detection, it's fairly basic and straightforward and it won't work otherwise, so yeah)

JstKddng commented on 2020-12-29 23:58 (UTC)

@ejsav

Yeah, that is expected behaviour. The python patch script uc upstream uses causes it to fail if the patch commands returns an error code even though there is no error.

If you want to rebuild just run makepkg -e or delete the src folder

ejsav commented on 2020-12-29 01:58 (UTC)

In the last week or so I've had an issue rebuilding this package after the first build/attempt. I can remove the folder and clone the repository again and the issue goes away.

Shortly after the build starts I see this error:

patching file url/url_util.cc
Traceback (most recent call last):
  File "/home/ejsav/AUR/ungoogled-chromium/src/ungoogled-chromium-87.0.4280.88-1/utils/patches.py", line 250, in <module>
    main()
  File "/home/ejsav/AUR/ungoogled-chromium/src/ungoogled-chromium-87.0.4280.88-1/utils/patches.py", line 246, in main
    args.callback(args, parser.error)
  File "/home/ejsav/AUR/ungoogled-chromium/src/ungoogled-chromium-87.0.4280.88-1/utils/patches.py", line 198, in _apply_callback
    apply_patches(
  File "/home/ejsav/AUR/ungoogled-chromium/src/ungoogled-chromium-87.0.4280.88-1/utils/patches.py", line 132, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.9/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/ejsav/AUR/ungoogled-chromium/src/ungoogled-chromium-87.0.4280.88-1/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch', '-d', '.', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.
==> ERROR: A failure occurred in prepare().
    Aborting...

I've been able to reproduce this from a fresh pull, starting a build and aborting with Ctrl+C a few minutes in, but this also was happening after fully completed builds. Interestingly, if I cd into the chromium folder and try the patch command, it succeeds.

$ patch --dry-run -p1 --ignore-whitespace -i /home/ejsav/AUR/ungoogled-chromium/src/ungoogled-chromium-87.0.4280.88-1/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch -d . --no-backup-if-mismatch --forward
checking file chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
checking file chrome/browser/history/history_utils.cc
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
checking file chrome/browser/ui/singleton_tabs.cc
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
checking file components/omnibox/browser/autocomplete_input.cc
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
checking file components/url_formatter/url_fixer.cc
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
checking file content/browser/child_process_security_policy_impl.cc
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
checking file net/BUILD.gn
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file net/url_request/trk_protocol_handler.cc, which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file net/url_request/trk_protocol_handler.h, which already exists!  Skipping patch.
1 out of 1 hunk ignored
checking file net/url_request/url_request.cc
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored
checking file net/url_request/url_request_context_builder.cc
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
checking file url/url_constants.cc
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
checking file url/url_constants.h
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
checking file url/url_util.cc
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored

I suspect this may be an upstream issue and if so, sorry for wasting your time.

neeks commented on 2020-12-22 20:52 (UTC)

@randomnobody @mads256h link to relevant Chromium commit in Gerrit for icu68 fixes: https://chromium-review.googlesource.com/c/chromium/src/+/2473522

randomnobody commented on 2020-12-22 13:11 (UTC)

Seconding the build errors as per @mads256h

mads256h commented on 2020-12-22 12:53 (UTC)

I'm getting build errors with the new ICU version:

../../base/i18n/string_compare.cc:21:26: error: use of undeclared identifier 'FALSE'
      icu::UnicodeString(FALSE, lhs.data(), static_cast<int>(lhs.length())),
                         ^
../../base/i18n/string_compare.cc:22:26: error: use of undeclared identifier 'FALSE'
      icu::UnicodeString(FALSE, rhs.data(), static_cast<int>(rhs.length())),

MasterOne commented on 2020-12-21 16:01 (UTC)

@JstKddng, not interested in "old" releases. I can see that it may have been a mistake to install Manjaro on the kids' netbook though it was a convenient and quick solution. I may have to reconsider that decision over the Christmas Holidays.

JstKddng commented on 2020-12-21 14:26 (UTC)

@rvalles

Doubt it would happen, afaik there are no chromium derivatives on the main repositories.

@IEPforAUR @MasterOne

You can download old binaries from here: https://ungoogled-software.github.io/ungoogled-chromium-binaries/

rvalles commented on 2020-12-21 12:15 (UTC)

Due to the build requisites (storage, cpu time, ram), this is a package that would be worth providing binaries of, directly in Arch's repositories.

lahwaacz commented on 2020-12-21 08:28 (UTC)

@IEPforAUR, @MasterOne: This is the Arch User Repository, not Manjaro User Repository, so don't ask other users to build new versions for an old dependency. There actually are builds for the libre2.so.8 version – just pick an old ungoogled-chromium version.

MasterOne commented on 2020-12-21 03:34 (UTC)

I second @IEPforAUR's request as I have just installed Manjaro XFCE on the kids' netbooks. That's obviously the downside when running any prebuilt binary.

missingSleepDeps commented on 2020-12-20 19:31 (UTC)

JstKddng can you also supply prebuild binaries for Manjaro that are built with libre2.so.8 not libre2.so.9 (which breaks Dolphin and probably all of KDE when installed), please?

JstKddng commented on 2020-11-28 14:54 (UTC)

Alright, in the end people will have to edit something the PKGBUILD anyway. I'll add that variable on next release to avoid a rebuild for everyone.

lahwaacz commented on 2020-11-28 08:14 (UTC)

Using $MAKEFLAGS for ninja is not a good idea because it does not have the same flags as make and even those that look the same may behave differently (e.g. ninja's -k takes an argument, whereas make's doesn't). Anybody who has something else than -j or -l in $MAKEFLAGS will complain. See my comment from 2019-04-28 12:17.

JstKddng commented on 2020-11-28 01:13 (UTC)

@lahwaacz

Huh, interesting. Well, I could just pass the MAKEFLAGS variable to ninja, assuming it only contains the j flag.

lahwaacz commented on 2020-11-27 23:38 (UTC) (edited on 2020-11-27 23:44 (UTC) by lahwaacz)

ninja understands -j just like make, but ninja does not use $MAKEFLAGS. Also, ninja uses the number of logical CPUs available on the system as the maximum number of parallel jobs by default, so there is no point in specifying -j $(nproc). But, in case of Chromium, the high number of parallel jobs is exactly what is causing issues for people who don't have enough RAM. As I said several times here, they should try to lower the maximum number of parallel jobs to avoid mysterious errors as well as a slow(er) build with enabled swap.

Note that unlike ninja, make uses -j 1 by default. While ninja does not have anything like $MAKEFLAGS, but some packages like llvm-git introduce a similar variable to make things configurable:

There is also some discussion about it in the comments, see 2019-04-28 14:08 and before.

JstKddng commented on 2020-11-27 23:25 (UTC)

@lahwaacz

Really? I thought ninja recognized that flag. Oh well, the more you know. I could add a -j flag to ninja, but that won't always be the best value for every computer, -j $(nproc) I think would be a good value.

lahwaacz commented on 2020-11-27 20:44 (UTC)

@JstKddng MAKEFLAGS affect GNU make, not ninja. They can modify the PKGBUILD to pass -j whatever directly to ninja.

JstKddng commented on 2020-11-27 20:22 (UTC)

@bkb

If you want to change default behaviour modify the /etc/makepkg.conf file and modify the MAKEFLAGS flag to this: MAKEFLAGS="-j9"

Replace 9 by the number of threads on your system + 1. That should work with all packages you update with yay- Syu.

@lahwaacz @boomerdango

Good to know the flags work. Thanks for the feedback.

lahwaacz commented on 2020-11-27 17:50 (UTC)

@boomerdango Thanks, I can confirm those flags work with ungoogled-chromium under Sway.

bkb commented on 2020-11-27 15:55 (UTC)

The question was about checking default execution, not forcing it

boomerdango commented on 2020-11-27 15:52 (UTC) (edited on 2020-11-27 15:52 (UTC) by boomerdango)

@lahwaacz It works natively if you launch it with --enable-features=UseOzonePlatform --ozone-platform=wayland, or put those flags in your ~/.config/chromium-flags.conf.

lahwaacz commented on 2020-11-24 19:24 (UTC)

@JstKddng It has worked under Wayland before, thanks to XWayland. Is there a way to check the native support (other than disabling XWayland completely)?

bkb commented on 2020-11-24 12:20 (UTC)

I don't issue any of those kind of commands, I just yay -Syu, it should be automatic all of that ressources gestion

lahwaacz commented on 2020-11-24 11:55 (UTC)

@bkb My previous reply to you from 2020-11-15 13:01 tells you how to do that. Hint (again): use the -j flag.

bkb commented on 2020-11-24 07:54 (UTC)

You talk to me like I'm used to coding and compiling all day, anyway

JstKddng commented on 2020-11-24 02:35 (UTC)

This new release should have both wayland and x11 support, can anyone using wayland test this?

@bkb

Try reducing the number of ninja threads.

bkb commented on 2020-11-19 10:18 (UTC)

@followait 9 GiB of swap partition and nothing

JstKddng commented on 2020-11-18 21:59 (UTC)

@tomcourtier

Check the pinned comment, you have a lot of options for binary downloads there.

zocker_160 commented on 2020-11-18 21:58 (UTC)

@tomcourtier I actually made an ungoogled-chromium-bin package multiple times, but it got removed each time, because the binary package was from an untrusted source, even though I offered the full build log for each package.

commented on 2020-11-18 21:28 (UTC)

Would it be too much to ask for some very capable and lovely person to create "ungoogled-chromium-bin" for those without mega hardware, and not wanting to add third-party repos? Thanks in advance for your consideration.

followait commented on 2020-11-18 00:43 (UTC)

@bkb Have you enabled swap partition or swap file?

BTW As in my test, a swap file of 2G can make the build successful. Without swap file or swap partition, though set vm.swappiness=10, the build fails.

lahwaacz commented on 2020-11-17 15:36 (UTC)

@bkb That's not quite surprising, since you both have 2 GB per core. There is also probably one file which takes much more memory to compile than others...

bkb commented on 2020-11-17 13:40 (UTC)

Lol, considering that with my tiny 8gb 4 cores I stall at the same step than you, I suggest that it's the Linux build who's laggy, more than our architecture who is weak

followait commented on 2020-11-16 01:14 (UTC) (edited on 2020-11-16 13:09 (UTC) by followait)

@lahwaacz Alright, 16GB memory for 8 cores 16 threads is not enough, thanks very much

lahwaacz commented on 2020-11-15 13:33 (UTC)

@followait It depends more on how many CPU cores you have. If you used only one core for the build, even 4 GB of memory should be enough, maybe less...

followait commented on 2020-11-15 13:30 (UTC)

@lahwaacz You are right. With vm.swappiness=60 by default, 16GB memory is not enough. After enabling swapfile with 4GB and set vm.swappiness=10, it works. Thanks

lahwaacz commented on 2020-11-15 13:01 (UTC)

@bkb It's not a compiler's responsibility to deal with such things. If you want to use HDD instead of RAM, you need to configure swap accordingly. But that will be pretty slow, probably even slower than if you disabled parallelization completely. What I'd recommend instead, is instructing the build system to spawn less compiler processes in parallel and thus reducing the memory requirements. See ninja -h for the available options, the -j flag is probably a good start.

bkb commented on 2020-11-15 12:17 (UTC)

@lahwaacz is there a compiler who know how to deal with limited RAM? Like he will use the HDD if RAM can't bear more

So all computer will have the capacity to compile big projects. And if there's no more space anywhere, it output a clear message that it stopped because of lack of memory

lahwaacz commented on 2020-11-15 08:29 (UTC)

@followait Check that you have enough memory to use all your CPU cores, or use fewer cores.

followait commented on 2020-11-15 02:47 (UTC) (edited on 2020-11-15 02:54 (UTC) by followait)

Problem

Failed to build on ArchLinux

Version
$ uname -a
Linux aaa 5.9.8-arch1-1 #1 SMP PREEMPT Tue, 10 Nov 2020 22:44:11 +0000 x86_64 GNU/Linux

$ git log --oneline --graph
* 44d2780 (HEAD -> master, origin/master, origin/HEAD) upgpkg: ungoogled-chromium 86.0.4240.183-1
...
Customization

In PKGBUILD, _flags is modiefied as

  local _flags=(
    'custom_toolchain="//build/toolchain/linux/unbundle:default"'
    'host_toolchain="//build/toolchain/linux/unbundle:default"'
    'is_official_build=true' # implies is_cfi=true on x86_64
    'ffmpeg_branding="Chrome"'
    'proprietary_codecs=true'
    'rtc_use_pipewire=true'
    'link_pulseaudio=true'
    'use_gnome_keyring=false'
    'use_sysroot=false'
    'use_custom_libcxx=false'
    'enable_widevine=true'
    'use_vaapi=true'
  )
Error
$ makepkg
...
[31032/41950] CXX obj/content/browser/browser/save_file_manager.o
FAILED: obj/content/browser/browser/save_file_manager.o 
clang++ -MMD -MF obj/content/browser/browser/save_file_manager.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-3492-ga1caa302-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -DV8_USE_EXTERNAL_STARTUP_DATA -DATK_LIB_DIR=\"/usr/lib\" -DUSE_ATK_BRIDGE -DATSPI_MAJOR_VERSION=2 -DATSPI_MINOR_VERSION=38 -DATSPI_MICRO_VERSION=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DTOOLKIT_VIEWS=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.8pp2p8t.qjz9zk/ssl-aggregate-address/\" -DSQLITE_OMIT_ANALYZE -DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_GET_TABLE -DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1 -DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DPERFETTO_IMPLEMENTATION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan_headers/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -I../../third_party/jsoncpp/generated -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/snappy_shim -I../../third_party/khronos -I../../gpu -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -Igen/shim_headers/minizip_shim -Igen/shim_headers/flac_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -I../../third_party/protobuf/src -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan_headers/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/mesa_headers -Igen/third_party/metrics_proto -I../../third_party/libaddressinput/src/cpp/include -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../v8/include -Igen/v8/include -I../../third_party/angle/src/common/third_party/base -Igen/angle -I../../third_party/angle/include -I../../third_party/brotli/include -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshadow -Wexit-time-destructors -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -Wno-shorten-64-to-32 -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../content/browser/download/save_file_manager.cc -o obj/content/browser/browser/save_file_manager.o
[31033/41950] CXX obj/content/browser/browser/save_package_serialization_handler.o
FAILED: obj/content/browser/browser/save_package_serialization_handler.o 
clang++ -MMD -MF obj/content/browser/browser/save_package_serialization_handler.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-3492-ga1caa302-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -DV8_USE_EXTERNAL_STARTUP_DATA -DATK_LIB_DIR=\"/usr/lib\" -DUSE_ATK_BRIDGE -DATSPI_MAJOR_VERSION=2 -DATSPI_MINOR_VERSION=38 -DATSPI_MICRO_VERSION=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DTOOLKIT_VIEWS=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.8pp2p8t.qjz9zk/ssl-aggregate-address/\" -DSQLITE_OMIT_ANALYZE -DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_GET_TABLE -DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1 -DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DPERFETTO_IMPLEMENTATION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan_headers/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -I../../third_party/jsoncpp/generated -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/snappy_shim -I../../third_party/khronos -I../../gpu -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -Igen/shim_headers/minizip_shim -Igen/shim_headers/flac_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -I../../third_party/protobuf/src -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan_headers/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/mesa_headers -Igen/third_party/metrics_proto -I../../third_party/libaddressinput/src/cpp/include -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../v8/include -Igen/v8/include -I../../third_party/angle/src/common/third_party/base -Igen/angle -I../../third_party/angle/include -I../../third_party/brotli/include -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshadow -Wexit-time-destructors -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -Wno-shorten-64-to-32 -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../content/browser/download/save_package_serialization_handler.cc -o obj/content/browser/browser/save_package_serialization_handler.o
[31049/41950] CXX obj/content/browser/browser/cookie_store_context.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

followait commented on 2020-11-11 17:56 (UTC) (edited on 2020-11-11 18:00 (UTC) by followait)

@bkb I encounter the same problem, failed at [30977/42075] Then I tried to call ninja manually at the failure point, it shows a file doesn't exist, but the file is there.

Now I'm build ungoogled-chromium-windows, progress [38303/43977], no error so far, so it is a platform specific problem.

BTW, what is worse is that when building aborted, you have to rebuild everything from start (only the download cache is reusable).

I think it's not hard to do something like incremental building while using ninja, but no one does it. open source is really intestring.

bkb commented on 2020-11-09 12:35 (UTC) (edited on 2020-11-09 17:41 (UTC) by bkb)

Almost entire day compiling then

[31418/42075] CXX obj/content/browser/browser/render_frame_host_impl.o
FAILED: obj/content/browser/browser/render_frame_host_impl.o 
clang++ -MMD -MF obj/content/browser/browser/render_frame_host_impl.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-3492-ga1caa302-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -DV8_USE_EXTERNAL_STARTUP_DATA -DATK_LIB_DIR=\"/usr/lib\" -DUSE_ATK_BRIDGE -DATSPI_MAJOR_VERSION=2 -DATSPI_MINOR_VERSION=38 -DATSPI_MICRO_VERSION=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DTOOLKIT_VIEWS=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.8pp2p8t.qjz9zk/ssl-aggregate-address/\" -DSQLITE_OMIT_ANALYZE -DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_GET_TABLE -DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1 -DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DPERFETTO_IMPLEMENTATION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan_headers/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -I../../third_party/jsoncpp/generated -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/snappy_shim -I../../third_party/khronos -I../../gpu -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -Igen/shim_headers/minizip_shim -Igen/shim_headers/flac_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -I../../third_party/protobuf/src -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan_headers/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/mesa_headers -Igen/third_party/metrics_proto -I../../third_party/libaddressinput/src/cpp/include -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../v8/include -Igen/v8/include -I../../third_party/angle/src/common/third_party/base -Igen/angle -I../../third_party/angle/include -I../../third_party/brotli/include -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshadow -Wexit-time-destructors -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -Wno-shorten-64-to-32 -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../content/browser/frame_host/render_frame_host_impl.cc -o obj/content/browser/browser/render_frame_host_impl.o
[31427/42075] CXX obj/content/browser/browser/network_handler.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: ungoogled-chromium

A second time then

[30910/42075...nager_impl.o
FAILED: obj/content/browser/browser/native_file_system_manager_impl.o
clang++ -MMD -MF obj/content/browser/browser/native_file_system_manager_impl.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-3492-ga1caa302-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -DV8_USE_EXTERNAL_STARTUP_DATA -DATK_LIB_DIR=\"/usr/lib\" -DUSE_ATK_BRIDGE -DATSPI_MAJOR_VERSION=2 -DATSPI_MINOR_VERSION=38 -DATSPI_MICRO_VERSION=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DTOOLKIT_VIEWS=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.8pp2p8t.qjz9zk/ssl-aggregate-address/\" -DSQLITE_OMIT_ANALYZE -DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_GET_TABLE -DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1 -DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DPERFETTO_IMPLEMENTATION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan_headers/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -I../../third_party/jsoncpp/generated -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/snappy_shim -I../../third_party/khronos -I../../gpu -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -Igen/shim_headers/minizip_shim -Igen/shim_headers/flac_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -I../../third_party/protobuf/src -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan_headers/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/mesa_headers -Igen/third_party/metrics_proto -I../../third_party/libaddressinput/src/cpp/include -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../v8/include -Igen/v8/include -I../../third_party/angle/src/common/third_party/base -Igen/angle -I../../third_party/angle/include -I../../third_party/brotli/include -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshadow -Wexit-time-destructors -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -Wno-shorten-64-to-32 -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../content/browser/native_file_system/native_file_system_manager_impl.cc -o obj/content/browser/browser/native_file_system_manager_impl.o
[30919/42075...on_fetcher.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: ungoogled-chromium

followait commented on 2020-10-27 07:07 (UTC) (edited on 2020-10-27 07:10 (UTC) by followait)

compiled for 4 hours, then failed no error message hard to reproduce

[30977/42075] CXX obj/content/browser/browser/frame_connected_bluetooth_devices.o

git commit used

* 1a6c2d2 (HEAD -> master, origin/master, origin/HEAD) upgpkg: ungoogled-chromium 86.0.4240.75-1

followait commented on 2020-10-20 09:30 (UTC) (edited on 2020-10-20 10:56 (UTC) by followait)

failed to build

error message sample:

clang++: error: no such file or directory: '../../third_party/blink/renderer/core/frame/local_dom_window.cc'

but the file is there

BTW, chromium version and uc version doesn't match completely, does it matter?

TZ86 commented on 2020-10-01 14:41 (UTC)

@HazardousBit First try to find it your pacman cache (/var/cache/pacman/pkg/). If it is in, you can install it via pacman -U.

If there is no older version, then yes, you'll have to build it. There is a git repo with PKGBUILDs for official arch linux packages (as example, https://www.archlinux.org/packages/extra/x86_64/gn/, "Source Files / View Changes" links at right), you can take PKGBUILD for a previous version, download it and build via makepkg -cfsi.

HazardousBit commented on 2020-09-29 18:56 (UTC)

@TZ86 sort of a noob here, what exactly are the specifics of doing that? am i supposed to build an older source instead of the one listed here?

TZ86 commented on 2020-09-29 12:05 (UTC)

@mads256h Try to rollback on previous gn version.

eggz commented on 2020-09-28 06:49 (UTC)

I think it's nothing short of amazing we still need to pull python2 to build this package.

mads256h commented on 2020-09-27 17:54 (UTC)

I cannot build this on my machine:

make: Entering directory '/home/mads/.cache/yay/ungoogled-chromium/src/chromium-launcher-6'
cc -o chromium -D_FORTIFY_SOURCE=2 -DLAUNCHER_VERSION=\"v6\" -DCHROMIUM_NAME=\"chromium\" -DCHROMIUM_BINARY=\"/usr/lib/chromium/chromium\" -DCHROMIUM_VENDOR="\"Arch Linux\"" -DPEPPER_FLASH_DIR=\"/usr/lib/PepperFlash\" -march=native -O2 -pipe -fno-plt -ftree-vectorize -fomit-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/json-glib-1.0 -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now launcher.c -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 
make: Leaving directory '/home/mads/.cache/yay/ungoogled-chromium/src/chromium-launcher-6'
  -> Configuring Chromium
ERROR at //third_party/webrtc/BUILD.gn:417:12: Unsupported value in libs.
  libs = [ "Foundation.framework" ]
           ^---------------------
Use frameworks to list framework dependencies.
See //third_party/webrtc/webrtc.gni:318:22: which caused the file to be included.
rtc_prod_configs = [ webrtc_root + ":rtc_prod_config" ]
                     ^----------
==> ERROR: A failure occurred in build().
    Aborting...
error making: ungoogled-chromium

JstKddng commented on 2020-09-20 00:45 (UTC)

@shadow_asd

Create an issue with your whole log on the github repo if you can.

shadow_asd commented on 2020-09-16 20:30 (UTC)

cant compile normal and bin

[36499/39993] CXX obj/content/browser/browser/web_bluetooth_service_impl.o FAILED: obj/content/browser/browser/web_bluetooth_service_impl.o [36500/39993] CXX obj/content/browser/browser/frame_connected_bluetooth_devices.o FAILED: obj/content/browser/browser/frame_connected_bluetooth_devices.o [36501/39993] CXX obj/content/browser/browser/browser_context.o FAILED: obj/content/browser/browser/browser_context.o

schui commented on 2020-08-27 09:56 (UTC)

Hello everyone!

I cannot build the package successfully. I got the error message: clang: error: unknown argument: '-fvar-tracking-assignments'. Should I change the version of clang? I'm using a x200 with parabola.

JstKddng commented on 2020-08-26 20:56 (UTC) (edited on 2020-08-26 21:00 (UTC) by JstKddng)

@IEPforAUR

are you using manjaro? if that is so, you'll have to switch to arch or wait for the manjaro team to update their glibc package. If you aren't, you need to use an updated mirror.

If you'd like to use an old chromium version, you can check the binary archive here: https://ungoogled-software.github.io/ungoogled-chromium-binaries/releases/archlinux/ might not work though.

missingSleepDeps commented on 2020-08-26 17:14 (UTC)

Won't run again: "/usr/lib/chromium/chromium: /usr/lib/libc.so.6: version `GLIBC_2.32' not found (required by /usr/lib/chromium/chromium)"

PedroHLC commented on 2020-07-28 13:34 (UTC)

@JstKddng if you ever need to, you can trust chaotic-aur's logs. It just downloads this package daily and builds it a clean chroot (With just base and base-devel). When the log file is not there it means it built successfully or there wasn't an update available.

JstKddng commented on 2020-07-20 03:24 (UTC)

@MagusZ

If one of the sources is outdated, use another one.

commented on 2020-07-19 15:04 (UTC)

@MagusZ the latest binary available on the official contributor binaries site is out of date; if you can I would recommend building this AUR package on your system until a PR is merged into the official site which would allow for a more up to date binary to be listed.

MagusZ commented on 2020-07-19 15:00 (UTC)

I still get the /usr/lib/chromium/chromium: error while loading shared libraries: libre2.so.7: cannot open shared object file: No such file or directory error with the latest binary package on the Contributors Binaries site.

Jojii commented on 2020-07-19 07:36 (UTC)

@JstKddng Yep it works with the newest version of ug-chromium. Thanks

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

JstKddng commented on 2020-07-19 06:32 (UTC)

The ffmpeg patch should fix those issues.

MagusZ commented on 2020-07-19 03:38 (UTC)

I got an error with the same websites - granted, it was 83.0.4103.116-3 from Chaotic AUR but it was similar sites (Reddit, Gmail and Discord). It was a SIGSEGV error.

Jojii commented on 2020-07-18 16:44 (UTC)

With the newest version many webpages crash after loading with following error: 'RESULT_CODE_UNINSTALL_USER_CANCEL'. This happens for example when opening the discord webapp, proxmox webUI or reddit. I removed $HOME/.cache/chromium and $HOME/.config/chromium but the error still appears.

lahwaacz commented on 2020-07-17 18:29 (UTC)

@JstKddng Thanks, I did not see that.

JstKddng commented on 2020-07-17 18:13 (UTC)

@lahwaacz

I know, I've already included it. You can build https://github.com/jstkdng/ungoogled-chromium-archlinux in the meantime if you'd like to.

lahwaacz commented on 2020-07-17 17:46 (UTC) (edited on 2020-07-17 17:47 (UTC) by lahwaacz)

@JstKddng chromium-84.0.4147.89-1 still needs the patch... https://git.archlinux.org/svntogit/packages.git/tree/trunk/chromium-ffmpeg-4.3.patch?h=packages/chromium&id=d7ba6a0893c85d15faea19e9fdf5f04d18a8e449

JstKddng commented on 2020-07-17 17:28 (UTC)

@lahwaacz

I PR'd the upgrade to 84, shouldn't take long to get merged.

lahwaacz commented on 2020-07-17 17:05 (UTC)

Could you add the patch for ffmpeg 4.3? https://github.com/Eloston/ungoogled-chromium/issues/1106#issuecomment-660226102

abd commented on 2020-07-15 13:07 (UTC) (edited on 2020-07-15 13:18 (UTC) by abd)

Why does it ask JRE? It's not like Google Chrome's pure executable so is weighty?

JstKddng commented on 2020-07-11 23:00 (UTC)

@malcolm

Use this: https://github.com/jstkdng/ungoogled-chromium-archlinux#downloads

My repository is a mirror of the OBS one, but easier to setup.

malcolm commented on 2020-07-11 22:55 (UTC)

@JstKddng could you tell me how to add the keys of your obs repository? I tried to import manually but I'm getting an error during the update in pacman and I think it's not working properly.

malcolm commented on 2020-07-11 22:32 (UTC)

I understand. I'll use the obs repository then. Thanks.

JstKddng commented on 2020-07-11 18:45 (UTC)

@malcolm

I don't maintain that service, can't help you on that. You should ask them. OBS builds fine.

malcolm commented on 2020-07-11 18:35 (UTC) (edited on 2020-07-11 18:35 (UTC) by malcolm)

the build looks broken for both ungoogled-chromium packages

https://lonewolf.pedrohlc.com/chaotic-aur/makepkglogs/_daily/ungoogled-chromium.log

https://lonewolf.pedrohlc.com/chaotic-aur/makepkglogs/_daily/ungoogled-chromium-git.log

JstKddng commented on 2020-07-11 04:40 (UTC)

just bumped the pkgrel, it should be working now.

malcolm commented on 2020-07-10 12:49 (UTC) (edited on 2020-07-10 12:50 (UTC) by malcolm)

/usr/lib/chromium/chromium: error while loading shared libraries: libre2.so.7: cannot open shared object file: No such file or directory

I believe this is related to the comment from the @ffmorgner

fmorgner commented on 2020-07-10 08:15 (UTC) (edited on 2020-07-10 08:16 (UTC) by fmorgner)

Since the last bump on 2020-07-01, re2 has been updated in [extra] (on 2020-07-07), requiring a rebuild of this package. Could you please bump the pkgrel in order to facilitate the rebuild on the user side?

Sattaxt commented on 2020-07-03 08:55 (UTC) (edited on 2020-07-03 16:38 (UTC) by Sattaxt)

I get a linking error with the latest update (.116). I ran LD with -v, and this is the output:

[7677/7677] LINK ./chrome FAILED: chrome clang++ -Wl,--version-script=../../build/linux/chrome.map -Wl,--fatal-warnings -Wl,--build-id=sha1 -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 -flto=thin -Wl,--thinlto-jobs=8 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy,cache_size=10\%:cache_size_bytes=10g:cache_size_files=100000 -Wl,--lto-O0 -fwhole-program-vtables -m64 -Wl,-O2 -Wl,--gc-sections -rdynamic -fsanitize=cfi-vcall -fsanitize=cfi-icall -pie -Wl,--disable-new-dtags -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now,-v -o "./chrome" -Wl,--start-group @"./chrome.rsp" -Wl,--end-group -latomic -ldl -lpthread -lrt -lX11 -lX11-xcb -lxcb -lxcb-dri3 -lXcomposite -lXcursor -lXdamage -lXext -lXfixes -lXi -lXrender -lXtst -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -licui18n -licuuc -licudata -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -latk-1.0 -latk-bridge-2.0 -lcups -lfontconfig -ldbus-1 -lz -lresolv -lgio-2.0 -lwebpdemux -lwebpmux -lwebp -lfreetype -ljpeg -lexpat -lharfbuzz-subset -lharfbuzz -ldrm -lm -lopus -lavcodec -lavformat -lavutil -lvpx -lXrandr -lre2 -lpci -lgbm -lXss -lasound -lpulse -lsnappy -lpangocairo-1.0 -lpango-1.0 -lcairo -lva -lxml2 -latspi -lFLAC -lminizip -lgtk-3 -lgdk-3 -lcairo-gobject -lgdk_pixbuf-2.0 -lxslt LLD 10.0.0 (compatible with GNU linkers) clang-10: error: unable to execute command: Terminated clang-10: error: linker command failed due to signal (use -v to see invocation) ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... error making: %!s(func() string=0x55a8623fce80)

Update: Has nothing to do with package. I had setup LTO wrong, and that caused a link error. For anybody that also has the same problem, take a look at your LTO options or just disable it.

JstKddng commented on 2020-07-02 15:51 (UTC)

@Jojii

well, the makepkg logs would be nice to have.

I also triggered a rebuild on the OBS just in case and it was succesful. https://build.opensuse.org/package/live_build_log/home:justkidding:arch/ungoogled-chromium/standard/x86_64

Jojii commented on 2020-07-02 13:45 (UTC)

@JstKddng I have no idea where I should look for helpful logs. I don't remove those containers but I don't get much information from them too.

JstKddng commented on 2020-07-02 12:18 (UTC)

@jojii

I'm gonna need some logs before I can help. Are you immediately deleting the docker container after building?

Jojii commented on 2020-07-02 11:19 (UTC)

@JstKddng nope I can't find any log where I could get more informations from

JstKddng commented on 2020-07-02 11:11 (UTC)

@followait

Depends on how much cores/threads you have. I'd recommend to have swap, at least a swapfile during compilation.

@Jojii

Do you have an error message?

Jojii commented on 2020-07-02 08:26 (UTC)

My VM where I compile this inside a docker container shuts down/crashes after some time compiling this package :(

followait commented on 2020-07-02 00:26 (UTC)

@JstKddng without swap, 16G memory not enough?

JstKddng commented on 2020-07-01 15:51 (UTC)

@followait

probably you ran out of memory. You can continue compilation if you run makepkg -e without starting all over again.

followait commented on 2020-07-01 15:18 (UTC) (edited on 2020-07-01 15:20 (UTC) by followait)

After building for about 75%, error occurs, no detail. It takes about one and a half hours. It's sad. I don't known why.

JstKddng commented on 2020-06-25 19:18 (UTC)

@franck.stauffer

The PKGBUILD in this repository is the same I use for building my binaries. You can use this to build on your computer.

qontinuum commented on 2020-06-25 18:59 (UTC)

That is why I ask why @ JstKddng avetises for its repositories

Jojii commented on 2020-06-25 18:57 (UTC)

@franck.stauffer this is the PKGBUILD which builds ungoogled-chromium.

qontinuum commented on 2020-06-25 18:53 (UTC) (edited on 2020-06-25 18:53 (UTC) by qontinuum)

If you can provide bins, why can't you provide a PKGBUILD that build ungoogled-chromium on our computers?

JstKddng commented on 2020-06-23 14:59 (UTC)

You can get built binaries for this package and derivatives on my repository. Instructions are here:

https://github.com/jstkdng/ungoogled-chromium-archlinux#downloads

You can also get them from the OBS but that doesn't work sometimes.

https://build.opensuse.org/project/show/home:justkidding:arch

At least until upstream figures out how to create official binaries.

bionade24 commented on 2020-06-16 19:20 (UTC)

error: ungoogled-chromium: signature from "home:justkidding OBS Project <home:justkidding@build.opensuse.org>" is invalid
:: File /var/cache/pacman/pkg/ungoogled-chromium-83.0.4103.97-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 

Tried to use the OBS package.

JstKddng commented on 2020-05-24 14:40 (UTC) (edited on 2020-05-26 17:42 (UTC) by JstKddng)

Hello everyone, a new PR was created for the version 83.0.4103.61 but until it is accepted into the ungoogled-chromium repository, I've built a binary with those new patches, you can get the temporary binary here:

https://repo.vin.ovh/arch/x86_64/dev/ungoogled-chromium-83.0.4103.61-1-x86_64.pkg.tar.xz

https://download.opensuse.org/repositories/home:/justkidding:/arch/standard/x86_64/ungoogled-chromium-83.0.4103.61-1-x86_64.pkg.tar.xz

Edit: created a PR some days ago, we'll have to wait until it gets reviewed

vanja_z commented on 2020-05-24 11:45 (UTC) (edited on 2020-05-24 11:46 (UTC) by vanja_z)

Seems that this package is not compatible with gcc10, produces errors [1]. This is discussed on the Arch Linux forums [2] and the fix is to apply a Gentoo patch [3] which works for me.

[1]

../../base/trace_event/trace_event_memory_overhead.h:60:29: error: no type named 'string' in namespace 'std'
  void AddString(const std::string& str);
                       ~~~~~^
../../base/trace_event/trace_event_memory_overhead.cc:87:32: error: out-of-line definition of 'AddString' does not match any declaration in 'base::trace_event::TraceEventMemoryOverhead'
void TraceEventMemoryOverhead::AddString(const std::string& str) {

[2] https://bbs.archlinux.org/viewtopic.php?id=255805

[3] https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files/chromium-81-gcc-10.patch

seppia commented on 2020-05-12 10:45 (UTC)

@JstKddng I updated the package to reflect the changes you made upstream. The only difference is that I would rather not use git to retrieve ungoogled-chromium tree but stick to the archive created by github since it is itslef verifiable and this better suits AUR guidelines. I imagine the difficulties you refer to would be the future patches to manually include in the PKGBUILD each time they would be needed. Or is there something else I miss? I will anyway add you as a maintainer since help is always welcome. Since you are very active upstream I would just ask you to first submit updates and patches there before applying them here for the sake of having just one channel of development even if this means that this package will be updated a couple of days later.

JstKddng commented on 2020-05-12 04:33 (UTC)

@seppia

some changes were made to the github repository that might make it difficult to update this package. I don't mind helping you, just add me as a co-maintainer.

SArchB commented on 2020-05-10 20:38 (UTC)

@Rowisi > your advised patch worked! Thnx!

zehph commented on 2020-05-10 19:02 (UTC) (edited on 2020-05-10 19:03 (UTC) by zehph)

@Rowisi I know what I'll be waiting for then, I was getting real comfy there found a really nice extension for inducing entropy in a lot of the fingerprinting data, and it pooped itself on me in the first system update, after 10+ hours of compiling and in the day after I managed to compile it. Truly heartbreaking...

commented on 2020-05-10 14:14 (UTC)

@zehph they are on the road of making an official OBS build for the github repo. check ungoogled-chromium-archlinux GitHub pull requests

zehph commented on 2020-05-10 13:56 (UTC) (edited on 2020-05-10 14:02 (UTC) by zehph)

Can't we have a bin package? I mean the install and updating is agressively unwieldy... My poor I5 takes from 8 to 10 hours to compile this thing!

I tried installing it, left it compailing overnight and then sudo timed out, had to start over. That because I was reinstalling, since a system update broke a lib and the browser stopped working...

commented on 2020-05-10 08:27 (UTC)

@SArchB try this patch

From ede390a0b18e4565abf8ac1e1ff717e1d43fc320 Mon Sep 17 00:00:00 2001
From: Paul Wankadia <junyer@chromium.org>
Date: Tue, 14 Apr 2020 16:54:51 +0000
Subject: [PATCH] Clean up a call to set_utf8().

This is part of an effort to rewrite calls to utf8() and set_utf8()
(in RE2::Options) as calls to encoding() and set_encoding(),
respectively. utf8() and set_utf8() have been marked as the "legacy"
interface since 2008, so it is long past time that we get rid of them.

R=parastoog@google.com

Change-Id: I62c48cd575a55b519d5264ed857f927c163068b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2145261
Reviewed-by: Parastoo Geranmayeh <parastoog@google.com>
Commit-Queue: Paul Wankadia <junyer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758886}
---
 components/autofill/core/browser/address_rewriter.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/autofill/core/browser/address_rewriter.cc b/components/autofill/core/browser/address_rewriter.cc
index 1b85a50974c..030a5aba146 100644
--- a/components/autofill/core/browser/address_rewriter.cc
+++ b/components/autofill/core/browser/address_rewriter.cc
@@ -57,7 +57,7 @@ void CompileRulesFromData(const std::string& data_string,
                           CompiledRuleVector* compiled_rules) {
   base::StringPiece data = data_string;
   re2::RE2::Options options;
-  options.set_utf8(true);
+  options.set_encoding(RE2::Options::EncodingUTF8);
   options.set_word_boundary(true);

   size_t token_end = 0;

SArchB commented on 2020-05-10 07:58 (UTC)

My build keeps failing with:

_=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno- 
builtin-macro-redefined -Wno-unknown-warning-option -c 
../../components/autofill/core/browser/address_rewriter.cc -o 
obj/components/autofill/core/browser/browser/address_rewriter.o
../../components/autofill/core/browser/address_rewriter.cc:60:11: error: no 
member named 'set_utf8' in 're2::RE2::Options'
  options.set_utf8(true);
  ~~~~~~~ ^
1 error generated.
[25906/38522] CXX 
obj/components/autofill/core/browser/browser/autocomplete_history_manager.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Error making: ungoogled-chromium

zocker_160 commented on 2020-05-09 09:34 (UTC)

@nathanielcwm I cannot reproduce the issue on my end, it does build just fine for me. See my build log here

nathanielcwm commented on 2020-05-06 07:00 (UTC)

I don't have any patching issues but I keep on running into build errors now.

https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/75

neeks commented on 2020-05-05 16:38 (UTC)

@jfk try this patch from the ungoogled-chromium-git packpage instead: https://aur.archlinux.org/cgit/aur.git/tree/icu67.patch?h=ungoogled-chromium-git&id=6556105ef13b0bf9a0836e36736c36b9e72b2bdd

jfk commented on 2020-05-05 15:49 (UTC)

@neeks @volfyd, still got the same hunk failures. Has the last update taken this into account?

commented on 2020-05-05 10:14 (UTC)

@Megumi_fox I know, It has additional VAAPI patches that doesn't exist in this AUR. Its actually a combination of this package and chromium-vaapi. I personally need those patches to make VAAPI work and I don't know why those patches weren't added in ungoogled-chromium-archlinux github repo.

Megumi_fox commented on 2020-05-05 09:14 (UTC)

@Rowisi this package in ArchlinuxCN is not maintained by Felix Yan. And PKGBUILD has difference between ArchlinuxCN and AUR, more detail can see here

commented on 2020-05-05 07:51 (UTC)

If someone failed to compile this package he can use ArchlinuxCN It is maintained by a group of people including Felix Yan an Archlinux developper.

neeks commented on 2020-05-05 06:43 (UTC)

good catch @volfyd and apologizes @jfk -- wrote it post-fail and didn't realize the original I was patching had domain-substitutions already applied

volfyd commented on 2020-05-05 00:59 (UTC) (edited on 2020-05-05 01:37 (UTC) by volfyd)

@jfk, if you edit the @neeks patch changing the line

 // See https://bugs.chromium.org/p/v8/issues/detail?id=8641

to

 // See https://bugs.ch40m1um.qjz9zk/p/v8/issues/detail?id=8641

it should apply, and I just managed to recompile chromium with that patch successfully.

commented on 2020-05-04 23:58 (UTC)

@nathanielcwm Nice, I didn't know that was possible with makepkg.

nathanielcwm commented on 2020-05-04 12:32 (UTC) (edited on 2020-05-04 12:36 (UTC) by nathanielcwm)

makepkg -e stops it from extracting I think

Just checked and it also bypasses the prepare() section.

commented on 2020-05-04 11:28 (UTC)

I am starting to think that we have to add another PKGBUILD file let's called PKGBUILD.resume for people who want to continue building if the build crashed or when they stopped the build.

Its so easy just remove all prepare() { ... } function and add

noextract=("chromium-$pkgver.tar.xz"
           "v$_launcher_ver.tar.gz")

when someone wants to resume building, he just have to do cat PKGBUILD.resume > PKGBUILD and continue building chromium.

commented on 2020-05-04 04:14 (UTC)

@volfyd 1- I mean its better to upgrade chromium than downgrading libraries.

2- No, you must upgrade your Chromium to fix the vulnerability.

volfyd commented on 2020-05-04 03:05 (UTC)

@Rowisi I was talking about downgrading the libraries that were causing problems and not Chromium itself. Are you saying that the libraries are involved in the use after free issue you mention?

commented on 2020-05-04 00:41 (UTC)

@volfyd its not a good idea to downgrade. This Chromium release has very important security fixes, check it up https://meterpreter.org/cve-2020-6462-google-chrome-use-after-free-vulnerability-alert/

jfk commented on 2020-05-03 13:05 (UTC) (edited on 2020-05-03 13:08 (UTC) by jfk)

@neeks: patching failed:

Hunk #1 FAILED at 1197.
Hunk #2 FAILED at 1243.
Hunk #3 FAILED at 1359.
Hunk #4 FAILED at 1373.
Hunk #5 FAILED at 1401.
Hunk #6 FAILED at 1421.
6 out of 6 hunks FAILED -- saving rejects to file []

volfyd commented on 2020-05-02 16:48 (UTC) (edited on 2020-05-02 17:06 (UTC) by volfyd)

So you need to:

downgrade icu

downgrade libxml2

and your old binary should run.

For building, try

downgrade nodejs

also.

volfyd commented on 2020-05-02 07:41 (UTC)

I would not recommend installing this aur. My cookies and logins and whatnot are in ungoogled-chromium but it breaks often enough that it's not a good time. I thought it would just be a recompile that takes a couple hours and when that didn't work I thought it would be a straightforward invocation of 'downgrade' but even that didn't help me.

I don't blame the maintainers. It's just that compiling software as complex as chromium on a rolling distro is just going to suck.

lunainvictum commented on 2020-05-02 02:36 (UTC)

I rebuild Chromium, because i cant start it because of that error:

/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.65: cannot open shared object file: No such file or directory

but after rebuild, still that error.

neeks commented on 2020-05-01 21:35 (UTC)

@kris7t here's a patch adapted from a upstream V8 commit, https://chromium-review.googlesource.com/c/v8/v8/+/2136489:

diff -rupN a/v8/src/objects/js-number-format.cc b/v8/src/objects/js-number-format.cc
--- a/v8/src/objects/js-number-format.cc    2020-04-27 21:39:11.000000000 -0400
+++ b/v8/src/objects/js-number-format.cc    2020-05-01 16:50:48.402713000 -0400
@@ -1197,42 +1197,31 @@ MaybeHandle<JSNumberFormat> JSNumberForm
 }

 namespace {
-Maybe<icu::UnicodeString> IcuFormatNumber(
+Maybe<bool> IcuFormatNumber(
     Isolate* isolate,
     const icu::number::LocalizedNumberFormatter& number_format,
-    Handle<Object> numeric_obj, icu::FieldPositionIterator* fp_iter) {
+    Handle<Object> numeric_obj, icu::number::FormattedNumber* formatted) {
   // If it is BigInt, handle it differently.
   UErrorCode status = U_ZERO_ERROR;
-  icu::number::FormattedNumber formatted;
   if (numeric_obj->IsBigInt()) {
     Handle<BigInt> big_int = Handle<BigInt>::cast(numeric_obj);
     Handle<String> big_int_string;
     ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate, big_int_string,
                                      BigInt::ToString(isolate, big_int),
-                                     Nothing<icu::UnicodeString>());
-    formatted = number_format.formatDecimal(
+                                     Nothing<bool>());
+    *formatted = number_format.formatDecimal(
         {big_int_string->ToCString().get(), big_int_string->length()}, status);
   } else {
     double number = numeric_obj->Number();
-    formatted = number_format.formatDouble(number, status);
+    *formatted = number_format.formatDouble(number, status);
   }
   if (U_FAILURE(status)) {
     // This happen because of icu data trimming trim out "unit".
     // See https://bugs.chromium.org/p/v8/issues/detail?id=8641
-    THROW_NEW_ERROR_RETURN_VALUE(isolate,
-                                 NewTypeError(MessageTemplate::kIcuError),
-                                 Nothing<icu::UnicodeString>());
-  }
-  if (fp_iter) {
-    formatted.getAllFieldPositions(*fp_iter, status);
+    THROW_NEW_ERROR_RETURN_VALUE(
+        isolate, NewTypeError(MessageTemplate::kIcuError), Nothing<bool>());
   }
-  icu::UnicodeString result = formatted.toString(status);
-  if (U_FAILURE(status)) {
-    THROW_NEW_ERROR_RETURN_VALUE(isolate,
-                                 NewTypeError(MessageTemplate::kIcuError),
-                                 Nothing<icu::UnicodeString>());
-  }
-  return Just(result);
+  return Just(true);
 }

 }  // namespace
@@ -1243,10 +1232,16 @@ MaybeHandle<String> JSNumberFormat::Form
     Handle<Object> numeric_obj) {
   DCHECK(numeric_obj->IsNumeric());

-  Maybe<icu::UnicodeString> maybe_format =
-      IcuFormatNumber(isolate, number_format, numeric_obj, nullptr);
+  icu::number::FormattedNumber formatted;
+  Maybe<bool> maybe_format =
+      IcuFormatNumber(isolate, number_format, numeric_obj, &formatted);
   MAYBE_RETURN(maybe_format, Handle<String>());
-  return Intl::ToString(isolate, maybe_format.FromJust());
+  UErrorCode status = U_ZERO_ERROR;
+  icu::UnicodeString result = formatted.toString(status);
+  if (U_FAILURE(status)) {
+    THROW_NEW_ERROR(isolate, NewTypeError(MessageTemplate::kIcuError), String);
+  }
+  return Intl::ToString(isolate, result);
 }

 namespace {
@@ -1359,12 +1354,18 @@ std::vector<NumberFormatSpan> FlattenReg
 }

 namespace {
-Maybe<int> ConstructParts(Isolate* isolate, const icu::UnicodeString& formatted,
-                          icu::FieldPositionIterator* fp_iter,
+Maybe<int> ConstructParts(Isolate* isolate,
+                          icu::number::FormattedNumber* formatted,
                           Handle<JSArray> result, int start_index,
                           Handle<Object> numeric_obj, bool style_is_unit) {
+  UErrorCode status = U_ZERO_ERROR;
+  icu::UnicodeString formatted_text = formatted->toString(status);
+  if (U_FAILURE(status)) {
+    THROW_NEW_ERROR_RETURN_VALUE(
+        isolate, NewTypeError(MessageTemplate::kIcuError), Nothing<int>());
+  }
   DCHECK(numeric_obj->IsNumeric());
-  int32_t length = formatted.length();
+  int32_t length = formatted_text.length();
   int index = start_index;
   if (length == 0) return Just(index);

@@ -1373,13 +1374,14 @@ Maybe<int> ConstructParts(Isolate* isola
   // other region covers some part of the formatted string. It's possible
   // there's another field with exactly the same begin and end as this backdrop,
   // in which case the backdrop's field_id of -1 will give it lower priority.
-  regions.push_back(NumberFormatSpan(-1, 0, formatted.length()));
+  regions.push_back(NumberFormatSpan(-1, 0, formatted_text.length()));

   {
-    icu::FieldPosition fp;
-    while (fp_iter->next(fp)) {
-      regions.push_back(NumberFormatSpan(fp.getField(), fp.getBeginIndex(),
-                                         fp.getEndIndex()));
+    icu::ConstrainedFieldPosition cfp;
+    cfp.constrainCategory(UFIELD_CATEGORY_NUMBER);
+    while (formatted->nextPosition(cfp, status)) {
+      regions.push_back(
+          NumberFormatSpan(cfp.getField(), cfp.getStart(), cfp.getLimit()));
     }
   }

@@ -1401,7 +1403,7 @@ Maybe<int> ConstructParts(Isolate* isola
     Handle<String> substring;
     ASSIGN_RETURN_ON_EXCEPTION_VALUE(
         isolate, substring,
-        Intl::ToString(isolate, formatted, part.begin_pos, part.end_pos),
+        Intl::ToString(isolate, formatted_text, part.begin_pos, part.end_pos),
         Nothing<int>());
     Intl::AddElement(isolate, result, index, field_type_string, substring);
     ++index;
@@ -1421,14 +1423,14 @@ MaybeHandle<JSArray> JSNumberFormat::For
       number_format->icu_number_formatter().raw();
   CHECK_NOT_NULL(fmt);

-  icu::FieldPositionIterator fp_iter;
-  Maybe<icu::UnicodeString> maybe_format =
-      IcuFormatNumber(isolate, *fmt, numeric_obj, &fp_iter);
+  icu::number::FormattedNumber formatted;
+  Maybe<bool> maybe_format =
+      IcuFormatNumber(isolate, *fmt, numeric_obj, &formatted);
   MAYBE_RETURN(maybe_format, Handle<JSArray>());

   Handle<JSArray> result = factory->NewJSArray(0);
   Maybe<int> maybe_format_to_parts = ConstructParts(
-      isolate, maybe_format.FromJust(), &fp_iter, result, 0, numeric_obj,
+      isolate, &formatted, result, 0, numeric_obj,
       number_format->style() == JSNumberFormat::Style::UNIT);
   MAYBE_RETURN(maybe_format_to_parts, Handle<JSArray>());

kris7t commented on 2020-05-01 17:51 (UTC)

For me, build of 81.0.4044.129 fails with

../../v8/src/objects/js-number-format.cc:1227:15: error: no member named 'getAllFieldPositions' in 'icu_67::number::FormattedNumber'
    formatted.getAllFieldPositions(*fp_iter, status);
    ~~~~~~~~~ ^

commented on 2020-04-30 22:46 (UTC)

@seppia I have compiled this new version and VAAPI is back working.

this is the only warning I get and it show once per video ERROR:vaapi_video_decode_accelerator.cc(740)] : Failed to allocate memory for a VaapiPicture

lunainvictum commented on 2020-04-30 15:59 (UTC)

Getting Segmentation fault from clang++ at 4679/38522. Cant build :/

seppia commented on 2020-04-27 19:26 (UTC)

@Rowisi libopenjpeg issue is still not clear what is caused by so we'll keep the fix for now. About hw acceleration I would geuess this could not entirely depend on new chromium (and/or ungoogled) releases but I might be completely wrong.

commented on 2020-04-27 06:58 (UTC)

@seppia Well, I think I was wrong, the latest version has broken VAAPI for Intel and AMD gpu.

commented on 2020-04-27 05:09 (UTC)

@seppia I just compiled ungoogled chromium from the github repo and it works fine.

sed -i '/use_system_libopenjpeg2=true/d' "out/Default/args.gn" is still needed.

seppia commented on 2020-04-26 11:20 (UTC)

@arch-dev Archlinux patchset was broken with new chromium versions. I was wating for a pull request which should fix it to be merged. It has been merged less than a day ago. I'll test it and update soon.

Anyway please consider that even if a new version of ungoogled-chromium is released, it need a bit of extra testing and configuration for it to be buildable and functional on archlinux. This configuration is almost completely made on dedicated ungoogled-chromium-archlinux repository on github. This process may take time. As I recently said, if the needed fix is minor I will add it to the PKGBUILD, if not, I will wait for official configurations and patches to be updated.

arch-dev commented on 2020-04-26 10:29 (UTC)

@seppia: This package is 4 releases behind the upstream. Can you please update it?

eita commented on 2020-04-25 08:44 (UTC)

Hi, I have a question why it build too long ? Thank you.

nathanielcwm commented on 2020-04-25 07:59 (UTC)

Maybe you should try using ccache?

Jojosh commented on 2020-04-12 04:16 (UTC)

@JstKddng After 12 hours of building I can confirm that this helped. Thank you.

JstKddng commented on 2020-04-10 20:12 (UTC)

@Jojosh

you have to recompile, say no to partial upgrades

Jojosh commented on 2020-04-10 19:13 (UTC)

The latest update of Jsoncpp broke Ungoogled Chromium for me. Regardless if it's this one or the bin version. It says that libjsoncpp.os.21 cannot be found. Downgrading to the older version of jsoncpp helped with that issue. I'm not sure if that is the right place to post this here as I'm new to this but it hope that it helps some people.

malcolm commented on 2020-04-07 20:31 (UTC)

you're not managing to keep this package up to date as you should. So, the right thing to do would be for someone else to take over the maintenance of that package.

Blind55 commented on 2020-03-11 15:08 (UTC)

@seppia: You make a good point, and I understand your sentiment. My only comment would be: since there is a simple workaround (a 'sed' one-liner), we can look for the issue while using an up-to-date package as well; the story would be different if the fix was difficult to implement.

seppia commented on 2020-03-11 12:44 (UTC)

Last weeks I've been trying to find out what could cause the linking failure issue, but with no success. I was hoping for someone of the ungoogled contributors, specifically for the archlinux version, to discover if the issue could be due to a particular way the linking is performed, since I have no time and resources to investigate it myself.

I must say I personally don't like this solution especially because I have always tried to keep this script as close as possible to the "official" ungoogled one, to avoid confusion and encourage contributions on github repo instead of modifications on various aur scripts. Of course this solves the issue, for now, and it isn't much of a big deal, but I would really like to encourage every one who can or simply hasn't thought about it, to join the discussion on github in order to find better solutions or at least determine some are just the only solutions feasible. Anyway I appreciate every contribution here, I'm just saying this because I would rather spend a little time investigating and waiting, if possible, to find a proper solution, as in arguably better for the most, then let this easily and rapidly become a patchwork whith little track of the changes and evatually difficulty to properly revert o modifiy further when needed (what instad github is better suiter for).

Please tell me if my concerns seems excessive to you and feel free, as I have always said, to contribute here in every way you might find helpful.

JstKddng commented on 2020-03-09 20:15 (UTC)

@jfk

I think so, if nothing happens in some days, I'll open an orphan request.

jfk commented on 2020-03-09 20:07 (UTC)

Is this still maintained?

MasterOne commented on 2020-03-08 08:42 (UTC)

Damned, too late, already made the daily upgrade on our two machines. It's not a show-stopper because we currently barely use ungoogled-chromium, but hopefully a fix will be found nonetheless.

orlfman commented on 2020-03-08 05:13 (UTC)

@rowisi right now it's not going to be you're going to have to rebuild but rather can't rebuild at all since the package is broken before the re2 update sadly. completely fails to build.

JstKddng commented on 2020-03-07 22:26 (UTC)

thanks for the heads up @Rowisi

commented on 2020-03-07 22:15 (UTC)

the last re2 package upgrade broke chromium! Don't upgrade it or else you'll need to rebuild it.

orlfman commented on 2020-03-04 23:22 (UTC)

yeah its failing to build for me too with the same error: ld.lld: error: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/9.2.1/../../../../lib64/libopenjp2.so: undefined reference to __exp_finite

nathanielcwm commented on 2020-03-04 12:46 (UTC)

Package won't build: https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/57

commented on 2020-02-29 15:32 (UTC)

@seppia IMPORTANT: before pushing your update, you have to change use_system_libopenjpeg2 to false in flags.archlinux.gn or the linking will fail at the end (you can make a command to change it in PKGBUILD)

JuniorJPDJ commented on 2020-02-27 10:31 (UTC)

There's no need, new version just came :)

NullRoute commented on 2020-02-24 17:37 (UTC)

@archieslove, no confusion. Maintainer just need to change PKGBUILD version like this "80.0.3987.106-2".

archieslove commented on 2020-02-24 14:05 (UTC)

@aurelieng @NullRoute Thanks for the help. I was able to build it.

@NullRoute I don't think you need to flag the package as it's just a minor change and doesn't involve any new version. Can cause quite a confusion to the people who already built it if there's a new update and building it again the same thing would be a waste.

commented on 2020-02-24 13:04 (UTC)

You can download latest version (80.0.3987.106-1-x86_64) binary package from; https://zvoid.org/arch.html

NullRoute commented on 2020-02-24 10:21 (UTC) (edited on 2020-02-24 12:47 (UTC) by NullRoute)

I can now confirm that patch provided by "Megumi_fox" works and I was able to compile latest version using latest "glibc" libraries.

@Megumi_fox, Thank you for the patch!


Workaround for those who still want to use old version 79, can downgrade there glibc and lib32-glibc to version 2.30. This works too, I confirmed it yesterday.


Maintainer of the package please update PKGBUILD with "Megumi_fox" patch. (I flagged the package)


@IEPforAUR, You should learn how to read manual/wiki.

missingSleepDeps commented on 2020-02-24 07:40 (UTC)

so screen pamac --rebuild ungoogled-chromium?

NullRoute commented on 2020-02-23 21:20 (UTC) (edited on 2020-02-23 21:37 (UTC) by NullRoute)

Tried compiling this newest version and always get same error at the end.


[37483/37483] LINK ./chrome FAILED: chrome 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. ==> ERROR: A failure occurred in build(). Aborting...


I will try one more time with patch provided by "Megumi_fox" and report back.


@archieslove, Just run command;

patch PKGBUILD fixme.patch

(copy/paste patch text to fixme.patch)


@IEPforAUR, use "screen" to build your packages.

https://linux.die.net/man/1/screen

missingSleepDeps commented on 2020-02-23 19:34 (UTC)

Does anyone here know how cgroups work/where to edit this so that the build process doesn't freeze the system while I'm wanting to do other tasks on it at the same time?

njhanley commented on 2020-02-22 21:52 (UTC)

@aurelieng The base-devel group is supposed to be installed before using makepkg.

aurelieng commented on 2020-02-22 08:55 (UTC)

I tried to build the package in a clean chroot using yay, and it fails unless I add manually install bison. Is there a reason why bison is not listed as a build dep, or should it be added?

@Megumi_fox: thanks for the extra line

@archieslove: you can open the PKBUILD and insert the sed line where it should be (line 131, cf. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ungoogled-chromium )

archieslove commented on 2020-02-20 23:31 (UTC)

@Megumi_fox Can you please elaborate ? Where to put those lines exactly in the pkgbuild ? Kinda lost as I'm new here.

solnce commented on 2020-02-20 13:21 (UTC)

@Megumi_fox Patch works wonderfully! Thanks!

lunainvictum commented on 2020-02-18 19:51 (UTC)

Building fails (again) at last point "Link" because of libopenjp2.so error.

Please Update the pkgbuild.

Megumi_fox commented on 2020-02-18 11:11 (UTC)

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'

solnce commented on 2020-02-17 21:00 (UTC)

I just tried to build the PKGBUILD for version 80, and I get the same error.

d351d3r commented on 2020-02-17 10:54 (UTC)

The assembly failed. At the very end, errors got out. See the log https://gist.github.com/d351d3r/739f560d6642064643d0e0d17b75fabf

dreamsmasher commented on 2020-02-14 17:38 (UTC)

@solnce Getting the same error here. Build failed right near the end :(

solnce commented on 2020-02-14 12:53 (UTC)

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.

JstKddng commented on 2020-02-11 02:54 (UTC) (edited on 2020-02-11 02:57 (UTC) by JstKddng)

@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.

commented on 2020-02-10 20:06 (UTC)

@dumblob you can download the package and install it manually.

sorice1123 commented on 2020-02-10 19:29 (UTC)

@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.

dumblob commented on 2020-02-10 14:52 (UTC)

@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.

JstKddng commented on 2020-02-07 02:21 (UTC)

@sorice1123

huh, nice. We could try using that for a new -bin package.

sorice1123 commented on 2020-01-31 11:47 (UTC)

@JstKddng

I opened a pull request in the -Arch repo with an auto build script. It generates a pkg file now but I can make it packs another tar.gz file too.

JstKddng commented on 2020-01-29 00:16 (UTC)

@sorice1123

Yes, I was thinking of using the linux-portable binaries but that would require some time to learn how it works in order to update them. Sadly, I currently don't have the time to learn it, sorry.

sorice1123 commented on 2020-01-25 21:32 (UTC)

@JstKddng

I read the mailing list but I am confused. Is the problem repackaging of a .pkg.tar file plus the binary is not official? Then (1) we just need to make it .tar.gz (2) make it built in the official repo. I think that's pretty possible.

JstKddng commented on 2020-01-22 12:39 (UTC)

@solnce

Other trusted users agree with eshwarts decision, so can't do anything about it. They did say someone could recreate it if possible, so go ahead if you want. Here's the mirror of that package: https://github.com/jstkdng/ungoogled-chromium-bin

solnce commented on 2020-01-22 11:18 (UTC)

https://lists.archlinux.org/pipermail/aur-requests/2020-January/036088.html

JstKddng commented on 2020-01-20 19:07 (UTC)

@bsdice

// You already know about my repository, there really isn't a shorter way about it.

// Next, the OBS is needed as a build box, nothing else, not everyone has a 16 core 32 t rig in order to build this. And I don't think it could be adopted to the main repositories as Arch tries to keep the packages as pristine as possible, as in, without any non-REQUIRED patches.

// Finally, you could take that recommendation to the aur-general mailing list, they will probably just tell you to just open an orphan request if the current owner doesn't update promptly.

@Rowisi

I just don't see any way possible to have an ungoogled-chromium-bin package which would not require repackaging and don't be a pain when some library gets updated which breaks some binary because it was linked to the older version. I've gone through that, it's not entertaining.

Regarding the OBS, Eloston could ditch the ungoogled-chromium-binaries organization and just switch to an organization in the OBS.

commented on 2020-01-20 18:06 (UTC)

@bsdice they have already a build server for AUR https://pkgbuild.com but only trusted users can use it, chromium-vaapi-bin uses it (which it downloads the compiled chromium-vaapi package from pkgbuild.com)

We need a trusted user to create ungoogled-chromium-bin package and then he can add someone to maintain the package (@seppia or @jstKddng)

Or else we have no choice but to make a common OBS package for everyone like the maintainer of icecat did.

bsdice commented on 2020-01-20 14:06 (UTC)

TLDR: My gripe here is the continuing departure from Arch in-universe methods of delivering this package. Everyone contributing to this package is creating value, but that comes with another single point of failure. Shouldn't this be improved?

// The critical chain is getting really long. Chromium -> Eloston Github -> JstKddng Github -> Rowisi Github -> Opensuse Build Service -> User download and usage. Looks very scary. Any way to shorten this?

// Why is OBS even needed? What would it take to have the package in the community repo? No trusted user liking this package enough? One would think Google the company has damaged Chromium enough already to make a desktop Linux user switch to this package.

// Since the internet browser is the most security-critical component in any modern Linux desktop, I cannot with good conscience roll this out to friends and family Linux desktops. I would really want to. Having compiled this package over 20 times myself, I get that this is one complicated beast. Also on a long enough time scale, people go away. They switch distributions, marry, die, take up shrimp farming instead whatever. What we lack in AUR here is what Github has made big:

  • projects can be run by a group not single persons, to increase the bus factor above 1

  • pull requests for contributions, to lighten maintainer workload

  • continuuous integration, to automate new builds for distribution

// Does Arch need more money for infrastructure to make this happen?

commented on 2020-01-20 13:06 (UTC)

@treeshateorcs I don't think its possible with OBS. its only possible if a build service has SSH support so I can add my github's SSH key and download UE source from command line.

treeshateorcs commented on 2020-01-20 12:45 (UTC)

@Rowisi

would be super cool, if you somehow would make unreal engine built on obs, but i don't think it's feasible, given that it's behind a closed access repo

commented on 2020-01-20 12:42 (UTC)

@ijann glad it helped.

I have made a github repo to show what changes I've made to PKGBUILD to make it work on OBS: https://github.com/OBS-AUR/ungoogled-chromium

I am also planning to add more packages soon :)

ijann commented on 2020-01-19 18:46 (UTC)

thanks @Rowisi

ijann commented on 2020-01-19 17:13 (UTC)

Uncle how heavy, all night and all morning building and compiling to use this browser, can you tell me a way to install it faster, I can't be like that a new update will send me the same time, How grotesque not to upload an already built file.

If you give me any clues on how to download the installer already built, I don't repeat this again, I would appreciate.

commented on 2020-01-19 14:17 (UTC)

I have made an OBS build for this package

https://build.opensuse.org/package/show/home:Rowisi/ungoogled-chromium

You are welcome.

commented on 2020-01-19 00:30 (UTC)

Opensuse build service is really good. https://build.opensuse.org/package/show/home:Rowisi/ungoogled-chromium

I just changed dependacies in PKGBUILD from the _system_libs to the depends list because OBS resolves dependencies from it to install them offline.

Anyone can install the package by clikcing on Download package and then clicking on Grab binary packages directly

after, you can install it with sudo pacman -U ungoogled-chromium-(version).pkg.tar.xz

JstKddng commented on 2020-01-17 14:37 (UTC) (edited on 2020-01-17 14:38 (UTC) by JstKddng)

@treeshateorcs

you have to add all missing dependencies to your depends array in your PKGBUILD. Like, ALL of them. Check my PKGBUILD, it should have all the required dependencies.

treeshateorcs commented on 2020-01-17 13:55 (UTC) (edited on 2020-01-17 13:56 (UTC) by treeshateorcs)

@JstKddng i did that, and now i have this

...

[ 70s] now finalizing build dir...

[ 71s] SIOCSIFADDR: File exists

[ 72s] Running build time source services...

[ 73s] Preparing sources...

[ 73s]

[ 73s] We trust you have received the usual lecture from the local System

[ 73s] Administrator. It usually boils down to these three things:

[ 73s]

[ 73s] #1) Respect the privacy of others.

[ 73s] #2) Think before you type.

[ 73s] #3) With great power comes great responsibility.

[ 73s]

[ 73s] sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

[ 73s] ==> ERROR: 'pacman' failed to install missing dependencies.

[ 73s] ==> ERROR: Could not resolve all dependencies.

[ 73s] failed to prepare sources

[ 73s]

[ 73s] sheep82 failed "build PKGBUILD" at Fri Jan 17 13:24:53 UTC 2020.

[ 73s]

[ 73s] ### VM INTERACTION START ###

[ 79s] [ 64.101274] sysrq: SysRq : Power Off

[ 79s] [ 64.111693] reboot: Power down

[ 79s] ### VM INTERACTION END ###

JstKddng commented on 2020-01-17 12:56 (UTC)

@treeshateorcs

you have to setup the Arch repositories. There should be Arch/Core, Arch/Extra and Arch/Community.

cerberusec commented on 2020-01-17 06:13 (UTC)

@treeshateorcs

THANK YOU :)

I had to explicitly set LIBVA_DRIVER_NAME=nouveau in /etc/environment. My self-built ungoogled-chromium works great now! Thanks again

treeshateorcs commented on 2020-01-17 05:25 (UTC)

@cerberusec

yep, i only get these

[79551:79551:0117/082339.508695:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process. [79551:79551:0117/082339.711959:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

you may want to install the vaapi drivers. look up hardware acceleration on the wiki

cerberusec commented on 2020-01-17 05:22 (UTC)

Is anyone else getting this error when starting chromium?

ERROR:vaapi_wrapper.cc(422)] vaInitialize failed (ignore if using Wayland desktop environment, refer:(Github)akarshanbiswas/chromium-vaapi/issues/7): unknown libva error

treeshateorcs commented on 2020-01-17 05:06 (UTC)

@JstKddng

could you please tell me what's wrong with my build? https://build.opensuse.org/package/show/home:treeshateorcs/ungoogled-chromium

i see "nothing provides ninja, nothing provides quilt" but you somehow got it working. how?

JstKddng commented on 2020-01-17 03:13 (UTC)

@cerberusec

Basically, ungoogled-chromium-bin was removed by a trusted user because repackaging isn't allowed in the aur.

cerberusec commented on 2020-01-16 23:06 (UTC) (edited on 2020-01-16 23:07 (UTC) by cerberusec)

Just a heads up for anyone else with a similar issue. I was getting build errors right around the 17k mark (very annoying) apparently due to insufficient RAM. If you're building in a VM, be sure to bump it up to 8GB and it should resolve the issue...

That said, does anyone know why ungoogled-chromium-bin suddenly disappeared with no trace?

JstKddng commented on 2020-01-16 12:50 (UTC)

@treeshateorcs

osc is just a svn wrapper, and if you'd like an example to begin with you can check out my obs repo: https://build.opensuse.org/package/show/home:justkidding:arch/ungoogled-chromium

@Rowisi

I understand, but that build service is being used by them to create the packages for its distributions, so at least they have a reason to keep the service secure.

treeshateorcs commented on 2020-01-14 21:54 (UTC)

oh i think i have figured out how build.opensuse.org works. my mistake was trying to understand how to work with osc

commented on 2020-01-14 21:28 (UTC)

@JstKddng I know that OpenSuse has a good reputation but I really can't trust any free build service nowadays. Bitcoin miners are everywhere right now and they can inject their viruses even with bytecodes. Even if they get exposed, they will just blame it on "a hacker hacked our servers... bla bla bla" and they won't get punished for that.

this applies for paid services aswell.

treeshateorcs commented on 2020-01-14 18:51 (UTC)

also, is it really free? and i can build anything?

treeshateorcs commented on 2020-01-14 18:51 (UTC)

@JstKddng

hey, opensuse build service looks great, but my feeble brain can't comprehend its tutorial, if possible could you please list the steps necessary to build an arch package on it?

JstKddng commented on 2020-01-13 00:05 (UTC)

@treeshateorcs

Same as @Rowisi, just leave it compiling before going to sleep, it should be done by the time you are awake. I used to do that before finding out the OpenSUSE's Build Service. Really helped out with the electric bill.

commented on 2020-01-12 14:20 (UTC)

@treeshateorcs I usually run makepkg or yay on a non-graphical interface like (tty2) and I connect to wifi with nmtui command. You can also build the package before you sleep and you will find everything finished when you wake up. I find 3 hours and 6GB (after compiling storage) worth it for this package.

eimis commented on 2020-01-11 19:55 (UTC)

I gave up on this. extensions just crash, and installing them is awkward. I'll let them spy on me with extra/chromium

treeshateorcs commented on 2020-01-11 19:53 (UTC)

is there any way to speed up the building a bit? it takes 3 hours of a smoking hot laptop for me. maybe there is a chromium git repository or something so it doesn't download and clean the build directory every time?

MasterOne commented on 2020-01-07 07:53 (UTC)

@JstKddng

That guy is still here using Arch Linx and the ungoogled-chromium binary build from your repo ;)

It's true, I'm currently looking into FreeBSD to replace Arch Linux on my laptop, and this time around it really seems to be ready to make this possible, but that matter, which browser to use and what the future holds, is not dependent on the used OS.

@settyness

I'm not sure what IceCat is supposed to make different than Firefox, last time I looked into this, it was only to remove the Mozilla branding.

@bsdice

QuickJS looks interesting, but likely a long way from something usable. I doubt to see a functional web browser with it in 2020, but at least there is hope.

During my research into the BSDs I found out that the OpenBSD devs really seem to like stock Chromium, for which they even added unveil support (OS level hiding of file system access except ~/Downloads). According to some instructions you should be able to achieve around 90% of what projects like Iridium or ungoogled-chromium do by configuration, without the paranoid need to remove any URL-references in the source code.

That said, I haven't used ungoogled-chromium much lately, but I have played around with Netsurf (with JS disabled) quite a bit, which performs as well as Bromite (with JS disabled) on my Android phone. Quite a working option when just reading manuals, blogs and other sites that are still operational without JS.

But we really need something new that brings back the secure web with privacy in mind. I will keep a close eye on development around QuickJS for sure!

JstKddng commented on 2020-01-07 04:03 (UTC)

@settyness

Don't bother with that guy, he is in one of the BSDs. Regarding icecat, you could use Parabola's package, just download it.

Regarding the deletion, ungoogled-chromium and ungoogled-chromium-bin aren't related, so this package should be safe from the crusade of @eschwartz of purging degenerate packages from the AUR.

I have a mirror of the original package if anyone wants to re-add it here. https://github.com/jstkdng/ungoogled-chromium-bin . You will have to wait though, as the git repo still exists here. Might be deleted again as it seems @eschwartz is a REALLY trusted Trusted User™ (by reading from the aur-requests mirrorlist), after all, he must have had a good reason to do it, right????. He even deleted the ungoogled-chromium-archlinux package himself, lmao.

Final thoughts, you could use my repository as a replacement for ungoogled-chromium-bin for now. Just follow this instructions: https://github.com/jstkdng/ungoogled-chromium-archlinux#downloads . Nothing suspicious, as those packages come from my OpenSUSE's build service repository: https://build.opensuse.org/package/show/home:justkidding:arch/ungoogled-chromium . I just have my own repository since I don't have control over the private keys in the OBS.

Oh well, good luck and hope this doesn't happen to you @seppia.

bsdice commented on 2020-01-07 04:02 (UTC)

Will you stick to ungoogled-chromium no matter what?

@MasterOne

Sorry for late reply, somehow I missed your question. I will stick to ungoogled-chromium because a) chromium code base is the most aggressively security-bugfixed browser today b) since Edge browser will switch to chromium's engine(s) under the hood, it will be the browser most sites will optimize for and be compatible with going forward c) hardware accelerated video for H.264/H.265 d) paranoid privacy of this fork.

My fallback thus far has been Palemoon. If manifest v3 cripples the extensions that I use and want (uBlock Origin, uMatrix, Tampermonkey, Editthiscookie, and some more), and no patches can revive them, I will reconsider. Pure Firefox is out of the question, the Mozilla organisation is pretty much governed by money and can't be trusted. IMO they're fed ad dollars by Google only to have a 'competitor' on paper, should congress turn nasty on Google in an anti-trust case.

I saw Fabrice Bellard has single-handedly written "QuickJS", a MIT-licensed javascript engine. Maybe a whole new browser with 1/20th the code base of chromium will appear in the 2020s that uses it. If some super-freaks get together to build one, the market in a world governed by the FAANG companies is certainly there.

settyness commented on 2020-01-07 02:12 (UTC)

@MasterOne The answer is GNU IceCat. If you're serious enough to build the package, you can use provided icecat package here on the AUR. I used to use ungooged-chromium-bin for normie browsing, but that's about it. I honestly wouldn't trust any Chromium derivative these days for everyday browsing. I came here to check on the status of this project, since its binary has been removed from the AUR.

It kinda sucks there isn't a decent option for using normie stuff like workday or bank accounts. You pretty much just have to suck it up and go vanilla Chromium or something else, unless you wanna spend time building this for little gain. Again, GNU/IceCat is great for everyday use and just general browsing where blocking everything is acceptable.

devnoname120 commented on 2020-01-05 17:41 (UTC) (edited on 2020-01-06 11:02 (UTC) by devnoname120)

Install them manually then use https://aur.archlinux.org/packages/chromexup/ to update them.

eimis commented on 2020-01-05 17:12 (UTC)

how do you guys install extensions?

MasterOne commented on 2019-12-02 14:01 (UTC)

@bsdice, yes, this is of big concern!

I am still drawn between the use of Firefox and ungoogled-chromium, and I just can't seem to be able to make up my mind. Will you stick to ungoogled-chromium no matter what?

bsdice commented on 2019-12-02 10:11 (UTC)

To whom it may be of concern:

Chromium, and thus ungoogled-chromium, today has sadly become only a second-class citizen when it comes to blocking web objects from unwanted sources: https://github.com/gorhill/uBlock/commit/3a564c199260a857f3d78d5f12b8c3f1aa85b865

TLDR; The ad industry is abusing a DNS feature to "cloak" their servers, in order to be more difficult to block. Countermeasures require browser support that only Firefox has today. I would hope that a developer can come up with a patch over the holidays that adds the webext API "dns" to ungoogled-chromium. And that Gorhill can implement this as an option for the Chromium version.

Does Google have an interest to not implement this, because they are foremost an ad-company? Sure. Do I not want to execute unknown and malicious javascript on a browser with sub-par security on Intel CPUs with abysmal security track record? For sure. Will 99.9% of users care? Surely not, they eat what Google or Microsoft care to serve.

jfk commented on 2019-11-17 19:54 (UTC)

@seppia @Megumi_fox: thanks for your quick feedback and update. Apparently that was indeed the problem.

seppia commented on 2019-11-17 09:48 (UTC)

@jfk your error (which can't be determined only from the line you pasted here) was probably due to the icu 65 bug in chromium reported here by Megumi_fox. You should now be able to build ungoogled-chromium again.

seppia commented on 2019-11-17 09:45 (UTC)

I temporarily added explicitly into the PKGBUILD the patch needed for building against the new icu, so you could already build ungoogled-chromium again while this patch is being added to ungoogled-chromium-archlinux on github.

Megumi_fox commented on 2019-11-15 08:36 (UTC)

building this pkg got this: In file included from gen/third_party/blink/renderer/core/dom/dom_jumbo_2.cc:14: ./../../third_party/blink/renderer/core/dom/document.cc:6235:39: error: expected ';' after do/while statement^M U16_NEXT(characters, i, length, c) ^ ; 1 error generated. @jfk Seems like need this patch https://git.archlinux.org/svntogit/packages.git/plain/trunk/icu65.patch?h=packages/chromium

jfk commented on 2019-11-15 00:41 (UTC) (edited on 2019-11-15 01:03 (UTC) by jfk)

Got this while updating 78.0.3904.97-1:

1 error generated. [21579/22451] CXX obj/third_party/blink/renderer/core/exported/exported/exported_jumbo_8.o ninja: build stopped: subcommand failed.

Not very comprehensive. Any idea?

JstKddng commented on 2019-11-11 20:19 (UTC)

@bsdice

Another thing to add to the list is that chromium is faster that FF, also, once google releases the new changes it will probably take some time for ungoogled chromium to catch up. And maybe at that point ungoogled chromium will start to diverge a lot from upstream chromium.

bsdice commented on 2019-11-11 16:20 (UTC)

@MasterOne Concerning Firefox's drawbacks I can only offer a rather personal list:

  • Privacy concerns, like sending all DNS traffic to Cloudflare
  • Tracking on by default (hyperlink auditing)
  • The bundled Cliqz crapware affair
  • No VAAPI hardware acceleration for video (doubling or tripling power usage)
  • Abandonment of XUL two years ago led to alot of functionality breakage
  • Using same profile with old/new versions will corrupt the profile
  • Trying to nudge users into a privacy-hostile Firefox Account for their profile
  • Much less rigorous auditing of code base (or how to explain CVE-2019-15903) compared to Chromium's manpower, including Project Zero
  • Even for seasoned developers building binaries is most painful
  • Ads on the start screen
  • Other breakage like the expired add-on certificate, disabling add-ons (that one hit the Tor Browser Bundle users hardest)
  • 90% or more of Mozilla Foundation's revenue is coming from Google through their search engine preference deals. Google does not need this, considering Firefox' small market share (3-5% depending who you ask). IMO they are keeping Mozilla only alive to be able to thwart off browser antitrust allegations, should they arise in the future. "What do you mean there are no alternatives!?". In case the stack of lobbying money in Washington D.C. fails to provide the expected return on investment.

Sounding a bit like RMS or deraadt here, apologies. Also only tangentially relevant for this package, again apologies. I would donate 50 bucks to keep ungoogled-chromium alive with all its plugins. My fallback plan is the Palemoon browser, a Firefox fork, also available here in AUR.

MasterOne commented on 2019-11-11 14:45 (UTC)

@bsdice, thanks for the information and quite a bummer. Hopefully these changes really can be reverted!

I agree with your statements about the claims by Chromium + Google Developers and Pi-Hole users, but I'm not so sure what you mean concerning Firefox. Can you please elaborate on that?

I currently have ungoogled-chromium and Firefox installed, but after some playing around, I am only using Firefox, mainly due to the possibility to use containers (Multi-Account Containers + Facebook Container + Temporary Containers).

I really wanted to go for ungoogled-chromium, not only for HW accelerated video support, but I just didn't get comfortable with it, especially with Extension Manifest V3 looming over its head.

Sorry for OT and I know this is not a discussion forum, but I'm always looking for some more info and I'm curious why others prefer a Chromium-based browser over Firefox. ;)

bsdice commented on 2019-11-11 13:14 (UTC)

Just a heads-up: "Google Begins Testing Extension Manifest V3 in Chrome Canary" https://news.ycombinator.com/item?id=21503049

This change is sabotaging the efficient filtering of web content by browser extensions for security purposes, i.e. to deny known-insecure servers execution of their code on your machine. uBlock Origin and uBlock Matrix are affected. Related: https://github.com/uBlockOrigin/uBlock-issues/issues/338

I am hoping this change will be reverted by Eloston, Debian and us here on Arch.

Claims by Chromium and Google developers that this change and its "32k rules limit" leads to a "more secure web browsing experience" are false.

Claims by users that Raspberry-Pi-based "Pi-hole" DNS filters in your home network are "offering equal functionality" are false.

Claims by Firefox users that their browser is offering equal functionality, stability, security or compatibility are false.

seppia commented on 2019-09-26 08:26 (UTC)

@a_manthey

The 22px logo just seems to have been removed from the sources, even the chromium PKGBUILD from official repo just removed it from packaging so I did the same.

a_manthey commented on 2019-09-25 21:10 (UTC)

I get an error in package():

"install: der Aufruf von stat für 'chrome/app/theme/chromium/product_logo_22.png' ist nicht möglich: Datei oder Verzeichnis nicht gefunden"

fixed it by renaming of file "chrome/app/theme/chromium/product_logo_22_mono.png" to "product_logo_22.png".

MasterOne commented on 2019-09-23 13:14 (UTC)

@JstKddng

I've just sent you an email before the discussion here gets out of hands ;-)

This is important to me, because I want to actually use ungoogled-chromium with Intel hardware acceleration without having to manually check and fiddle around with updates in the long run.

The best solution to this problem may win!

JstKddng commented on 2019-09-23 12:29 (UTC)

@MasterOne

obligatory xkcd: https://xkcd.com/927/

MasterOne commented on 2019-09-23 10:59 (UTC)

@bsdice

That's exactly that I want too! So all we need is (another) AUR package to fulfill all these needs?

bsdice commented on 2019-09-23 10:56 (UTC)

@MasterOne To add some more to the confusion, there is AUR chromium-vaapi{,-bin} and that includes the patch https://aur.archlinux.org/cgit/aur.git/tree/vaapi-fix.patch?h=chromium-vaapi which is needed on top of normal chromium. Eloston carried that patch for a while, but at one point has disabled it. No idea why. I don't want any Google phonehomium though.

My problem is, I want everything. Push the envelope security- and feature-wise of what is possible. I want my browser fully ungoogled for data privacy, I want working VAAPI hwdec acceleration, I need it up-to-date, I don't want to fight compilation errors, I want extensions managed by myself using chromexup (to lower risk of getting auto-updated extension malware installed in case an extension author's account is taken over). Also I want state of the art subpixel font rendering on non-retina displays with a bunch of infinality stuff from cairo-ubuntu thrown in, so websites look terrific. Better than Windows 10 at times I think.

Got all that working. Only thing missing imho is auto-update through AUR.

MasterOne commented on 2019-09-23 10:16 (UTC)

@bsdice @seppia @JstKddng

Interesting point about VA-API for Intel GPUs, I didn't know that that's not included in the official build.

If it's not intended or desired, to have that added to the official build by default, can it be managed by a flag before the build process, or would it make sense to have that variant as a separate AUR package (something like "ungoogled-chromium-intel")?

bsdice commented on 2019-09-23 09:56 (UTC)

Maybe "ungoogled-chromium" should be an AUR group effort, instead of single people making (and breaking) each their own packages. No idea how to implement this on AUR, though. At 100+ votes for this AUR alone that sounds not too unreasonable?

For what it's worth I am one of the https://github.com/jstkdng/ungoogled-chromium-archlinux users, because:

  • Kept up-to-date nicely to fight security holes. A conditio sine qua non for a web browser these days.

  • Consistently compiles for me, vs. this or upstream -archlinux AUR variant. Though I haven't checked the latters in a while (months).

  • Implements VAAPI for Intel GPU users to use video decoding hardware acceleration. On laptops playing Youtube this makes a huge difference in battery life. Needs package libva-intel-driver and #ignore-cpu-blacklist enabled in chrome://flags/ and you're good to go. On top I use compton with minimal config for anti-tearing on X11. Works great.

seppia commented on 2019-09-23 08:48 (UTC)

@MasterOne

No problem. Obviously I now updated in a hurry and missed this: https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/30 so PKGBUILD is now broken and fails in the patching phase. Since it seems they've already solved the issues, I will wait for upstream to fix and then update this package again. So do not attempt to build now or just use the old version (just go back to the previous commit).

MasterOne commented on 2019-09-23 08:04 (UTC)

@seppia

Sorry, I did not want to imply that you don't keep this package up-to-date, I just found my way to ungoogled-chromium yesterday and it seemed confusing and not straight forward that there are three AUR packages for the same software.

I very much appreciate the maintenance of the official AUR package and I'm eagerly awaiting the update as I don't want to use a third-party binary.

So please keep up the good work :)

seppia commented on 2019-09-23 07:40 (UTC)

@MasterOne @JstKddng

I really don't understand why people keep saying I don't keep this package up to date. It has been less than two weeks since I last updated it and less than one since the new version came out. I may have taken my time in the past to update the package but I always have eventually. Every time I update I have to be sure the package is working with the new version, especially if it is a major (version) update and so even wait for the build to complete. It takes time and I can't spare it every day of the week, but I try to keep up. In addition to all of this you must know that it is not always that simple to update this PKGBUILD, since when a new ungoogled-chromium version comes out some changes may need to be performed on the ungoogled-chromium-archlinux patching scitps, which is the official repo you mentioned and which doesn't have a proper verioning and that creates the most confusion. And this changes are not always made proptply, so I usually wait for them since I don't have time to loose doing in advance some work that someone will eventually do better than me. If you are interested in my concerns and the decisions made to version that repo, please read the relative issue on github and feel free to add your contribution. I would just repeat here that this PKGBUILD is exactly the same as any offical PKGBUILD you would find on the ungoogled-chromium repos reguarding build operations. The modifications I make are some minor adjustments to make it compatible to AUR guidelines and work around the very confusing versioning scheme adopted upstream which is, again, really confusing to any user that just wants to install the software.

Anyway, about the AUR packages... bin is bin and if you are ok with it... go on and istall it. I honestly never look at the -archlinux one and I can't say what are the changes or the scopes of that PKGBUILD but if I must guess... the final package would not change a bit. I you are in doubt, trust the community, this package is the most voted and popular (which is more important the the number or votes) and this assures me that what I'm doing is actually ok to most of the userbase of this package, so, again, if in doubt, you could always trust them and the feedbacks.

MasterOne commented on 2019-09-23 06:33 (UTC)

@JstKddng

So you maintain an own copy of the PKGBUILD in your github repo but don't have it as a package in AUR although there already is an official github repo for ungoogled-chromium-archlinux, which in turn points to this AUR package (ungoogled-chromium) with the AUR packages ungoogled-chromium-bin and ungoogled-chromium-archlinux not being related.

Maybe it would be a good idea to get in touch with @seppia to figure out who wants to keep maintaining the official AUR package?

Or do you have any plans to create your own AUR package?

I just want to use ungoogled-chromium and the current (quite unclear) situation is not really user-friendly. A PKGBUILD on github is no good in my opinion, there really should be a properly maintained AUR package.

JstKddng commented on 2019-09-22 20:03 (UTC)

@MasterOne

you should obviously use my PKGBUILD: https://github.com/jstkdng/ungoogled-chromium-archlinux /t

now, jokes aside, ungoogled-chromium-archlinux was a response to this package not being updated (afaik), it is a copy of the PKGBUILD maintained by upstream ungoogled-chromium (the aur package hasn't been updated in a while though).

ungoogled-chromium-bin is separate from ungoogled-chromium and exists for those unable to compile this behemoth of a browser.

If you don't trust some shady fork, use the upstream PKGBUILD. https://github.com/ungoogled-software/ungoogled-chromium-archlinux

MasterOne commented on 2019-09-22 16:56 (UTC)

I'm a little confused as to which build to use, because there are now 3 in AUR:

  • ungoogled-chromium (76.0.3809.132-1)
  • ungoogled-chromium-bin (77.0.3865.90-1)
  • ungoogled-chromium-archlinux (76.0.3809.132-1)

Obviously only the binary version is currently up-to-date, but I don't want to use a prebuilt binary.

What's the deal with ungoogled-chromium vs ungoogled-chromium-archlinux?

@seppia are you not using ungoogled-chromium anymore? Can you please post an update to the latest version?

NullRoute commented on 2019-09-15 14:29 (UTC)

@ seppia - Please make proper ungoogled-chromium-bin with latest version. Thank you!

devnoname120 commented on 2019-09-15 13:03 (UTC)

My bad, I meant to post this comment in https://aur.archlinux.org/packages/ungoogled-chromium-bin/.

Scrumplex commented on 2019-09-15 12:59 (UTC)

@devnoname120 you need to recompile ungoogled-chromium

devnoname120 commented on 2019-09-15 12:48 (UTC) (edited on 2019-09-15 12:48 (UTC) by devnoname120)

I have the following error when starting Chromium:

/usr/lib/chromium/chromium: error while loading shared libraries: libjsoncpp.so.20: cannot open shared object file: No such file or directory

It happens because the listed dependency (jsoncpp) doesn't have the same version as the one ungoogled-chromium was compiled against.

slondr commented on 2019-08-12 15:52 (UTC)

"patch: unrecognized option '--igonre-whitespace'"

Seems like there's a typo in one of the patch commands. This is preventing install for me.

JstKddng commented on 2019-08-11 00:58 (UTC)

@bsdice

well, I got those flags from the wiki and they work for me (and yes, most of those flags aren't in chrome://flags, don't sweat it), just use whatever works for you.

bsdice commented on 2019-08-11 00:36 (UTC)

@JstKddng Thank you! Your version is the best working VAAPI-enabled ungoogled chromium. I'd love to see your version in official AUR.

After compile I did a brief CPU load test using a random Youtube video in 1080p/50fps, rendered to a 1080p 60fps screen. CPU was a fanless Pentium Silver N5000 with 6W TDP (Acer Swift 1, model SF114-32, stock 8GB RAM 256GB SSD). I have kernel.unprivileged_userns_clone=1 active to enable native sandboxing, also using i3 on X11, modesetting driver, libva-intel-driver (intel-media-driver appears to have seeking problems still).

The CPU pretty much stays at the base clock of 1100 MHz all the time, although it could burst to 2700 MHz if necessary. Various chromium processes were using around 60% of one core in total. So pretty decent headroom here.

The only value in chromium-flags.conf necessary was --ignore-gpu-blacklist, dark mode stuff aside. Everything else led to glitches, did not exist in chrome://flags, or did not lower CPU load in any for me discernable way.

JstKddng commented on 2019-08-10 19:22 (UTC) (edited on 2019-08-10 19:22 (UTC) by JstKddng)

@thefallenrat

Are you compiling the new version Eloston bumped? It is working for me. I'm using a different pkgbuild though, check it out in my github repo:

https://github.com/jstkdng/ungoogled-chromium-archlinux

thefallenrat commented on 2019-08-10 13:11 (UTC) (edited on 2019-08-11 03:13 (UTC) by thefallenrat)

EDIT EDIT: The build works with added is_official_build=false flag

EDIT: Nvm the build failed

@seppia, please update your _archver variable to the latest commit of the project as it contains some removal of flags that will surely fix crashes on startup. See below for details: https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/22

Also, please don't use $pkgver reference in your ungoogled_repo variable. Cause I find it annoying that when I try to bump pkgrel, I have to switch all $pkgver reference to $_rev

JstKddng commented on 2019-08-09 23:23 (UTC) (edited on 2019-08-10 12:37 (UTC) by JstKddng)

Can confirm, the new vaapi patch from ungoogled-chromium is causing the crashes. The vaapi patch from chromium-vaapi works as expected. The only option would be to remove the vaapi patch and recompile. That's why I haven't released a new version for my repo.

Edit:

nope, still the same problem, Illegal instruction. We'll have to wait for Eloston now.

treeshateorcs commented on 2019-08-09 21:16 (UTC)

no binary build?

sorice1123 commented on 2019-08-09 00:36 (UTC)

@bsdice That is different from what I have seen. It is suspected the bug is related to some patches, not chromium itself. The bug is being tracked here.

bsdice commented on 2019-08-08 22:54 (UTC)

@sorice1123 I am getting:

[28336.619583] traps: ThreadPoolSingl[5638] trap invalid opcode ip:564223eb10d7 sp:7f7df77fcda0 error:0 in chromium[56422167b000+695e000]

Is that the same problem? Any link to a public bug-report? The Chromium bug tracker is not fully transparent with some similar bugs.

sorice1123 commented on 2019-08-08 20:07 (UTC)

Be aware that there is a bug in current version that will cause a crash on startup. Better wait for an update.

kronikpillow commented on 2019-08-08 13:57 (UTC)

well this was a total waste of my time, 4 hours of compiling, and it won't run after a successful compile/install ....

lunainvictum commented on 2019-08-07 20:40 (UTC)

Cant build again.

Aborts again at jumbo_3. Tried already -j 3 -l 3 for ninja...

lothaire commented on 2019-08-03 15:15 (UTC)

Obsolete version.

Reden commented on 2019-07-27 22:40 (UTC)

I see, seppia. Thank you for explaining. Anyways, a -bin package has appeared at https://aur.archlinux.org/packages/ungoogled-chromium-bin.

fan2ma commented on 2019-07-13 23:03 (UTC)

Built successful in 3h 54min. Changed the PKGBUILD line to "ninja -j 3 -l 3 -C out/Default chrome chrome_sandbox chromedriver" and increased /tmp to 12GB. Thank you.

g99 commented on 2019-07-09 05:09 (UTC)

ninja build err in jumbo_31.o is very common

try https://github.com/Eloston/ungoogled-chromium/issues/784

fan2ma commented on 2019-07-08 22:59 (UTC)

Tried to build on MSI H61MU-E35 with i7-3770S, 16GB RAM and 480GB SSD. PC freeze - needs disconnect power - at: 17033/20652 CXX obj/content/browser/browser/browser_jumbo_31.o Any sugestions?

seppia commented on 2019-07-01 22:28 (UTC)

@Reden I'm sorry but I have never been related to such package. Actually I'm quite against bin packages for a number of reasons. I think custom repository should be used instead in order to provide better security, consistency, reliability and relative easiness of use for the end user. If you want, and the invite is extended to anyone, you can use my personal repo where I build ungoogled-chromium for myself. I build it with this exact PKGBUILD you find here on AUR. You can find it at https://archlinux.seppia.net/ . Be aware that I do not sign any package, but I doubt that you could have had added security with the bin aur package anyway.

lunainvictum commented on 2019-06-24 07:25 (UTC)

Please update the PKGBUILD to latest commit https://github.com/ungoogled-software/ungoogled-chromium-archlinux/commits/master (or https://github.com/Eloston/ungoogled-chromium/commits/master)

Actually a build is not possible because of few bugs.

Reden commented on 2019-06-21 20:56 (UTC)

seppia, do you know what did exactly happen to the -bin version? JstKddng made a repository for -bin packaging, but I would like to know what did happen to the -bin main AUR package.

solnce commented on 2019-06-21 20:24 (UTC)

This won't build for me. I have set ninja to -j3. Log is shown here: https://pastebin.com/6zwS9hmJ

g99 commented on 2019-06-21 11:10 (UTC)

build may well break then use https://github.com/Eloston/ungoogled-chromium/issues/784

PKGBUILD build op:

ninja -j 3 -l 3 -C out/Default chrome chrome_sandbox chromedriver

limit to 3 threads or less when ninja screws up.

aNewDay commented on 2019-06-20 14:59 (UTC)

ERROR at //third_party/protobuf/proto_library.gni:369:15: Only source, header, and object files belong in the sources of a static_library. //out/Default/pyproto/google_apis/gcm/protocol/mcs_pb2.py is not one of the valid types. sources = get_target_outputs(":$action_name") ^--------------------------------- See //google_apis/gcm/BUILD.gn:78:1: whence it was called. proto_library("proto") { ^----------------------- See //BUILD.gn:86:7: which caused the file to be included. "//google_apis/gcm:gcm_unit_tests", ^--------------------------------- ==> ERROR: A failure occurred in build(). Aborting... Error making: ungoogled-chromium

seppia commented on 2019-06-18 14:47 (UTC)

I'm sorry for my two month absence, I should keep up updating now. For changes details please refer to https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/1

seppia commented on 2019-04-07 18:31 (UTC)

There have been made some changes in ungoogled-chromium and there now is a separate git repository handling archlinux packaging and building. There are some concerns about the decisions that must be done reguarding the versioning scheme in paritcular. You could read about it in details here https://github.com/ungoogled-software/ungoogled-chromium-archlinux/issues/1 . I've always followed upstream versioning because that was ideal, also for AUR PKGBUILD, but now, as already stated, some concerns have been risen. I'm honestly a bit confused and it's not very clear to me which solution would be better to adopt. I would like to know your opinion in merit, what this community thinks about it and I encourage and very much appreciate any direct involvement from anyone interested on github repo and issue.

Scrumplex commented on 2019-04-01 18:48 (UTC)

The PKGBUILD creates the symlink at usr/bin/chromedriver pointing to /usr/lib/$pkgname/chromedriver, which should actually be /usr/lib/chromium/chromedriver like the other links.1

Scrumplex commented on 2019-03-26 16:40 (UTC)

@rodneyck One quick DuckDuckGo search reveals, that it is for multi factor authentication with hardware. https://askubuntu.com/questions/844090/what-is-cryptotokenextension-in-chromium-extensions

gcarq commented on 2019-03-26 16:34 (UTC)

@rodneyck What is the name and the id of the extension? I'm fairly sure you are talking about the CryptoTokenExtension, which has nothing to do with Crypto currencies.

rodneyck commented on 2019-03-26 16:21 (UTC)

Be WARNED that this package comes with an extension for cryptos that you can not remove or disable. I am not sure if it is a crypto mining solution that runs in the background of the browser, but that fact I can't remove it tells me it is something dubious.

commented on 2019-03-14 14:11 (UTC)

@misaka00251

you have to compile it again against the new version of libvpx

misaka00251 commented on 2019-03-14 08:55 (UTC) (edited on 2019-03-14 08:57 (UTC) by misaka00251)

After an upgrade:

/usr/lib/chromium/chromium: error while loading shared libraries: libvpx.so.5: cannot open shared object file: No such file or directory

Checked /usr/lib, the version bumped to libvpx.so.6 now. Upstream problem?

romero commented on 2019-03-11 10:02 (UTC)

@Scrumplex - thanks for your help, that makes sense. The only other project I do have the same problem with is IceCat. Also quite big. I wonder whether it's possible to shorten compilation times for large projects, though...

Scrumplex commented on 2019-03-08 20:48 (UTC) (edited on 2019-03-09 07:53 (UTC) by Scrumplex)

@romero I think this should be expected, as Chromium is a large project. It takes around two hours on my Xeon E3 1230v5 on an HDD. You could always use one of the precompiled binaries or packages.

romero commented on 2019-03-08 15:43 (UTC)

Do have same CPU Problem. 100% usage and compilation takes 5-6 hours. (ThinkPad X220; 8GB RAM; Intel i7-2640M; i3wm; Manjaro X86_64; Kernel 4.19.24-1-MANJARO)

Pegasov commented on 2019-03-07 09:58 (UTC)

OK, so cleanbuild helped and the package compiled without any problems after removing it first. Update didn't work however

Pegasov commented on 2019-03-06 11:15 (UTC) (edited on 2019-03-06 14:48 (UTC) by Pegasov)

Update to 72.0.3626.109 doesn't seem to work. I get an error which looks like this: ==> Starting prepare()... -> Pruning binaries python: can't open file '/ungoogled-chromium-72.0.3626.109-1/run_buildkit_cli.py': [Errno 2] No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting...

suroa commented on 2019-02-18 17:30 (UTC)

How do I disable the jumbo build? I have 16GiB of RAM and during build time I have to disable everything on my computer in order for it to not crash.

evernow commented on 2019-01-20 02:24 (UTC)

This is weird. When I try to install this, my CPU usage goes to 100%, the OS starts locking up. Can't install it

dodamn commented on 2019-01-02 13:39 (UTC)

I've updated ungoogled-chromium from 69.0.3497.100-2 to 71.0.3578.98-2. Now, I cannot login Gmail. uc says cookie problems.

I'm using uc with "Block third-party cookies". After I turn off "Block third-party cookies", I can login Gmail.

Why does this happen on ver.71? At ver.69 and previous versions, there were not problems with "Block third-party cookies".

tzekid commented on 2018-12-26 15:51 (UTC)

Hey, I'm getting an error while trying to build the package. Any ideas how I can get it working?

Here's the error dump:

[5421/17722] ACTION //third_party/blink/renderer/core:make...ated_cssom_types(//build/toolchain/linux/unbundle:default)
FAILED: gen/third_party/blink/renderer/core/cssom_keywords.cc gen/third_party/blink/renderer/core/cssom_types.cc
/usr/bin/python2 ../../third_party/blink/renderer/build/scripts/core/css/make_cssom_types.py ../../third_party/blink/renderer/core/css/css_properties.json5 ../../third_party/blink/renderer/core/css/computed_style_field_aliases.json5 --output_dir gen/third_party/blink/renderer/core --gperf gperf
Traceback (most recent call last):
  File "../../third_party/blink/renderer/build/scripts/core/css/make_cssom_types.py", line 10, in <module>
    from core.css import css_properties
ImportError: No module named css
[5426/17722] ACTION //third_party/angle/third_party/vulkan..._wrappers_helper(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

seppia commented on 2018-12-19 10:46 (UTC)

@bsdice Thanks, my mistake. Updated the PKGBUILD.

bsdice commented on 2018-12-19 09:54 (UTC) (edited on 2018-12-19 09:55 (UTC) by bsdice)

@tuborg @seppia To clarify, with latest PKGBUILD jsoncpp is not only a "makedepends" but a real "depends".

To reproduce, list superfluous packages: pacman -Qtdq

Then remove them all, including their dependencies: pacman -Runs <list>

$ chromium /usr/lib/chromium/chromium: error while loading shared libraries: libjsoncpp.so.20: cannot open shared object file: No such file or directory

Temp fix: pacman -S --asdeps jsoncpp

Thanks anyhow for keeping this aluhut-package up-to-date, voted +1.

nticompass commented on 2018-12-18 17:49 (UTC)

I am getting an error when patching! I'm not sure what happened. I was compiling it with clang/ThinLTO, then got a linker error. I went to remove the ThinLTO flags, and when I tried again I got an error in patching:

2018-12-18 12:46:05,620 - INFO: * Applying add-third-party-ungoogled.patch (74/134)
2018-12-18 12:46:05,620 - DEBUG: /usr/bin/patch -p1 --ignore-whitespace -i /tmp/makepkg/ungoogled-chromium/src/ungoogled-chromium-71.0.3578.98-2/patches/ungoogled-chromium/add-third-party-ungoogled.patch -d . --no-backup-if-mismatch --forward
The next patch would create the file third_party/ungoogled/BUILD.gn,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file third_party/ungoogled/ungoogled_switches.cc,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file third_party/ungoogled/ungoogled_switches.h,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
2018-12-18 12:46:05,622 - ERROR: Unexpected exception caught.
Traceback (most recent call last):
  File "/tmp/makepkg/ungoogled-chromium/src/ungoogled-chromium-71.0.3578.98-2/buildkit/cli.py", line 384, in main
    args.callback(args=args)
  File "/tmp/makepkg/ungoogled-chromium/src/ungoogled-chromium-71.0.3578.98-2/buildkit/cli.py", line 232, in _apply_callback
    patch_bin_path=args.patch_bin)
  File "/tmp/makepkg/ungoogled-chromium/src/ungoogled-chromium-71.0.3578.98-2/buildkit/patches.py", line 95, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.7/subprocess.py", line 481, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/tmp/makepkg/ungoogled-chromium/src/ungoogled-chromium-71.0.3578.98-2/patches/ungoogled-chromium/add-third-party-ungoogled.patch', '-d', '.', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.
==> ERROR: A failure occurred in prepare().
    Aborting...
2018-12-18 12:46:05,639 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/nticompass/.cache/aurman/ungoogled-chromium

seppia commented on 2018-12-16 09:28 (UTC)

@tuborg thanks, I'll check for other missing dependencies in a clean environment and add them all together if others are found.

@Yorper I'm sorry but that is not how flags should be passed to make in PKGBUILDs unless there are specific requirements. Adding make flags directly in PKGBUILD overrides the user set MAKEFLASG so, again, this is not good unless the override is stricly needed. Anyway this could be better for you but worse for most because of the much increased memory need, and resources in general, of a multithreaded build. You should set that in your makepkg.conf. Please read this section of the wiki https://wiki.archlinux.org/index.php/Makepkg#Parallel_compilation

Yorper commented on 2018-12-16 00:36 (UTC) (edited on 2018-12-16 00:38 (UTC) by Yorper)

Just an idea to help with compilation speeds...

Change line 104 of the pkgbuild from "make -C chromium-launcher-$_launcher_ver" to "make -j$(nproc) -C chromium-launcher-$_launcher_ver"

Then it'll use all cores of the CPU.

tuborg commented on 2018-12-14 01:15 (UTC) (edited on 2018-12-14 13:13 (UTC) by tuborg)

jsoncpp is now a build dependency with version 71.0.3578.98-1

Build failure log snippit (this happens at "Configuring Chromium" stage):

"Package jsoncpp was not found in the pkg-config search path. Perhaps you should add the directory containing `jsoncpp.pc' to the PKG_CONFIG_PATH environment variable Package 'jsoncpp', required by 'virtual:world', not found Could not run pkg-config.

See //third_party/jsoncpp/BUILD.gn:7:1: whence it was called."

Installing extra/jsoncpp resolves issue. Edit: It builds, thanks for your work!

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

Ranguvar commented on 2018-12-10 22:11 (UTC)

Fails to run with new libfdk-aac (v2), also fails to rebuild.

http://ix.io/1vL3

milaxnuts commented on 2018-12-06 20:35 (UTC) (edited on 2018-12-07 09:08 (UTC) by milaxnuts)

ungoogled-chromium-bin
offers pre-built binaries with inox-patchset and various other patches
via https://github.com/gcarq/inox-patchset#download

seppia commented on 2018-11-06 12:14 (UTC)

@florensie well you most likely have upgraded libicu to a new version and need to rebuilid ungoogled-chromium to link it to the new library version.

florensie commented on 2018-11-06 10:26 (UTC)

I'm suddenly getting this when I try to start chromium:

/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.62: cannot open shared object file: No such file or directory

gcarq commented on 2018-11-05 18:59 (UTC)

I'm stepping back as maintainer for inox and inox-bin because lack of time. Feel free to adopt them.

seppia commented on 2018-11-04 16:13 (UTC)

I noticed I had notifications disabled and never opened this page in a long time. I will now recive notifications for comments and help, sould I be needed.

seppia commented on 2018-11-04 16:05 (UTC) (edited on 2018-11-04 16:06 (UTC) by seppia)

@XMB5 Those packages are part of the base-devel group and it is assumed you already have them installed, so they are not explicit dependencies.

EDIT: You sould give a look at:

https://wiki.archlinux.org/index.php/Arch_User_Repository#Getting_started

https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

florensie commented on 2018-10-30 12:38 (UTC)

@shardik For anyone who doesn't know how diff files work. Save the patch to a file in the same directory as your PKGBUILD and run patch <[filename].

shardik commented on 2018-10-27 21:16 (UTC)

@matoro: Arch's harfbuzz is too new. Here is a patch for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index ae1dd73..b0adb2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,10 +26,12 @@ provides=('chromium')
 conflicts=('chromium')
 source=(https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz
         chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
-        https://github.com/Eloston/ungoogled-chromium/archive/$pkgver-$pkgrel.tar.gz)
+        https://github.com/Eloston/ungoogled-chromium/archive/$pkgver-$pkgrel.tar.gz
+        chromium-harfbuzz-r0.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/chromium-harfbuzz-r0.patch?h=packages/chromium)
 sha256sums=('c914f86c4c8375b719eca89ea89dbec4ae3d09df3f758d5f7c91d4914d290449'
             '04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
-            '9731ddfc654bd74d2da26ccecdbe9262aed7f3ff6ad5b91571ae4b83ecf19159')
+            '9731ddfc654bd74d2da26ccecdbe9262aed7f3ff6ad5b91571ae4b83ecf19159'
+            '1b370d49c43e88acfe7c0b1f9517047e927f3407bd80b4a48bba32c001f80136')

 # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
 # Keys are the names in the above script; values are the dependencies in Arch
@@ -66,6 +68,8 @@ prepare() {

   cd "$srcdir/chromium-$pkgver"

+  patch -Np1 -i ../chromium-harfbuzz-r0.patch
+
   msg2 'Pruning binaries'
   python "$_buildkit_cli" prune -b "$_config_bundle" ./
   msg2 'Applying patches'

misaka00251 commented on 2018-10-27 15:32 (UTC) (edited on 2018-10-27 15:32 (UTC) by misaka00251)

Version 70.0.3538.77-1 failed to compile:

2018-10-27 23:29:33,502 - ERROR: Unexpected exception caught.
Traceback (most recent call last):
  File "/.../.../ungoogled-chromium/src/ungoogled-chromium-70.0.3538.77-1/buildkit/cli.py", line 384, in main
    args.callback(args=args)
  File "/.../.../ungoogled-chromium/src/ungoogled-chromium-70.0.3538.77-1/buildkit/cli.py", line 232, in _apply_callback
    patch_bin_path=args.patch_bin)
  File "/.../.../ungoogled-chromium/src/ungoogled-chromium-70.0.3538.77-1/buildkit/patches.py", line 95, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.7/subprocess.py", line 481, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/.../.../ungoogled-chromium/src/ungoogled-chromium-70.0.3538.77-1/patches/ungoogled-chromium/add-third-party-ungoogled.patch', '-d', '.', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.

matoro commented on 2018-10-27 14:54 (UTC)

version 70 fails compile with the following:

[18177/18431] CXX obj/third_party/blink/renderer/platform/platform/platform_jumbo_6.o 
FAILED: obj/third_party/blink/renderer/platform/platform/platform_jumbo_6.o                                        
clang++ -MMD -MF obj/third_party/blink/renderer/platform/platform/platform_jumbo_6.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DOFFICIAL_BUILD -DCHROMIU
M_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"340925-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNV
ALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DBLINK_PLATFORM_IMPLEMENTATION=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROT
OTYPES -DUSE_GLX -DUSE_EGL -DVK_NO_PROTOTYPES -DWTF_USE_WEBAUDIO_FFMPEG=1 -DSUPPORT_WEBGL2_COMPUTE_CONTEXT=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LI
BRARY -DSK_HAS_JPEG_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_NO_PROTOTYPES -DG
OOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDL
ERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING -DUSE_SYSTEM_LIBJPEG -DV8_DEPRECATION_WARNINGS -DUSE_SYSTEM_ZLIB=1 -DV8_DEPRECATION_WARNINGS -DLEVELDB_PLAT
FORM_CHROMIUM=1 -I../../third_party/skia/include/private -I../../third_party/ffmpeg -I. -I../.. -Igen -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libevent_shim -Igen/shim_headers/zlib
_shim -Igen/shim_headers/libwebp_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/libdrm_shim -I../../third_party/libyuv/include -I../../third_party/vulkan/include -Igen/shim_headers/re2_shim -Igen/shim_he
aders/ffmpeg_shim -Igen/shim_headers/libvpx_shim -Igen/shim_headers/snappy_shim -Igen/shim_headers/opus_shim -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -I../../third_party/skia/include/config
 -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/encode -I../../third_party/skia/include/gpu -I../../third_party/skia/include/images -I../../third_party/ski
a/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../thi
rd_party/vulkan/include -I../../third_party/skia/third_party/vulkanmemoryallocator -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/skia/modules/skottie/include -I../../third_party/v
ulkan/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/src/include -I../../third_party/ced/src -I../../third_party/webrtc_overrides -I../../third_pa
rty/webrtc -I../../third_party/abseil-cpp -I../../v8/include -Igen/v8/include -I../../third_party/iccjpeg -I../../third_party/libpng -I../../third_party/ots/include -I../../v8/include -Igen/v8/include -I../../third_party
/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --pa
ram=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-pr
efixes -flto=thin -fwhole-program-vtables -m64 -march=x86-64 -Wall -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wn
o-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-user-defined-warnings -Wno-unused-lambda-capture -Wno-null-pointer-arithmetic -Wno-enum-compare-switch -Wno-ignored-pragma-op
timize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/blacklist.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring
-conversion -Wtautological-overlap-compare -Wglobal-constructors -g0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/inc
lude/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -std=c++14 -fno-exceptions -f
no-rtti -fvisibility-inlines-hidden -D_FORTIFY_SOURCE=2 -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-builtin-macro-redefined -c gen/third_party/blink/renderer/platform/platform_jumbo_6.cc -o obj/third_party/blink/renderer/platform/platform/platform_jumbo_6.o                                                                                                         
In file included from gen/third_party/blink/renderer/platform/platform_jumbo_6.cc:12:                                                                   
../../third_party/ffmpeg/../../third_party/blink/renderer/platform/fonts/opentype/open_type_caps_support_mpl.cc:35:3: warning: 'hb_ot_tags_from_script' is deprecated [-Wdeprecated-declarations]                          
  hb_ot_tags_from_script(static_cast<hb_script_t>(script), &script_tags[0],
  ^
/usr/include/harfbuzz/hb-deprecated.h:229:11: note: 'hb_ot_tags_from_script' has been explicitly marked deprecated here                                                                                                    
HB_EXTERN HB_DEPRECATED_FOR (hb_ot_tags_from_script_and_language) void
          ^
/usr/include/harfbuzz/hb-common.h:79:30: note: expanded from macro 'HB_DEPRECATED_FOR'
#define HB_DEPRECATED_FOR(f) HB_DEPRECATED
                             ^
/usr/include/harfbuzz/hb-common.h:67:38: note: expanded from macro 'HB_DEPRECATED'
#define HB_DEPRECATED __attribute__((__deprecated__))
                                     ^
In file included from gen/third_party/blink/renderer/platform/platform_jumbo_6.cc:12:
../../third_party/ffmpeg/../../third_party/blink/renderer/platform/fonts/opentype/open_type_caps_support_mpl.cc:41:3: warning: 'hb_ot_layout_table_choose_script' is deprecated [-Wdeprecated-declarations]
  hb_ot_layout_table_choose_script(face, kGSUB, script_tags, &script_index,
  ^
/usr/include/harfbuzz/hb-deprecated.h:215:11: note: 'hb_ot_layout_table_choose_script' has been explicitly marked deprecated here
HB_EXTERN HB_DEPRECATED_FOR (hb_ot_layout_table_select_script) hb_bool_t
          ^
/usr/include/harfbuzz/hb-common.h:79:30: note: expanded from macro 'HB_DEPRECATED_FOR'
#define HB_DEPRECATED_FOR(f) HB_DEPRECATED
                             ^
/usr/include/harfbuzz/hb-common.h:67:38: note: expanded from macro 'HB_DEPRECATED'
#define HB_DEPRECATED __attribute__((__deprecated__))
                                     ^
In file included from gen/third_party/blink/renderer/platform/platform_jumbo_6.cc:20:
../../third_party/ffmpeg/../../third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc:317:5: warning: 'hb_font_funcs_set_glyph_func' is deprecated [-Wdeprecated-declarations]
    hb_font_funcs_set_glyph_func(funcs, HarfBuzzGetGlyph, nullptr, nullptr);
    ^
/usr/include/harfbuzz/hb-deprecated.h:53:11: note: 'hb_font_funcs_set_glyph_func' has been explicitly marked deprecated here
HB_EXTERN HB_DEPRECATED_FOR(hb_font_funcs_set_nominal_glyph_func or hb_font_funcs_set_variation_glyph_func) void
          ^
/usr/include/harfbuzz/hb-common.h:79:30: note: expanded from macro 'HB_DEPRECATED_FOR'
#define HB_DEPRECATED_FOR(f) HB_DEPRECATED
                             ^
/usr/include/harfbuzz/hb-common.h:67:38: note: expanded from macro 'HB_DEPRECATED'
#define HB_DEPRECATED __attribute__((__deprecated__))
In file included from gen/third_party/blink/renderer/platform/platform_jumbo_6.cc:12:
../../third_party/ffmpeg/../../third_party/blink/renderer/platform/fonts/opentype/open_type_caps_support_mpl.cc:41:3: warning: 'hb_ot_layout_table_choose_script' is deprecated [-Wdeprecated-declarations]                
  hb_ot_layout_table_choose_script(face, kGSUB, script_tags, &script_index,
  ^
/usr/include/harfbuzz/hb-deprecated.h:215:11: note: 'hb_ot_layout_table_choose_script' has been explicitly marked deprecated here                                                                                          
HB_EXTERN HB_DEPRECATED_FOR (hb_ot_layout_table_select_script) hb_bool_t
          ^
/usr/include/harfbuzz/hb-common.h:79:30: note: expanded from macro 'HB_DEPRECATED_FOR'
#define HB_DEPRECATED_FOR(f) HB_DEPRECATED
                             ^
/usr/include/harfbuzz/hb-common.h:67:38: note: expanded from macro 'HB_DEPRECATED'
#define HB_DEPRECATED __attribute__((__deprecated__))
                                     ^
In file included from gen/third_party/blink/renderer/platform/platform_jumbo_6.cc:20:
../../third_party/ffmpeg/../../third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc:317:5: warning: 'hb_font_funcs_set_glyph_func' is deprecated [-Wdeprecated-declarations]                                 
    hb_font_funcs_set_glyph_func(funcs, HarfBuzzGetGlyph, nullptr, nullptr);
    ^
/usr/include/harfbuzz/hb-deprecated.h:53:11: note: 'hb_font_funcs_set_glyph_func' has been explicitly marked deprecated here                                                                                               
HB_EXTERN HB_DEPRECATED_FOR(hb_font_funcs_set_nominal_glyph_func or hb_font_funcs_set_variation_glyph_func) void                                                                                                           
          ^
/usr/include/harfbuzz/hb-common.h:79:30: note: expanded from macro 'HB_DEPRECATED_FOR'
#define HB_DEPRECATED_FOR(f) HB_DEPRECATED
                             ^
/usr/include/harfbuzz/hb-common.h:67:38: note: expanded from macro 'HB_DEPRECATED'
#define HB_DEPRECATED __attribute__((__deprecated__))
                                     ^
In file included from gen/third_party/blink/renderer/platform/platform_jumbo_6.cc:20:
../../third_party/ffmpeg/../../third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc:320:5: error: no matching function for call to 'hb_font_funcs_set_glyph_h_advances_func'                                 
    hb_font_funcs_set_glyph_h_advances_func(
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/harfbuzz/hb-font.h:307:1: note: candidate function not viable: no known conversion from 'void (hb_font_t *, void *, unsigned int, hb_codepoint_t *, unsigned int, hb_position_t *, unsigned int, void *)' (aka
'void (hb_font_t *, void *, unsigned int, unsigned int *, unsigned int, int *, unsigned int, void *)') to 'hb_font_get_glyph_h_advances_func_t' (aka 'void (*)(hb_font_t *, void *, unsigned int, const unsigned int *, unsigned int, int *, unsigned int, void *)') for 2nd argument
hb_font_funcs_set_glyph_h_advances_func (hb_font_funcs_t *ffuncs,
^
3 warnings and 1 error generated.
[18182/18431] CXX obj/third_party/blink/renderer/platform/platform/platform_jumbo_7.o
ninja: build stopped: subcommand failed.

commented on 2018-10-13 01:11 (UTC)

Disregard my previous message. If you want a built binary of this package you can have it here.

https://twistcloud.uk/index.php/s/adqt7srry8YYiTY/download

commented on 2018-10-13 01:09 (UTC)

Hey aur users, $maintainer here.

So, since some people has said that they want hardware acceleration and this package doesn't provide it, you can download this binary built by me.

https://twistcloud.uk/index.php/s/adqt7srry8YYiTY/download

I didn't put anything malicious there btw. Of course, you will have to trust me lol.

The sha256 sum of the file is:

c1fa752a0429290053dafeea77d5717c8ed8ce9b25845497945d8a115c63df2d

In order to enable hardware acceleration with VA-API you need to follow this instructions:

https://wiki.archlinux.org/index.php/Chromium#Hardware_video_acceleration

TankMissile commented on 2018-09-17 05:00 (UTC) (edited on 2018-09-17 05:02 (UTC) by TankMissile)

@cybrid I got it compiling by setting ninja options -j and -l to half the number of cores on my machine. You can obtain the number of cores on your machine using the nproc command. For instance, If you have 4 cores, it would be ninja -j 2 -l 2. I'm hoping a more permanent solution can be found. If you run into other errors, try generating a PKGBUILD using the get_package.py script on the git.

cybrid commented on 2018-09-16 15:37 (UTC)

Build process freezes my whole PC at browser_jumbo_8.o (as previously reported by TankMissile) Is there a way to mitigate this somehow?

dreieck commented on 2018-09-07 13:32 (UTC)

Can you change provides=('chromium' to provides=("chromium=${pkgver}")?

sputnick commented on 2018-08-19 21:15 (UTC)

I have a build python error : https://pastebin.com/raw/Qdk62WZZ

ilikenwf commented on 2018-08-12 21:27 (UTC)

@seppia if you could please add -fno-fast-math to CPPFLAGS and CXXFLAGS, it will prevent people with it enabled by default from encountering build errors when we build sqlite.

TankMissile commented on 2018-07-02 23:09 (UTC) (edited on 2018-07-05 04:49 (UTC) by TankMissile)

ninja with default options consumes an enormous amount of ram when compiling the _jumbo.obj files, causing the entire system to hang until the build process is killed.

Larf commented on 2018-06-24 23:21 (UTC) (edited on 2018-06-24 23:27 (UTC) by Larf)

version 67 works with the pkgbuild created from the git repo other than the sums. they have to be recreated.<br> the changes are created with diff -u and uploaded here: https://ptpb.pw/Bez1 doesnt look too complicated. have fun and thank you for maintaining!

solnce commented on 2018-05-16 09:42 (UTC)

@bm456: Looks like you are correct. Thanks!

bm456 commented on 2018-05-14 18:32 (UTC)

OOM ?

for example, if you're using 10 threads and you just have 16gb ram it may fail

solnce commented on 2018-05-14 08:21 (UTC)

This build fails for me. See here: https://pastebin.com/jU1aJjh1

ilikenwf commented on 2018-04-08 17:45 (UTC)

Command '['ninja', '-C', '/media/disk/Linux/makepkg/ungoogled-chromium/src/chromium-65.0.3325.181/out_bootstrap', '-w', 'dupbuild=err', 'gn']' returned non-zero exit status 1

hendry commented on 2018-03-12 09:17 (UTC)

How does one migrate profiles without Google sync in this build of Chrome? https://bugs.chromium.org/p/chromium/issues/detail?id=820916

seppia commented on 2018-03-02 11:02 (UTC)

Ungoogled-chromium 64.0.3282.186-1 has been released so from now on release tar archive will be used.

Dikkus commented on 2018-03-02 05:04 (UTC)

Can anyone please update the very outdated bin? I think it would be very appreciated

seppia commented on 2018-02-28 11:53 (UTC)

@solnce

Indeed, that's a typo. Fixed it, thanks.

solnce commented on 2018-02-28 11:39 (UTC)

The conflicts section doesn't work as intended. When installing the package, I get file conflicts, because chromium is not automatically uninstalled beforehand. I think the items in conflicts are to be separated by spaces, not commas. See, for example, https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-numpy-openblas

seppia commented on 2018-02-27 23:58 (UTC)

@SilverMight

My fault. I missed quilt as a build dependecy. Updated the PKGBUILD, try now.

Notice that pkg-config is also missing but since it is included in base-devel group I am not sure I should put it there as a dependency, but I'll check, just be advised of that.

SilverMight commented on 2018-02-27 23:37 (UTC)

Getting this when using makepkg

Cloning into 'ungoogled-chromium'... done. ==> Starting prepare()... Branch 'develop' set up to track remote branch 'develop' from 'origin'. Switched to a new branch 'develop' -> Processing sources 2018-02-27 18:36:13,080 - DEBUG: Initialized logger 'buildkit' -> Applying build patches env: ‘quilt’: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting...

seppia commented on 2018-02-27 19:14 (UTC)

The PKGBUILD should now work nicely. Help and suggestions are welcome.

PLEASE NOTE that the PKGBUILD temporarily clones the ungoogled-chromium git repository to the develop branch. As soon as this (https://github.com/Eloston/ungoogled-chromium/pull/340) is resolved and the next tag come out I will update the PKGBUILD to download tag tarball. This however does not mean that the package is unstable since it uses stable chromium sources. Just the ungoogled-chromium building scripts come from the development branch.

seppia commented on 2018-02-25 10:24 (UTC)

Hi, I've just adopted the package and I'm working togheter with Eloston, ungoogled chromium developer, on the PKGBUILD and overall Archlinux support. If you want to know more in the meantime please refer to https://github.com/Eloston/ungoogled-chromium/issues/44

Suggestions and advices of any sort are welcome and of course some help in the future maintaining too.

air-g4p commented on 2018-02-09 09:17 (UTC)

Why has this AUR not been updated in 11 months? Do you no longer care?

Furthermore, the 'current' version of this AUR fails to build in a clean chroot or with 'makepkg -si'

Both complete build run failures are documented here:

https://ptpb.pw/cuoo

KSHMR commented on 2017-12-22 09:50 (UTC)

Can anyone update this package? Ungoogled-chromium 62.0.3202.94-2 is out.

xsmile commented on 2017-07-13 14:17 (UTC)

@ShatterGlass: See https://bugs.gentoo.org/show_bug.cgi?id=616818. Try commenting libxml in the system_libs array, like the chromium-dev package does.

ShatterGlass commented on 2017-07-13 14:03 (UTC)

Fails to build. Log files. Prepare https://paste.pound-python.org/show/z18nQxng3IKsHtfoNWe0/ Build https://paste.pound-python.org/show/4b0j6Sskv2FO6Sui9Su0/

stan commented on 2017-07-05 06:39 (UTC)

Can anyone update this package? Ungoogled-chromium 58 is out.

hollunder commented on 2017-06-01 09:33 (UTC)

Fails to build. I tried it on another machine, can't copy the exact error. It seems the problem occurs when building v8.

xsmile commented on 2017-05-13 20:19 (UTC)

Missing dependency: re2

nucleos commented on 2017-05-09 16:15 (UTC)

Can't install. This error: [4510/25047] CXX obj/base/i18n/case_conversion.o FAILED: obj/base/i18n/case_conversion.o g++ -MMD -MF obj/base/i18n/case_conversion.o.d -DBASE_I18N_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DUSE_PROPRIETARY_CODECS -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../.. -Igen -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../third_party/ced/src -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-delete-null-pointer-checks -Wno-narrowing -fno-rtti -fno-exceptions -c ../../base/i18n/case_conversion.cc -o obj/base/i18n/case_conversion.o ../../base/i18n/case_conversion.cc: In function ‘base::string16 base::i18n::{anonymous}::CaseMap(base::StringPiece16, base::i18n::{anonymous}::CaseMapperFunction)’: ../../base/i18n/case_conversion.cc:67:9: error: invalid conversion from ‘__gnu_cxx::__alloc_traits<std::allocator<short unsigned int> >::value_type* {aka short unsigned int*}’ to ‘UChar* {aka char16_t*}’ [-fpermissive] &dest[0], saturated_cast<int32_t>(dest.size()), ../../base/i18n/case_conversion.cc:68:20: error: invalid conversion from ‘const value_type* {aka const short unsigned int*}’ to ‘const UChar* {aka const char16_t*}’ [-fpermissive] string.data(), saturated_cast<int32_t>(string.size()), ~~~~~~~~~~~^~ [4511/25047] CXX obj/base/i18n/char_iterator.o [4512/25047] CXX obj/third_party/flatbuffers/compiler_files/reflection.o [4513/25047] CXX obj/third_party/flatbuffers/flatc/flatc.o [4514/25047] ACTION //third_party/catapult/tracing:generate_about_tracing(//build/toolchain/linux:x64) [4515/25047] CXX obj/third_party/flatbuffers/compiler_files/idl_parser.o ninja: build stopped: subcommand failed.

PiousMinion commented on 2017-05-05 00:41 (UTC)

I see the problem. You're pulling in the latest source, which uses a different build system, instead of pulling in a specific tag as they recommend.

PiousMinion commented on 2017-05-02 06:53 (UTC)

Building the package complained that version.ini did not exist. Ok, so I commented out pkgver(). Now it's complaining about build.py missing. Is this PKGBUILD beyond broken or am I missing something?

freddy3850 commented on 2017-04-27 17:49 (UTC)

@kcn you're right. For now, webrtc is disabled by default in ungoogled-chromium. It means that flash plugin will not work. I added an option in the pkgbuild to enable webrtc. Quote from gcarq (inox) "Make sure to block webrtc via an extension (i.e.: uBlock Origin) if you don't want to reveal your local ip address." I also changed how we packaging files. There is no more archive created. There is also an option to enable vaapi HW acceleration with patches from saiarcot895. https://pastebin.com/eD7tqKtn

kcning commented on 2017-04-26 09:32 (UTC)

@freddy3850. The PKGBUILD works! But the deps needs to be updated. +minizip +re2

freddy3850 commented on 2017-04-15 17:37 (UTC)

@Plexcon, @nRoof, @TankMissile, @somercet I just successfully made ungoogled-chromium pkg with develop branch. I'm actually running ungoogled-chromium 57.0.2987.133 and it's working fine. To achieve this i used tools in utilikit (for sources cleaning, patching, etc..) and build chromium "manually". There is a build option to choose to substitute domains or not. Here is the PKGBUILD https://pastebin.com/D9yQVzMg

Plexcon commented on 2017-04-14 15:43 (UTC)

==> ERROR: pkgver no puede estar vacío. ==> ERROR: pkgver() ha generado una versión no válida:

Plexcon commented on 2017-04-14 12:30 (UTC)

ERROR Da un error y no se instala

nRoof commented on 2017-04-08 07:27 (UTC)

@TankMissile It seems you have to uncomment the build() function with its block of code. But then after a while I get the following error: ninja: error: '../../third_party/icu/common/icudtl.dat', needed by 'obj/third_party/icu/make_data_assembly.inputdeps.stamp', missing and no known rule to make it Anyone else is getting it too?

TankMissile commented on 2017-04-08 05:07 (UTC)

@freddy3850 tar: ungoogled-chromium_55.0.2883.87-1_linux_defaultcpu.tar.xz: Cannot open: No such file or directory

freddy3850 commented on 2017-04-05 20:45 (UTC)

Edit: There was some wrong paths in the PKGBUILD i provided. This one is fixed : https://pastebin.com/JgnZXaze

freddy3850 commented on 2017-04-05 10:45 (UTC)

@somercet This is because we shouldn't use master branch but tag instead. From the README "Users are encouraged to use one of the tags. The master branch is not guaranteed to be in a working state." I'm currently building ungoogled-chromium with this PKGBUILD https://pastebin.com/WHvuqYWX

somercet commented on 2017-04-02 20:42 (UTC)

Change version.ini to resources/version.ini. In both places. For some reason it is accessed twice. Once you fix that error, you discover that the mighty "utilikit" is broken for python 3.6. Have fun.

Azur commented on 2017-03-25 02:57 (UTC)

==> ERROR: pkgver is not allowed to be empty. ==> ERROR: pkgver() generated an invalid version: Same error, care to fix?

sleeping commented on 2017-03-23 16:46 (UTC)

==> ERROR: pkgver is not allowed to be empty. ==> ERROR: pkgver() generated an invalid version:

xuiqzy commented on 2017-03-11 22:42 (UTC)

please remove the kdebase- and kdeutils prefixes from the optional kde dependencies, because the pakcages are called this way now

khanku commented on 2017-02-23 18:13 (UTC)

The following packages are missing from makedepends: libxslt re2 minizip

ilikenwf commented on 2017-02-15 14:04 (UTC) (edited on 2017-02-15 14:04 (UTC) by ilikenwf)

Wow, that's a long build time. It would be nice if one of the Community guys would take this over since the releases are spaced out regularly and build times are long...firefox even takes less time to build.

noctil commented on 2017-02-15 12:27 (UTC)

[22635/22635] LINK ./chrome 2017-02-15 06:31:54,592 - INFO: Creating build output archive build/ungoogled-chromium_55.0.2883.95-1_linux_defaultcpu.tar.xz ... ==> Entering fakeroot environment... ==> Starting package()... ==> Extracting built tarball to properly package... -> Creating directory structure... -> Moving contents... -> Installing main directory... -> Ensuring packaged files are owned by root... -> Fixing chromium-sandbox name and permissions... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issue... ==> Creating package "ungoogled-chromium"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Adding install file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: ungoogled-chromium 55.0.2883.95-1 (Wed Feb 15 06:36:49 WET 2017) ==> Cleaning up... :: Installing ungoogled-chromium package(s)... loading packages... resolving dependencies... looking for conflicting packages... Packages (1) ungoogled-chromium-55.0.2883.95-1 Total Installed Size: 152.91 MiB :: Proceed with installation? [Y/n] (1/1) checking keys in keyring [######################] 100% (1/1) checking package integrity [######################] 100% (1/1) loading package files [######################] 100% (1/1) checking for file conflicts [######################] 100% (1/1) checking available disk space [######################] 100% :: Processing package changes... (1/1) installing ungoogled-chromium [######################] 100% Took me around 10 hours to complete.

philo commented on 2017-02-12 16:21 (UTC) (edited on 2017-02-12 16:28 (UTC) by philo)

I'll wait until the PKGBUILD gets fixed.

ilikenwf commented on 2017-02-11 05:35 (UTC)

I'm maybe the one with the comprehension issue as I was unaware of there ever being a -bin build here...the dev of the browser doesn't put bins out all that often though he does update the code regularly. -git generally denotes a package in active development, occasional build failures should be expected.

orlfman commented on 2017-02-11 04:18 (UTC) (edited on 2017-02-11 04:21 (UTC) by orlfman)

>people having comprehension issues well no need to become hostile. it was a genuine question since the last talk about the official arch pkgbuild was nearly a month ago on issue #44 and seeing the ungoogled-chromium binary build has become orphaned on the aur the last i checked. which too has issues. you can't be upset people come here to post errors instead of the git page when for most users, the aur comment section would be the first thought in their head. that isn't the inability to comprehend, that's just a natural reaction.

ilikenwf commented on 2017-02-10 19:49 (UTC)

Errors should be addressed on the github issue tracker, there's nothing official about this package, I just wrap around their build system and package the result. Please mention all your issues over there, if the PKGBUILD needs to rename the sandbox it can. I don't see how this project is dead on arch beyond some people having comprehension issues about it being a git based build, meaning it won't always build when the developers over there are pushing changes.

orlfman commented on 2017-02-10 19:04 (UTC)

after looking at the project github page i guess this project is dead on arch?

orlfman commented on 2017-02-05 23:07 (UTC)

can't build it either. spews fatal errors. >>>>> gen/shim_headers/re2_shim/third_party/re2/src/re2/re2.h:5:10: fatal error: 're2/re2.h' file not found #include <re2/re2.h> ^ 1 warning and 1 error generated. ............ warning: unknown warning option '-Wno-address-of-packed-member' [-Wunknown-warning-option] In file included from ../../components/json_schema/json_schema_validator.cc:24: gen/shim_headers/re2_shim/third_party/re2/src/re2/re2.h:5:10: fatal error: 're2/re2.h' file not found #include <re2/re2.h> ^ 1 warning and 1 error generated. [5648/22635] CXX obj/third_party/protobuf/protobuf_lite/extension_set.o warning: unknown warning option '-Wno-address-of-packed-member' [-Wunknown-warning-option] .............................. warning: unknown warning option '-Wno-address-of-packed-member' [-Wunknown-warning-option] In file included from ../../components/url_matcher/regex_set_matcher.cc:13: gen/shim_headers/re2_shim/third_party/re2/src/re2/filtered_re2.h:5:10: fatal error: 're2/filtered_re2.h' file not found ................ 1 warning and 1 error generated. [5653/22635] CXX obj/components/autofill/core/common/common/password_form_fill_data.o warning: unknown warning option '-Wno-address-of-packed-member' [-Wunknown-warning-option] 1 warning generated. [5654/22635] CXX obj/components/password_manager/core/common/common/credential_manager_types.o warning: unknown warning option '-Wno-address-of-packed-member' [-Wunknown-warning-option] 1 warning generated. [5655/22635] CXX obj/components/url_matcher/url_matcher/url_matcher_factory.o FAILED: obj/components/url_matcher/url_matcher/url_matcher_factory.o ../../../../../../../../../usr/bin/clang++ -MMD -MF obj/components/url_matcher/url_matcher/url_matcher_factory.o.d -DURL_MATCHER_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DENABLE_MDNS=1 -DENABLE_NOTIFICATIONS -DENABLE_PEPPER_CDMS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_CLIPBOARD_AURAX11=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_EXTENSIONS=1 -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DUSE_PROPRIETARY_CODECS -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DCR_CLANG_REVISION=282487-1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Igen/shim_headers/libevent_shim -Igen/shim_headers/re2_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -fcolor-diagnostics -fdebug-prefix-map=/tmp/makepkg/ungoogled-chromium/src/ungoogled-chromium/build/sandbox=. -pthread -m64 -march=x86-64 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-deprecated-register -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-rtti -fno-exceptions -c ../../components/url_matcher/url_matcher_factory.cc -o obj/components/url_matcher/url_matcher/url_matcher_factory.o warning: unknown warning option '-Wno-address-of-packed-member' [-Wunknown-warning-option] In file included from ../../components/url_matcher/url_matcher_factory.cc:19: gen/shim_headers/re2_shim/third_party/re2/src/re2/re2.h:5:10: fatal error: 're2/re2.h' file not found #include <re2/re2.h> ^ 1 warning and 1 error generated. ninja: build stopped: subcommand failed. 2017-02-05 16:04:54,082 - ERROR: ninja returned non-zero exit code: 1 ==> ERROR: A failure occurred in build(). Aborting... :: clang is now an orphan package :: ninja is now an orphan package :: quilt is now an orphan package :: snappy is now an orphan package :: yasm is now an orphan package :: failed to build ungoogled-chromium package(s)

seo.disparate commented on 2017-02-02 14:39 (UTC)

The build runs, but there are issues with the resulting package. `/opt/ungoogled-chromium/chrome_sandbox should be /opt/ungoogled-chromium/chrome-sandbox` and the permissions for that file is wrong (needs to be 4755). Also, some of the files in the resulting package are owned by the user who built the package instead of root. Appending the following to package fixes this: ``` msg2 "Ensuring packaged files are owned by root..." chown -R root:root "$pkgdir" msg2 "Fixing chromium-sandbox name and permissions..." mv "$pkgdir/opt/$pkgname/chrome_sandbox" "$pkgdir/opt/$pkgname/chrome-sandbox" chmod 4755 "$pkgdir/opt/$pkgname/chrome-sandbox" ```

aniketd commented on 2017-01-27 11:40 (UTC) (edited on 2017-01-27 11:42 (UTC) by aniketd)

Fails to build. aura >>= Building `ungoogled-chromium`... aura >>= Well, building `ungoogled-chromium` failed. aura >>= Dumping makepkg output in 3.. 2.. 1.. ==> Making package: ungoogled-chromium 55.0.2883.95-1 (Fri Jan 27 17:07:29 IST 2017) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning ungoogled-chromium git repo... Cloning into bare repository '/var/cache/pacman/pkg/ungoogled-chromium8718/ungoogled-chromium/ungoogled-chromium'... -> Found ungoogled-chromium.sh -> Found ungoogled-chromium.desktop -> Found ungoogled-chromium_16.png -> Found ungoogled-chromium_22.png -> Found ungoogled-chromium_24.png -> Found ungoogled-chromium_32.png -> Found ungoogled-chromium_48.png -> Found ungoogled-chromium_64.png -> Found ungoogled-chromium_128.png -> Found ungoogled-chromium_256.png ==> Validating source files with md5sums... ungoogled-chromium ... Skipped ungoogled-chromium.sh ... Passed ungoogled-chromium.desktop ... Passed ungoogled-chromium_16.png ... Passed ungoogled-chromium_22.png ... Passed ungoogled-chromium_24.png ... Passed ungoogled-chromium_32.png ... Passed ungoogled-chromium_48.png ... Passed ungoogled-chromium_64.png ... Passed ungoogled-chromium_128.png ... Passed ungoogled-chromium_256.png ... Passed ==> Extracting sources... -> Creating working copy of ungoogled-chromium git repo... Cloning into 'ungoogled-chromium'... done. ==> Starting pkgver()... ==> Starting build()... ==> Building...this will take a while... 2017-01-27 17:07:37,696 - INFO: Initialized default console logging handler 2017-01-27 17:07:37,696 - INFO: Using builder LinuxStaticBuilder 2017-01-27 17:07:37,696 - INFO: Directory build does not exist. Creating... 2017-01-27 17:07:37,697 - INFO: Directory build/sandbox does not exist. Creating... 2017-01-27 17:07:37,697 - INFO: Directory build/downloads does not exist. Creating... 2017-01-27 17:07:37,697 - INFO: Directory build/path_overrides does not exist. Creating... 2017-01-27 17:07:37,697 - INFO: Setting up environment overrides... 2017-01-27 17:07:37,697 - INFO: Checking Python 2 command... 2017-01-27 17:07:37,697 - INFO: No Python 2 command specified; testing with 'python' 2017-01-27 17:07:37,715 - ERROR: Unsupported Python version '3.6.0' ==> ERROR: A failure occurred in build(). Aborting...

raininja commented on 2017-01-25 03:05 (UTC) (edited on 2017-01-25 03:06 (UTC) by raininja)

This won't run for me at all. . . what gives? it just core dumps and my stracing and installing stuff isn't helping. . . . it seems to want libdbusmenu.mo in the en_us locale

kogone commented on 2017-01-22 15:02 (UTC) (edited on 2017-01-22 15:02 (UTC) by kogone)

deleted

gcarq commented on 2017-01-16 12:01 (UTC)

@sekret: Alright I will leave it as it is for now.

sekret commented on 2017-01-15 17:56 (UTC)

I also requested this for palemoon, but I got convinced that it might not be required just yet, see https://aur.archlinux.org/packages/palemoon

mirwin commented on 2017-01-13 21:36 (UTC)

It seems that portions of this are python3 while calling for python2 causing syntax errors. I've edited my python-config to show version 2 and version 3 with varying results. Changing the version to 2 enabled me to get past the unsupported version error but resulted in a syntax error on line 50 of build.py as it's a python3 print function. I was planning to find a solution and be able to post it, but I'm far from a dev. I'd tried editing the pkgbuild to call for python2 or python3 directly as well for build.py with no success.

gcarq commented on 2017-01-09 12:47 (UTC)

@sekret: whats the benefit of this?

sekret commented on 2017-01-08 16:29 (UTC)

Could you please add a file which contains /usr/lib/inox to "$pkgdir/etc/ld.so.conf.d/inox.conf"?

commented on 2017-01-08 09:24 (UTC)

@fenuks https://github.com/Eloston/ungoogled-chromium/issues/44#issuecomment-268689693 @ilikenwf would it be possible to fix PKGBUILD? See https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/chromium#n175

ilikenwf commented on 2017-01-07 20:05 (UTC)

(Fixed the issues reported a couple days ago, forgot to bump pkgrel)

fbis251 commented on 2017-01-05 14:38 (UTC)

@ilikenwf There is a bug in the ungoogled-chromium.install script. Line 16 is missing a quotation mark at the end of the line

mabysh commented on 2017-01-03 09:47 (UTC) (edited on 2017-01-03 19:54 (UTC) by mabysh)

Greetings! 'harfbuzz-icu', 'ffmpeg', 'libxslt', 'minizip', 're2' packages required to build browser. Perhaps they should be added as build dependencies.

fenuks commented on 2016-12-31 07:09 (UTC)

Hello, can't run it with sandbox enabled, getting error: [3020:3020:1231/080343:FATAL:zygote_host_impl_linux.cc(107)] No usable sandbox! Update your kernel or see https://chromium.9oo91esource.qjz9zk/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox. Tried to set SUID for chrome_sandbox binary, but without luck, still not working. No-sandbox switch does work.

ilikenwf commented on 2016-12-21 22:06 (UTC)

Added the dependencies.

da_n commented on 2016-12-19 20:11 (UTC)

Thanks for this. I am getting the following error: ERROR: Unsupported Python version '3.5.2' Looking on the build doc from the project, it should work with 3.5+ no? https://github.com/Eloston/ungoogled-chromium/blob/master/BUILDING.md Thanks.

gabrielsimoes commented on 2016-12-19 18:00 (UTC) (edited on 2016-12-19 18:18 (UTC) by gabrielsimoes)

Add quilt as build dependency. EDIT: and clang

PerfectGentleman commented on 2016-09-06 15:44 (UTC)

-Dremoting=0 -Dsafe_browsing=0 are right switches, not those in PKGBUILD

dreieck commented on 2016-07-30 07:42 (UTC)

Fails to apply patches (though sources pass the checksum tests): == %< == ==> Starting prepare()... can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -upr chromium-48.0.2564.82.orig/chrome/common/chrome_content_client.cc chromium-48.0.2564.82/chrome/common/chrome_content_client.cc |--- chromium-48.0.2564.82.orig/chrome/common/chrome_content_client.cc 2016-01-20 22:01:20.000000000 +0200 |+++ chromium-48.0.2564.82/chrome/common/chrome_content_client.cc 2016-01-21 20:02:02.788936626 +0200 -------------------------- File to patch: can't find file to patch at input line 21 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -upr chromium-48.0.2564.82.orig/chrome/common/chrome_paths.cc chromium-48.0.2564.82/chrome/common/chrome_paths.cc |--- chromium-48.0.2564.82.orig/chrome/common/chrome_paths.cc 2016-01-20 22:01:20.000000000 +0200 |+++ chromium-48.0.2564.82/chrome/common/chrome_paths.cc 2016-01-21 19:18:51.287978456 +0200 -------------------------- File to patch: can't find file to patch at input line 36 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -upr chromium-48.0.2564.82.orig/chrome/common/chrome_paths.h chromium-48.0.2564.82/chrome/common/chrome_paths.h |--- chromium-48.0.2564.82.orig/chrome/common/chrome_paths.h 2016-01-14 03:49:22.000000000 +0200 |+++ chromium-48.0.2564.82/chrome/common/chrome_paths.h 2016-01-21 19:18:51.287978456 +0200 -------------------------- File to patch: == >% ==

c0d3x commented on 2016-07-01 23:00 (UTC) (edited on 2016-07-01 23:04 (UTC) by c0d3x)

==> Starting build()... sed \ -e "s|@CHROMIUM_NAME@|inox|g" \ -e "s|@CHROMIUM_BIN@|/usr/lib/inox/inox|g" \ -e "s|@PEPPER_FLASH_DIR@|/usr/lib/PepperFlash|g" \ -e "s|@LAUNCHER_ERRMSG@|/usr/lib/inox-launcher/launcher-errmsg|g" \ chromium-launcher.in >inox-launcher cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c99 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro launcher-errmsg.c -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -o launcher-errmsg Updating projects from gyp files... ninja: Entering directory `out/Release' ninja: error: '../../native_client/toolchain/linux_x86/pnacl_newlib/pnacl_newlib.json', needed by 'gen/tc_irt/lib64/libppapi_proxy_nacl.a', missing and no known rule to make it ==> ERROR: A failure occurred in build(). Aborting...

timofonic commented on 2016-06-01 19:52 (UTC)

Is it possible to enable NPAPI?

gcarq commented on 2016-03-30 17:28 (UTC)

@Peter1992 No it's not dead. I'm just quite busy these days.

Peter1992 commented on 2016-03-28 15:28 (UTC) (edited on 2016-03-28 15:28 (UTC) by Peter1992)

@gcarq What happened to this package? Is it dead or do you not have that much time to work on it anymore?

gcarq commented on 2016-03-03 17:19 (UTC)

I've added libvpx. You got me ;) I think have to improve my build env

sekret commented on 2016-02-22 10:19 (UTC)

You need to add libvpx to makedepends. I tried to build inox in a clean chroot according to https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot and here's where it fails ==> Starting build()... sed \ -e "s|@CHROMIUM_NAME@|inox|g" \ -e "s|@CHROMIUM_BIN@|/usr/lib/inox/inox|g" \ -e "s|@PEPPER_FLASH_DIR@|/usr/lib/PepperFlash|g" \ -e "s|@LAUNCHER_ERRMSG@|/usr/lib/inox-launcher/launcher-errmsg|g" \ chromium-launcher.in >inox-launcher cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c99 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro launcher-errmsg.c -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -o launcher-errmsg Updating projects from gyp files... Package vpx was not found in the pkg-config search path. Perhaps you should add the directory containing `vpx.pc' to the PKG_CONFIG_PATH environment variable No package 'vpx' found gyp: Call to 'pkg-config --cflags vpx' returned exit status 1 while in /build/inox/src/chromium-48.0.2564.82/third_party/libvpx_new/libvpx.gyp. ==> ERROR: A failure occurred in build(). Aborting... I didn't build it completely, but according to namcap it's no dependency, so I think it's a makedependency. Don't you build inox-bin in a clean chroot?? ;-)

sekret commented on 2015-09-03 17:43 (UTC)

44.0.2403.157-1 built fine, but 45.0.2454.85 has many changes, so the patches don't work anymore.

sekret commented on 2015-08-20 20:10 (UTC)

Tried to build this version and the version of [extra]'s chromium, both fail like this http://codepad.org/0Fvqj2wQ I only changed _build_nacl=0 on my 64bit machine. Can this be the reason?

graysky commented on 2015-07-29 06:05 (UTC)

If you are disabling speech_input, why do you retain the dep of 'speech-dispatcher' and the following in your 'locaL-chromium_conf='? -Dlinux_link_libspeechd=0 -Dlibspeechd_h_prefix=speech-dispatcher/

graysky commented on 2015-07-29 06:00 (UTC)

In 'local _chromium_conf=' your PKGBUILD has the following set which differs from the ARCH upstream. Is it needed for the patches? -Duse_system_ssl=0

graysky commented on 2015-07-29 05:57 (UTC)

Out-of-date by several versions. Recommend that you follow the ARCH upstream package[1]. Thanks for putting this together. 1. https://projects.archlinux.org/svntogit/packages.git/log/trunk?h=packages/chromium