Pamac build AUR package stuck in an infinite loop with wxcommon-light/wxbase-light

Hi,
My problem is very similar to this one
Pamac update with AUR stuck in an infinite loop with wxcommon-light/wxbase-light - Support / AUR - Manjaro Linux Forum
However, I tried the solution
[root tip] Mitigate and prevent GPGME error when syncing your system - Contributions / Tutorials - Manjaro Linux Forum
but still the same.
The specific package I would like to install is saga-gis. I already installed wxgtk3-dev to satisfy the dependency requirement.
Any help would be really appreciated.
Here’s my system information:

details
System:
  Kernel: 5.15.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: initrd=\amd-ucode.img initrd=\intel-ucode.img
    initrd=\initramfs-5.15-x86_64.img zfs=zroot/manjaro/root rw
    bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash
  Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7C37 v: 3.0
    serial: <superuser required>
  Mobo: Micro-Star model: X570-A PRO (MS-7C37) v: 3.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: H.D4
    date: 04/09/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter>
    charge: 50% (should be ignored) rechargeable: yes status: N/A
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse serial: <filter>
    charge: 50% (should be ignored) rechargeable: yes status: N/A
CPU:
  Info: model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3
    family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA201009
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3302 high: 4560 min/max: 2200/4850 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3658 2: 3640
    3: 4070 4: 3600 5: 4560 6: 2896 7: 2878 8: 2874 9: 3715 10: 2880 11: 2953
    12: 2882 13: 3597 14: 2878 15: 2879 16: 2876 bogomips: 121640
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
    IBRS_FW, STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2080] vendor: Gigabyte driver: nvidia
    v: 495.44 alternate: nouveau,nvidia_drm bus-ID: 2d:00.0 chip-ID: 10de:1e82
    class-ID: 0300
  Device-2: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-2:3 chip-ID: 046d:0843 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org 1.21.1.2 compositor: kwin_x11 driver:
    loaded: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 159 s-size: 613x352mm (24.1x13.9")
    s-diag: 707mm (27.8")
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: NVIDIA TU104 HD Audio vendor: Gigabyte driver: snd_hda_intel
    v: kernel bus-ID: 2d:00.1 chip-ID: 10de:10f8 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI X570-A PRO
    driver: snd_hda_intel v: kernel bus-ID: 2f:00.4 chip-ID: 1022:1487
    class-ID: 0403
  Device-3: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-2:3 chip-ID: 046d:0843 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.15.12-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.42 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI X570-A PRO driver: r8169 v: kernel port: d000
    bus-ID: 27:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp39s0 state: down mac: <filter>
  Device-2: Edimax Edimax AC1750 USB type: USB driver: rtl8814au
    bus-ID: 1-1:2 chip-ID: 7392:a833 class-ID: 0000 serial: <filter>
  IF: wlp42s0f1u1 state: up mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
RAID:
  Supported mdraid levels: raid1
  Device-1: md127 maj-min: 9:127 type: mdraid level: mirror status: active
    size: 513.9 MiB
  Info: report: 2/2 UU blocks: 526272 chunk-size: N/A super-blocks: 1.0
  Components: Online:
  0: nvme0n1p1 maj-min: 259:5 size: 514 MiB
  1: nvme1n1p1 maj-min: 259:2 size: 514 MiB
  Device-2: zbigdata type: zfs status: ONLINE level: linear raw:
    size: 1.81 TiB free: 1.08 TiB allocated: 749 GiB zfs-fs: size: 1.76 TiB
    free: 1.03 TiB
  Components: Online:
  1: sdb maj-min: 8:16 size: 1.82 TiB
  Device-3: zhome type: zfs status: ONLINE level: linear raw: size: 464 GiB
    free: 263 GiB allocated: 201 GiB zfs-fs: size: 449.62 GiB free: 248.64 GiB
  Components: Online:
  1: sda maj-min: 8:0 size: 465.76 GiB
  Device-4: zroot type: zfs status: ONLINE level: mirror raw: size: 920 GiB
    free: 679 GiB allocated: 241 GiB zfs-fs: size: 891.5 GiB free: 650.28 GiB
  Components: Online:
  1: nvme0n1p3 maj-min: 259:7 size: 921.01 GiB
  2: nvme1n1p3 maj-min: 259:4 size: 921.01 GiB
Drives:
  Local Storage: total: raw: 4.09 TiB usable: 5.35 TiB used: 1.07 TiB (20.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: Corsair model: Force MP600
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: EGFM13.0 temp: 34.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Corsair model: Force MP600
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: EGFM13.0 temp: 32.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 1B6Q scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DX002-2DV164
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: CC41 scheme: GPT
Partition:
  ID-1: / raw-size: N/A size: 820.62 GiB used: 170.34 GiB (20.8%) fs: zfs
    logical: zroot/manjaro/root
  ID-2: /boot raw-size: 512.9 MiB size: 511.9 MiB (99.80%)
    used: 130.7 MiB (25.5%) fs: vfat dev: /dev/md127p1 maj-min: 259:8
  ID-3: /home raw-size: N/A size: 390.59 GiB used: 141.96 GiB (36.3%)
    fs: zfs logical: zhome/manjaro/home
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 10 GiB used: 364.9 MiB (3.6%)
    priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:6
  ID-2: swap-2 type: partition size: 10 GiB used: 361.3 MiB (3.5%)
    priority: -3 dev: /dev/nvme1n1p2 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 32.0 C mobo: 34.0 C gpu: nvidia temp: 33 C
  Fan Speeds (RPM): fan-1: 1259 fan-2: 2347 fan-3: 803 fan-4: 585 fan-5: 0
    fan-6: 0 fan-7: 1215 gpu: nvidia fan: 0%
Info:
  Processes: 569 Uptime: 6h 42m wakeups: 33 Memory: 15.61 GiB
  used: 8.2 GiB (52.5%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1665 lib: 393 Shell: Zsh v: 5.8
  default: Bash v: 5.1.12 running-in: konsole inxi: 3.3.11

share the error message

1 Like

There was not really error message, it just when pamac was checking dependencies, it stuck in an infinite loop with the following two lines:

Checking wxbase-light dependencies...
Checking wxcommon-light dependencies...

Funny thing is they are not even the dependencies of saga-gis :face_with_raised_eyebrow:

What happens if you install it the regular way?

git clone https://aur.archlinux.org/wxwidgets-light.git
cd wxwidgets-light
makepkg -sric
1 Like

I don’t plan to install wxwidgets-light, as they are not dependencies of the package I would like to install (saga-gis). I already manually installed wxgtk3-dev to satisfy the dependency requirement of saga-gis, and pamac didn’t get stuck in that infinite loop like the issue here.
My workaround was to download the latest snapshot of saga-gis, edit the PKGBUILD and change the dependency wxgtk3>=3.1.0 to wxgtk3-dev, and then use makepkg to build the package, and finally use pacman -U to install the package.
Just don’t know why pamac keeps checking the dependencies for wxbase-light and wxcommon-light as they are not really the dependencies of the package. :face_with_raised_eyebrow:

Hi,
I tried it but it would like to install the whole wxgtk-dev bundle, which also include wxgtk2-dev (I don’t want redundant packages on my system). Perhaps because yay won’t check dependencies after editing the PKGBUILD of saga-gis. Nevertheless, I remembered yay didn’t have the infinite dependency check loop issue, but I remembered it failed when compiling saga-gis for some reason (which I forgot).

wxgtk3-dev is part of the splitted pkgbuild wxgtk-dev, so either you build all or edit the pkgbuild

Also the whole versioning situation with wxgtk is complicated in general

By the way, if you install wxgtk-dev, all the programs build for wxgtk will stop working, instead if you install wxgtk-light it can be installed alongside wxgtk3 but you need to configure the saga-gis pkgbuild to use it


Edite: typed wxgtk-dev instead of wxgtk-light

1 Like

Thanks for the information. And for those who need a python-wxpython alongside with wxgtk3-dev, here’s the PKGBUILD:

I still have no idea why the infinite loop has happened though.