[Craft] [Bug 485624] New: Fresh install on macOS: list index out of range
Dawid Wróbel
bugzilla_noreply at kde.org
Tue Apr 16 09:40:24 BST 2024
https://bugs.kde.org/show_bug.cgi?id=485624
Bug ID: 485624
Summary: Fresh install on macOS: list index out of range
Classification: Developer tools
Product: Craft
Version: unspecified
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: Core
Assignee: vonreth at kde.org
Reporter: me at dawidwrobel.com
CC: kde-windows at kde.org
Target Milestone: ---
SUMMARY
I attempted to do a fresh install of Craft on macOS 13.3.1:
cromo at macpro ~ % curl
https://raw.githubusercontent.com/KDE/craft/master/setup/CraftBootstrap.py -o
setup.py && python3 setup.py --prefix ~/CraftRoot
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15618 100 15618 0 0 34936 0 --:--:-- --:--:-- --:--:-- 36069
Welcome to the Craft setup wizard!
Craft will be installed to: /Users/cromo/CraftRoot
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Select the version of Qt you want to use (Craft can't mix Qt5 and Qt6). This
will change the cache version used by craft
[0] Qt5, [1] Qt6 (Default is Qt6): 0
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Select target architecture
[0] x86_64, [1] arm64 (Default is x86_64):
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Do you want to enable the support for colored logs
[0] Yes, [1] No (Default is Yes):
Starting to download
https://invent.kde.org/packaging/craft/-/archive/qt5-lts/craft-qt5-lts.zip to
/Users/cromo/CraftRoot/download/craft-qt5-lts.zip
827392 bytes downloaded
Execute: /Library/Developer/CommandLineTools/usr/bin/python3
/Users/cromo/CraftRoot/craft-tmp/bin/craft.py --unshelve
/Users/cromo/CraftRoot/etc/bootstrap.shelf
Craft : /Users/cromo/CraftRoot
ABI : macos-clang-x86_64
Download directory : /Users/cromo/CraftRoot/download
Cache repository : https://files.kde.org/craft/Qt5/24.03/macos/clang/x86_64
Craft : /Users/cromo/CraftRoot
ABI : macos-clang-x86_64
Download directory : /Users/cromo/CraftRoot/download
Cache repository : https://files.kde.org/craft/Qt5/24.03/macos/clang/x86_64
setOptions: BlueprintSettings.ini [virtual]ignored = True
setOptions: BlueprintSettings.ini [libs]ignored = True
setOptions: BlueprintSettings.ini [dev-utils]ignored = True
list index out of range
Traceback (most recent call last):
File "/Users/cromo/CraftRoot/craft-tmp/bin/craft.py", line 416, in <module>
success = main(timer)
File "/Users/cromo/CraftRoot/craft-tmp/bin/craft.py", line 406, in main
if not CraftCommands.run(package, action, tempArgs):
File "/Users/cromo/CraftRoot/craft-tmp/bin/CraftCommands.py", line 419, in
run
depList = depPackage.getDependencies(depType=depType)
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 140, in getDependencies
self.depenendencyType = depType
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 46, in depenendencyType
self.__resolveDependencies()
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 61, in __resolveDependencies
self.dependencies.extend(self.__readDependenciesForChildren([(x, None) for
x in self.children.values()]))
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 110, in __readDependenciesForChildren
p.depenendencyType = self.depenendencyType
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 46, in depenendencyType
self.__resolveDependencies()
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 57, in __resolveDependencies
self.dependencies.extend(self.__readDependenciesForChildren(subinfo.buildDependencies.items()))
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 110, in __readDependenciesForChildren
p.depenendencyType = self.depenendencyType
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 46, in depenendencyType
self.__resolveDependencies()
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 54, in __resolveDependencies
self.dependencies.extend(self.__readDependenciesForChildren(subinfo.runtimeDependencies.items()))
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 110, in __readDependenciesForChildren
p.depenendencyType = self.depenendencyType
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 46, in depenendencyType
self.__resolveDependencies()
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 61, in __resolveDependencies
self.dependencies.extend(self.__readDependenciesForChildren([(x, None) for
x in self.children.values()]))
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 110, in __readDependenciesForChildren
p.depenendencyType = self.depenendencyType
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 46, in depenendencyType
self.__resolveDependencies()
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 54, in __resolveDependencies
self.dependencies.extend(self.__readDependenciesForChildren(subinfo.runtimeDependencies.items()))
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 110, in __readDependenciesForChildren
p.depenendencyType = self.depenendencyType
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 46, in depenendencyType
self.__resolveDependencies()
File
"/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftDependencyPackage.py",
line 51, in __resolveDependencies
subinfo = self.subinfo
File "/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftPackageObject.py",
line 358, in subinfo
return self.instance.subinfo
File "/Users/cromo/CraftRoot/craft-tmp/bin/Blueprints/CraftPackageObject.py",
line 333, in instance
pack = self._Module.Package()
File "/Users/cromo/CraftRoot/craft-tmp/blueprints/libs/runtime/runtime.py",
line 29, in __init__
BinaryPackageBase.__init__(self)
File "/Users/cromo/CraftRoot/craft-tmp/bin/Package/BinaryPackageBase.py",
line 18, in __init__
PackageBase.__init__(self)
File "/Users/cromo/CraftRoot/craft-tmp/bin/Package/PackageBase.py", line 34,
in __init__
CraftBase.__init__(self)
File "/Users/cromo/CraftRoot/craft-tmp/bin/CraftBase.py", line 41, in inner
return fun(*args, **kwargs)
File "/Users/cromo/CraftRoot/craft-tmp/bin/CraftBase.py", line 60, in
__init__
self.subinfo = self.package._Module.subinfo(self) # type: info.infoclass
File "/Users/cromo/CraftRoot/craft-tmp/bin/info.py", line 85, in __init__
self.setTargets()
File "/Users/cromo/CraftRoot/craft-tmp/blueprints/libs/runtime/runtime.py",
line 12, in setTargets
ver = str(CraftCore.compiler.getVersion())
File "/Users/cromo/CraftRoot/craft-tmp/bin/CraftCompiler.py", line 357, in
getVersion
return self.getGCCLikeVersion(self.compiler.name)
File "/Users/cromo/CraftRoot/craft-tmp/bin/CraftCompiler.py", line 351, in
getGCCLikeVersion
result = re.findall(r"\d+\.\d+\.?\d*", result)[0]
IndexError: list index out of range
SOFTWARE/OS VERSIONS
macOS:
ProductVersion: 13.3.1
BuildVersion: 22E261
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list