[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bypassing required libraries check exporting DEPS_CFLAGS and DEPS_LIBS



On Sat, 14 Jul 2007 18:32:48 +0200
Francesco Namuri <francesco@namuri.it> wrote:

> Hi,
> I'm trying to package gtkol-ldap a ldap client, I think it's a good
> program, the problem is that when I try to build it I get an error
> for a required lib that I have installed but because  a bug it is not
> detected correctly, I've found a trick to avoid it but I don't know
> if it's a good solution or if it's a bad way to do the package... So
> I ask mentors for comments :)

1. You must ensure that the package will rebuild once the bug is fixed.

2. You should add a full patch to that bug report - possibly as an NMU
- and make an RFS for that if there is still no response. It's been
nearly two weeks since that bug was filed. Add a patch and a notice
that you intend to prepare an NMU then wait another week or so.

i.e. Fix the problem, don't workaround it.

The libgtkol1 package appears to have no reverse dependencies (except
it's own -dev) so it is quite possible that this bug has been
completely missed. Quite why a library exists in Debian that is not
used by any application (and which would therefore appear in the output
of deborphan on every installation) is a separate question.

This also means that your RC bug may not get that much attention!

Make it easy to fix the bug and you will probably get better results.
 
> gtkol-ldap requires libgenerics-dev and libgtkol-dev but when it calls
> "pkg-config --cflags libgtkol-1.4" it fails because of bug #427213,
> I've reported this bug 42 days ago but without any response, so now
> I'm trying to bypass this, exporting DEPS_CFLAGS and DEPS_LIBS to
> bypass the check of required libraries in the configure script.
> 
> It's a so bad solution?

It is if your workaround breaks when the bug is fixed.

There is no point rushing uploads.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpns6gjoaVCy.pgp
Description: PGP signature


Reply to: