[Craft] [Bug 412580] New: Craft failure in libs/shared-mime-info failed to detect bash

Allen Winter bugzilla_noreply at kde.org
Thu Oct 3 22:01:28 BST 2019


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

            Bug ID: 412580
           Summary: Craft failure in libs/shared-mime-info failed to
                    detect bash
           Product: Craft
           Version: master
          Platform: Other
                OS: MS Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Blueprints
          Assignee: vonreth at kde.org
          Reporter: winter at kde.org
                CC: kde-windows at kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list