[Pkg-d-devel] Attempt to build BioD blocked by undeaD and missing module string (Was: How to build D source)
James Cowgill
jcowgill at debian.org
Sun Feb 26 14:19:27 UTC 2017
Hi,
On 26/02/17 07:03, Andreas Tille wrote:
> On Sat, Feb 25, 2017 at 10:01:17PM +0000, James Cowgill wrote:
>> On 25/02/17 21:31, Andreas Tille wrote:
>>> I intend to package BioD[1] but I have no idea how to build the D code
>>> (and run the unit tests). Considering BioD is a library I might need
>>> something like a dynamic lib and a development package, but may be this
>>> is different for D than in C.
>>
>> It looks like it uses "dub" as it's build system. Dub is packaged but
>> has no users in the archive so you probably want to talk to the D
>> language maintainers about it first to see what the correct way to
>> handle this is.
>
> I just added "dub run" to debian/rules.
I think you want "dub build" instead.
>> I notice it depends on undead which will need packaging first.
>
> There are two kinds of messages:
>
> bio/bam/bai/indexing.d(33,8): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
>
> This is what James seems to refer to - I'm not sure whether this is
> critical for the build here. I'd be willing to package undead if needed
> but I'd prefer if some more skilled people would do so.
Ah, I was looking at upstream git master which contains this dependency
in dub.json:
"dependencies": {
"undead": "~>1.0.6"
},
> bio/bam/bai/indexing.d(38,8): Error: module string is in file 'core/std/c/string.d' which cannot be read
>
> This seems to be critical. Do you have any hint?
Maybe this PR would help?
https://github.com/biod/BioD/pull/23
None of these errors or warnings happen for me with the latest upstream
git.
Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-d-devel/attachments/20170226/aebc77af/attachment.sig>
More information about the Pkg-d-devel
mailing list