Skip to content

[BUG] Failed to build & install using CMake and Make; including Ninja #387

@MartinVonReichenberg

Description

@MartinVonReichenberg

Small example:

[100%] Linking CXX executable ../bin/ktailctl
[100%] Built target ktailctl
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /usr/bin/bash -e /var/tmp/rpm-tmp.8SZGxq
+ umask 022
+ cd /home/martin/rpmbuild/BUILD/ktailctl-0.20.0-build
+ /usr/bin/rm -rf /home/martin/rpmbuild/BUILD/ktailctl-0.20.0-build/BUILDROOT
+ /usr/bin/mkdir -p /home/martin/rpmbuild/BUILD/ktailctl-0.20.0-build
+ /usr/bin/mkdir /home/martin/rpmbuild/BUILD/ktailctl-0.20.0-build/BUILDROOT
+ cd KTailctl-0.20.0
+ cmake --install build
-- Install configuration: "Release"
CMake Error at build/src/ui/components/cmake_install.cmake:52 (file):
  file cannot create directory:
  /usr/lib64/qt6/qml/org/fkoehler/KTailctl/Components.  Maybe need
  administrative privileges.
Call Stack (most recent call first):
  build/src/cmake_install.cmake:47 (include)
  build/cmake_install.cmake:47 (include)

I also tried the Ninja method with no luck ...

The package has also been uploaded to OBS.

Full details mentioned in attachments:

ktailctl.spec.txt
KTailctl.log
cmake_install.cmake.txt

What should one do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions