| Summary: | Craft failure in libs/shared-mime-info failed to detect bash | ||
|---|---|---|---|
| Product: | [Unmaintained] Craft | Reporter: | Allen Winter <winter> |
| Component: | Blueprints | Assignee: | Hannah von Reth <vonreth> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | windows-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
I forgot to install C:\msys64 |
SUMMARY failed to detect bash STEPS TO REPRODUCE from a non-powershell, plain old terminal run: c:\python37\python.exe -u C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\craft.py -i kde/frameworks/tier1 OBSERVED RESULT *** Action: compile for libs/shared-mime-info *** Failed to detect bash *** Craft all succeeded: libs/shared-mime-info after 3 seconds *** expected str, bytes or os.PathLike object, not NoneType Traceback (most recent call last): File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\craft.py", line 266, in <module> success = main() File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\craft.py", line 254, in main if not CraftCommands.run(package, action, tempArgs): File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\CraftCommands.py", line 282, in run if not handlePackage(info, action, directTargets=directTargets): File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\CraftCommands.py", line 75, in handlePackage success = doExec(package, action) File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\CraftCommands.py", line 41, in doExec ret = package.instance.runAction(action) File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\Package\PackageBase.py", line 221, in runAction if not getattr(self, step)(): File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\BuildSystem\BuildSystemBase.py", line 82, in compile return configure() and make() File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\BuildSystem\AutoToolsBuildSystem.py", line 47, in configure self.shell.environment["CFLAGS"] = self.subinfo.options.configure.cflags + " " + self.shell.environment["CFLAGS"] File "C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\shells.py", line 98, in environment for d in os.scandir(os.path.join(os.path.dirname(self._findBash()), "..", "share")): File "c:\python37\lib\ntpath.py", line 221, in dirname return split(p)[0] File "c:\python37\lib\ntpath.py", line 183, in split p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not NoneType Command c:\python37\python.exe -u C:\KDE\windows-msvc2017_64-cl-sdk-5.12.5\craft\bin\craft.py -i kde/frameworks/tier1 failed with exit code: 1 EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION