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 .. 4 5 6 7 8 9 10 11 12 13 14 .. 21 Next › Last »

bsdice commented on 2024-05-17 13:08 (UTC)

I switched to clang to build, couldn't make gcc play along:

build() {
  export CC=clang
  export CXX=clang++

  _flags="-Wno-deprecated-copy-with-user-provided-copy -Wno-implicit-const-int-float-conversion -Wno-final-dtor-non-final-class -Wno-bitwise-instead-of-logical"

  cmake -B build -S "qtwebkit-${_pkgver}" -Wno-dev \
    -DUSE_LD_GOLD=OFF \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG ${_flags}" \
    -DCMAKE_C_FLAGS="${CFLAGS} ${_flags}" \
    -DPORT=Qt \
    -DENABLE_XSLT=OFF \
    -DENABLE_TOOLS=OFF
  cmake --build build
}

korimitsu commented on 2024-05-17 11:23 (UTC)

Fails to build:

/home/sam/.cache/paru/clone/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringOperators.h:88:63: note: remove the ‘< >’
[  3%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/UniStdExtras.cpp.o
[  3%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/qt/WorkQueueQt.cpp.o
[  3%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/glib/GRefPtr.cpp.o
[  3%] Linking CXX static library ../../../lib/libWTF.a
[  3%] Built target WTF
[  3%] Generating ../../DerivedSources/JavaScriptCore/Bytecodes.h, ../../DerivedSources/JavaScriptCore/InitBytecodes.asm
[  3%] Generating ../../DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
[  3%] Building CXX object Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o
[  3%] Linking CXX executable ../../bin/LLIntOffsetsExtractor
/usr/bin/ld.gold: pack-relative-relocs: unknown -z option
/usr/bin/ld.gold: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[2]: *** [Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/build.make:139: bin/LLIntOffsetsExtractor] Error 1
make[1]: *** [CMakeFiles/Makefile2:1527: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'qt5-webkit-5.212.0alpha4-22': 
error: can't build phantomjs-2.1.1-17, deps not satisfied: qt5-webkit
error: packages failed to build: qt5-webkit-5.212.0alpha4-22  phantomjs-2.1.1

Universebenzene commented on 2024-05-11 15:58 (UTC)

Should gcc14 issue be fixed by this patch ?

ccorn commented on 2024-05-11 15:22 (UTC)

I had to apply conservative fixes to get this built in an up-to-date chroot:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxcomposite gst-plugi
          glibc gcc-libs glib2 zlib libx11 sqlite gst-plugins-base-libs libjpeg-turbo icu libpng gstreamer libxml2
          qt5-base qt5-declarative)
          # libxslt
-makedepends=(cmake ruby gperf python qt5-doc qt5-tools)
+makedepends=(cmake ruby gperf python qt5-doc qt5-tools gcc13)
 optdepends=('gst-plugins-good: Webm codec support')
 options=(!lto)
 sha256sums=('9ca126da9273664dd23a3ccd0c9bebceb7bb534bddd743db31caf6a5a6d4a9e6'
@@ -45,6 +45,10 @@ prepare() {
 }

 build() {
+  # Remove linker options unknown to gold
+  LDFLAGS=${LDFLAGS//-Wl,-z,pack-relative-relocs}
+  # libstdc++ as of gcc 14.1: std::__is_complete_or_unbounded used before its definition
+  export CXX=g++-13
   cmake -B build -S "qtwebkit-${_pkgver}" -Wno-dev \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \

micwoj92 commented on 2024-04-29 00:13 (UTC)

@FabioLolix could you please add -DUSE_LD_GOLD=OFF option to PKGBUILD? thanks.

kevindetry commented on 2024-03-26 11:48 (UTC)

You can disable ld.gold usage by passing -DUSE_LD_GOLD=OFF to cmake.

micwoj92 commented on 2024-03-21 20:18 (UTC)

I also hit this issue, no idea why. You can force usage of ld which is bfd linker by default, I don't know how to do this, so I just rm'd ld.gold in chroot I was using to build.

Alternatively remove this linking flags: https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/23

CyberShadow commented on 2024-03-08 09:41 (UTC)

Thank you, will need to investigate what's going on.

xiota commented on 2024-03-08 09:34 (UTC) (edited on 2024-03-08 09:36 (UTC) by xiota)

gold is not the standard linker. Package builds fine with plain GNU ld.

CyberShadow commented on 2024-03-08 08:00 (UTC)

I am. I'm using aurutils, which sets up a chroot per build.