Mantis - libgnutls_dev
Viewing Issue Advanced Details
5201 packaging minor always 2014-08-20 10:24 2014-09-28 13:49
laurent  
yann  
normal  
feedback  
open  
none    
none  
0005201: Missing dependency on CSWlibp11kit-dev
Title says it all :-)

when trying to build a package that uses CSWgnutls-dev, configure does not find it, because:

configure:17306: $PKG_CONFIG --exists --print-errors "gnutls >= 3.1.10 "
configure:17309: $? = 0
configure:17323: result: no
sh: gnome-config: not found
Package p11-kit-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `p11-kit-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'p11-kit-1', required by 'GnuTLS', not found

So the dependency should be added.
Issue History
2014-08-20 10:24 laurent New Issue
2014-09-28 12:15 yann Note Added: 0010927
2014-09-28 12:15 yann Assigned To => yann
2014-09-28 12:15 yann Status new => feedback
2014-09-28 13:14 laurent Note Added: 0010928
2014-09-28 13:17 yann Note Added: 0010929
2014-09-28 13:49 laurent Note Added: 0010930

Notes
(0010927)
yann   
2014-09-28 12:15   
Hi Laurent,

Can you tell me how you reproduce this problem ?

I thought that p11-kit-1 was a private dependency of GnuTLS, i.e. gnutls is linked against p11-kit-1 but doesn't expose it to application, and hence that a dependency was not needed.

I would like to check that on your issue.

Yann
(0010928)
laurent   
2014-09-28 13:14   
I think the test failing is this one:

$ /opt/csw/bin/pkg-config --print-requires-private --print-errors gnutls sh: gnome-config: introuvable
Package p11-kit-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `p11-kit-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'p11-kit-1', required by 'GnuTLS', not found

Then:
# pkgutil -i CSWlibp11kit-dev
<...>

$ /opt/csw/bin/pkg-config --print-requires-private --print-errors gnutls
p11-kit-1
zlib

Don't ask me if it's a legit test ;-) I only noticed the failure in a ./configure.
(0010929)
yann   
2014-09-28 13:17   
What is the program whose configure script launches that pkg-config command ?
(0010930)
laurent   
2014-09-28 13:49   
Sorry, I can't remember, and the date doesn't give a clue. I'll remember to note it down next time it happens.