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

            Bug ID: 410371
           Summary: Fails to build due to incorrect include path
           Product: lattedock
           Version: 0.9.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: k...@aluisio.goncalves.info
  Target Milestone: ---

SUMMARY

The header file at app/view/settings/primaryconfigview.h[1] includes
../../plasmaquick/configview.h; however, in [2] that directory was renamed
plasma/quick. In some configurations that causes the build to fail.

[1]:
https://phabricator.kde.org/source/latte-dock/browse/master/app/view/settings/primaryconfigview.h;v0.9.0$25
[2]: https://phabricator.kde.org/R878:efb9414ef90a1062522daeb4973662b6158bbe70

STEPS TO REPRODUCE
1. Try to build LatteDock from source.

OBSERVED RESULT
The build fails with:
```
In file included from
/build/latte-dock-0.9.0/build/app/latte-dock_autogen/MYYPBNDHZL/moc_primaryconfigview.cpp:9:0,
                 from
/build/latte-dock-0.9.0/build/app/latte-dock_autogen/mocs_compilation.cpp:28:
/build/latte-dock-0.9.0/build/app/latte-dock_autogen/MYYPBNDHZL/../../../../app/view/settings/primaryconfigview.h:25:10:
fatal error: ../../plasmaquick/configview.h: No such file or directory
 #include "../../plasmaquick/configview.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```

EXPECTED RESULT
The build succeeds.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS 18.09-beta-35353-g72e547e2ad7
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION

I got this while trying to package this release for NixOS; packaging the same
version on Void Linux works fine, possibly due to different dependencies.

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

Reply via email to