RejectedSoftware Forums

Sign up

What happened to the derelict dub package?

$ dub init testderelict
Successfully created an empty project in '(...)'.

Add derelict dependency to dub.json and run dub:

$ vim dub.json
$ dub
WARNING: A deprecated branch based version specification is used for the dependency derelict. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
Package derelict contains no source files. Please add {"targetType": "none"} to it's package description to avoid building it.
Building derelict:util ~master configuration "library", build type debug.
Running dmd...
Building derelict:ode ~master configuration "library", build type debug.
Running dmd...
Building derelict:alure ~master configuration "library", build type debug.
Running dmd...
Building derelict:ogg ~master configuration "library", build type debug.
Running dmd...
Building derelict:sdl2 ~master configuration "library", build type debug.
Running dmd...
Building derelict:freeglut ~master configuration "library", build type debug.
Running dmd...
Building derelict:lua ~master configuration "library", build type debug.
Running dmd...
Building derelict:assimp3 ~master configuration "library", build type debug.
Running dmd...
Building derelict:opengl3 ~master configuration "library", build type debug.
Running dmd...
Building derelict:devil ~master configuration "library", build type debug.
Running dmd...
Building derelict:openal ~master configuration "library", build type debug.
Running dmd...
Building derelict:glfw3 ~master configuration "library", build type debug.
Running dmd...
Building derelict:physfs ~master configuration "library", build type debug.
Running dmd...
Building derelict:pq ~master configuration "library", build type debug.
Running dmd...
Building derelict:assimp ~master configuration "library", build type debug.
Running dmd...
Building derelict:freeimage ~master configuration "library", build type debug.
Running dmd...
Building derelict:sfml2 ~master configuration "library", build type debug.
Running dmd...
Building derelict:freetype ~master configuration "library", build type debug.
Running dmd...
Building derelict:tcod ~master configuration "library", build type debug.
Running dmd...
Building testderelict ~master configuration "application", build type debug.
Compiling...
Linking...
Running ./testderelict 
Edit source/app.d to start your project.

Run the app, without any changes:

$ dub run
WARNING: A deprecated branch based version specification is used for the dependency derelict. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
Package derelict contains no source files. Please add {"targetType": "none"} to it's package description to avoid building it.
Building derelict:util ~master configuration "library", build type debug.
Running dmd...
Building derelict:ode ~master configuration "library", build type debug.
Running dmd...
Building derelict:alure ~master configuration "library", build type debug.
Running dmd...
Building derelict:ogg ~master configuration "library", build type debug.
Running dmd...
Building derelict:sdl2 ~master configuration "library", build type debug.
Running dmd...
Building derelict:freeglut ~master configuration "library", build type debug.
Running dmd...
Building derelict:lua ~master configuration "library", build type debug.
Running dmd...
Building derelict:assimp3 ~master configuration "library", build type debug.
Running dmd...
Building derelict:opengl3 ~master configuration "library", build type debug.
Running dmd...
Building derelict:devil ~master configuration "library", build type debug.
Running dmd...
Building derelict:openal ~master configuration "library", build type debug.
Running dmd...
Building derelict:glfw3 ~master configuration "library", build type debug.
Running dmd...
Building derelict:physfs ~master configuration "library", build type debug.
Running dmd...
Building derelict:pq ~master configuration "library", build type debug.
Running dmd...
Building derelict:assimp ~master configuration "library", build type debug.
Running dmd...
Building derelict:freeimage ~master configuration "library", build type debug.
Running dmd...
Building derelict:sfml2 ~master configuration "library", build type debug.
Running dmd...
Building derelict:freetype ~master configuration "library", build type debug.
Running dmd...
Building derelict:tcod ~master configuration "library", build type debug.
Running dmd...
Building testderelict ~master configuration "application", build type debug.
Compiling...
Linking...
Running ./testderelict 
Edit source/app.d to start your project.
$ 

This is mightily annoying. It now takes forever to build a project using derelict, and even just a dub run without touching any file is slow :( What happened? How can I fix this?

Re: What happened to the derelict dub package?

On Thu, 05 Jun 2014 13:11:31 GMT, Luís Marques wrote:

This is mightily annoying. It now takes forever to build a project using derelict, and even just a dub run without touching any file is slow :( What happened? How can I fix this?

Since nobody replied, let me just add that dub build --rdmd helps, if someone else encounters this issue.

Re: What happened to the derelict dub package?

Am 11.06.2014 00:12, schrieb Luís Marques:

On Thu, 05 Jun 2014 13:11:31 GMT, Luís Marques wrote:

This is mightily annoying. It now takes forever to build a project using derelict, and even just a dub run without touching any file is slow :( What happened? How can I fix this?

Since nobody replied, let me just add that dub build --rdmd helps, if someone else encounters this issue.

I've marked the message to remember it, but didn't yet get the change to
look into it. Will try to do that tomorrow.

Re: What happened to the derelict dub package?

I've tried to reproduce this now with DUB master, but for me the second run always outputs this:

WARNING: A deprecated branch based version specification is used for the depende
ncy derelict. Please use numbered versions instead. Also note that you can still
 use the dub.selections.json file to override a certain dependency to use a bran
ch instead.
Configuration 'library' of package derelict contains no source files. Please add
 {"targetType": "none"} to it's package description to avoid building it.
Target derelict:util ~master is up to date. Use --force to rebuild.
Target derelict:assimp3 ~master is up to date. Use --force to rebuild.
Target derelict:opengl3 ~master is up to date. Use --force to rebuild.
Target derelict:sdl2 ~master is up to date. Use --force to rebuild.
Target derelict:freeimage ~master is up to date. Use --force to rebuild.
Target derelict:freetype ~master is up to date. Use --force to rebuild.
Target derelict:sfml2 ~master is up to date. Use --force to rebuild.
Target derelict:ode ~master is up to date. Use --force to rebuild.
Target derelict:openal ~master is up to date. Use --force to rebuild.
Target derelict:freeglut ~master is up to date. Use --force to rebuild.
Target derelict:ogg ~master is up to date. Use --force to rebuild.
Target derelict:alure ~master is up to date. Use --force to rebuild.
Target derelict:physfs ~master is up to date. Use --force to rebuild.
Target derelict:lua ~master is up to date. Use --force to rebuild.
Target derelict:assimp ~master is up to date. Use --force to rebuild.
Target derelict:pq ~master is up to date. Use --force to rebuild.
Target derelict:tcod ~master is up to date. Use --force to rebuild.
Target derelict:devil ~master is up to date. Use --force to rebuild.
Target derelict:glfw3 ~master is up to date. Use --force to rebuild.
Target test 0.0.1 is up to date. Use --force to rebuild.
Running .\test.exe
Edit source/app.d to start your project.

My dub.json looks like this:

{
	"name": "test",
	"dependencies": {
		"derelict": "~master"
	}
}

Re: What happened to the derelict dub package?

On Wed, 11 Jun 2014 16:36:48 GMT, Sönke Ludwig wrote:

I've tried to reproduce this now with DUB master, but for me the second run always outputs this:

You are right, ~master no longer exhibits this behavior.