digitalmars.D - dmd 2.066.1 cannot build phobos 2.066.1
- Andrei Alexandrescu (18/18) Mar 12 2015 I wonder how this could have happened. Here's what I did:
- Daniel Murphy (4/7) Mar 12 2015 None of these clone commands work for me, I get:
- Andrei Alexandrescu (3/12) Mar 12 2015 Could that be because our default remotes are different (e.g. yours is
- Daniel Murphy (7/9) Mar 12 2015 I don't think so, but it could be because I've got an older version of g...
- Andrei Alexandrescu (3/13) Mar 12 2015 Wait, so aren't we discussing a git-specific thing? (Anyhow I don't have...
- Andrei Alexandrescu (3/3) Mar 12 2015 More info: this is a fresh VM with Ubuntu 14.04. I've installed a number...
- Daniel Murphy (2/5) Mar 12 2015 Hmm. What are the commit hashes for dmd, druntime and phobos?
- Vladimir Panteleev (3/12) Mar 12 2015 What Git version are you using?
- Daniel Murphy (3/5) Mar 12 2015 Yeah, it was 1.7.1.
- Nick Sabalausky (20/38) Mar 16 2015 I haven't tried in a fresh VM, but that all works for me on Debian
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
Mar 12 2015
"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.1None of these clone commands work for me, I get: "warning: Remote branch v2.066.1 not found in upstream origin, using HEAD instead"
Mar 12 2015
On 3/12/15 5:15 PM, Daniel Murphy wrote:"Andrei Alexandrescu" wrote in message news:mdt2mj$8gc$1 digitalmars.com...Could that be because our default remotes are different (e.g. yours is your own fork)? -- AndreiI 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.1None of these clone commands work for me, I get: "warning: Remote branch v2.066.1 not found in upstream origin, using HEAD instead"
Mar 12 2015
"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)? -- AndreiI 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?
Mar 12 2015
On 3/12/15 5:44 PM, Daniel Murphy wrote:"Andrei Alexandrescu" wrote in message news:mdtb6c$f2f$1 digitalmars.com...Wait, so aren't we discussing a git-specific thing? (Anyhow I don't have an active dmd.conf. It's a fresh VM.) -- AndreiCould that be because our default remotes are different (e.g. yours is your own fork)? -- AndreiI 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?
Mar 12 2015
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
Mar 12 2015
"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. -- AndreiHmm. What are the commit hashes for dmd, druntime and phobos?
Mar 12 2015
On Friday, 13 March 2015 at 00:15:32 UTC, Daniel Murphy wrote:"Andrei Alexandrescu" wrote in message news:mdt2mj$8gc$1 digitalmars.com...What Git version are you using? "git clone --branch" learned to work with tags in Git v1.7.10.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.1None of these clone commands work for me, I get: "warning: Remote branch v2.066.1 not found in upstream origin, using HEAD instead"
Mar 12 2015
"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.
Mar 12 2015
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, AndreiI 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?
Mar 16 2015