After two hrs and half of compiling, I got this error:
In file included from ../../../../qtwebengine-5.15.19-lts/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_concatenate.h:224:
../../../../qtwebengine-5.15.19-lts/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_operators.h:118:60: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
118 | StringTypeAdapter<StringAppend\<StringType1, StringType2>>(
| ^
../../../../qtwebengine-5.15.19-lts/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_operators.h:118:60: note: remove the ‘< >’
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:689: run_ninja] Error 1
make[3]: uscita dalla directory «/var/tmp/pamac-build-leo/qt5-webengine/src/build/src/core»
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: uscita dalla directory «/var/tmp/pamac-build-leo/qt5-webengine/src/build/src/core»
make[1]: *** [Makefile:80: sub-core-make_first] Error 2
make[1]: uscita dalla directory «/var/tmp/pamac-build-leo/qt5-webengine/src/build/src»
make: *** [Makefile:49: sub-src-make_first] Error 2
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
Search Criteria
Package Details: qt5-webengine 5.15.19-4
Package Actions
| Git Clone URL: | https://aur.archlinux.org/qt5-webengine.git (read-only, click to copy) |
|---|---|
| Package Base: | qt5-webengine |
| Description: | Provides support for web applications using the Chromium browser project |
| Upstream URL: | https://wiki.qt.io/QtWebEngine/ChromiumVersions |
| Licenses: | Apache-2.0, MPL-1.1, EPL-1.0, MPL-2.0, GPL-2.0-only, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-2.1-only, GPL-3.0-only, LGPL-3.0-only, LGPL-2.0-or-later, GFDL-1.3-only |
| Groups: | qt5 |
| Submitter: | arojas |
| Maintainer: | severach |
| Last Packager: | severach |
| Votes: | 23 |
| Popularity: | 13.67 |
| First Submitted: | 2025-11-09 09:28 (UTC) |
| Last Updated: | 2025-12-07 19:16 (UTC) |
Dependencies (56)
- alsa-lib
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- expat (expat-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-selinuxAUR, glib2-gitAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-eacAUR)
- harfbuzz (harfbuzz-gitAUR)
- icu (icu-gitAUR)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- libevent (libevent-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libjpeg-turbo (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libvpx (libvpx-full-gitAUR, libvpx-gitAUR)
- libwebp (libwebp-gitAUR)
- libx11 (libx11-gitAUR, libx11-mr293AUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- Show 36 more dependencies...
Required by (209)
Sources (8)
leo72 commented on 2025-12-10 18:54 (UTC)
FabioLolix commented on 2025-12-09 23:29 (UTC)
@FabioLolix how about making a qt5-webengine-bin AUR package?
No because it is an user build, but I'm considering making a repository with Github or Gitlab with Git LFS (Large File Storage)
samsim commented on 2025-12-09 23:04 (UTC)
took matters into my own hands, see: qt5-webengine-bin
samsim commented on 2025-12-09 22:13 (UTC)
In file included from gen/third_party/blink/renderer/core/core_generated_jumbo_12.cc:8:
./gen/third_party/blink/renderer/core/cssom_keywords.cc: In static member function ‘static bool blink::CSSOMKeywords::ValidKeywordForProperty(blink::CSSPropertyID, const blink::CSSKeywordValue&)’:
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1421:14: warning: statement will never be executed [-Wswitch-unreachable]
1421 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1571:14: warning: statement will never be executed [-Wswitch-unreachable]
1571 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1578:14: warning: statement will never be executed [-Wswitch-unreachable]
1578 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1585:14: warning: statement will never be executed [-Wswitch-unreachable]
1585 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1592:14: warning: statement will never be executed [-Wswitch-unreachable]
1592 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1719:14: warning: statement will never be executed [-Wswitch-unreachable]
1719 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1726:14: warning: statement will never be executed [-Wswitch-unreachable]
1726 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1733:14: warning: statement will never be executed [-Wswitch-unreachable]
1733 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1740:14: warning: statement will never be executed [-Wswitch-unreachable]
1740 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1747:14: warning: statement will never be executed [-Wswitch-unreachable]
1747 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1754:14: warning: statement will never be executed [-Wswitch-unreachable]
1754 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1761:14: warning: statement will never be executed [-Wswitch-unreachable]
1761 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:1768:14: warning: statement will never be executed [-Wswitch-unreachable]
1768 | return true;
| ^~~~
./gen/third_party/blink/renderer/core/cssom_keywords.cc:2167:14: warning: statement will never be executed [-Wswitch-unreachable]
2167 | return true;
| ^~~~
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:389: run_ninja] Error 1
make[3]: Leaving directory '/home/sam/.cache/yay/qt5-webengine/src/build/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/home/sam/.cache/yay/qt5-webengine/src/build/src/core'
make[1]: *** [Makefile:80: sub-core-make_first] Error 2
make[1]: Leaving directory '/home/sam/.cache/yay/qt5-webengine/src/build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: qt5-webengine-exit status 4
-> Failed to install the following packages. Manual intervention is required:
qt5-webengine - exit status 4
norambna commented on 2025-12-09 18:23 (UTC)
@FabioLolix how about making a qt5-webengine-bin AUR package?
ticpu commented on 2025-12-07 20:29 (UTC)
Thanks for the fix, much appreciated when running automated upgrades.
gwuensch commented on 2025-12-06 23:39 (UTC) (edited on 2025-12-07 00:03 (UTC) by gwuensch)
I would agree with @ticpu under most circumstances, but considering this package probably won't get any more updates, I don't see the need to add this. Building in a clean chroot is recommended anyway.
This isn't a Qt5 or cache problem, it's the PKGBUILD choosing a command that doesn't handle re-extractions.
This is exactly what @FabioLolix meant by cache and -C cleans up:
-C, --cleanbuild
Clean build artifacts from previous runs of makepkg in the current
directory by removing $srcdir before building the package.
ticpu commented on 2025-12-06 16:44 (UTC)
FabioLolix, the upstream Qt5 tarball extracts fine. The issue is the PKGBUILD's use of mv to relocate the chromium sources, mv fails on non-empty directories. This isn't a Qt5 or cache problem, it's the PKGBUILD choosing a command that doesn't handle re-extractions.
FabioLolix commented on 2025-12-06 16:41 (UTC)
Keeping cache from previous builds is a quite common source of build problems
ticpu commented on 2025-12-06 16:39 (UTC) (edited on 2025-12-06 16:39 (UTC) by ticpu)
FabioLolix: I'd like not to babysit paru -Syu if at all possible, that'd be an easy fix in the PKGBUILD. Especially that this one takes a long time to build.
Pinned Comments
FabioLolix commented on 2025-11-12 21:34 (UTC)
Pre-build (in chroot) package here https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/