digitalmars.D.bugs - [Issue 11852] New: RDMD broken on the Github HEAD
- d-bugmail puremagic.com (18/18) Dec 31 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (10/10) Dec 31 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (18/19) Dec 31 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (10/10) Jan 05 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (10/10) Jan 05 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (11/18) Jan 05 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (11/11) Jan 06 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (13/13) Jan 06 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (9/9) Jan 06 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11852
- d-bugmail puremagic.com (6/6) Jan 06 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11852
https://d.puremagic.com/issues/show_bug.cgi?id=11852 Summary: RDMD broken on the Github HEAD Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: puneet coverify.org --- I get the following error when I try running rdmd std.file.FileException std/file.d(1364): /tmp/.rdmd-1000: File exists -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 31 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11852 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com 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: -------
Dec 31 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11852 ---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 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 31 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11852 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com 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: -------
Jan 05 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11852 12:12:19 PST --- 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(); -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 05 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11852 ---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: -------
Jan 05 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11852 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull 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: -------
Jan 06 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11852 Vladimir Panteleev <thecybershadow gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow gmail.com 15:38:18 EET --- 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: -------
Jan 06 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11852 Andrej Mitrovic <andrej.mitrovich 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: -------
Jan 06 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11852 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: -------
Jan 06 2014