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

            Bug ID: 438535
           Summary: confusing "which was included from line NN" Config
                    Error from kdesrc-build
           Product: kdesrc-build
           Version: Git
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: mp...@kde.org
          Reporter: skierp...@gmail.com
  Target Milestone: ---

SUMMARY
Following https://community.kde.org/Get_Involved/development , I finally got to
building!, but got
        Config Error: Unable to open file
/home/spage/programs/kde/src/kdesrc-build/kf5-qt5-build-include which was
included from line 42
But there's no line 42 in kdesrc-build.

STEPS TO REPRODUCE
1. Set up kdesrc-build
2. Wait several years 😉, repeat setup it in a different location
3. Run `kdesrc-build baloo`


OBSERVED RESULT
You get a great error message from `kdesrc-build baloo`
    kdesrc-build encountered an exceptional error condition:
     ========
        Config Error: Unable to open file
/home/spage/programs/kde/src/kdesrc-build/kf5-qt5-build-include which was
included from line 42
     ========
            Can't continue, so stopping now.

but it's not processing the script file kdesrc-build, so ??
(Eventually I figured out the actual failing include is happening while parsing
my outdated configuration file ~/.kdesrc-buildrc , but you have to know to look
here.)

EXPECTED RESULT
It would be great if the configuration loading could say what config file it's
processing, e.g.
    Config Error while processing ~/.kdesrc-buildrc : Unable to open file
/home/spage/programs/kde/src/kdesrc-build/kf5-qt5-build-include which was
included from its line 42

I realize this may be really hard to do, as the rc processing seems to be
happening in some Perl module that may be unaware of the context.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.21.5
KDE Frameworks Version: git master
Qt Version: 5.15.2 on Wayland

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

Reply via email to