For several weeks (months?) my installs are failing for build packages… notably krunner5 but recently when trying to install some libraries…
Seems to be related to ‘cmake’ not working? (I re-installed cmake package - to no avail)
Building libarib25...
==> Making package: libarib25 0.2.5_20190204-1 (Tue 11 Jun 2024 09:55:09 AM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v0.2.5-20190204.tar.gz
==> Validating source files with md5sums...
v0.2.5-20190204.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting v0.2.5-20190204.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
File "/home/admin/.local/bin/cmake", line 5, in <module>
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
==> ERROR: A failure occurred in build().
Aborting...
````Preparing...
Cloning krunner5 build files...
Generating krunner5 information...
Checking krunner5 dependencies...
Resolving dependencies...
Checking inter-conflicts...
Building krunner5...
==> Making package: krunner5 5.115.0-4 (Tue 11 Jun 2024 09:59:19 AM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found krunner-5.115.0.tar.xz
==> Validating source files with b2sums...
krunner-5.115.0.tar.xz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting krunner-5.115.0.tar.xz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
File "/home/admin/.local/bin/cmake", line 5, in <module>
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
==> ERROR: A failure occurred in build().
Aborting...`
How about you remove the cmake in .local/bin and use the system one?
It may be wise to rename the whole .local/bin folder, in case there are more messed up things there.
1 Like
LuigiCalamar:
krunner5
That package is no longer in the repositories due to the upgrade to Plasma 6. You should uninstall it, as it’s not needed for anything.
libarib25
is an AUR package, and I have no idea what it is or why you would need it, but check whether you have cmake
and cmake-extra-modules
installed — both of those are in the Manjaro repo.
That is not wise at all. I should not have to explain why.
That is wise, indeed. However, it should be removed the same way it was installed.
LuigiCalamar:
This
What’s this ? What did you do?
1 Like
Lolix
11 June 2024 22:33
6
How and why this is happening?
Sorting through a bunch of weirdness after the major Plasma 6 update, and trying to learn how to learn the fundamentals of how to solve these issues Im facing.
Im updating more applications with the Pamac gui. I am trying to update CPU-X and I get the following error:
Traceback (most recent call last):
File "/home/hardbrocklife/.local/bin/cmake", line 5, in <module>
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
==> ERROR: A failure occurred in build().
Aborting…
This has been reported on 2 my AUR pkgbuilds (all different people) and I’m starting to get curious
Lolix
11 June 2024 22:37
8
I mean, why people end up with ~/.local/bin/cmake
Because they installed it locally for whatever reason.
I just tell anyone that complains not to mix local and system packages. Not our responsibility as AUR Package Maintainers to say anything else.
Because they installed it from Download CMake like Windows trained them to do
1 Like
renaming cmake in .local/bin fixed my issue
i see that cmake is an installed package, if i uninstall it then will there still be the ability to run build installs?
Lolix
12 June 2024 04:55
13
The stuff you have in /home/admin/.local/bin
don’t come the package installed from the repository
pkgbuilds that need cmake to build will fail if cmake is missing
I think he means “if I remove ~/.local/bin/cmake
” . Which he should, given that it’s installed system-wide already.
system
Closed
13 June 2024 22:40
15
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.