Bug#914725: closed by Jeremy Bicha <jbicha at debian.org> (Re: gtk-d fails to build from the source, due to unrecognized command-line options)

Pablo De Napoli pdenapo at yahoo.com
Tue Nov 27 15:02:10 GMT 2018


 
> Why does your patch also add -D ?
It was a mistake of mine.  It is not needed!
> If this is the second issue, what is the first issue?

That the package is not built by ldc2 also, due to unsupported comand line options. But I'm trying to do it with sbuild right now.

    El martes, 27 de noviembre de 2018 11:18:54 a. m. GMT-3, Jeremy Bicha <jbicha at debian.org> escribió:  
 
 On Tue, Nov 27, 2018 at 9:05 AM Pablo De Napoli <pdenapo at yahoo.com> wrote:
> Dear : Jeremy Bicha,
>
> Many thanks for answering my bug report.
>
> I think that it is important that the debian packages build reliably from their source files.
> The reason why I ended up recompiling everything is that the downloaded packages don`t work for me. I didn't know about sbuild, I am trying to set up it now.
>
> I have a system with packages from stable and testing and apt-get complains about broken packages. And the different compilers for D have incompatibles Also I wanted to be sure that everything is built with the same compiler.
> This seems to be a source of problems when linking against the pre-compiled version of gtk-d.
>
> Regarding dmd, as you know is the reference compiler for D so many people working with this language will have it
>
> installed along with ldc (and there is a Debian package in the Digital Mars page).
> It seems that know it is fully open source (see https://github.com/dlang/dmd/blob/master/LICENSE.txt ) so I hope it gets included into Debian soon.
>
> However, by looking at upstream's GNUMake script at
>
> https://github.com/gtkd-developers/GtkD/blob/master/GNUmakefile
>
> I realized that this second issue is easy to fix. We need just to add a line export DC=ldc2 like in the patch attached to debian/rules in order to ensure that this compiler is used (It is not a gtk-d bug but a Debian one).
>
> many thanks again,
>
> Pablo De Nápoli

Please CC the bug email address when replying.

On Tue, Nov 27, 2018 at 9:05 AM Pablo De Napoli <pdenapo at yahoo.com> wrote:
> I think that it is important that the debian packages build reliably from their source files.

I agree, but gtk-d does build reliably in a clean build environment.

https://buildd.debian.org/status/package.php?p=gtk-d (we're ignoring
the armel & arm64 failures for now.)

> I have a system with packages from stable and testing and apt-get complains about broken packages.

Yes, that is unsupported. Please use either stable or testing but not
both in the same system.

> I realized that this second issue is easy to fix. We need just to add a line export DC=ldc2 like in the patch attached to debian/rules in order to ensure that this compiler is used (It is not a gtk-d bug but a Debian one).

Why does your patch also add -D ?

If this is the second issue, what is the first issue?

Thanks,
Jeremy Bicha  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20181127/498c8378/attachment-0001.html>


More information about the pkg-gnome-maintainers mailing list