Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
200 stars 48 forks source link

dub build fails on FreeBSD #225

Closed devosalain closed 2 years ago

devosalain commented 2 years ago

dub build fails currently with:

serve-d:workspace-d 0.7.4+commit.28.g855a87a: target for configuration "library" is up to date.
serve-d 0.7.4+commit.28.g855a87a: building configuration "executable"...
/home/x/.dub/packages/dscanner-0.12.0/dscanner/src/dscanner/analysis/cyclomatic_complexity.d(73,2): Deprecation: alias dparse.ast.ThrowStatement is deprecated - Replaced by ExpressionStatement + ThrowExpression
source/served/commands/dcd_update.d(163,4): Error: static assert:  false is false
/usr/local/bin/ldc2 failed with exit code 1.

Please not my O.S. is : FreeBSD 13.1-RELEASE [ Maybe dcd_update.d needs freebsd specific code ?]

devosalain commented 2 years ago

After git pull, currently dub build fails with,

/home/x/.dub/packages/dscanner-0.12.0/dscanner/src/dscanner/analysis/cyclomatic_complexity.d(73,2): Deprecation: alias dparse.ast.ThrowStatement is deprecated - Replaced by ExpressionStatement + ThrowExpression source/served/commands/dcd_update.d(169,3): Warning: statement is not reachable source/served/commands/dcd_update.d(171,3): Warning: statement is not reachable source/served/commands/dcd_update.d(169,3): Warning: statement is not reachable source/served/commands/dcd_update.d(171,3): Warning: statement is not reachable FAIL .dub/build/executable-debug-posix.freebsd-x86_64-ldc_2093-89A3D3C6E3696C8298101C79100FD734/ serve-d executable /usr/local/bin/ldc2 failed with exit code 1. HOST:x: /home/x/serve-d >

WebFreak001 commented 2 years ago

try again now

devosalain commented 2 years ago

Currently build passes. Great. After updating DCD function neovim returns functions signatures in the editor , ie parameters taken for the functions. [ I receive errors ncm2_d_dcd@yarp job is dead but this has other origin]