From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?5a6L5paH5q2m?= Subject: Re: missing input and more Date: Thu, 5 Feb 2015 17:48:07 +0800 Message-ID: References: <20150205070425.GA25300@venom> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJJ2g-0002ED-52 for guix-devel@gnu.org; Thu, 05 Feb 2015 04:48:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJJ2e-0007Zm-5v for guix-devel@gnu.org; Thu, 05 Feb 2015 04:48:10 -0500 Received: from mail-qg0-x22d.google.com ([2607:f8b0:400d:c04::22d]:63171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJJ2e-0007Zi-1z for guix-devel@gnu.org; Thu, 05 Feb 2015 04:48:08 -0500 Received: by mail-qg0-f45.google.com with SMTP id q107so5382683qgd.4 for ; Thu, 05 Feb 2015 01:48:07 -0800 (PST) In-Reply-To: <20150205070425.GA25300@venom> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: sleep_walker@suse.cz Cc: Guix-devel 2015-02-05 15:05 GMT+08:00 : > Hi Guix, > > during my packaging attempts of connman (which looks good so far) I > found that gnutls is missing "install-time" dependency - zlib. > > 1] ldd shows run-time dependency: > $ ldd > /gnu/store/0mfgwxgqyhlvi5xyi1j2lbr3ygczsdyp-gnutls-3.2.21/lib/libgnutls.so | > grep libz > libz.so.1 => > /gnu/store/x8cg3irwf8y2mkr88bqmsqhadi71xf6s-zlib-1.2.7/lib/libz.so.1 > (0x00007fe4fac90000) > > 2] pkg-config rants about not filled dependencies when building against > gnutls > > In > /gnu/store/0mfgwxgqyhlvi5xyi1j2lbr3ygczsdyp-gnutls-3.2.21/lib/pkgconfig/gnutls.pc > you can see > > Libs.private: -lz -lgmp > Requires.private: nettle, hogweed, libtasn1, zlib > > > That is something which should be solved by "propagate-input"? Yes, zlib should be a propagate-input of gnutls. > > Both dependency requirements types are quite easy to detect. I'm not > sure if they shouldn't be done in package build > (maintaining mapping for pkg-config *.pc --> package) > > or we should just invest time into package validation afterwards. > > WDYT? > > S_W