[Debian-med-packaging] Bug#927166: libbiod0: not installable in sid

Andreas Tille tille at debian.org
Fri Jul 26 21:10:33 BST 2019


Hi Shayan,

On Fri, Jul 26, 2019 at 03:14:20PM +0100, Shayan Doust wrote:
> Honestly never even heard of Dlang so I thought I'd give this a try.

Let me say at first that's quite a brave approach.  I need to admit
that I als never heard before I had a package which actually needs
that library.
 
> I decided to disect and manually experiment with the Makefile to
> understand this.
> 
> The compilation stage works well, and this is failing at the linker
> stage with symbolic handling of the object files. This also tends to
> happen with poor linker parameters or just some plain misconfig. I am
> not sure what the main flag in DFLAGS does, but utilising the main flag
> on the compiler line in Makefile and not the linker line links the
> software successfully. I am not sure why a linker would need an
> extensive set of flags that is the same as the compiler.

I'f like to leave this suggestion for comments by Matthias Klumpp since
he is the D-expert and he finally helped to get the package into the
state it is now.
 
> The only fault I now see with this is that it fails at the dh_install
> stage, as the debian/tmp file for me is empty. I am not sure why and I
> am not sure what weighing that main flag had on the linker. I decided to
> manually run dub and dub test and the library unit test does run
> successfully. The generated binary in the bin file also seems to invoke
> without a complaint.
> 
> Those are my discoveries so far with something I've never touched
> before. First bug reply so I do apologise if I did violate some reply
> policy.

Totally fine for reply policy - thanks a lot for your contribution

     Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list