You are not logged in.

#1 2012-03-14 14:15:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,849

Does namcap differentiate between depends and makedepends ?

In my mesa-r600-git AUR package i have the following dependency lines :

depends=('libxt' 'libxxf86vm' 'libxdamage' 'xorg-server' 'libxv' 'libffi')
makedepends=('pkgconfig' 'python2' 'talloc' 'libxml2' 'imake' 'git' 'glproto' 'dri2proto>=2.6' 'llvm>=3.0' 'xorg-server-devel' 'libxvmc' 'libvdpau')

When i run namcap on the pkg, it reports :
mesa-r600g-git W: Dependency libffi included but already satisfied

it is true that python2 and llvm both require libffi to be installed, but these are makedepends, while libffi needs to be present at runtime.

The man page for namcap doesn't make clear if namcap does make  a difference between depends and makedepends, does somebody know if it DOES ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#2 2012-03-14 14:40:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,658
Website

Re: Does namcap differentiate between depends and makedepends ?

libffi is in your dependency tree...

|--libxt
   |--libsm
      +--util-linux provides util-linux-ng
         |--udev
            |--glib2
               |--libffi

but there is nothing wrong with specifying it anyway.  Hence it is just a warning.

Offline

#3 2012-03-15 12:34:06

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,849

Re: Does namcap differentiate between depends and makedepends ?

Thanks, i hadn't seen that.

now it is atleast clear that namcap made the warning based on the depends .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB