I cannot upgrade libkipi

Where does that come from? libkipi is neither mentioned the error message you quoted nor in the answer given to you.

Remove the EOL kernel linux516 before upgrading.

1 Like

libkipi (AUR) can’t be updated. WTF is this, i never installed it.

Der PGP-Schlüssel XXXXXXXXXXXXXX wird benötigt, um libkipi Quellcode-Dateien zu verifizieren.
Vertraue Albert Astals Cid <aacid@kde.org> und importiere den PGP-Schlüssel ?

Is it safe to uninstall it?

It likely is a former (?) dependency of a package which used to be in the main repositories. Following a clean of upstream repositories, the package and its dependencies unused by other other packages have been moved to AUR.
If no installed package depends on it, or if you don’t use AUR packages depending on it, you can safely remove those packages.

1 Like

@linux-aarhus Could you please create a paragraph about former repository packages in your documentation?
Or make it a Wiki post so i add it myself?

made wiki - go ahead

2 Likes

Hi,

Same issue, libkipi :-/

no libkipi update with pacman, but libkipi update with pamac …

Install by default with kde, aur package since this update and not before…

https://archlinux.pkgs.org/rolling/userrepository-x86_64/libkipi-22.04.0-1-x86_64.pkg.tar.zst.html

Thanks a lot for the x86 help team !

libkipi

kxmlgui, kservice, hicolor and extra-cmake are in the extra repo and not aur

[nls@lap ~]$ sudo pacman -Qi libkipi
[sudo] Mot de passe de nls�: 
Name            : libkipi
Version         : 21.12.3-1
Description     : An interface to use kipi-plugins from a KDE application
Architecture    : x86_64
URL             : https://www.kde.org/
Licenses        : GPL  LGPL  FDL
Groups          : None
Provides        : None
Depends On      : kxmlgui  kservice  hicolor-icon-theme
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 273,86 KiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : mar. 01 mars 2022 09:56:04
Install Date    : lun. 14 mars 2022 19:27:18
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

[nls@lap ~]$

It is not required by anything on your system from what you have shown. Is it showing up as an orphaned package?

1 Like

thanks for your reply.

Linking my post since original thread has been split.

What happened was:

libkipi was, until recently, a dependency of gwenview and spectacle. Those dependencies are no longer necessary.

Here is the commit that removed libkipi as a dependency of gwenview (notice line #13), and here is the commit that removed it as a dependency of spectacle (line #10).

The package was kept available by moving it to the AUR because it is still required by 2 AUR packages (spectacle-light and kipi-plugins, which require either libkipi or libkipi-git).

3 Likes

It was an orphan, not used by anything. I removed it successfully without affecting my system. Thank you!

2 Likes

Now that i look more closely, the version spotted in manjaro-compare is misleading since the package is there part of the kde-unstable repository, which is not enabled by default.

pacman -Qi libkipi                                                                                                           ✔ 
Name            : libkipi
Version         : 21.12.3-1
Description     : An interface to use kipi-plugins from a KDE application
Architecture    : x86_64
URL             : https://www.kde.org/
Licenses        : GPL  LGPL  FDL
Groups          : None
Provides        : None
Depends On      : kxmlgui  kservice  hicolor-icon-theme
Optional Deps   : None
Required By     : gwenview  spectacle
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 273.86 KiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Tue 01 Mar 2022 10:56:04
Install Date    : Mon 14 Mar 2022 18:10:24
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Screenshot_20220514_203104

should i uninstall it before updating?

As stated already, multiple packages can sometimes become orphans after an update, they are not needed anymore.

You can update with Pacman with no issue. If you have AUR enabled and try to update with something supporting the AUR like Pamac, and this package exists in the AUR, then it will try to update it through the AUR (which is the case here). You can remove your orphans in theory without issue.

1 Like

i just saw the anouncement from Philm:

  • libkipi is a deprecated dependency for some KDE applications, and has been moved to AUR.
  • When using Pamac graphically, you can disable the update for libkipi, before removing it from your system.

so i guess it’s: disable the update for this package->update->remove package.

1 Like

Turns out libkipi is an orphan now relegated to the AUR. Use sudo pacman -Qtdq to list your orphans, sudo pacman -Qqdt | sudo pacman -Rns - to delete them.

1 Like

Same exactly here. Both my Manjaros (notebook and PC) have libkipi. Notebook Kernel 5.15LTS couldn’t update, PC Kernel 5.17 could.
So I removed libkipi from notebook. Gwenview and Spectacle still working.

This is very strange; after a routine system update everything updates just fine, even a new test program installs just fine but CMake can’t build libkipi specifically, although there seems to possibly be a deeper problem because of the way it says it fails a test build. I already tried reinstalling CMake. Here is the output from attempting to update libkipi:

Preparing...
Synchronizing package databases...
Cloning libkipi build files...
Generating libkipi information...
Checking libkipi dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building libkipi...
==> Making package: libkipi 22.04.0-1 (Tue 24 May 2022 02:48:48 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libkipi-22.04.0.tar.xz
  -> Found libkipi-22.04.0.tar.xz.sig
==> Validating source files with sha256sums...
    libkipi-22.04.0.tar.xz ... Passed
    libkipi-22.04.0.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
    libkipi-22.04.0.tar.xz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting libkipi-22.04.0.tar.xz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- 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:69 (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/sagbobbit/Downloads/Build Directory/libkipi/src/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/make -f Makefile cmTC_96345/fast && /usr/bin/make  -f CMakeFiles/cmTC_96345.dir/build.make CMakeFiles/cmTC_96345.dir/build
    make[1]: Entering directory '/home/sagbobbit/Downloads/Build Directory/libkipi/src/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_96345.dir/testCCompiler.c.o
    /usr/bin/cc   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/sagbobbit/Downloads/Build Directory/libkipi/src=/usr/src/debug  -o CMakeFiles/cmTC_96345.dir/testCCompiler.c.o -c "/home/sagbobbit/Downloads/Build Directory/libkipi/src/build/CMakeFiles/CMakeTmp/testCCompiler.c"
    cc1: error: invalid argument ‘/home/sagbobbit/Downloads/Build’ to ‘-ffile-prefix-map’
    cc1: error: invalid argument ‘/home/sagbobbit/Downloads/Build’ to ‘-ffile-prefix-map’
    cc1: error: invalid argument ‘/home/sagbobbit/Downloads/Build’ to ‘-ffile-prefix-map’
    make[1]: *** [CMakeFiles/cmTC_96345.dir/build.make:78: CMakeFiles/cmTC_96345.dir/testCCompiler.c.o] Error 1
    make[1]: Leaving directory '/home/sagbobbit/Downloads/Build Directory/libkipi/src/build/CMakeFiles/CMakeTmp'
    make: *** [Makefile:127: cmTC_96345/fast] Error 2
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:7 (project)


-- Configuring incomplete, errors occurred!
See also "/home/sagbobbit/Downloads/Build Directory/libkipi/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/sagbobbit/Downloads/Build Directory/libkipi/src/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...


Thanks!

I had the same issue, but I was able to build libkipi after making sure base-devel is installed.

I assume you mean the “base-devel-meta” package? Installing that didn’t do it for me.