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

            Bug ID: 420210
           Summary: Cmake Fatal Error:
                    app/settings/dialogs/settingsdialog.cpp:35:10: fatal
                    error: ../../liblatte2/types.h: No such file or
                    directory
           Product: lattedock
           Version: git (master)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: flyingwaf...@pm.me
  Target Milestone: ---

Created attachment 127618
  --> https://bugs.kde.org/attachment.cgi?id=127618&action=edit
failed build's log

When building latte-dock and the build directory is placed outside the source
directory (as is apparently default for Gentoo) a fatal error is encountered.
Specifically ../../liblatte2/types.h is not accessible from an outside build
directory.

See also: https://bugs.gentoo.org/717910
According to the Gentoo repo maintainers this is an upstream issue, I disagree
but am filing this bug report anyway just in case.


STEPS TO REPRODUCE
1. Make build directory outside source directory.
2. Build.
(Or just use the Gentoo ebuild for git version of latte-dock and try installing
it).


OBSERVED RESULT
Build fails.

EXPECTED RESULT
Build succeeds.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo 5.6.4 - 64bit
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
I think this is due to a hardcoded relative file dependency that only becomes
an issue if the build directory is not inside the source directory.
Failed build's log is attached, but I don't know how useful it will be due to
the problem's rather specific nature.

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

Reply via email to