#783328 gdc: Phobos D standard library not available on PowerPC

Package:
gdc
Source:
gcc-defaults
Description:
D compiler (language version 2), based on the GCC backend
Submitter:
Mehul Sanghvi
Date:
2015-04-26 01:39:06 UTC
Severity:
normal
#783328#5
Date:
2015-04-26 01:36:48 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I was trying to learn D, and wrote the following program and tried to
compile it.  That did not occur.

bash% cat hello.d

import std.stdio;

void main()
{
   writeln("Hello World!");
}

bash% gdc hello.d
hello.d:2: error: module stdio is in file 'std/stdio.d' which cannot be read
import path[0] = /usr/include/d/4.9

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?

The program did not compile due to missing standard library

   * What outcome did you expect instead?

The program should have cmopiled.

gdc based on the package page at
https://packages.debian.org/jessie/gdc has a dependency on
libphobos-dev.  This package is not available for PPC systems.  It
is available for a limited set of architectures.  Why is gdc availble
for installation on a CPU architecture if one of its dependencies is
not available on that same architecture ?   The installation should
not have occurred.

Since libphobos is not available, I would have expected that gdc would
not have installed.  Yet it did just that, install it self.

With libphobos not available, I can't make use of D.