Pamac not completing webkit2gtk 2.50.6-8

after 3 days, im stuck here:

-- Installing:.... (a lot, as in easily a few hundred lines of installing: before this in a similar location)
-- Installing: /var/tmp/pamac-build-resove/webkit2gtk/pkg/webkit2gtk/usr/share/locale/vi/LC_MESSAGES/WebKitGTK-4.0.mo
-- Installing: /var/tmp/pamac-build-resove/webkit2gtk/pkg/webkit2gtk/usr/share/locale/zh_CN/LC_MESSAGES/WebKitGTK-4.0.mo
-- Installing: /var/tmp/pamac-build-resove/webkit2gtk/pkg/webkit2gtk/usr/lib/webkit2gtk-4.0/MiniBrowser
==> Tidying install...
  -> Removing libtool files...
  -> Purging unreproducible ruby files...
  -> Removing static library files...
  -> Purging unwanted files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/libjavascriptcoregtk-4.0.so.18.28.11
usr/lib/webkit2gtk-4.0/jsc
usr/lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so
usr/lib/webkit2gtk-4.0/MiniBrowser
usr/lib/libwebkit2gtk-4.0.so.37.74.9
==> Creating package "webkit2gtk"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_webkit2gtk-docs()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unreproducible ruby files...
  -> Removing static library files...
  -> Purging unwanted files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "webkit2gtk-docs"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: webkit2gtk 2.50.6-8 (Mon 03 Aug 2026 05:50:16 PM)
==> Cleaning up...

This is the 2nd time I’ve tried to rebuild it. Seems to be stuck at Cleaning up… I’m unsure how to get it unstuck, and not have to rebuild it again. I need it as a dependency for building something else for now. In a few months I will hopefully get a different computer going and install a docker that has the build environment and not have to build it for myself soon.

$ inxi -Fz
System:
  Kernel: 6.18.39-1-MANJARO arch: x86_64 bits: 64
  Desktop: GNOME v: 50.3 Distro: Manjaro Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ProArt X570-CREATOR WIFI v: Rev X.0x
    serial: <superuser required> Firmware: UEFI vendor: American Megatrends
    v: 1505 date: 03/18/2024
CPU:
  Info: 8-core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 4641 min/max: 422/4674 cores: 1: 4641 2: 4641 3: 4641
    4: 4641 5: 4641 6: 4641 7: 4641 8: 4641 9: 4641 10: 4641 11: 4641 12: 4641
    13: 4641 14: 4641 15: 4641 16: 4641
Graphics:
  Device-1: NVIDIA AD106 [GeForce RTX 4060 Ti 16GB] driver: nvidia
    v: 610.43.03
  Device-2: Blackmagic Design DeckLink 4K Extreme 12G driver: blackmagic-io
    v: 16.1a3
  Device-3: Advanced Micro Devices [AMD/ATI] Cezanne [Radeon Vega Series /
    Radeon Mobile Series] driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.21.1.24 with: Xwayland v: 24.1.13
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau,radeon dri: radeonsi gpu: amdgpu
    resolution: 3840x2160~30Hz
  API: EGL v: 1.5 drivers: nvidia,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: amd mesa v: 26.1.5-arch1.1
    renderer: AMD Radeon Graphics (radeonsi renoir ACO DRM 3.64
    6.18.39-1-MANJARO)
  API: Vulkan v: 1.4.350 drivers: radv,nvidia surfaces: N/A
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    gpu: nvidia-settings,nvidia-smi x11: xprop,xrandr
Audio:
  Device-1: NVIDIA AD106M High Definition Audio driver: snd_hda_intel
  Device-2: Blackmagic Design DeckLink 4K Extreme 12G driver: blackmagic-io
  Device-3: Advanced Micro Devices [AMD/ATI] Renoir/Cezanne HDMI/DP Audio
    driver: snd_hda_intel
  Device-4: Advanced Micro Devices [AMD] Ryzen HD Audio
    driver: snd_hda_intel
  API: ALSA v: k6.18.39-1-MANJARO status: kernel-api
  Server-1: PipeWire v: 1.6.8 status: active
Network:
  Device-1: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
  IF: wlp57s0 state: up mac: <filter>
  Device-2: Intel Ethernet I225-V driver: igc
  IF: enp58s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb type: USB
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 12.73 TiB used: 9.95 TiB (78.1%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN850P for PS5
    2000GB size: 1.82 TiB
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB
  ID-3: /dev/sdc vendor: Seagate model: ST10000DM005-3AW101 size: 9.1 TiB
    type: USB
Partition:
  ID-1: / size: 1.81 TiB used: 906.35 GiB (48.9%) fs: xfs dev: /dev/dm-0
  ID-2: /boot/efi size: 299.4 MiB used: 696 KiB (0.2%) fs: vfat
    dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 36 KiB (0.0%)
    dev: /dev/dm-1
Sensors:
  System Temperatures: cpu: 38.0 C mobo: 39.0 C gpu: amdgpu temp: 36.0 C
  Fan Speeds (rpm): cpu: 0
Info:
  Memory: total: 128 GiB available: 123.61 GiB used: 16.99 GiB (13.7%)
  Processes: 535 Uptime: 5d 13m Shell: Bash inxi: 3.3.41

Have you tried chrootbuild?

git clone https://aur.archlinux.org/webkit2gtk
sudo chrootbuild -p webkit2gtk

But I am curios why you are building webkit2gtk when it is in the repos?

 $ pamac search webkit2gtk
webkit2gtk-4.1-docs  2.52.5-2                                     extra
    Web content engine for GTK (documentation)
webkit2gtk-4.1  2.52.5-2 [Installed]                              extra
    Web content engine for GTK

hmmmm, that’s a good question, i think the older version that this replaces wasn’t maintained or was called something else. I wonder if I can build with that one even though it’s a slightly different version. I’ll give it a shot! Thanks for letting me know there’s one maintained now!

I am wondering if it’s stalling out and failing because of sudo loop issue? I guess I’m confused about why this doesn’t just build and work from pamac like it used to.

Thanks for your answer, I’ll try the one from the repos in the meantime.

Short and brutal answer: you don’t need it. If an old and unmaintained software requires old and deprecated library as dependency - get rid of both.

There is a reason it’s not in the repos anymore.

please remove webkit2gtk and add from repo webkit2gtk-4.x
AUR version webkit2gtk is no more maintained and totally unsafe