www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Version of LDC in Fedora

reply Russel Winder via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
LDC has not been repackaged for Fedora 25, the last packaging was of
version 0.16 for Fedora 24. I have raised bug report=C2=A0https://bugzilla.=
r
edhat.com/show_bug.cgi?id=3D1354330=C2=A0Can any and all please show intere=
st
in this bug so as to raise the chances of a repackaging happening. ldc
1.1.0 has just hit Debian Sid, which is good, but it also needs to get
into Fedora Rawhide.
=C2=A0
--=20

Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.n=
et
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Jul 10 2016
parent reply Johan Engelen <j j.nl> writes:
On Monday, 11 July 2016 at 06:59:38 UTC, Russel Winder wrote:
 ldc 1.1.0 has just hit Debian Sid
one.ONE.zero ? Current released LDC is one.ZERO.zero ! :) Johan
Jul 11 2016
next sibling parent Russel Winder via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On Mon, 2016-07-11 at 08:39 +0000, Johan Engelen via digitalmars-d-ldc
wrote:
 On Monday, 11 July 2016 at 06:59:38 UTC, Russel Winder wrote:
=20
 ldc 1.1.0 has just hit Debian Sid
=20 one.ONE.zero ? Current released LDC is one.ZERO.zero ! =20 :) =C2=A0=C2=A0=C2=A0Johan
root anglides:~# dpkg -l ldc Desired=3DUnknown/Install/Remove/Purge/Hold | Status=3DNot/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig- aWait/Trig-pend |/ Err?=3D(none)/Reinst-required (Status,Err: uppercase=3Dbad) ||/ Name=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0V= ersion=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Architecture Description +++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D ii=C2=A0=C2=A0ldc=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A01:1.1.0-1=C2=A0=C2=A0=C2=A0=C2=A0amd64=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0LLVM D Compiler --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 11 2016
prev sibling next sibling parent Konstantinos Margaritis via digitalmars-d-ldc writes:
Hi all,

I used branch release-1.1.0 from github :-)

Thought maybe there was an announcement I missed but I apparently I was wrong
Oh well, consider it a alpha1 packaged release :-)

Regards and apologies

Konstantinos


Στις 11-07-2016, ημέρα Δευ, και ώρα 09:44 +0100, ο/η Russel
Winder via
digitalmars-d-ldc έγραψε:
 On Mon, 2016-07-11 at 08:39 +0000, Johan Engelen via digitalmars-d-ldc
 wrote:
 On Monday, 11 July 2016 at 06:59:38 UTC, Russel Winder wrote:
 
 ldc 1.1.0 has just hit Debian Sid
one.ONE.zero ? Current released LDC is one.ZERO.zero ! :)    Johan
root anglides:~# dpkg -l ldc Desired=Unknown/Install/Remove/Purge/Hold
 Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-
aWait/Trig-pend
 / Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
 / Name           Version      Architecture Description
+++-==============-============-============- ================================= ii  ldc            1:1.1.0-1    amd64        LLVM D Compiler
Jul 11 2016
prev sibling next sibling parent Russel Winder via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On Mon, 2016-07-11 at 11:51 +0300, Konstantinos Margaritis via
digitalmars-d-ldc wrote:
 Hi all,
=20
 I used branch release-1.1.0 from github=C2=A0:-)
Not really a problem. I actually use locally compiled master/HEAD myself (because Fedora is so far behind otherwise I'd stop the compiling and just use packaged versions), but I look out for this sort of stuff for the SCons CI servers. We still have a huge gdc/ldc problem on Debian which restricts our testing.
 Thought maybe there was an announcement I missed but I apparently I
 was wrong
 Oh well, consider it a alpha1 packaged release :-)
=C2=A0
If we all keep quiet the Debian folk won't find out :-) --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 11 2016
prev sibling next sibling parent Konstantinos Margaritis via digitalmars-d-ldc writes:
Στις 11-07-2016, ημέρα Δευ, και ώρα 11:00 +0100, ο/η Russel
Winder via
digitalmars-d-ldc έγραψε:
 On Mon, 2016-07-11 at 11:51 +0300, Konstantinos Margaritis via
 digitalmars-d-ldc wrote:
 Hi all,
 
 I used branch release-1.1.0 from github :-)
Not really a problem. I actually use locally compiled master/HEAD myself (because Fedora is so far behind otherwise I'd stop the compiling and just use packaged versions), but I look out for this sort of stuff for the SCons CI servers. We still have a huge gdc/ldc problem on Debian which restricts our testing.
you mean this? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827211 I plan to fix this in next upload, but I'd need some advice first on where to put those includes. Is there a chance of having the includes between compilers somehow merged into a common source? Or do I just put everything under /usr/include/d/ldc or similar?
 If we all keep quiet the Debian folk won't find out :-)
Even if they find out, it's not really a big problem :-) Regards Konstantinos
Jul 11 2016
prev sibling next sibling parent Russel Winder via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On Mon, 2016-07-11 at 13:09 +0300, Konstantinos Margaritis via
digitalmars-d-ldc wrote:
 [=E2=80=A6]
=20
 you mean this?
=20
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D827211
=20
 I plan to fix this in next upload, but I'd need some advice first on
 where to
 put those includes. Is there a chance of having the includes between
 compilers somehow merged into a common source? Or do I just put
 everything
 under /usr/include/d/ldc or similar?
That is the one. Since GDC and LDC as packaged both look for the source module files in the same place, it is not possible to have both installed and have gdc work. Last time I looked the actual files were in different places, the problem is the module search path so that gdc picks up ldc files before its own.
 If we all keep quiet the Debian folk won't find out :-)
=20 Even if they find out, it's not really a big problem :-)
Excellent. Win, win. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 11 2016
prev sibling next sibling parent reply Konstantinos Margaritis via digitalmars-d-ldc writes:
Στις 11-07-2016, ημέρα Δευ, και ώρα 14:09 +0100, ο/η Russel
Winder via
digitalmars-d-ldc έγραψε:
 
 That is the one. Since GDC and LDC as packaged both look for the source
 module files in the same place, it is not possible to have both
 installed and have gdc work. Last time I looked the actual files were
 in different places, the problem is the module search path so that gdc
 picks up ldc files before its own.
So, in this case it's not a problem is with gdc's search path not ldc. Even if I put the include files elsewhere -but still inside /usr/include/d? Konstantinos
Jul 11 2016
parent reply Dicebot <public dicebot.lv> writes:
On Monday, 11 July 2016 at 13:18:09 UTC, Konstantinos Margaritis 
wrote:
 Στις 11-07-2016, ημέρα Δευ, και ώρα 14:09 +0100, ο/η
Russel 
 Winder via digitalmars-d-ldc έγραψε:
 
 That is the one. Since GDC and LDC as packaged both look for 
 the source module files in the same place, it is not possible 
 to have both installed and have gdc work. Last time I looked 
 the actual files were in different places, the problem is the 
 module search path so that gdc picks up ldc files before its 
 own.
So, in this case it's not a problem is with gdc's search path not ldc. Even if I put the include files elsewhere -but still inside /usr/include/d? Konstantinos
FYI, this is the patch I use to change gdc default imports paths in Arch Linux: https://github.com/Dicebot/Arch-PKGBUILDs/blob/master/gdc/folders.diff
Jul 11 2016
parent Russel Winder via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On Mon, 2016-07-11 at 19:22 +0000, Dicebot via digitalmars-d-ldc wrote:
 [=E2=80=A6]
=20
 FYI, this is the patch I use to change gdc default imports paths=C2=A0
 in Arch Linux:=C2=A0
 https://github.com/Dicebot/Arch-PKGBUILDs/blob/master/gdc/folders.dif
 f
It would be good if gdc and ldc packagers and upstream had a unified plan. Obviously Debian and Fedora will not package dmd, but there is d- apt so I guess the plan should involve dmd packaging as well. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 12 2016
prev sibling parent Russel Winder via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On Mon, 2016-07-11 at 16:18 +0300, Konstantinos Margaritis via
digitalmars-d-ldc wrote:
 [=E2=80=A6]
=20
 So, in this case it's not a problem is with gdc's search path not
 ldc. Even
 if I put the include files elsewhere -but still inside
 /usr/include/d?
=C2=A0
I am not sure where the fault lies, all I can say is there is clearly a problem between the gdc and ldc packages on Debian. gdc is not packaged for Fedora (hiss, boo) so there is no problem with the ldc package there. Well except it is 0.16 not 1.0. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 12 2016