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)

Jeremy Bicha jbicha at debian.org
Tue Nov 27 14:18:14 GMT 2018


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



More information about the pkg-gnome-maintainers mailing list