https://bugs.kde.org/show_bug.cgi?id=361983

            Bug ID: 361983
           Summary: building KNSBackend writes files to source directory
           Product: Discover
           Version: 5.6.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: discover
          Assignee: aleix...@kde.org
          Reporter: silh...@gmail.com

When building libdiscover (KNSBackend in particular) the files
${backend}.desktop and ${backend}-categories.xml are overwritten inside the
source directory.

Is there a reason to keep these files in git, although they are generated?

I found out because cmake complained:
Error renaming from
"/scratch/discover-build/libdiscover/backends/KNSBackend/knscomic-backend.desktop"
to
"/home/carlo/discover/libdiscover/backends/KNSBackend/knscomic-backend.desktop":
Invalid cross-device link
/home and /scratch have different muont points, and rename works only on the
same volume.

If this behavior must be maintained, consider using
cmake -E copy
instead of
cmake -E rename
in libdiscover/backends/KNSBackend/CMakeLists.txt which works across different
volumes.

Reproducible: Always

Steps to Reproduce:
1. cmake
2. make

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to