I cannot upgrade libkipi

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.