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

            Bug ID: 431226
           Summary: plugins/extensions/pykrita/kritarunner: Missing
                    dependency on ui_info.h and ui_manager.h
           Product: krita
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: kim.lindber...@gmail.com
  Target Milestone: ---

The pykrita/plugin target generates two required ui header files, ui_info.h and
ui_manager.h, using the ki18n_wrap_ui macro. The source files are independently
used by the pykrita/kritarunner target, which however doesn't generate the
required header files. This means that when built in parallel, sometimes the
pykrita/kritarunner target is built before the pykrita/plugin target and
compilation fails with

> /build/krita-4.1.8/plugins/extensions/pykrita/plugin/pyqtpluginsettings.cpp:19:10:
>  fatal error: ui_manager.h: No such file or directory
>  #include "ui_manager.h"
>           ^~~~~~~~~~~~~~

A full build output can be found here:
https://gist.githubusercontent.com/worldofpeace/c8248ff92b0ced199124bdcfdb59420f/raw/b0b26769b6369146b6c7a110eaa3e230f81515be/krita.log

When building Krita for NixOS, we're currently disabling building in parallel
to avoid this, but that makes the builds extremely lengthy.

This was also reported in https://bugs.kde.org/show_bug.cgi?id=407591.

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

Reply via email to