| Thread overview | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
March 12, 2015 dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
I wonder how this could have happened. Here's what I did: git clone --quiet -b v2.066.1 --depth=1 git://github.com/D-Programming-Language/dmd.git dmd-2.066.1 git clone --quiet -b v2.066.1 --depth=1 git://github.com/D-Programming-Language/druntime.git druntime-2.066.1 git clone --quiet -b v2.066.1 --depth=1 git://github.com/D-Programming-Language/phobos.git phobos-2.066.1 After this I had three nice directories. Then I built dmd, it worked. Then I built druntime making sure I pass DMD=../dmd-2.066.1/src/dmd in make's command line. That worked, too. When I built phobos I got: ==== Error: unrecognized switch '-conf=' ==== How did it happen that the -conf= flag is required by phobos 2.066.1 yet was not implemented in the same version of dmd? Thanks, Andrei | ||||
March 13, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | "Andrei Alexandrescu" wrote in message news:mdt2mj$8gc$1@digitalmars.com... > I wonder how this could have happened. Here's what I did: > > git clone --quiet -b v2.066.1 --depth=1 git://github.com/D-Programming-Language/dmd.git dmd-2.066.1 None of these clone commands work for me, I get: "warning: Remote branch v2.066.1 not found in upstream origin, using HEAD instead" | |||
March 13, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Daniel Murphy | On 3/12/15 5:15 PM, Daniel Murphy wrote:
> "Andrei Alexandrescu" wrote in message
> news:mdt2mj$8gc$1@digitalmars.com...
>
>> I wonder how this could have happened. Here's what I did:
>>
>> git clone --quiet -b v2.066.1 --depth=1
>> git://github.com/D-Programming-Language/dmd.git dmd-2.066.1
>
> None of these clone commands work for me, I get:
> "warning: Remote branch v2.066.1 not found in upstream origin, using
> HEAD instead"
Could that be because our default remotes are different (e.g. yours is your own fork)? -- Andrei
| |||
March 13, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | "Andrei Alexandrescu" wrote in message news:mdtb6c$f2f$1@digitalmars.com... > Could that be because our default remotes are different (e.g. yours is your own fork)? -- Andrei I don't think so, but it could be because I've got an older version of git. I took a quick look at the 2.066.1 tag on github, and it doesn't look like there's any mention of -conf in phobos' posix.mak (https://github.com/D-Programming-Language/phobos/blob/c8fccac8c20a3bdd6300128f610267a24d42473f/posix.mak) Do you maybe have it in an environment variable or dmd.conf that's getting picked up? | |||
March 13, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Daniel Murphy | On 3/12/15 5:44 PM, Daniel Murphy wrote:
> "Andrei Alexandrescu" wrote in message
> news:mdtb6c$f2f$1@digitalmars.com...
>
>> Could that be because our default remotes are different (e.g. yours is
>> your own fork)? -- Andrei
>
> I don't think so, but it could be because I've got an older version of
> git. I took a quick look at the 2.066.1 tag on github, and it doesn't
> look like there's any mention of -conf in phobos' posix.mak
> (https://github.com/D-Programming-Language/phobos/blob/c8fccac8c20a3bdd6300128f610267a24d42473f/posix.mak)
>
>
> Do you maybe have it in an environment variable or dmd.conf that's
> getting picked up?
Wait, so aren't we discussing a git-specific thing? (Anyhow I don't have an active dmd.conf. It's a fresh VM.) -- Andrei
| |||
March 13, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | More info: this is a fresh VM with Ubuntu 14.04. I've installed a number of tools with apt-get including gdc. There is no dmd installation. git is version 1.9.1. -- Andrei | |||
March 13, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | "Andrei Alexandrescu" wrote in message news:mdteff$hdf$2@digitalmars.com... > More info: this is a fresh VM with Ubuntu 14.04. I've installed a number of tools with apt-get including gdc. There is no dmd installation. git is version 1.9.1. -- Andrei Hmm. What are the commit hashes for dmd, druntime and phobos? | |||
March 13, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Daniel Murphy | On Friday, 13 March 2015 at 00:15:32 UTC, Daniel Murphy wrote:
> "Andrei Alexandrescu" wrote in message news:mdt2mj$8gc$1@digitalmars.com...
>
>> I wonder how this could have happened. Here's what I did:
>>
>> git clone --quiet -b v2.066.1 --depth=1 git://github.com/D-Programming-Language/dmd.git dmd-2.066.1
>
> None of these clone commands work for me, I get:
> "warning: Remote branch v2.066.1 not found in upstream origin, using HEAD instead"
What Git version are you using?
"git clone --branch" learned to work with tags in Git v1.7.10.
| |||
March 13, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | "Vladimir Panteleev" wrote in message news:tlocllgihbddloqlafgj@forum.dlang.org... > What Git version are you using? > > "git clone --branch" learned to work with tags in Git v1.7.10. Yeah, it was 1.7.1. | |||
March 17, 2015 Re: dmd 2.066.1 cannot build phobos 2.066.1 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 03/12/2015 06:07 PM, Andrei Alexandrescu wrote: > I wonder how this could have happened. Here's what I did: > > git clone --quiet -b v2.066.1 --depth=1 > git://github.com/D-Programming-Language/dmd.git dmd-2.066.1 > > git clone --quiet -b v2.066.1 --depth=1 > git://github.com/D-Programming-Language/druntime.git druntime-2.066.1 > > git clone --quiet -b v2.066.1 --depth=1 > git://github.com/D-Programming-Language/phobos.git phobos-2.066.1 > > After this I had three nice directories. Then I built dmd, it worked. > Then I built druntime making sure I pass DMD=../dmd-2.066.1/src/dmd in > make's command line. That worked, too. > > When I built phobos I got: > > ==== > Error: unrecognized switch '-conf=' > ==== > > How did it happen that the -conf= flag is required by phobos 2.066.1 yet > was not implemented in the same version of dmd? > > > Thanks, > > Andrei I haven't tried in a fresh VM, but that all works for me on Debian testing x64. I made sure no DMD was on my path and did this: $ which dmd $ mkdir test $ cd test $ git clone --quiet -b v2.066.1 --depth=1 git://github.com/D-Programming-Language/dmd.git dmd-2.066.1 $ git clone --quiet -b v2.066.1 --depth=1 git://github.com/D-Programming-Language/druntime.git druntime-2.066.1 $ git clone --quiet -b v2.066.1 --depth=1 git://github.com/D-Programming-Language/phobos.git phobos-2.066.1 $ cd dmd-2.066.1 $ make -f posix.mak $ cd ../druntime-2.066.1 $ make -f posix.mak DMD=../dmd-2.066.1/src/dmd $ cd ../phobos-2.066.1 $ make -f posix.mak DMD=../dmd-2.066.1/src/dmd DRUNTIME_PATH=../druntime-2.066.1 Any difference from the make arguments you used? What OS? | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply