serve-d icon indicating copy to clipboard operation
serve-d copied to clipboard

dub build fails on freebsd (but can be fixed)

Open devosalain opened this issue 1 year ago • 4 comments

  1. using gcc as compiler, i.e.
export CC=/usr/local/bin/gcc

2.modifying ./serverbase/dub.sdl

dependency "serve-d:lsp" path="../lsp"

3.modifying ./workspace-d/dub.sdl

dependency "serve-d:dcd" path="../dcd"

After this "dub build" builds just fine.

devosalain avatar Aug 01 '22 20:08 devosalain

which dub version are you using? this shouldn't be happening on recent dub versions

WebFreak001 avatar Aug 01 '22 23:08 WebFreak001

dub --version DUB version 1.14.0, built on Jul 3 2022

devosalain avatar Aug 02 '22 10:08 devosalain

1.14 is very old and is probably too outdated at this point. The current version is 1.29, does your distro distribute a newer version like that? It might be worth fixing the distro's version instead, as dub changed the recommended way how to refer to submodules, which is being used right now, but not compatible with old dub versions.

WebFreak001 avatar Aug 02 '22 10:08 WebFreak001

Thanks , i entered a PR for my distro, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265606

devosalain avatar Aug 04 '22 01:08 devosalain

fixed upstream

WebFreak001 avatar Jan 16 '23 05:01 WebFreak001