On Thu, 06 Feb 2014 17:02:46 GMT, Sönke Ludwig wrote:

On Thu, 06 Feb 2014 16:55:47 GMT, John Colvin wrote:

On Thu, 06 Feb 2014 16:36:18 GMT, Sönke Ludwig wrote:

On Thu, 06 Feb 2014 16:26:38 GMT, John Colvin wrote:

On Thu, 06 Feb 2014 15:53:34 GMT, Sönke Ludwig wrote:

(...)

Okay, the direct cause is fixed now by fbf3998, but there is another error in the zeromq package description - an "importPath": ["."] field needs to be added or the compilation will fail without --combined. Maybe the easiest thing is to add that to the existing pull request.

Is this right:
https://github.com/D-Programming-Deimos/ZeroMQ/pull/11

I'm not sure I fully understand the difference between sourcePaths and importPaths

Looks good. "sourcePaths" are searched recursively for D files that are passed to the compiler and "importPaths" are paths that will be specified as -Ipath to the compiler. Most of the time they will be the same, but for the particular structure used here, they differ (if "importPaths": ["deimos"] were set, one would have to write import zmq.zmq; instead of import deimos.zmq.zmq;).

so sourcePaths is used for building the package itself, but importPaths is used when building depedent packages, as their import paths?
Hence --combined would mean that when compiling the dependent package, all of the depended-on packages sourcePath files are dumped to dmd, rendering importPaths irrelevant as dmd has everything it needs.

Correct, except that the import paths are also used when building the package itself (but it usually has no effect because as in the --combined case all files are usually already available to DMD).

Ah, ok thanks :)