Mailing List Archive

#1829: dev package dependency
#1829: dev package dependency
--------------------+---------------------
Reporter: fgsch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Keywords:
--------------------+---------------------
The dev package ships varnishapi.pc but doesn't depend on pkg-config.

We should consider changing this unless distro packaging policies state
otherwise.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1829>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1829: dev package dependency [ In reply to ]
#1829: dev package dependency
--------------------+-----------------------
Reporter: fgsch | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------
Changes (by lkarsten):

* owner: => lkarsten


Comment:

Mentioned in: https://github.com/varnishcache/pkg-varnish-
cache/blob/master/debian/control

Missing here: https://github.com/varnishcache/pkg-varnish-
cache/blob/master/redhat/varnish.spec (unless it is implicit on el?)

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1829#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1829: dev package dependency [ In reply to ]
#1829: dev package dependency
--------------------+-----------------------
Reporter: fgsch | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------

Comment (by fgsch):

Re debian, that's in the build-depends, not depends.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1829#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1829: dev package dependency [ In reply to ]
#1829: dev package dependency
--------------------+-----------------------
Reporter: fgsch | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------

Comment (by lkarsten):

Looking at the distro policies:

https://www.debian.org/doc/debian-policy/ch-relationships.html
{{{
Depends
This declares an absolute dependency. A package will not be configured
unless all of the packages listed in its Depends field have
been correctly configured (unless there is a circular dependency
as described above).

The Depends field should be used if the depended-on package
is required for the depending package to provide a significant
amount of functionality.
}}}

Working my way through `apt-cache rdepends pkg-config` looking for a
notable ones, I'm not able to find any -dev package that has it as
Depends. Package linux-source-3.16 lists it as Suggests.
{{{
$ apt-cache show linux-source-3.16
Package: linux-source-3.16
Source: linux
Version: 3.16.7-ckt11-1+deb8u3
Installed-Size: 81627
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: all
Depends: binutils, bzip2
Recommends: libc6-dev | libc-dev, gcc, make, bc
Suggests: libncurses-dev | ncurses-dev, libqt4-dev, pkg-config
}}}

The Redhat/Fedora guidelines are here:
https://fedoraproject.org/wiki/Packaging:Guidelines

We provide the suggested pkgconfig() feature/flag, for other packages
requiring varnishapi.
{{{
[lkarsten@el7 ~]$ rpm -q --provides varnish-libs-devel
varnish-libs-devel = 4.0.3-1.el7.centos
varnish-libs-devel(x86-64) = 4.0.3-1.el7.centos
pkgconfig(varnishapi) = 4.0.3
varnishabi-strict-b8c4a34
varnishabi-1.2
}}}

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1829#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1829: dev package dependency [ In reply to ]
#1829: dev package dependency
--------------------+-----------------------
Reporter: fgsch | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------

Comment (by fgsch):

On Debian:

{{{
$ apt-cache rdepends pkg-config | grep -- -dev | wc -l
265
}}}

Similar output for Ubuntu.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1829#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1829: dev package dependency [ In reply to ]
#1829: dev package dependency
--------------------+-----------------------
Reporter: fgsch | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------

Comment (by lkarsten):

Replying to [comment:4 fgsch]:
> On Debian:
> {{{
> $ apt-cache rdepends pkg-config | grep -- -dev | wc -l
> 265
> }}}
> Similar output for Ubuntu.

Correct.

When I did this this morning, I found that the list also included entries
with the package Suggest-ed.

I looked up a few of them, and didn't find much evidence of Requires. Did
you get different results than me?

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1829#comment:5>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1829: dev package dependency [ In reply to ]
#1829: dev package dependency
--------------------+-----------------------
Reporter: fgsch | Owner: lkarsten
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Resolution:
Keywords: |
--------------------+-----------------------

Comment (by fgsch):

From the list of 265:

{{{
Depends: 171
Suggests: 35
Recommends: 58
Breaks: 1
}}}

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1829#comment:6>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1829: dev package dependency [ In reply to ]
#1829: dev package dependency
--------------------+-----------------------
Reporter: fgsch | Owner: lkarsten
Type: defect | Status: closed
Priority: normal | Milestone:
Component: build | Version: unknown
Severity: normal | Resolution: fixed
Keywords: |
--------------------+-----------------------
Changes (by lkarsten):

* status: new => closed
* resolution: => fixed


Comment:

Thanks for looking this up, fgsch.

Commited as fb34de8 in pkg-varnish-cache.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1829#comment:7>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs