Thread overview
Vibe.d compilation
May 30, 2016
llaine
May 30, 2016
rikki cattermole
May 30, 2016
llaine
May 30, 2016
Martin Nowak
May 30, 2016
llaine
May 30, 2016
llaine
May 30, 2016
llaine
May 30, 2016
Hi guys,

I'm trying to get Vibe.d running with ldc2 but I'm kind of stuck with the same error so far.

Am I doing something wrong?

Os : Fedore
Ldc2 : 0.16.0

[llaine@localhost foo] $ dub init foo --type=vibe.d
[llaine@localhost foo] $ cd foo
[llaine@localhost foo] $ dub --compiler=ldc2
Performing "debug" build using ldc2 for x86_64.
vibe-d:utils 0.7.28: building configuration "library"...
Error: failed to create path to file: .dub/obj/../../.dub/packages/vibe-d-0.7.28/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a
No such file or directory
ldc2 failed with exit code 1.

May 30, 2016
On 30/05/2016 7:45 PM, llaine wrote:
> Hi guys,
>
> I'm trying to get Vibe.d running with ldc2 but I'm kind of stuck with
> the same error so far.
>
> Am I doing something wrong?
>
> Os : Fedore
> Ldc2 : 0.16.0
>
> [llaine@localhost foo] $ dub init foo --type=vibe.d
> [llaine@localhost foo] $ cd foo
> [llaine@localhost foo] $ dub --compiler=ldc2
> Performing "debug" build using ldc2 for x86_64.
> vibe-d:utils 0.7.28: building configuration "library"...
> Error: failed to create path to file:
> .dub/obj/../../.dub/packages/vibe-d-0.7.28/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a
>
> No such file or directory
> ldc2 failed with exit code 1.

That looks like a problem with dub.
What version of dub are you using?

May 30, 2016
On Monday, 30 May 2016 at 07:59:51 UTC, rikki cattermole wrote:
> On 30/05/2016 7:45 PM, llaine wrote:
>> Hi guys,
>>
>> I'm trying to get Vibe.d running with ldc2 but I'm kind of stuck with
>> the same error so far.
>>
>> Am I doing something wrong?
>>
>> Os : Fedore
>> Ldc2 : 0.16.0
>>
>> [llaine@localhost foo] $ dub init foo --type=vibe.d
>> [llaine@localhost foo] $ cd foo
>> [llaine@localhost foo] $ dub --compiler=ldc2
>> Performing "debug" build using ldc2 for x86_64.
>> vibe-d:utils 0.7.28: building configuration "library"...
>> Error: failed to create path to file:
>> .dub/obj/../../.dub/packages/vibe-d-0.7.28/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a
>>
>> No such file or directory
>> ldc2 failed with exit code 1.
>
> That looks like a problem with dub.
> What version of dub are you using?

I'm using the 0.9.25
May 30, 2016
On Monday, 30 May 2016 at 08:08:17 UTC, llaine wrote:
>> That looks like a problem with dub.
>> What version of dub are you using?
>
> I'm using the 0.9.25

Please run dub in verbose mode to see which command failed.
May 30, 2016
On Monday, 30 May 2016 at 09:09:20 UTC, Martin Nowak wrote:
> On Monday, 30 May 2016 at 08:08:17 UTC, llaine wrote:
>>> That looks like a problem with dub.
>>> What version of dub are you using?
>>
>> I'm using the 0.9.25
>
> Please run dub in verbose mode to see which command failed.

Hi thank you for answering ! Here is the log

Target '/home/llaine/.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a' doesn't exist, need rebuild.
vibe-d:utils 0.7.30-alpha.1: building configuration "library"...
ldc2 -lib -of../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a -d-debug -g -w -oq -od=.dub/obj -d-version=VibeDefaultMain -d-version=VibeLibeventDriver -d-version=Have_vibe_d_utils -I../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/ ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/meta/all.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/meta/codegen.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/meta/funcattr.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/meta/traits.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/meta/typetuple.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/meta/uda.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/newconcurrency.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/rangeutil.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/internal/win32.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/utils/array.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/utils/dictionarylist.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/utils/hashmap.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/utils/memory.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/utils/string.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/utils/validation.d
Error: failed to create path to file: .dub/obj/../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a
No such file or directory
FAIL ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/ vibe-d_utils staticLibrary
ldc2 failed with exit code 1.

May 30, 2016
On Monday, 30 May 2016 at 09:09:20 UTC, Martin Nowak wrote:
> On Monday, 30 May 2016 at 08:08:17 UTC, llaine wrote:
>>> That looks like a problem with dub.
>>> What version of dub are you using?
>>
>> I'm using the 0.9.25
>
> Please run dub in verbose mode to see which command failed.

I put the all output in a gist, more readable.

https://gist.github.com/llaine/d586041b1d38c7bc3304f89655325694
May 30, 2016
On Monday, 30 May 2016 at 09:14:40 UTC, llaine wrote:
> On Monday, 30 May 2016 at 09:09:20 UTC, Martin Nowak wrote:
>> On Monday, 30 May 2016 at 08:08:17 UTC, llaine wrote:
>>>> That looks like a problem with dub.
>>>> What version of dub are you using?
>>>
>>> I'm using the 0.9.25
>>
>> Please run dub in verbose mode to see which command failed.
>
> I put the all output in a gist, more readable.
>
> https://gist.github.com/llaine/d586041b1d38c7bc3304f89655325694

After upgrading to ldc 1.x version everything work fine !!