www.digitalmars.com         C & C++   DMDScript  

D.gnu - gdc packages in openSUSE Build Service

reply FunkyM <opensuse sukimashita.com> writes:
I started to create gdc packages for openSUSE and used the openSUSE build
service (https://build.opensuse.org) to make it easier to provide an updated
gdc and aim for distro inclusion.

Along being able to automatically generate packages across known architectures
the service also supports various distro targets like SLED, xUbuntu, Debian,
Fedora, Mandriva and openSUSE itself (Ubuntu, Redhat will follow).

I'd like to call for volunteers to help in perfecting the .spec and create
patches as I got some issues with it.

The stuff I am struggling with in order of priority:

- The generated compiler requires -libunwind or the build fails. I could not
figure out how to overcome this. The gdcgnu packaged gdc does not require it
for instance.
- x86_64 build fails (I think this just needs some x86 specific config/env
params set)
- Provide a runtime libgphobos.so
- Provide gcc-d-phobos(-devel) and gcc-d-tango(-devel)

You can find the package in the home:FunkyM project named 'gcc-d' within the
build service.

https://build.opensuse.org/package/show?project=home%3AFunkyM&package=gcc-d

Hope some people can help me on the way to spread D to the masses a bit more. ;)
Oct 29 2007
next sibling parent reply Lars Ivar Igesund <larsivar igesund.net> writes:
FunkyM wrote:

 I started to create gdc packages for openSUSE and used the openSUSE build
 service (https://build.opensuse.org) to make it easier to provide an
 updated gdc and aim for distro inclusion.
 
 Along being able to automatically generate packages across known
 architectures the service also supports various distro targets like SLED,
 xUbuntu, Debian, Fedora, Mandriva and openSUSE itself (Ubuntu, Redhat will
 follow).
FYI, Debian/Ubuntu already have mantained GDC packages in their repositories. Would be very interested to co-operate with you on Tango packages btw. Please contact me on IRC if you can? -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Oct 29 2007
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Lars Ivar Igesund wrote:

 Along being able to automatically generate packages across known
 architectures the service also supports various distro targets like SLED,
 xUbuntu, Debian, Fedora, Mandriva and openSUSE itself (Ubuntu, Redhat will
 follow).
FYI, Debian/Ubuntu already have mantained GDC packages in their repositories.
There is also a RPM binary packaging at http://gdcgnu.sourceforge.net Currently has GDC and GDB, see http://gdcgnu.sourceforge.net/repoview/ (only tested with Fedora and CentOS, and not with Mandriva or Novell) No Tango packages, but it can be installed afterwards just like usual. --anders
Oct 30 2007
prev sibling parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
FunkyM wrote:

 The stuff I am struggling with in order of priority:
 
 - The generated compiler requires -libunwind or the build fails. I could not
figure out how to overcome this. The gdcgnu packaged gdc does not require it
for instance.
Did you use --disable-shared when configuring GDC ? --anders
Oct 30 2007
parent FunkyM <opensuse sukimashita.com> writes:
Anders F Björklund Wrote:

 FunkyM wrote:
 
 The stuff I am struggling with in order of priority:
 
 - The generated compiler requires -libunwind or the build fails. I could not
figure out how to overcome this. The gdcgnu packaged gdc does not require it
for instance.
Did you use --disable-shared when configuring GDC ? --anders
Yep. I think it's an issue of the build env. in openSUSE, pulling something in I don't need.
Oct 30 2007