May 10, 2016
On 2016-05-10 06:49, Lionello Lunesu wrote:

> Well, it's either wrong phobos or wrong dmd. I assumed phobos was
> mismatched, but perhaps DMD was mismatched? Installing with brew suggest
> it's installing 2.071.0, but DMD appears to be 2.070:

The issue Steven is having is that the symbol doesn't exist in the default C++ runtime. This has been fixed in master. He installed DMD using DVM so it's not a Brew packaging problem.

Rolling back to 2.70.0 can be used as a workaround.

-- 
/Jacob Carlborg
May 10, 2016
On 2016-05-08 12:33, Steven Schveighoffer wrote:

> Ok thanks. Will wait for next release. For some reason this doesn't
> affect command line compiles

Since you're using DVM, :), you can easily roll back to 2.070.0 as a workaround.

If I recall correctly, DMD is buildable with DMD 2.067.0 and later.

-- 
/Jacob Carlborg
May 10, 2016
On Tuesday, 10 May 2016 at 04:49:33 UTC, Lionello Lunesu wrote:
> Well, it's either wrong phobos or wrong dmd. I assumed phobos was mismatched, but perhaps DMD was mismatched? Installing with brew suggest it's installing 2.071.0, but DMD appears to be 2.070:
>
> $ brew install dmd
> ==> Downloading https://homebrew.bintray.com/bottles/dmd-2.071.0.el_capitan.bottle.tar.gz
> Already downloaded: /Library/Caches/Homebrew/dmd-2.071.0.el_capitan.bottle.tar.gz
> ==> Pouring dmd-2.071.0.el_capitan.bottle.tar.gz
> 🍺  /usr/local/Cellar/dmd/2.071.0: 561 files, 65.0M
>
> $ /usr/local/bin/dmd --version
> DMD64 D Compiler v2.070
> Copyright (c) 1999-2015 by Digital Mars written by Walter Bright

That's because for some reason the VERSION file is wrong in the dmd github release.

Should be fixed by https://github.com/Homebrew/homebrew-core/pull/1040
May 10, 2016
On 5/10/16 2:41 AM, Jacob Carlborg wrote:
> On 2016-05-08 12:33, Steven Schveighoffer wrote:
>
>> Ok thanks. Will wait for next release. For some reason this doesn't
>> affect command line compiles
>
> Since you're using DVM, :), you can easily roll back to 2.070.0 as a
> workaround.

Oh yes, that's what I did ;) I still have some nagging issues with dvm (I've reported them already), but otherwise, fantastic tool.

> If I recall correctly, DMD is buildable with DMD 2.067.0 and later.

I couldn't remember the exact version, but since 2.070.2 worked, I didn't look any further. I just was curious whether the policy is that this is an expectation that you have to use a prior version to build dmd, or if we should report bugs when dmd can't build itself.

-Steve
May 10, 2016
On 2016-05-10 14:29, Steven Schveighoffer wrote:

> I couldn't remember the exact version, but since 2.070.2 worked, I
> didn't look any further. I just was curious whether the policy is that
> this is an expectation that you have to use a prior version to build
> dmd, or if we should report bugs when dmd can't build itself.

I think there was some requirement that LDC should be able to build DMD. So they just picked the current version of LDC at that time (when switching to D) and made sure it worked.

-- 
/Jacob Carlborg
May 11, 2016
On 10/5/2016 16:24, John Colvin wrote:
> On Tuesday, 10 May 2016 at 04:49:33 UTC, Lionello Lunesu wrote:
>> Well, it's either wrong phobos or wrong dmd. I assumed phobos was
>> mismatched, but perhaps DMD was mismatched? Installing with brew
>> suggest it's installing 2.071.0, but DMD appears to be 2.070:
>>
>> $ brew install dmd
>> ==> Downloading
>> https://homebrew.bintray.com/bottles/dmd-2.071.0.el_capitan.bottle.tar.gz
>> Already downloaded:
>> /Library/Caches/Homebrew/dmd-2.071.0.el_capitan.bottle.tar.gz
>> ==> Pouring dmd-2.071.0.el_capitan.bottle.tar.gz
>> 🍺  /usr/local/Cellar/dmd/2.071.0: 561 files, 65.0M
>>
>> $ /usr/local/bin/dmd --version
>> DMD64 D Compiler v2.070
>> Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
>
> That's because for some reason the VERSION file is wrong in the dmd
> github release.
>
> Should be fixed by https://github.com/Homebrew/homebrew-core/pull/1040

Ah, I see. Thanks!
May 11, 2016
On 10/5/2016 14:39, Jacob Carlborg wrote:
> On 2016-05-10 06:49, Lionello Lunesu wrote:
>
>> Well, it's either wrong phobos or wrong dmd. I assumed phobos was
>> mismatched, but perhaps DMD was mismatched? Installing with brew suggest
>> it's installing 2.071.0, but DMD appears to be 2.070:
>
> The issue Steven is having is that the symbol doesn't exist in the
> default C++ runtime. This has been fixed in master. He installed DMD
> using DVM so it's not a Brew packaging problem.
>
> Rolling back to 2.70.0 can be used as a workaround.
>

Yeah, I see now. I thought it was because of the version "mismatch". Didn't know it was an actual bug. I had build my own and it worked. I guess I had gotten the fix.

Thanks for correcting me.
1 2
Next ›   Last »