Package Details: qt5-webkit 5.212.0alpha4-26

Git Clone URL: https://aur.archlinux.org/qt5-webkit.git (read-only, click to copy)
Package Base: qt5-webkit
Description: Classes for a WebKit2 based implementation and a new QML API
Upstream URL: https://github.com/qtwebkit/qtwebkit
Licenses: LGPL2.1
Submitter: arojas
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 41
Popularity: 0.70
First Submitted: 2022-11-21 07:42 (UTC)
Last Updated: 2024-09-03 21:23 (UTC)

Required by (117)

Sources (9)

Pinned Comments

FabioLolix commented on 2024-08-20 14:12 (UTC)

btw patches are welcome here https://github.com/FabioLolix/PKGBUILD-AUR_fix/tree/master/q

FabioLolix commented on 2024-05-24 12:05 (UTC)

qt5-webkit-movableink-git prebuild uploaded on sourceforge, thanks to MoetaYuko for the patch


About the comments; I'm starting to get really pissed off; please refrain to stating the obvious, make questions already answered, reporting already reported stuff, the icu solutions work for installed packages whenever how quirk they are, etc, etc, etc....

If you wanna post, post a patch!


I'm not a programmer but I guess webengine would be more convenient

@TheExplorer You don't say! [insert Nicals Cage meme]

If this package would never build in the future, shouldn't it be dropped in favor of qt5-webkit-movableink-git?

@oldherl have you tried to read the post before yours before posting, you should try that

FabioLolix commented on 2024-05-23 08:40 (UTC)

Post another time that this fails to build with icu 75 and I'll no longer upload the pre-build packages, I have qt5-webkit-movableink-git ready. You have been warned.

Have been posted enough icu 74 solution too.

FabioLolix commented on 2023-12-27 15:49 (UTC)

btw, depends on libicuuc.so have been added so you are obliged to uninstall and rebuild when there is a new icu update instead of keeping a non-working qt5-webkit (which lead to other build issues)

xiota commented on 2023-11-12 17:30 (UTC)

Or read: makepkg: Improving build times.

FabioLolix commented on 2023-01-06 17:06 (UTC)

Pre builded (in clean chroot) package here https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/ for who is interested

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 21 Next › Last »

york commented on 2024-05-21 01:19 (UTC) (edited on 2024-05-21 01:20 (UTC) by york)

I'm having the following build errors:

/usr/include/unicode/ucol.h:553:1: note: invalid template non-type parameter
  553 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUCollatorPointer, UCollator, ucol_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/AtomicString.h:378,
                 from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/WTFString.h:769,
                 from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringView.h:187,
                 from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:41:
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:53:28: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   53 |     StringTypeAdapter<char>(char character)
      |                            ^
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:53:28: note: remove the ‘< >’
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:80:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   80 |     StringTypeAdapter<UChar>(UChar character)
      |                              ^~~~~
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:80:30: note: remove the ‘< >’
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:227:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  227 |     StringTypeAdapter<String>(const String& string)
      |                              ^
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:227:30: note: remove the ‘< >’
In file included from ~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringConcatenate.h:839:
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringOperators.h:88:63: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   88 |     StringTypeAdapter<StringAppend<StringType1, StringType2>>(StringAppend<StringType1, StringType2>& buffer)
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringOperators.h:88:63: note: remove the ‘< >’
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringView.h:503:35: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  503 |     StringTypeAdapter<StringView>(StringView string)
      |                                   ^~~~~~~~~~
~/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringView.h:503:35: note: remove the ‘< >’
make[2]: *** [Source/WTF/wtf/CMakeFiles/WTF.dir/build.make:984: Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1500: Source/WTF/wtf/CMakeFiles/WTF.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: qt5-webkit-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
qt5-webkit - exit status 4

pvdp commented on 2024-05-21 00:00 (UTC) (edited on 2024-05-21 00:00 (UTC) by pvdp)

:: Synchronizing package databases...
core is up to date
extra                                   7.8 MiB  2.16 MiB/s 00:04 [------------------------------------] 100%
archzfs is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (75.1-1) breaks dependency 'libicuuc.so=74-64' required by qt5-webkit
:: installing icu (75.1-1) breaks dependency 'libicui18n.so=74-64' required by qt5-webkit

---
pacman -Qii qt5-webkit
Name            : qt5-webkit
Version         : 5.212.0alpha4-23
Description     : Classes for a WebKit2 based implementation and a new QML API
Architecture    : x86_64
URL             : https://github.com/qtwebkit/qtwebkit
Licenses        : LGPL2.1
Groups          : None
Provides        : None
Depends On      : qt5-location  qt5-sensors  qt5-webchannel  libwebp  libxcomposite  gst-plugins-base  hyphen
woff2  glibc  gcc-libs  glib2  zlib  libx11  sqlite  gst-plugins-base-libs  libjpeg-turbo
icu  libpng  gstreamer  libxml2  qt5-base  qt5-declarative  libicuuc.so=74-64
libicui18n.so=74-64
Optional Deps   : gst-plugins-good: Webm codec support [installed]
Required By     : smtube
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 46.81 MiB
Packager        : Unknown Packager
Build Date      : Tue 21 May 2024 08:07:38 AEST
Install Date    : Tue 21 May 2024 09:55:52 AEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None
Backup Files    : None
Extended Data   : pkgtype=pkg

FabioLolix commented on 2024-05-20 20:47 (UTC)

@dreieck still fails with

/usr/include/unicode/localpointer.h:561:26: error: parameter declared 'auto'
  561 | template <typename Type, auto closeFunction>
      |                          ^~~~
/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
  573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
      |                                                                            ^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
  583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
      |                                                                              ^
/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
  599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
      |                                                           ^

@MoetaYuko

https://aur.archlinux.org/packages/qt5-webkit#comment-973743

https://aur.archlinux.org/packages/qt5-webkit#comment-973748

dreieck commented on 2024-05-20 11:11 (UTC) (edited on 2024-05-20 11:18 (UTC) by dreieck)

Does no longer build:
[…]
[-Wtemplate-id-cdtor]

This looks for me that it can be worked around by adding -Wno-error=template-id-cdtor and other -Wno-error=-flags to CFLAGS/ CXXFLAGS.

That can be done in the PKGBUILD:

  CFLAGS+=" -Wno-error=template-id-cdtor"
  CXXFLAGS+=" -Wno-error=template-id-cdtor"
  export CFLAGS
  export CXXFLAGS

Maybe also just using -w (to switch off all warnings) might be a "catch them all" solution.

moetayuko commented on 2024-05-20 08:52 (UTC) (edited on 2024-05-20 09:11 (UTC) by moetayuko)

the build failure is NOT a bug. the latest icu4c requires c++17: https://unicode-org.github.io/icu/userguide/icu4c/build.html while this specific version of qt5-webkit (qtwebkit-5.212.0-alpha4) uses c++11: https://github.com/qtwebkit/qtwebkit/blob/qtwebkit-5.212.0-alpha4/Source/cmake/OptionsCommon.cmake#L34

luckily, the upstream qtwebkit-dev-wip branch has migrated to c++17, so the option is either switching to the dev branch or backporting c++17 fixes from that branch. they suggest this fork https://github.com/movableink/webkit, in which the merge-upstream-xxx branches appear to be qt5

Universebenzene commented on 2024-05-20 02:37 (UTC)

Is this still gcc14 issue? How about remove the new patch and use gcc13?

FabioLolix commented on 2024-05-19 21:50 (UTC)

No luck, all qt5-webkit are failing to build now

FabioLolix commented on 2024-05-19 21:03 (UTC)

I have a build of https://aur.archlinux.org/packages/qt5-webkit-movableink-git at 50% now before trying a thing with a flag here, I only do one build at time of this now