[Debian-med-packaging] [Pkg-d-devel] Next D project question: sambamba needs rdmd

Matthias Klumpp mak at debian.org
Sat Mar 4 20:11:38 UTC 2017


2017-03-04 19:23 GMT+01:00 Andreas Tille <andreas at an3as.eu>:
> Hi,
>
> I have commited some preliminary packaging for sambamba[1].  The build
> fails with:
>
> rdmd --force --build-only --compiler=dmd -IBioD -g -d -L-l:lhts -L-l:libphobos2.a -L-l:llz4 -ofbuild/sambamba main.d
> make[1]: rdmd: Command not found
>
> But Debian has no rdmd.  Is there anything I can use instead?
>
> Thanks for any help
>
>      Andreas.
>
> [1] https://anonscm.debian.org/git/debian-med/sambamba.git

rdmd is part of DMD, and not packaged. Unlike with packaging DMD
itself, having rdmd in Debian main is actually possible (no
restrictive licenses), and would require to package
https://github.com/dlang/tools

Alternatively, given that rdmd is really just a wrapper around other
commands, you could add the build/link steps manually. The ldmd2
command in the LDC package will help you with that (ldmd2 is a
dmd-compatible wrapper around LDC, so dmd flags can be reused).

The rdmd documentation is quite good: https://dlang.org/rdmd.html

Cheers,
    Matthias

-- 
I welcome VSRE emails. See http://vsre.info/



More information about the Debian-med-packaging mailing list