[Issue 7899] rdmd doesn't compile using dmd 2.059

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7899

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|unspecified |D2

--


[Issue 7899] rdmd doesn't compile using dmd 2.059

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7899


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

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||thecybersha...@gmail.com
 Resolution||WORKSFORME


--- Comment #4 from Vladimir Panteleev thecybersha...@gmail.com 2013-03-10 
11:12:37 EET ---
The specific compilation issue reported here has since been resolved.

(In reply to comment #3)
 Actually there seems to be a bug in the tools/update.sh provided which is
 supposed to download and build all:

 From git://github.com/D-Programming-Language/tools
  * branchmaster - FETCH_HEAD
 fatal: 'upstream' does not appear to be a git repository
 fatal: The remote end hung up unexpectedly
 
 I checked the error logs, the cause is the call to : 
 git pull upstream master   inside tools/update.sh
 For the other directories, it works fine.

Have you tried running the script from a directory with an existing git clone?
The remote name needs to be called upstream, which is what the script uses
when setting up the repositories.

The script works for me.

 While I'm at it it seems that rdmd hard-wires  dmd.conf to /usr/bin/dmd.conf 
 as
 opposed to what says in the docs (dmd.conf should be able to be in a number of
 locations )

Not sure if this is specific to old rdmd versions, but rdmd does not consult
any specific location for dmd.conf. It uses the output of dmd -v (config
line) to find the location of the compiler configuration, solely to consider it
as a rebuild dependency.

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


[Issue 7899] rdmd doesn't compile using dmd 2.059

2012-06-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7899



--- Comment #3 from thelastmamm...@gmail.com 2012-06-02 02:23:01 PDT ---
Actually there seems to be a bug in the tools/update.sh provided which is
supposed to download and build all:

From git://github.com/D-Programming-Language/tools
 * branchmaster - FETCH_HEAD
fatal: 'upstream' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

I checked the error logs, the cause is the call to : 
git pull upstream master   inside tools/update.sh
For the other directories, it works fine.

This stops the build. So I had to modify the update.sh script.


While I'm at it it seems that rdmd hard-wires  dmd.conf to /usr/bin/dmd.conf as
opposed to what says in the docs (dmd.conf should be able to be in a number of
locations )

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


[Issue 7899] rdmd doesn't compile using dmd 2.059

2012-05-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7899


thelastmamm...@gmail.com changed:

   What|Removed |Added

 CC||thelastmamm...@gmail.com
   Severity|minor   |normal


--- Comment #2 from thelastmamm...@gmail.com 2012-05-31 02:09:44 PDT ---
(In reply to comment #1)
 I use -d to compile it.

Alternatively someone needs to change the rdmd.d source file in the git as
follows. It worked for me. 

//exe = buildPath(myOwnTmpDir, rel2abs(root)[1 .. $])
  //  ~ '.' ~ hash(root, compilerFlags) ~ binExt;
exe = buildPath(myOwnTmpDir, absolutePath(root)[1 .. $])
~ '.' ~ hash(root, compilerFlags) ~ binExt;

Also, wouldn't it be simpler if the build process could be automated with say a
single makefile? right now the user needs to go in each of dmd,druntime,pbobos,
and in tools there's only a windows makefile. 
Here I changed win32.mak to a Makefile that works on osx (and probably linux),
but it should also be completed to build rdmd, ddemangle.d etc, which are nice
tools to have.

Other annoyances: the update.sh has some weird behavior with git (and doesn't
do all that), the packaging installs the version from dlang website instead of
the version in git, and MODEL should be 64 by default on OSX instead of 32 for
each of the dmd,druntime,pbobos. 

** Makefile (does same as win32.mak but for osx, and maybe linux)
DMD=dmd
DOC=../d-programming-language.org/web/

TARGETS=dman findtags

TAGS=expression.tag \
statement.tag

targets : $(TARGETS)

expression.tag : findtags $(DOC)/expression.html
./findtags $(DOC)/expression.html expression.tag

statement.tag : findtags $(DOC)/statement.html
./findtags $(DOC)/statement.html statement.tag

findtags : findtags.d
$(DMD) findtags.d

dman : dman.d $(TAGS)
$(DMD) dman.d -J.

clean :
rm $(TARGETS) $(TAGS)

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


[Issue 7899] rdmd doesn't compile using dmd 2.059

2012-04-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7899


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

   What|Removed |Added

 CC||bugzi...@digitalmars.com
   Severity|normal  |minor


--- Comment #1 from Walter Bright bugzi...@digitalmars.com 2012-04-13 
21:52:53 PDT ---
I use -d to compile it.

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