[Issue 11852] RDMD broken on the Github HEAD

2014-01-06 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11852


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

   Keywords||pull


--- Comment #6 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-01-06 
05:34:04 PST ---
My suggestion had a race condition. Looks like this pull will fix the issue:
https://github.com/D-Programming-Language/phobos/pull/1818

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11852] RDMD broken on the Github HEAD

2014-01-06 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11852


Vladimir Panteleev thecybersha...@gmail.com changed:

   What|Removed |Added

 CC||thecybersha...@gmail.com


--- Comment #7 from Vladimir Panteleev thecybersha...@gmail.com 2014-01-06 
15:38:18 EET ---
Sorry, you're right, rdmd pull #99 depended on Phobos #1818. I moved
mkdirRecurse (then called ensurePathExists) from rdmd to Phobos at Andrei's
suggestion. The rdmd pull was merged, and I didn't say anything because I
thought the Phobos one would be merged promptly too.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11852] RDMD broken on the Github HEAD

2014-01-06 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11852


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11852] RDMD broken on the Github HEAD

2014-01-06 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11852



--- Comment #8 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-01-06 
07:17:51 PST ---
https://github.com/D-Programming-Language/phobos/commit/eea81d8a863421d9e6f855f487c6fe809a434b1c

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11852] RDMD broken on the Github HEAD

2014-01-05 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11852


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-01-05 
12:06:19 PST ---
Is there a stack trace?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11852] RDMD broken on the Github HEAD

2014-01-05 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11852



--- Comment #5 from Puneet Goel pun...@coverify.org 2014-01-05 19:32:11 PST 
---
(In reply to comment #4)
 It's likely triggered by one of the three mkdirRecurse calls in RDMD, which
 calls mkdir on Posix, which is the origin of std/file.d(1364) in git-head.
 
 Maybe there should be a check first via:
 
 if (!path.exists())
 path.mkdirRecurse();

Andrej you are right. I tried creating a stack report, but somehow I was not
able to manage that even I used a version of rdmd compiled with -g flag.

So I patched the rdmd.d as per your suggestion and it works. I have created a
pull request.

https://github.com/D-Programming-Language/tools/pull/104

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11852] RDMD broken on the Github HEAD

2013-12-31 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11852


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #1 from Walter Bright bugzi...@digitalmars.com 2013-12-31 
14:04:57 PST ---
What is the command line you are using?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 11852] RDMD broken on the Github HEAD

2013-12-31 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11852



--- Comment #2 from Puneet Goel pun...@coverify.org 2013-12-31 22:10:31 PST 
---
(In reply to comment #1)
 What is the command line you are using?

Just plain simple 
$ rdmd test.d

gives me this error. The error disappears once I remove the directory
/tmp/.rdmd-1000 manually. But reappears when I run rdmd again. I have tried
running on various machines (all ubuntu 13.10 systems).

I can also confirm that the error appears with the github version
   git://github.com/D-Programming-Language/tools.git
   SHA1: 1f39ed7b6e1cbb0695d7e9b48ad559efd4193bcb
   rdmd: Use a lock file to synchronize concurrent builds in the same workDir

But does not come with rdmd compiled from one previous version
   SHA1: f0606e372bf2a226739fab923c0f92cf65ef2228
   Merge pull request #101 from andralex/rdmd

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---