Thread overview
gdc packages in openSUSE Build Service
Oct 29, 2007
FunkyM
Oct 29, 2007
Lars Ivar Igesund
Oct 30, 2007
FunkyM
October 29, 2007
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. ;)
October 29, 2007
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
October 30, 2007
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
October 30, 2007
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
October 30, 2007
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.