You are not logged in.
My system cannot build and install litehtml aur package. Trying to remove it breaks qt6-tools dependecy.
How do I build it or safely remove it?
Thank you in advance for your time.
[hikmateustad@archlinux ~]$ neofetch
-` hikmateustad@archlinux
.o+` ----------------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: 11DBSDQH00 ThinkCentre M70s
`+oooooo: Kernel: 7.2.4-zen2-1-zen
-+oooooo+: Uptime: 12 mins
`/:-:++oooo+: Packages: 1427 (pacman)
`/++++/+++++++: Shell: bash 5.3.15
`/++++++++++++++: Resolution: 4096x2160
`/+++ooooooooooooo/` DE: Plasma 6.7.4 [KF5 ] [Qt ] (x11)
./ooosssso++osssssso+` WM: KWin
.oossssso-````/ossssss+` Theme: Breeze-Dark [GTK2/3]
-osssssso. :ssssssso. Icons: breeze-dark [GTK2/3]
:osssssss/ osssso+++. Cursor: breeze_cursors [GTK2/3]
/ossssssss/ +ssssooo/- Terminal: konsole
`/ossssso+/:- -:/+osssso+- CPU: Intel i3-10100 (8) @ 4.300GHz
`+sso+:-` `.-/+oso: GPU: Intel CometLake-S GT2 [UHD Graphics 630]
`++:. `-/+/ Memory: 4339 MiB / 15725 MiB
.` `/ Network: Wifi
[hikmateustad@archlinux ~]$ paru -Syu
[sudo] password for hikmateustad:
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade...
there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
Aur (1) litehtml0.9-0.9-4
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: litehtml0.9 0.9-4 (Wed 09 Sep 2026 11:02:21 AM IST)
==> Retrieving sources...
-> Updating litehtml git repo...
-> Found coinstallability.patch
==> Validating source files with sha256sums...
litehtml ... Passed
coinstallability.patch ... Passed
==> Making package: litehtml0.9 0.9-4 (Wed 09 Sep 2026 11:02:23 AM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating litehtml git repo...
-> Found coinstallability.patch
==> Validating source files with sha256sums...
litehtml ... Passed
coinstallability.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of litehtml git repo...
Cloning into 'litehtml'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file CMakeLists.txt
==> Sources are ready.
litehtml0.9-0.9-4: parsing pkg list...
==> Making package: litehtml0.9 0.9-4 (Wed 09 Sep 2026 11:02:25 AM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 16.2.1
-- The CXX compiler identification is GNU 16.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:65 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-L9NMkn'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_01c2b/fast
/usr/bin/make -f CMakeFiles/cmTC_01c2b.dir/build.make CMakeFiles/cmTC_01c2b.dir/build
make[1]: Entering directory '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-L9NMkn'
Building C object CMakeFiles/cmTC_01c2b.dir/testCCompiler.c.o
/usr/bin/cc -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -o CMakeFiles/cmTC_01c2b.dir/testCCompiler.c.o -c /home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-L9NMkn/testCCompiler.c
Linking C executable cmTC_01c2b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_01c2b.dir/link.txt --verbose=1
collect2: fatal error: cannot find ‘ld’
compilation terminated.
/usr/bin/cc -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs,-fuse-ld=mold -flto=auto CMakeFiles/cmTC_01c2b.dir/testCCompiler.c.o -o cmTC_01c2b
make[1]: *** [CMakeFiles/cmTC_01c2b.dir/build.make:102: cmTC_01c2b] Error 1
make[1]: Leaving directory '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-L9NMkn'
make: *** [Makefile:134: cmTC_01c2b/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'litehtml0.9-0.9-4':
error: packages failed to build: litehtml0.9-0.9-4
[hikmateustad@archlinux ~]$ paru -R litehtml
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing litehtml breaks dependency 'litehtml' required by qt6-tools
[hikmateustad@archlinux ~]$ Last edited by hikmateustad (2026-09-10 06:52:25)
Offline
litehtml is in the extra repository, unless you have a real reason to build the aur one.
Offline
It says in the error that cc is broken. Have you installed the necessary build files?
sudo pacman -Syu --needed base-devel gcc cmake makeTry that, and see if it builds
Offline
Update qt6-tools first and then the rest of your system. And always try updating using pacman when you hit any issue, this is caused by using an unsupported pacman wrapper.
Last edited by arojas (2026-09-09 07:27:38)
Online
Your aur helper fails on "litehtml0.9-0.9-4" (that's the package name, your already mentioned this correctly in thread title)
litehtml0.9-0.9-4 != litehtml
Aside from a probably broken compiler:
Check with: pacman -Qi litehtml0.9-0.9-4 if this package is still needed by any other AUR package you have installed.
So remove litehtml0.9-0.9-4, update, then maybe rebuild the litehtml0.9-0.9-4 AUR package again if necessary.
Last edited by GerBra (2026-09-09 07:34:18)
My avatar: "It's not just a toilet... a FERGUSON. The King of bowls. Sit down and give me your best shot." Al Bundy
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I performed all the advised steps and removed litehtml0.9. I had two litehtml's 0.10 and 0.9; I do not know how. I removed the 0.9 version and now my system is clean. Steps are below.
Thank you all for your time and perfect guidance.
Respect.
[hikmateustad@archlinux ~]$ sudo pacman -Syu --needed base-devel gcc cmake make
[sudo] password for hikmateustad:
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur 658.7 KiB 764 KiB/s 00:01 [#########################################################################################] 100%
warning: base-devel-1-2 is up to date -- skipping
warning: gcc-16.2.1+r23+gd564253eb6c8-1 is up to date -- skipping
warning: cmake-4.4.3-2 is up to date -- skipping
warning: make-4.4.1-3 is up to date -- skipping
:: Starting full system upgrade...
there is nothing to do
[hikmateustad@archlinux ~]$ paru -S litehtml
warning: litehtml-0.10-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) litehtml-0.10-1
Total Download Size: 0.49 MiB
Total Installed Size: 1.53 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
litehtml-0.10-1-x86_64 501.3 KiB 329 KiB/s 00:02 [#########################################################################################] 100%
(1/1) checking keys in keyring [#########################################################################################] 100%
(1/1) checking package integrity [#########################################################################################] 100%
(1/1) loading package files [#########################################################################################] 100%
(1/1) checking for file conflicts [#########################################################################################] 100%
(1/1) checking available disk space [#########################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling litehtml [#########################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[hikmateustad@archlinux ~]$ sudo pacman -Syu --noconfirm && paru -Syu --noconfirm
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur 658.7 KiB 729 KiB/s 00:01 [#########################################################################################] 100%
:: Starting full system upgrade...
there is nothing to do
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade...
there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
Aur (1) litehtml0.9-0.9-4
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
fetching devel info...
==> Making package: litehtml0.9 0.9-4 (Thu 10 Sep 2026 12:13:33 PM IST)
==> Retrieving sources...
-> Updating litehtml git repo...
-> Found coinstallability.patch
==> Validating source files with sha256sums...
litehtml ... Passed
coinstallability.patch ... Passed
==> Making package: litehtml0.9 0.9-4 (Thu 10 Sep 2026 12:13:34 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating litehtml git repo...
-> Found coinstallability.patch
==> Validating source files with sha256sums...
litehtml ... Passed
coinstallability.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of litehtml git repo...
Cloning into 'litehtml'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file CMakeLists.txt
==> Sources are ready.
litehtml0.9-0.9-4: parsing pkg list...
==> Making package: litehtml0.9 0.9-4 (Thu 10 Sep 2026 12:13:37 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 16.2.1
-- The CXX compiler identification is GNU 16.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:65 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-OcSJIs'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_2dc77/fast
/usr/bin/make -f CMakeFiles/cmTC_2dc77.dir/build.make CMakeFiles/cmTC_2dc77.dir/build
make[1]: Entering directory '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-OcSJIs'
Building C object CMakeFiles/cmTC_2dc77.dir/testCCompiler.c.o
/usr/bin/cc -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -o CMakeFiles/cmTC_2dc77.dir/testCCompiler.c.o -c /home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-OcSJIs/testCCompiler.c
Linking C executable cmTC_2dc77
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2dc77.dir/link.txt --verbose=1
collect2: fatal error: cannot find ‘ld’
compilation terminated.
/usr/bin/cc -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs,-fuse-ld=mold -flto=auto CMakeFiles/cmTC_2dc77.dir/testCCompiler.c.o -o cmTC_2dc77
make[1]: *** [CMakeFiles/cmTC_2dc77.dir/build.make:102: cmTC_2dc77] Error 1
make[1]: Leaving directory '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-OcSJIs'
make: *** [Makefile:134: cmTC_2dc77/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'litehtml0.9-0.9-4':
error: packages failed to build: litehtml0.9-0.9-4
[hikmateustad@archlinux ~]$ sudo pacman -S qt6-tools
warning: qt6-tools-6.11.2-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) qt6-tools-6.11.2-1
Total Installed Size: 22.22 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#########################################################################################] 100%
(1/1) checking package integrity [#########################################################################################] 100%
(1/1) loading package files [#########################################################################################] 100%
(1/1) checking for file conflicts [#########################################################################################] 100%
(1/1) checking available disk space [#########################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling qt6-tools [#########################################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
[hikmateustad@archlinux ~]$ paru -S litehtml
warning: litehtml-0.10-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) litehtml-0.10-1
Total Installed Size: 1.53 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#########################################################################################] 100%
(1/1) checking package integrity [#########################################################################################] 100%
(1/1) loading package files [#########################################################################################] 100%
(1/1) checking for file conflicts [#########################################################################################] 100%
(1/1) checking available disk space [#########################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling litehtml [#########################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[hikmateustad@archlinux ~]$ paru -Syu --noconfirm
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur 658.7 KiB 632 KiB/s 00:01 [#########################################################################################] 100%
:: Starting full system upgrade...
there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
Aur (1) litehtml0.9-0.9-4
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
fetching devel info...
==> Making package: litehtml0.9 0.9-4 (Thu 10 Sep 2026 12:15:17 PM IST)
==> Retrieving sources...
-> Updating litehtml git repo...
-> Found coinstallability.patch
==> Validating source files with sha256sums...
litehtml ... Passed
coinstallability.patch ... Passed
==> Making package: litehtml0.9 0.9-4 (Thu 10 Sep 2026 12:15:19 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating litehtml git repo...
-> Found coinstallability.patch
==> Validating source files with sha256sums...
litehtml ... Passed
coinstallability.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of litehtml git repo...
Cloning into 'litehtml'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file CMakeLists.txt
==> Sources are ready.
litehtml0.9-0.9-4: parsing pkg list...
==> Making package: litehtml0.9 0.9-4 (Thu 10 Sep 2026 12:15:21 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 16.2.1
-- The CXX compiler identification is GNU 16.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:65 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-FAUWJc'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_b1a0d/fast
/usr/bin/make -f CMakeFiles/cmTC_b1a0d.dir/build.make CMakeFiles/cmTC_b1a0d.dir/build
make[1]: Entering directory '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-FAUWJc'
Building C object CMakeFiles/cmTC_b1a0d.dir/testCCompiler.c.o
/usr/bin/cc -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -o CMakeFiles/cmTC_b1a0d.dir/testCCompiler.c.o -c /home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-FAUWJc/testCCompiler.c
Linking C executable cmTC_b1a0d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1a0d.dir/link.txt --verbose=1
collect2: fatal error: cannot find ‘ld’
compilation terminated.
/usr/bin/cc -march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs,-fuse-ld=mold -flto=auto CMakeFiles/cmTC_b1a0d.dir/testCCompiler.c.o -o cmTC_b1a0d
make[1]: *** [CMakeFiles/cmTC_b1a0d.dir/build.make:102: cmTC_b1a0d] Error 1
make[1]: Leaving directory '/home/hikmateustad/.cache/paru/clone/litehtml0.9/src/build/CMakeFiles/CMakeScratch/TryCompile-FAUWJc'
make: *** [Makefile:134: cmTC_b1a0d/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'litehtml0.9-0.9-4':
error: packages failed to build: litehtml0.9-0.9-4
[hikmateustad@archlinux ~]$ pacman -Qi litehtml0.9-0.9-4
error: package 'litehtml0.9-0.9-4' was not found
[hikmateustad@archlinux ~]$ pacman -R litehtml0.9-0.9-4
error: you cannot perform this operation unless you are root.
[hikmateustad@archlinux ~]$ sudo pacman -R litehtml0.9-0.9-4
error: target not found: litehtml0.9-0.9-4
[hikmateustad@archlinux ~]$ paru -R litehtml0.9-0.9-4
error: target not found: litehtml0.9-0.9-4
[hikmateustad@archlinux ~]$ paru -Rns litehtml0.9 0.9-4
error: target not found: 0.9-4
[hikmateustad@archlinux ~]$ paru -Rns litehtml0.9
checking dependencies...
Packages (1) litehtml0.9-0.9-2
Total Removed Size: 0.87 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing litehtml0.9 [#########################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[hikmateustad@archlinux ~]$ sudo pacman -Syu --noconfirm && paru -Syu --noconfirm
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade...
there is nothing to do
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur is up to date
:: Starting full system upgrade...
there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
there is nothing to do
[hikmateustad@archlinux ~]$ Offline