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

Bug#407528: marked as done (packages containing .pc files should generally depend on pkgconfig)



Your message dated Sun, 03 Jun 2007 20:10:41 -0700
with message-id <87odjw1kjy.fsf@windlord.stanford.edu>
and subject line Bug#407528: just an idea
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lintian
Version: 1.23.27
Severity: wishlist

Thanks Christian,  We have fixed this case for libcommoncpp2.

Perhaps lintian could check for .pc files == pkgconfig as a standard check?

Mark


----------  Forwarded Message  ----------

Subject: Bug#407296: libcommoncpp2-dev: Should depends on pkgconfig
Date: Wednesday 17 January 2007 12:47
From: Christian Marillat <marillat@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>

Package: libcommoncpp2-dev
Version: 1.5.3-2
Severity: normal

Hi,

This package provides .pc files in /usr/lib/pkgconfig but doesn't depends on
pkgconfig.

Christian

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libcommoncpp2-dev depends on:
ii  libcommoncpp2-1.5.3-0         1.5.3-2    A GNU package for creating portabl
ii  libgcrypt11-dev [libgcrypt-de 1.2.3-2    LGPL Crypto library - development 
ii  libgnutls-dev                 1.4.4-3    the GNU TLS library - development 
ii  zlib1g-dev                    1:1.2.3-13 compression library - development

libcommoncpp2-dev recommends no packages.

-- no debconf information


_______________________________________________
Pkg-voip-maintainers mailing list
Pkg-voip-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers


-------------------------------------------------------


----------  Forwarded Message  ----------

Subject: Bug#407296: marked as done (libcommoncpp2-dev: Should depends on pkg-config)
Date: Thursday 18 January 2007 23:48
From: Debian Bug Tracking System <owner@bugs.debian.org>
To: Kilian Krause <kilian@debian.org>

Your message dated Thu, 18 Jan 2007 23:32:03 +0000
with message-id <E1H7gjj-0003sU-7l@ries.debian.org>
and subject line Bug#407296: fixed in libcommoncpp2 1.5.3-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)



-------------------------------------------------------

Attachment: pgpMDwVLGEdZp.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Neil Williams <codehelp@debian.org> writes:

>> I started thinking about this some more and I'm not sure that I
>> understand.  Do we really need a dependency on pkg-config?  That would
>> imply that such a package won't function properly without pkg-config
>> available.  Or is this more of a Recommends or even Suggests sort of
>> thing?

> I think the original request is the wrong way around. A package
> containing a .pc file doesn't necessarily need a .pc file for it's own
> build, it provides a .pc file used in builds of reverse dependencies.

> e.g.
> libA-dev includes foo.pc to describe itself.
> libB build depends on libA-dev.

> If libA only depends on libc6, it doesn't need pkg-config itself,
> despite providing a .pc file for reverse dependencies like libB.

> If libB upstream choose to use a different method of configuring libB to
> locate the libA CFLAGS and --libs output, then libB does not have to
> build-depend on pkg-config, even though libA includes a .pc. It is
> advisable and convenient to use .pc files where provided but it isn't
> compulsory. (Some .pc files are buggy and manual configuration can
> simplify dependency trees until such time as the .pc file is fixed.)

> There is nothing to require that libB itself has to provide a B.pc file
> even if libB upstream DO choose to use the .pc file from libA-dev.
> There is therefore no clear relationship between the existence of a .pc
> file in a -dev package and a dependency on pkg-config.

I concur with this analysis.  I don't think the original report is asking
for a check that would really be correct.

Closing this bug accordingly.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

--- End Message ---

Reply to: