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

            Bug ID: 483781
           Summary: kde-builder Runtime Error: Invalid variable
                    qt-install-dir
    Classification: Developer tools
           Product: buildsystem
           Version: unspecified
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: neund...@kde.org
          Reporter: tbert...@gmail.com
  Target Milestone: ---

SUMMARY

STEPS TO REPRODUCE
1. Install kde-builder-git from AUR
2. Run kde-builder --install-distro-packages
3. Run kde-builder --generate-config
4. Run kde-builder partitionmanager

OBSERVED RESULT

<<<  PACKAGES SUCCESSFULLY BUILT  >>>
Built 38 modules

kdesrc-build encountered an exceptional error condition:
 ========
    Runtime Error: Invalid variable qt-install-dir
 ========
Can't continue, so stopping now.


Traceback (most recent call last):
  File "/usr/share/kde-builder/kde-builder", line 60, in <module>
    result = app.runAllModulePhases()
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/kde-builder/ksblib/Application.py", line 652, in
runAllModulePhases
    Application._installCustomSessionDriver(ctx)
  File "/usr/share/kde-builder/ksblib/Application.py", line 1662, in
_installCustomSessionDriver
    Application._installCustomFile(ctx, envScript,
f"{destDir}/kde-env-master.sh", "kde-env-master-digest")
  File "/usr/share/kde-builder/ksblib/Application.py", line 1616, in
_installCustomFile
    Application._installTemplatedFile(sourceFilePath, destFilePath, ctx)
  File "/usr/share/kde-builder/ksblib/Application.py", line 1573, in
_installTemplatedFile
    line = re.sub(pattern, repl(), line)  # Replace all matching expressions,
use extended regexp with comments, and replacement is Python code to execute.
                           ^^^^^^
  File "/usr/share/kde-builder/ksblib/Application.py", line 1571, in repl
    return ctx.getOption(match.group(1)) or
BuildException.croak_runtime(f"Invalid variable {match.group(1)}")
                                           
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/kde-builder/ksblib/BuildException.py", line 66, in
croak_runtime
    raise BuildException.make_exception("Runtime", msg, 1)
ksblib.BuildException.BuildException: Runtime Error: Invalid variable
qt-install-dir


EXPECTED RESULT

No error

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION

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

Reply via email to