[Craft] [Bug 403527] New: Trying to install LLVM with Craft gives : 'NoneType' object is not callable
Petros
bugzilla_noreply at kde.org
Wed Jan 23 10:24:01 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=403527
Bug ID: 403527
Summary: Trying to install LLVM with Craft gives : 'NoneType'
object is not callable
Product: Craft
Version: master
Platform: Other
OS: MS Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: Core
Assignee: vonreth at kde.org
Reporter: petross404 at gmail.com
CC: kde-windows at kde.org
Target Milestone: ---
SUMMARY
I want to build KDE Software on my Windows machine and thus I installed Craft.
But when I try to install LLVM I get :
TypeError: 'NoneType' object is not callable
STEPS TO REPRODUCE
1. Open PowerShell as admin
2. Run the $CRAFTROOT/download/craftmaster/craftenv.ps1 script
3. craft llvm
4. Boom
OBSERVED RESULT
PS C:\CraftRoot\download> craft llvm
Craft : C:\CraftRoot\download
Version : master
ABI : windows-msvc2017_64-cl
Download directory : C:\CraftRoot\download\download
'NoneType' object is not callable
Traceback (most recent call last):
File "C:\CraftRoot\download\craft-master\bin\craft.py", line 250, in <module>
success = main()
File "C:\CraftRoot\download\craft-master\bin\craft.py", line 238, in main
if not CraftCommands.run(package, action, tempArgs):
File "C:\CraftRoot\download\craft-master\bin\CraftCommands.py", line 240, in
run
depList = depPackage.getDependencies(depType=depType)
File
"C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py",
line 105, in getDependencies
self.depenendencyType = depType
File
"C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py",
line 45, in depenendencyType
self.__resolveDependencies()
File
"C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py",
line 58, in __resolveDependencies
self.dependencies.extend(self.__readDependenciesForChildren([(x, None) for
x in self.children.values()]))
File
"C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py",
line 74, in __readDependenciesForC
hildren
p.depenendencyType = self.depenendencyType
File
"C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py",
line 45, in depenendencyType
self.__resolveDependencies()
File
"C:\CraftRoot\download\craft-master\bin\Blueprints\CraftDependencyPackage.py",
line 50, in __resolveDependencies
subinfo = self.subinfo
File
"C:\CraftRoot\download\craft-master\bin\Blueprints\CraftPackageObject.py", line
319, in subinfo
return self.instance.subinfo
File
"C:\CraftRoot\download\craft-master\bin\Blueprints\CraftPackageObject.py", line
307, in instance
pack = mod.Package()
File
"C:\CraftRoot\download\etc\blueprints\locations\craft-blueprints-kde\libs\llvm-meta\llvm\llvm.py",
line 30, in __
init__
CMakePackageBase.__init__(self)
File "C:\CraftRoot\download\craft-master\bin\Package\CMakePackageBase.py",
line 15, in __init__
PackageBase.__init__(self)
File "C:\CraftRoot\download\craft-master\bin\Package\PackageBase.py", line
32, in __init__
CraftBase.__init__(self)
File "C:\CraftRoot\download\craft-master\bin\CraftBase.py", line 38, in inner
return fun(*args, **kwargs)
File "C:\CraftRoot\download\craft-master\bin\CraftBase.py", line 58, in
__init__
self.subinfo = mod.subinfo(self)
File "C:\CraftRoot\download\craft-master\bin\info.py", line 65, in __init__
self.registerOptions()
File
"C:\CraftRoot\download\etc\blueprints\locations\craft-blueprints-kde\libs\llvm-meta\llvm\llvm.py",
line 8, in reg
isterOptions
self.options.dynamic.setDefault("buildType", "Release")
TypeError: 'NoneType' object is not callable
PS C:\CraftRoot\download>
EXPECTED RESULT
Install the LLVM package
SOFTWARE/OS VERSIONS
Windows: Windows 7 x64
Qt Version: None
ADDITIONAL INFORMATION
Craft and kde-blueprints are updated. Also, running the craftenv.ps1 script
gives this output:
Craft : C:\CraftRoot\download
Version : master
ABI : windows-msvc2017_64-cl
Download directory : C:\CraftRoot\download\download
PS C:\CraftRoot\download>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list