digitalmars.D - DMD in Gentoo
- Anant Narayanan (9/9) May 20 2007 Hi All,
- Brad Roberts (8/19) May 20 2007 A subset of dmd/license.txt:
- Unknown W. Brackets (5/27) May 20 2007 Well, if I recall the way portage works is to pull the files from
- Sterling Christensen (3/25) May 20 2007 As a Gentoo user who just emerged dmd-bin, I can confirm that the dmd-bi...
- Anant Narayanan (10/15) May 21 2007 The package is under the nomirror restriction, which means the package i...
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (6/16) May 21 2007 This is the same as with the .nosrc.rpm packages for RPM, they contain
- Brad Roberts (8/28) May 21 2007 Great. The announcement that it's for a specific version is what
- Jan Claeys (7/13) May 26 2007 How could Anant guarantee that a new version would be installed
- J D (2/16) May 20 2007
- Lars Ivar Igesund (10/13) May 21 2007 I think distros recommend reporting upstreams? :)
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (10/11) May 21 2007 BTW; Wouldn't GDC be better to use for Ubuntu ?
- David Ferenczi (10/21) May 21 2007 Hi Anant,
- Anant Narayanan (12/17) May 22 2007 Sure, but please do file a bug (http://bugs.gentoo.org/) to remind me :)
- David Ferenczi (6/12) May 22 2007 I'm looking forward to the ebuild with Tango support. I hope I can find ...
- Anant Narayanan (14/19) May 22 2007 Unfortunately, our QA policy does not allow such fetching (since the lat...
- Brad Roberts (14/37) May 22 2007 While I really don't want to play Walter's parrot on this issue since
- Lars Ivar Igesund (15/57) May 23 2007 I'm pretty sure 'our' refer to Gentoo, and I find it a sane requirement
- Anant Narayanan (8/15) May 26 2007 Lars is right, I speak on behalf of Gentoo. I will get in touch with Wal...
- Brad Anderson (21/32) May 31 2007 Anant,
Hi All, Just a quick announcement that I just added DMD versions 1.010 and 1.014 to the portage tree. Apparently, some features of the language aren't supported by the current GDC version, so this should help. Also, I would have liked to offer the option of using tango with DMD, but the current tango release (0.98) doesn't seem to compile with DMD 1.010 or 1.014. Regards, -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>
May 20 2007
Anant Narayanan wrote:Hi All, Just a quick announcement that I just added DMD versions 1.010 and 1.014 to the portage tree. Apparently, some features of the language aren't supported by the current GDC version, so this should help. Also, I would have liked to offer the option of using tango with DMD, but the current tango release (0.98) doesn't seem to compile with DMD 1.010 or 1.014. Regards,A subset of dmd/license.txt: The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistribution license, please contact Digital Mars. Did Walter ok this? Later, Brad
May 20 2007
Well, if I recall the way portage works is to pull the files from digitalmars.com anyway, which I think has been said was fine... but I suppose it's always best to check. -[Unknown] Brad Roberts wrote:Anant Narayanan wrote:Hi All, Just a quick announcement that I just added DMD versions 1.010 and 1.014 to the portage tree. Apparently, some features of the language aren't supported by the current GDC version, so this should help. Also, I would have liked to offer the option of using tango with DMD, but the current tango release (0.98) doesn't seem to compile with DMD 1.010 or 1.014. Regards,A subset of dmd/license.txt: The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistribution license, please contact Digital Mars. Did Walter ok this? Later, Brad
May 20 2007
As a Gentoo user who just emerged dmd-bin, I can confirm that the dmd-bin ebuild in portage downloads dmd from ftp.digitalmars.com and not from any Gentoo mirror. -Sterling Christensen Brad Roberts Wrote:Anant Narayanan wrote:Hi All, Just a quick announcement that I just added DMD versions 1.010 and 1.014 to the portage tree. Apparently, some features of the language aren't supported by the current GDC version, so this should help. Also, I would have liked to offer the option of using tango with DMD, but the current tango release (0.98) doesn't seem to compile with DMD 1.010 or 1.014. Regards,A subset of dmd/license.txt: The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistribution license, please contact Digital Mars. Did Walter ok this? Later, Brad
May 20 2007
Hi Brad,A subset of dmd/license.txt: The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistribution license, please contact Digital Mars. Did Walter ok this?The package is under the nomirror restriction, which means the package isn't actually redistributed but fetched from the Digital Mars FTP site on a per-user basis (upon the user's request). Regards, -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>
May 21 2007
Anant Narayanan wrote:This is the same as with the .nosrc.rpm packages for RPM, they contain everything but the actual ZIP distfile from Digital Mars (just the URL): Source: ftp://ftp.digitalmars.com/%{name}.%{version}.zip NoSource: 0 --andersA subset of dmd/license.txt: The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistribution license, please contact Digital Mars. Did Walter ok this?The package is under the nomirror restriction, which means the package isn't actually redistributed but fetched from the Digital Mars FTP site on a per-user basis (upon the user's request).
May 21 2007
Anant Narayanan wrote:Hi Brad,Great. The announcement that it's for a specific version is what tweaked my concern as it's a key aspect of why Walter doesn't allow redistribution. He wants users to always get the latest release, not have old releases living in the wild. Does this package seek to always get the most recent version or is it hard coded at those versions? Later, BradA subset of dmd/license.txt: The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistribution license, please contact Digital Mars. Did Walter ok this?The package is under the nomirror restriction, which means the package isn't actually redistributed but fetched from the Digital Mars FTP site on a per-user basis (upon the user's request). Regards, -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>
May 21 2007
Op Mon, 21 May 2007 10:46:45 -0700 schreef Brad Roberts <braddr puremagic.com>:Great. The announcement that it's for a specific version is what tweaked my concern as it's a key aspect of why Walter doesn't allow redistribution. He wants users to always get the latest release, not have old releases living in the wild. Does this package seek to always get the most recent version or is it hard coded at those versions?How could Anant guarantee that a new version would be installed correctly and actually work if he hasn't got the chance to test it first? -- Jan Claeys
May 26 2007
I wish someone would add this to Ubuntu. Anant Narayanan Wrote:Hi All, Just a quick announcement that I just added DMD versions 1.010 and 1.014 to the portage tree. Apparently, some features of the language aren't supported by the current GDC version, so this should help. Also, I would have liked to offer the option of using tango with DMD, but the current tango release (0.98) doesn't seem to compile with DMD 1.010 or 1.014. Regards, -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>
May 20 2007
J D wrote:I think distros recommend reporting upstreams? :) http://www.dsource.org/projects/tango/newticket It is the first I've heard of problems with Tango and 1.014 though. Also feel free to join #d.tango if you're already on freenode. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoAlso, I would have liked to offer the option of using tango with DMD, but the current tango release (0.98) doesn't seem to compile with DMD 1.010 or 1.014.
May 21 2007
J D wrote:I wish someone would add this to Ubuntu.BTW; Wouldn't GDC be better to use for Ubuntu ? (gdc would go as "free", but dmd as "non-free") It could probably use the Debian package for GDC, once that package has been accepted for inclusion: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403460 https://bugs.launchpad.net/ubuntu/+bug/87337 You can of course make a request for a DMD package, or continue to install it from ftp.digitalmars.com --anders
May 21 2007
Anant Narayanan wrote:Hi All, Just a quick announcement that I just added DMD versions 1.010 and 1.014 to the portage tree. Apparently, some features of the language aren't supported by the current GDC version, so this should help. Also, I would have liked to offer the option of using tango with DMD, but the current tango release (0.98) doesn't seem to compile with DMD 1.010 or 1.014. Regards,Hi Anant, many thanks for maintaining the ebuild. I'd like to switch to this official ebuild instead of the overlay I currently use, but the the dmd-bin ebuild hasn't been updated frequently, so far. Are you going to give frequnt updates (e.g. whenever a new stable version is out)? Regards, David
May 21 2007
David Ferenczi wrote:I'd like to switch to this official ebuild instead of the overlay I currently use, but the the dmd-bin ebuild hasn't been updated frequently, so far.Are you going to give frequnt updates (e.g. whenever a new stable version is out)?Sure, but please do file a bug (http://bugs.gentoo.org/) to remind me :) Also, I maintain an overlay for D-related ebuilds, updates usually go there for testing before they reach the actualy portage tree. If you don't mind cutting-edge ebuilds - http://overlays.gentoo.org/dev/anant is for you! The overlay currently has support for building DMD with the Tango standard library instead of phobos. Best Regards, -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>
May 22 2007
Anant Narayanan wrote:Sure, but please do file a bug (http://bugs.gentoo.org/) to remind me :)Ok. ;-)Also, I maintain an overlay for D-related ebuilds, updates usually go there for testing before they reach the actualy portage tree. If you don't mind cutting-edge ebuilds - http://overlays.gentoo.org/dev/anant is for you! The overlay currently has support for building DMD with the Tango standard library instead of phobos.I'm looking forward to the ebuild with Tango support. I hope I can find some time to try it out on one of the following weekends. Regards, David
May 22 2007
Brad Roberts wrote:Great. The announcement that it's for a specific version is what tweaked my concern as it's a key aspect of why Walter doesn't allow redistribution. He wants users to always get the latest release, not have old releases living in the wild. Does this package seek to always get the most recent version or is it hard coded at those versions?Unfortunately, our QA policy does not allow such fetching (since the latest version may be broken, which is inconvenient for our users). Any new releases require a new ebuild to be written which guarantees that it works - the build system is not always the same across releases. However, Gentoo is one of the distributions known for its '0-day releases', as updates to the tree happen very frequently. There shouldn't be a gap of more than 7 days between a new upstream release and a downstream ebuild. Best Regards, -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>
May 22 2007
Anant Narayanan wrote:Brad Roberts wrote:While I really don't want to play Walter's parrot on this issue since I'm not sure I agree with it, but by having a fixed version downloader, the spirit of the problem is the same. You're providing a package that must be separately maintained or users will get an outdated version. That it _can_ be kept up to date is no guarantee that it will, or will be on a timely basis. Additionally, who is this 'our' that you refer to? Are you speaking on behalf of Gentoo, some other company, the D community? The attribution is unclear. At this point, I'm going to step out of the debate and if Walter chooses to enforce his redistribution policy that's his call. Later, BradGreat. The announcement that it's for a specific version is what tweaked my concern as it's a key aspect of why Walter doesn't allow redistribution. He wants users to always get the latest release, not have old releases living in the wild. Does this package seek to always get the most recent version or is it hard coded at those versions?Unfortunately, our QA policy does not allow such fetching (since the latest version may be broken, which is inconvenient for our users). Any new releases require a new ebuild to be written which guarantees that it works - the build system is not always the same across releases. However, Gentoo is one of the distributions known for its '0-day releases', as updates to the tree happen very frequently. There shouldn't be a gap of more than 7 days between a new upstream release and a downstream ebuild. Best Regards, -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>
May 22 2007
Brad Roberts wrote:Anant Narayanan wrote:I'm pretty sure 'our' refer to Gentoo, and I find it a sane requirement given that it has happened more than one time that DMD has been unusable for a wide range of programs. Talking on behalf of Tango, we do also recommend particular versions of DMD (and make these available for download through our agreement with DigitalMars). These are usually the latest DMD for our snapshot builds, but given that each revision usually requires a merge into the Tango runtime, an update of dmd.bin via Gentoo's portage would quite possibly break Tango if coming in the interim. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoBrad Roberts wrote:While I really don't want to play Walter's parrot on this issue since I'm not sure I agree with it, but by having a fixed version downloader, the spirit of the problem is the same. You're providing a package that must be separately maintained or users will get an outdated version. That it _can_ be kept up to date is no guarantee that it will, or will be on a timely basis. Additionally, who is this 'our' that you refer to? Are you speaking on behalf of Gentoo, some other company, the D community? The attribution is unclear. At this point, I'm going to step out of the debate and if Walter chooses to enforce his redistribution policy that's his call. Later, BradGreat. The announcement that it's for a specific version is what tweaked my concern as it's a key aspect of why Walter doesn't allow redistribution. He wants users to always get the latest release, not have old releases living in the wild. Does this package seek to always get the most recent version or is it hard coded at those versions?Unfortunately, our QA policy does not allow such fetching (since the latest version may be broken, which is inconvenient for our users). Any new releases require a new ebuild to be written which guarantees that it works - the build system is not always the same across releases. However, Gentoo is one of the distributions known for its '0-day releases', as updates to the tree happen very frequently. There shouldn't be a gap of more than 7 days between a new upstream release and a downstream ebuild. Best Regards, -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>
May 23 2007
Lars Ivar Igesund Wrote:Brad Roberts wrote:Lars is right, I speak on behalf of Gentoo. I will get in touch with Walter off-list to clarify his position on this. We've had such problems with ebuilds for software such as winex and cedega before - and it's usually best to work out a solution upfront :) Thanks. -- Anant Narayanan http://www.kix.in/ gpg --recv-keys 0EF6914E <anant kix.in,gentoo.org,php.net>Additionally, who is this 'our' that you refer to? Are you speaking on behalf of Gentoo, some other company, the D community? The attribution is unclear.I'm pretty sure 'our' refer to Gentoo, and I find it a sane requirement given that it has happened more than one time that DMD has been unusable for a wide range of programs.
May 26 2007
Anant Narayanan wrote:Hi All, Just a quick announcement that I just added DMD versions 1.010 and 1.014 to the portage tree. Apparently, some features of the language aren't supported by the current GDC version, so this should help. Also, I would have liked to offer the option of using tango with DMD, but the current tango release (0.98) doesn't seem to compile with DMD 1.010 or 1.014. Regards,Anant, Um, hi. I just lost some hair over something that you mention in this post. Tango doesn't work with your setup. I just upgraded my dmd to the one you put in portage... that's bad-ass, btw, so thanks. Then, I tried to build Tango from source. Not so much, as you note above. The issue I corrected was to (in /opt/dmd/bin/) remove your dmd shell script and rename the dmd.bin to dmd. Not sure how the legal crap works out for you, but your -I and -L are no good. I prefer to control my Phobos vs. Tango setups in /etc/dmd.conf, which is symlinked to /opt/dmd/bin/dmd.conf I'm not sure if you can change the ebuild to reflect these changes, but it would be nice. If you're bound to having dmd.bin, maybe you could work your voodoo on dmd (shell script) to accept the other args. In any case, with my new setup, and a fresh tango checkout at ~/dev/d/tango, I just navigated to ~/dev/d/tango/lib and executed ./build-dmd.sh and ./install-dmd.sh, and voila, no more hair of mine need be expended. iI get a nice new, shiny libphobos.a in /usr/lib/ A side issue for Walter is wtf that name is doing hardcoded into the compiler. Baby steps ;) Cheers, Brad
May 31 2007