www.digitalmars.com         C & C++   DMDScript  

D.gnu - Status updates (and PPA packages) for gdc

reply Joseph Wakeling <joseph.wakeling gmail.com> writes:
Hello,

A couple of small requests, as one who is not skilled enough to work on GDC
itself or to go compiling compilers (!) but who is very interested in the
success of GDC ...

First -- is there a chance of some kind of regular status update from GDC on
this forum?  Say, a brief bi-weekly mail along the lines of, "These are the
problems we solved, these are the issues we still have, these are new problems
that arose ...".  It would be great to have that kind of report.  I know there
is the microblog, but it's not quite as effective as an email on the official
D forums.

Second -- is there a chance of the D Language Packagers team on Ubuntu
providing packages for gdc2 betas? :-)

Third -- (this is no longer a couple of requests, but never mind...) -- what
happened to the plans for a fund for GDC?  Has it been organised?  How can one
contribute?

Thanks and best wishes,

    -- Joe
Apr 26 2010
next sibling parent reply Iain Buclaw <ibuclaw ubuntu.com> writes:
Joseph Wakeling Wrote:

 Hello,
 
 A couple of small requests, as one who is not skilled enough to work on GDC
 itself or to go compiling compilers (!) but who is very interested in the
 success of GDC ...
 
One need not be skilled to help out. Identifying bugs and providing minimal code and steps to reproduce is usually a good start.
 Second -- is there a chance of the D Language Packagers team on Ubuntu
 providing packages for gdc2 betas? :-)
 
I originally uploaded gdc as version 2, but the problems with it outweighed the positives (that and it broke every D software package in the Debian and Ubuntu repository), so got round to sorting out (kinda) the big show-stopper and switched it back to D1. Am not opposed to having a separately named gdc2 package in a ppa, however. That can be arranged.
 Thanks and best wishes,
 
     -- Joe
Apr 27 2010
parent reply Joseph Wakeling <joseph.wakeling gmail.com> writes:
Iain Buclaw wrote:
 One need not be skilled to help out. Identifying bugs and providing
 minimal code and steps to reproduce is usually a good start.
I'd very much like to start writing with GDC 2 so this I can certainly offer.
 Am not opposed to having a separately named gdc2 package in a ppa,
 however. That can be arranged.
I'd really appreciate having that. Thank you! :-) Best wishes, -- Joe
Apr 27 2010
parent reply I <ibuclaw ubuntu.com> writes:
Joseph Wakeling Wrote:

 Iain Buclaw wrote:
 One need not be skilled to help out. Identifying bugs and providing
 minimal code and steps to reproduce is usually a good start.
I'd very much like to start writing with GDC 2 so this I can certainly offer.
 Am not opposed to having a separately named gdc2 package in a ppa,
 however. That can be arranged.
I'd really appreciate having that. Thank you! :-) Best wishes, -- Joe
Well, here is the page that links to the PPA. https://launchpad.net/~gdc-drivers Package still needs some loving - fleshing it out of gdc into it's own gdc2 is probably a todo, and clean up applied patches, as a number are not relevant to D2. Anyone interested in helping out, just PM me. Regards Iain
Apr 27 2010
parent reply Joseph Wakeling <joseph.wakeling gmail.com> writes:
 Well, here is the page that links to the PPA.
https://launchpad.net/~gdc-drivers
 Package still needs some loving - fleshing it out of gdc into it's own gdc2 is
 probably a todo, and clean up applied patches, as a number are not relevant to
D2.
Thanks very much! Will try it out and get back to you on my experience.
 Anyone interested in helping out, just PM me.
... maybe worth coordinating with the D Language Packagers team? Rather than a dedicated gdc PPA, in the longer term it might be better to organise D stuff into a 'D-language' PPA for stable packages (up-to-date ldc, gdc, libtango, ...) and 'D-language-beta' for bleeding-edge stuff like this. You mentioned that this gdc breaks other D packages on the system -- what should I watch out for? Thanks again and best wishes, -- Joe
Apr 28 2010
parent reply Iain Buclaw <ibuclaw ubuntu.com> writes:
Joseph Wakeling Wrote:

 Well, here is the page that links to the PPA.
https://launchpad.net/~gdc-drivers
 Package still needs some loving - fleshing it out of gdc into it's own gdc2 is
 probably a todo, and clean up applied patches, as a number are not relevant to
D2.
Thanks very much! Will try it out and get back to you on my experience.
 Anyone interested in helping out, just PM me.
... maybe worth coordinating with the D Language Packagers team? Rather than a dedicated gdc PPA, in the longer term it might be better to organise D stuff into a 'D-language' PPA for stable packages (up-to-date ldc, gdc, libtango, ...) and 'D-language-beta' for bleeding-edge stuff like this.
I *am* the D Packagers team in Ubuntu and Debian - it is only me (for the moment). :-)
 You mentioned that this gdc breaks other D packages on the system -- what
should I
 watch out for?
 
 Thanks again and best wishes,
 
     -- Joe
It is pretty much just general language changes that are not backwards compatible with D1 that caused the most issues. Nothing else really. If you write a program for the D2 compiler, it will work with the D2 compiler. Regards Iain
Apr 28 2010
parent Joseph Wakeling <joseph.wakeling gmail.com> writes:
 I *am* the D Packagers team in Ubuntu and Debian - it is only me
 (for the moment). :-)
I did not see your name here ... :-) https://launchpad.net/~d-language-packagers ... and many thanks for your work. I'm very glad to see D making it into Debian and Ubuntu. Best wishes, -- Joe
Apr 28 2010
prev sibling parent reply Iain Buclaw <ibuclaw ubuntu.com> writes:
Joseph Wakeling Wrote:

 I *am* the D Packagers team in Ubuntu and Debian - it is only me
 (for the moment). :-)
I did not see your name here ... :-) https://launchpad.net/~d-language-packagers
Oh I see, glad we sorted out that confusion then (I thought you were referring to the Deb maintainers for a moment there). In that case then, to answer your original question, I can see no reason why not in the long term. But first and foremost, I would have thought that the initial goals would be to first get it running with gcc-4.4 (if ever) and gcc-4.5. Then start expanding to other areas for a short while. However, I certainly do not dictate the direction of upstream. I merely package and see over fix arch specific bugs that arise.
 ... and many thanks for your work.  I'm very glad to see D making it into
Debian
 and Ubuntu.
 
 Best wishes,
 
     -- Joe
Regards Iain
Apr 28 2010
parent reply Joseph Wakeling <joseph.wakeling gmail.com> writes:
Dear Iain,

I finally got round to installing gdc-4.3 from your PPA and had a try.
Unfortunately, first thing I ran into an error while compiling:

-------------------------------------------
/usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../include/d2/4.3.4/std/random.d:652:
function
std.random.UniformDistribution!(double,boundaries).UniformDistribution.opCall
(double a, double b) does not match parameter types
(double,MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18))
/usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../include/d2/4.3.4/std/random.d:652:
Error: cannot implicitly convert expression (b) of type
MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18)
to double
-------------------------------------------

The same code compiles without a whisper with dmd so I'm guessing this is an
error
in Phobos 2.015 ... ?

Best wishes,

    -- Joe
May 03 2010
parent Iain Buclaw <ibuclaw ubuntu.com> writes:
Joseph Wakeling Wrote:

 Dear Iain,
 
 I finally got round to installing gdc-4.3 from your PPA and had a try.
 Unfortunately, first thing I ran into an error while compiling:
 
 -------------------------------------------
 /usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../include/d2/4.3.4/std/random.d:652:
 function
 std.random.UniformDistribution!(double,boundaries).UniformDistribution.opCall
 (double a, double b) does not match parameter types
 (double,MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18))
 /usr/lib/gcc/i486-linux-gnu/4.3.4/../../../../include/d2/4.3.4/std/random.d:652:
 Error: cannot implicitly convert expression (b) of type
 MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18)
 to double
 -------------------------------------------
 
 The same code compiles without a whisper with dmd so I'm guessing this is an
error
 in Phobos 2.015 ... ?
 
 Best wishes,
 
     -- Joe
Does dmd-2.015 compile the code correctly? I have not used D2, to be honest, but from the errors emitted, looks like you are calling a function with incompatible datatypes as arguments. Regards
May 11 2010