You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dub build --config=dynamic will get the allegro dependency from ./DAllegro5 rather than looking in the cache for the versioned dependency.
If you delete the dependency from the unused configuration, it works.
Full output:
[rcorre@desktop-arch dubtest]$ dub run --config=dynamic -v
Using dub registry url 'http://code.dlang.org/'
Refreshing local packages (refresh existing: true)...
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /home/rcorre/.dub/packages/local-packages.json
Note: Failed to determine version of package dubtest at .. Assuming ~master.
Refreshing local packages (refresh existing: false)...
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /home/rcorre/.dub/packages/local-packages.json
Adding local /tmp/dubtest/DAllegro5
Note: Failed to determine version of package allegro at .. Assuming ~master.
Found dependency allegro >=0.0.0 @DAllegro5
Checking for missing dependencies.
Using fixed selection allegro 2.0.3+5.0.10
Refreshing local packages (refresh existing: false)...
Looking for local package map at /var/lib/dub/packages/local-packages.json
Looking for local package map at /home/rcorre/.dub/packages/local-packages.json
Adding local /tmp/dubtest/DAllegro5
Found dependency allegro >=0.0.0 @DAllegro5
Checking for upgrades.
Using cached upgrade results...
Generating using build
Generate target dubtest (executable /tmp/dubtest dubtest)
Generate target allegro (staticLibrary /tmp/dubtest/DAllegro5 dallegro5)
Performing "debug" build using dmd for x86_64.
allegro ~master: target for configuration "no-libs" is up to date.
Using existing build in /tmp/dubtest/DAllegro5/.dub/build/no-libs-debug-linux.posix-x86_64-dmd_2070-F918032832AACEBCEA74E06E9194D292/.
Copying target from /tmp/dubtest/DAllegro5/.dub/build/no-libs-debug-linux.posix-x86_64-dmd_2070-F918032832AACEBCEA74E06E9194D292/libdallegro5.a to /tmp/dubtest/DAllegro5
dubtest ~master: target for configuration "dynamic" is up to date.
Using existing build in /tmp/dubtest/.dub/build/dynamic-debug-linux.posix-x86_64-dmd_2070-BD38FC2B9D3466932F0883331E42F1A8/.
Copying target from /tmp/dubtest/.dub/build/dynamic-debug-linux.posix-x86_64-dmd_2070-BD38FC2B9D3466932F0883331E42F1A8/dubtest to /tmp/dubtest
To force a rebuild of up-to-date targets, run again with --force.
Running ./dubtest
The text was updated successfully, but these errors were encountered:
Is this happening for 0.9.24? I can confirm it there, but on master it appears to be fixed already. I've added a test case to ensure that this is/stays fixed.
Given the following:
dub build --config=dynamic
will get theallegro
dependency from./DAllegro5
rather than looking in the cache for the versioned dependency.If you delete the dependency from the unused configuration, it works.
Full output:
The text was updated successfully, but these errors were encountered: