[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tatan FTBFS on armel/armhf error: module string is in file 'std/string.d' which cannot be read



On Sat, Jul 12, 2014 at 11:36:15AM +0200, Markus Koschany wrote:
> Hi all, (please CC me)
> 
> I'm currently investigating a build failure for Tatan on armel and
> armhf. Tatan was written in D.
> 
> https://buildd.debian.org/status/package.php?p=tatan&suite=unstable
> 
> I can't make much sense of the error message since the only relevant
> change between the last revision and this one was a fix for a broken
> patch header. (#752952) It seems something changed in gdc for ARM in 4.9
> and the string.d module is no longer present or has been moved to a
> different location.
> 
> In Tatan's imports.patch we import the module in question with:
> 
> import std.string;
> 
> This works on amd64 and i386. Does anyone know why it doesn't on
> armel/armhf anymore or can point me in the right direction?

To use gdc version 4.9 you need libphobos-4.9-dev, which does not exist
on arm yet (only x86/amd64/x32 so far).

root@omap5:~/tatan-1.0.dfsg1# dpkg -S string.d
libphobos-4.8-dev: /usr/include/d/4.8/std/c/string.d
libphobos-4.8-dev: /usr/include/d/4.8/core/stdc/string.di
libphobos-4.8-dev: /usr/include/d/4.8/std/string.d

gdc 4.9 looks in /usr/include/d/4.9/ for the files.

-- 
Len Sorensen


Reply to: