D:\anchovy>dub build --build=debug
Fetching anchovy 0.5.0...
Placing anchovy 0.5.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Failed to parse package description in C:\Users\andrey\AppData\Roaming\dub\packages\anchovy-0.4.0
Package anchovy:utils 0.4.0 was found neither locally, nor in the configured package registries.
Fetching anchovy 0.3.0...
Placing anchovy 0.3.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Fetching anchovy 0.2.4...
Placing anchovy 0.2.4 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:core 0.4.0 was found neither locally, nor in the configured package registries.
Package anchovy 0.5.0 doesn't have a sub package anchovy:util
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:util 0.4.0 was found neither locally, nor in the configured package registries.
Fetching anchovy 0.3.0...
Placing anchovy 0.3.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:util 0.3.0 was found neither locally, nor in the configured package registries.
Fetching anchovy 0.2.4...
Placing anchovy 0.2.4 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:util 0.2.4 was found neither locally, nor in the configured package registries.
Fetching anchovy ~master...
Placing anchovy ~master to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy ~master doesn't have a sub package anchovy:util
Fetching derelict ~master...
Placing derelict ~master to C:\Users\andrey\AppData\Roaming\dub\packages\...
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:graphics 0.4.0 was found neither locally, nor in the configured
package registries.
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:gui 0.4.0 was found neither locally, nor in the configured package registries.
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Selected package derelict-gl3 ~master doesn't exist. Using latest matching version instead.
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:utils 0.4.0 was found neither locally, nor in the configured package registries.
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:core 0.4.0 was found neither locally, nor in the configured package registries.
Package anchovy 0.5.0 doesn't have a sub package anchovy:util
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:util 0.4.0 was found neither locally, nor in the configured package registries.
Fetching anchovy 0.3.0...
Placing anchovy 0.3.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:util 0.3.0 was found neither locally, nor in the configured package registries.
Fetching anchovy 0.2.4...
Placing anchovy 0.2.4 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:util 0.2.4 was found neither locally, nor in the configured package registries.
Fetching anchovy ~master...
Placing anchovy ~master to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:util ~master was found neither locally, nor in the configured package registries.
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:graphics 0.4.0 was found neither locally, nor in the configured
package registries.
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Package anchovy:gui 0.4.0 was found neither locally, nor in the configured package registries.
Fetching anchovy 0.4.0...
Placing anchovy 0.4.0 to C:\Users\andrey\AppData\Roaming\dub\packages\...
Error executing command build: anchovy (0.4.0) needs to be removed from 'C:/User
s/andrey/AppData/Roaming/dub/packages/anchovy-0.4.0' prior placement.
Older versions of anchovy have broken dub.json, but dub should use local subprojects and not download all the older versions of the project.
Now i have the following dub.json (build log is for that config):
{
"name" : "anchovy",
"description" : "Set of multimedia libraries for games and gui applications",
"homepage" : "http://github.com/MrSmith33/anchovy",
"authors" : [ "Andrey Penechko" ],
"license" : "BSL-1.0",
"dependencies" : {
":core" : "*",
":graphics" : "*",
":gui" : "*",
":utils" : "*"
},
"targetType" : "none",
"subPackages" : [
{
"name" : "core",
"dependencies" : {
":utils" : "*",
"derelict-fi" : "~master",
"derelict-ft" : "~master",
"derelict-gl3" : "~master",
"derelict-glfw3" : "~master",
"dlib" : "~master"
},
"importPaths" : [ "import" ],
"sourcePaths" : [ "import/anchovy/core" ],
"targetPath" : "lib",
"targetType" : "library"
},
{
"dependencies" : {
":core" : "*",
":utils" : "*",
"derelict-fi" : "~master",
"derelict-ft" : "~master",
"derelict-gl3" : "~master",
"derelict-glfw3" : "~master",
"dlib" : "~master"
},
"importPaths" : [ "import" ],
"name" : "graphics",
"sourcePaths" : [ "import/anchovy/graphics" ],
"targetPath" : "lib",
"targetType" : "library"
},
{
"dependencies" : {
":core" : "*",
":graphics" : "*",
":utils" : "*",
"derelict-fi" : "~master",
"derelict-ft" : "~master",
"derelict-gl3" : "~master",
"derelict-glfw3" : "~master",
"dlib" : "~master",
"sdlang-d" : "~master"
},
"name" : "gui",
"importPaths" : [ "import" ],
"sourcePaths" : [ "import/anchovy/gui" ],
"targetPath" : "lib",
"targetType" : "library"
},
{
"name" : "utils",
"sourcePaths" : [ "import/anchovy/utils" ],
"importPaths" : [ "import" ],
"targetPath" : "lib",
"targetType" : "library"
},
{
"name" : "guidemo",
"sourcePaths" : ["examples"],
"dependencies" : {
"anchovy:gui" : "*"
},
"targetPath" : "bin",
"targetType" : "executable"
}
]
}