From owner-freebsd-pkg@FreeBSD.ORG Mon Dec 9 00:12:05 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7BD0A0 for ; Mon, 9 Dec 2013 00:12:05 +0000 (UTC) Received: from st11p09mm-asmtp002.mac.com (st11p09mm-asmtp002.mac.com [17.164.24.97]) by mx1.freebsd.org (Postfix) with ESMTP id B939C10EC for ; Mon, 9 Dec 2013 00:12:05 +0000 (UTC) Received: from [10.71.14.10] (dsl-hkibrasgw1-58c380-33.dhcp.inet.fi [88.195.128.33]) by st11p09mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0MXI00MQVJ82R710@st11p09mm-asmtp002.mac.com> for freebsd-pkg@freebsd.org; Mon, 09 Dec 2013 00:12:04 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.72,1.0.14,0.0.0000 definitions=2013-12-08_02:2013-12-06,2013-12-08,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=5 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1312080217 From: Kimmo Paasiala Content-type: multipart/signed; boundary="Apple-Mail=_0CAB5A4E-D741-4CC7-8E86-29CDE7F795E5"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: https://github.com/freebsd/pkg/issues/669 Message-id: Date: Mon, 09 Dec 2013 02:11:56 +0200 To: freebsd-pkg@freebsd.org MIME-version: 1.0 (Mac OS X Mail 7.0 \(1822\)) X-Mailer: Apple Mail (2.1822) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 00:12:06 -0000 --Apple-Mail=_0CAB5A4E-D741-4CC7-8E86-29CDE7F795E5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Could someone from the PKG team take a look at this issue? It is quite = serious in my opinion. Syntax errors in the repository configuration = files should be reported properly and not cause the configurations be = ignored silently like they are now. The UCL syntax is not obvious to = everyone and significance of the enclosing braces may be easily missed. -Kimmo --Apple-Mail=_0CAB5A4E-D741-4CC7-8E86-29CDE7F795E5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJSpQrQAAoJEFvLZC0FWRVp0xoH/2szWuQF8lovoUBLTwNFesE5 yhGFxJ1pAyjBzhduL/7B2p4APOJjqWvddZkA+38RmsHXXcZXIl4DeATDsH2BdMDX 4ET40UkJ9l8dzIzkg4DLpaheJ/iUh+9B/AvaBv7Vz48kBbuuk7fgO06Gwzy5CHxq /Cx24hBk5htAC45k5dNH1r6psiOX9SWZOqFBV5/z69lIzhFJ/7QaFjbroksZWyxw xC3MJb3lZ4mKVJJXyaYKr7OLQK7gwK0LD1IPqc0Ps3iV8BBPZmVhR4VLmMecmrrp aVnAf1nU4YR4B4AEjb+DIUwVQOR6cPo8t5DAvoYBgqqZpDNRsYYMtzGgiJTCKUM= =+nDa -----END PGP SIGNATURE----- --Apple-Mail=_0CAB5A4E-D741-4CC7-8E86-29CDE7F795E5-- From owner-freebsd-pkg@FreeBSD.ORG Mon Dec 9 08:43:08 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D472CB8E for ; Mon, 9 Dec 2013 08:43:08 +0000 (UTC) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6853311DB for ; Mon, 9 Dec 2013 08:43:08 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hn9so3337263wib.1 for ; Mon, 09 Dec 2013 00:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=7i1z7T4ShC1W1Go61iBpBTsH3F/hh+Uq4b5yCUaKHdc=; b=jrr+hi4GOktMbL9CZu1uWwp6HipxKcGzdScIUoiePyPtxXVBeOQXvA77IcuaoJPZML 70M3MRxDmELAbUjcsANOFwC3S2X63X+k671ivLkysnh0bNpwx7RnMXA1AVHyzA0jQweG EuLlp92aqMJYa3WbNI7qrVFQit83vVPwc4mTzocrbb9pwbkYtAF46fMcmNYnfaDW+U+k DCefXxo9ubfa0exV4pDLin/VKiiJSxQp6VqRStJLh+vGxeyjcBBBZQn9VoodUWgVWg4s +RePfCZ0Vlhxs/dt1GegdzAQ0E/3+rL7HJ+KhUcY5HlossLcvDtjIyUlWYMQ8QYBHdZs JDSA== X-Received: by 10.194.20.230 with SMTP id q6mr33946217wje.49.1386578586841; Mon, 09 Dec 2013 00:43:06 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id dj8sm22786607wid.2.2013.12.09.00.43.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 09 Dec 2013 00:43:05 -0800 (PST) Sender: Baptiste Daroussin Date: Mon, 9 Dec 2013 09:43:03 +0100 From: Baptiste Daroussin To: Kimmo Paasiala Subject: Re: https://github.com/freebsd/pkg/issues/669 Message-ID: <20131209084303.GI76976@ithaqua.etoilebsd.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WVhxcSV8VTJlfoH7" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 08:43:08 -0000 --WVhxcSV8VTJlfoH7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 09, 2013 at 02:11:56AM +0200, Kimmo Paasiala wrote: > Could someone from the PKG team take a look at this issue? It is quite se= rious in my opinion. Syntax errors in the repository configuration files sh= ould be reported properly and not cause the configurations be ignored silen= tly like they are now. The UCL syntax is not obvious to everyone and signif= icance of the enclosing braces may be easily missed. >=20 > -Kimmo The issue has been fixed in our git, will be in the next pkg 1.2.3 regards, Bapt --WVhxcSV8VTJlfoH7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iEYEARECAAYFAlKlgpcACgkQ8kTtMUmk6Ez5DACfRjM7IPlVtxzvEzHXMIsWbwei dH0AnRT8v1mD8kOzzVddguzKGmSJ0ML1 =al1A -----END PGP SIGNATURE----- --WVhxcSV8VTJlfoH7-- From owner-freebsd-pkg@FreeBSD.ORG Tue Dec 10 18:32:07 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11F5CEC6 for ; Tue, 10 Dec 2013 18:32:07 +0000 (UTC) Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [IPv6:2a00:1450:4013:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9DE761410 for ; Tue, 10 Dec 2013 18:32:06 +0000 (UTC) Received: by mail-ee0-f50.google.com with SMTP id c41so2392994eek.37 for ; Tue, 10 Dec 2013 10:32:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=w5kAlS+rwHcvbmy4+wM3PxB/XtoQYoNjCe7SRSuznak=; b=gWjG0d7Wiz2Q6t/GpjDV+dz/1SszBYjJFBLiqyQ1jntShbZkJ2II2aUOAVxnXCM7sy +zMea5wqk9o19TNDRB6pFKx5khxtx/DliZ5zXwEMKXcBhfFg3mMnsbaWRVyyjJ25KpsB nd9d/E4Ma9FA/TylJiyvgONLeQ0Nmagsjfpovm/E6skb9TtKlfiJj9NUbKl9xewG2zTp A/CzNoLrFhR2dRStOQAQDSI/2mWG8y132vbJa0x7ysmIt41ORbzeOZHNUhzLqSU8gduQ afFF3jgV9wfCFAyXylGZexpAwbsf/d1CdNFt/PsnVbha8bDVnIBZbKeWTT/MOIqVjAQo UbKQ== X-Received: by 10.14.2.73 with SMTP id 49mr19835308eee.15.1386699952246; Tue, 10 Dec 2013 10:25:52 -0800 (PST) Received: from localhost ([176.109.164.5]) by mx.google.com with ESMTPSA id v1sm44136586eef.9.2013.12.10.10.25.50 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 10 Dec 2013 10:25:51 -0800 (PST) Sender: =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= Date: Tue, 10 Dec 2013 19:25:43 +0100 From: Pawel Pekala To: freebsd-pkg@freebsd.org Subject: Automatic dependency adding in 1.2.x ? Message-ID: <20131210192543.4c854774@FreeBSD.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 18:32:07 -0000 Hi, During my last work on ports linking problems I noticed one thing with new 1.2.x (?) pkg. It's seems now pkg adds dependencies not listed in LIB_DEPENDS when package links to some lib on live system. So for example it links dynamically to databases/tinycdb when available on system and this is not recorded in port's Makefile (tinycdb is not pulled but any other deps also). From user's point this is desirable behaviour, it keeps things sane - tinycdb can't be removed when there are other packages that link to it's libraries and prevents breakage. On the developer's side of things this is at least strange choice - it hides problems instead trying to expose them and get them fixed. It makes finding those kind of errors a lot harder in my view and leads to official packages (built in sterile environment) lacking some features or being even broken in rare cases. Is there are any way to disable this feature?=20 Maybe related to this,ffmpeg0 on my system thinks it depends on ffmpeg now: [corn:~]> pkg info -d ffmpeg0-0.7.16_1,1=20 ffmpeg0-0.7.16_1,1: freetype2-2.5.0.1 xvid-1.3.2,1 x264-0.136.2358_1 schroedinger-1.0.11_1 libvpx-1.2.0 libtheora-1.1.1_3 gpac-libgpac-0.5.0,1 ffmpeg-2.1.1_1,1 png-1.5.17 opencv-core-2.4.7 jpeg-8_4 sdl-1.2.15_2,2 orc-0.4.18 libvorbis-1.3.3_1,3 libogg-1.3.1,4 jackit-0.121.3_3 --=20 pozdrawiam / with regards Pawe=B3 P=EAkala From owner-freebsd-pkg@FreeBSD.ORG Tue Dec 10 19:15:12 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8DF3F15B; Tue, 10 Dec 2013 19:15:12 +0000 (UTC) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F0CAF175A; Tue, 10 Dec 2013 19:15:11 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id a1so5432599wgh.29 for ; Tue, 10 Dec 2013 11:15:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=hxOAamYxXUBT82uZXiauD1oUvx50oAsoBKJJhI/rApA=; b=vw291bZ7eLnyuafrtT2t6UV2gNxJwU2KU521UZJScDvAquAVAm8/XMy/jFgpxmpyVT Gw9O53Z5RPQq0IVuiigBQtzuf97pRigXW3WfBzTR9nKAPp3du4gxFZwaYOylFPpbMTK8 QBXyLO0raU0+X3eBAVv6+GALEYOsUBFx/1bU19XetlTrUocb/bZi/g9FjD1dwllZD4pq 1DoJC0PLlrDqcRTdE2XW/NM4iIb9RR0M7B6N2Pu+wj0y82ylsTZa+2ISHbsNEj4bW9xf KcjGimPTc1PRHXjKjIq3UreGek4LvDKSd1zYIcLvnWAg7eI1Or5oc43VmF6dQeXQMVGk MW0w== X-Received: by 10.180.189.49 with SMTP id gf17mr20719453wic.23.1386702910374; Tue, 10 Dec 2013 11:15:10 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id dn2sm7740825wid.1.2013.12.10.11.15.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Dec 2013 11:15:09 -0800 (PST) Sender: Baptiste Daroussin Date: Tue, 10 Dec 2013 20:15:03 +0100 From: Baptiste Daroussin To: Pawel Pekala Subject: Re: Automatic dependency adding in 1.2.x ? Message-ID: <20131210191502.GF99623@ithaqua.etoilebsd.net> References: <20131210192543.4c854774@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1Ow488MNN9B9o/ov" Content-Disposition: inline In-Reply-To: <20131210192543.4c854774@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 19:15:12 -0000 --1Ow488MNN9B9o/ov Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 10, 2013 at 07:25:43PM +0100, Pawel Pekala wrote: > Hi, >=20 > During my last work on ports linking problems I noticed one thing with > new 1.2.x (?) pkg. It's seems now pkg adds dependencies not listed in > LIB_DEPENDS when package links to some lib on live system. So for > example it links dynamically to databases/tinycdb when available on > system and this is not recorded in port's Makefile (tinycdb is not > pulled but any other deps also). >=20 > From user's point this is desirable behaviour, it keeps things sane - > tinycdb can't be removed when there are other packages that link to it's > libraries and prevents breakage. >=20 > On the developer's side of things this is at least strange choice - it > hides problems instead trying to expose them and get them fixed. It > makes finding those kind of errors a lot harder in my view and leads to > official packages (built in sterile environment) lacking some features > or being even broken in rare cases. >=20 > Is there are any way to disable this feature?=20 >=20 > Maybe related to this,ffmpeg0 on my system thinks it depends on > ffmpeg now: >=20 > [corn:~]> pkg info -d ffmpeg0-0.7.16_1,1=20 > ffmpeg0-0.7.16_1,1: > freetype2-2.5.0.1 > xvid-1.3.2,1 > x264-0.136.2358_1 > schroedinger-1.0.11_1 > libvpx-1.2.0 > libtheora-1.1.1_3 > gpac-libgpac-0.5.0,1 > ffmpeg-2.1.1_1,1 > png-1.5.17 > opencv-core-2.4.7 > jpeg-8_4 > sdl-1.2.15_2,2 > orc-0.4.18 > libvorbis-1.3.3_1,3 > libogg-1.3.1,4 > jackit-0.121.3_3 >=20 That is desired and there is no way to disable this feature, this is done by introspecting the binaries to figure out the libraries they do need, DEBUG_LEVEL=3D1 should show you the dependencies automatically added. The point is then to totally disable the recursive dependencies we have now= and in long term to not make any difference between lib dependencies and build dependencies. There is no magic behind that and that changes nothing for the developper, = the dependencies are added because they are needed for example if glib brings i= cu and your program only uses glib the developper has no way to figure out that depending on glib option he may or may not add icu in the list of the dependencies. regards, Bapt --1Ow488MNN9B9o/ov Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iEYEARECAAYFAlKnaDYACgkQ8kTtMUmk6EwcNwCgoJRgFE+/zzixlJifbou7r9Ns Jp4An0Pt7TC1vhBVEaz0Df0T5k5FksKp =0Dt1 -----END PGP SIGNATURE----- --1Ow488MNN9B9o/ov-- From owner-freebsd-pkg@FreeBSD.ORG Tue Dec 10 20:08:50 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9689F981; Tue, 10 Dec 2013 20:08:50 +0000 (UTC) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 034461B67; Tue, 10 Dec 2013 20:08:49 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id h10so2495979eak.30 for ; Tue, 10 Dec 2013 12:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=K7Bb8wB1v5y+sJ/F+rBpQDMUGGXsRj14UCYFGmNFK4E=; b=wYyiLKkSgBAqT+JCkR8pO2BgaKNRpm6pT8hIm7avRDLly+LdjCBxpCBwglJOuLp1Dh KL/OdSiNmeXO51rolz2R/eV/xzPcs1Rm7klVV/4W6cmWGtrCA3lwSoroZMqgxC6OrtYT Y+zIKzlNCO8N7Sfps7w0G9Q0VWw4zNWe6zB8SM/HF2zjBi/Lm5EiEE+WjOMI6OygFLiP yzblm4IubVtbCjFL6mAM8LutpPoNNkP2I89VJQW71TINAD6GAlAZFdC2GKqMPB8/qqYn FK7wKAqM2tkSXEFo/Aq4NhWbiM9z6lMHWQIbrH60hRaSBdQXO5tHoXnfKiyzysG3w9Ul /PgA== X-Received: by 10.14.0.201 with SMTP id 49mr20178284eeb.38.1386706128474; Tue, 10 Dec 2013 12:08:48 -0800 (PST) Received: from localhost ([176.109.164.5]) by mx.google.com with ESMTPSA id 1sm45023561eeg.4.2013.12.10.12.08.46 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 10 Dec 2013 12:08:47 -0800 (PST) Sender: =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= Date: Tue, 10 Dec 2013 21:08:39 +0100 From: Pawel Pekala To: Baptiste Daroussin Subject: Re: Automatic dependency adding in 1.2.x ? Message-ID: <20131210210839.7948f34e@FreeBSD.org> In-Reply-To: <20131210191502.GF99623@ithaqua.etoilebsd.net> References: <20131210192543.4c854774@FreeBSD.org> <20131210191502.GF99623@ithaqua.etoilebsd.net> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 20:08:50 -0000 Hi, On 2013-12-10 20:15 +0100, Baptiste Daroussin wrote: >That is desired and there is no way to disable this feature, this is >done by introspecting the binaries to figure out the libraries they do >need, DEBUG_LEVEL=3D1 should show you the dependencies automatically >added. > >The point is then to totally disable the recursive dependencies we >have now and in long term to not make any difference between lib >dependencies and build dependencies. > >There is no magic behind that and that changes nothing for the >developper, the dependencies are added because they are needed for >example if glib brings icu and your program only uses glib the >developper has no way to figure out that depending on glib option he >may or may not add icu in the list of the dependencies. I think you misunderstood me here, if dependency is pulled by direct one recorded in Makefile that's ok and it should work that way. I'm talking about other situation, with tinycdb today when I installed www/cblog for testing purposes, it had already recorded databases/tinycdb as dependency despite I didn't fixed BUILD, LIB_DEPENDS - automatically and was not pulled in by any other deps for sure. What I wanted to (poorly) describe earlier - before 1.2.x update you could ldd(1) all binaries in certain package and get list of needed libraries to function. Then you could compare this list to what recorded dependencies provide and missing libraries would point you to not recorded, missing deps in the end. I wrote this script that done it: https://github.com/ppekala/freebsd-ports-tools/blob/master/pkg-lib-check It helped me to find some of those missing dependencies I'm trying to whine about :) http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/181764 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/182163 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/182166 and so on. My point is - now this ability is gone and it sucks from developer perspective, makes finding this type of bugs harder. --=20 pozdrawiam / with regards Pawe=B3 P=EAkala From owner-freebsd-pkg@FreeBSD.ORG Tue Dec 10 20:21:13 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0B81CC1; Tue, 10 Dec 2013 20:21:12 +0000 (UTC) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6008A1D74; Tue, 10 Dec 2013 20:21:12 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id k14so5525070wgh.10 for ; Tue, 10 Dec 2013 12:21:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=nin5So0YqG+HIn9nCDdQYq6iZGGIBVp/CK6d34mwgP8=; b=J5sVjg8A03rTNh6hk62KLAdSp0m+WbbpTuk7Z88SwgzSbsiQ4qoBfS/aIo43MWHV/j 9b3JLLNRTIJvAa87QqJUIf9xVw/eH5GWhO/bgQ1OuWpiZeguKlURPu/ar5+Qt/y4FnBs M3sKocTiGWzyT70jQhNX/KSd6/Urvkc6/KHrPu6yzctt4yd9iJIx+T0b8cKOhQDKLYRm vkSodUlyxLWYMxLHUt7YhmPGQw9ZGc6o4GNZrSPKwdPaCFd8rJbMQNCKUksyhvyrBYsc HaM/BeX/ikyWnLgZd4i521JSpnoJhDupDUtD/RzdGxqbeAIZrV1nk769qyGAmkttxzfF 1z3Q== X-Received: by 10.180.160.212 with SMTP id xm20mr20689395wib.33.1386706870810; Tue, 10 Dec 2013 12:21:10 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id b7sm8190074wiz.8.2013.12.10.12.21.09 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Dec 2013 12:21:09 -0800 (PST) Sender: Baptiste Daroussin Date: Tue, 10 Dec 2013 21:21:07 +0100 From: Baptiste Daroussin To: Pawel Pekala Subject: Re: Automatic dependency adding in 1.2.x ? Message-ID: <20131210202107.GG99623@ithaqua.etoilebsd.net> References: <20131210192543.4c854774@FreeBSD.org> <20131210191502.GF99623@ithaqua.etoilebsd.net> <20131210210839.7948f34e@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1XWsVB21DFCvn2e8" Content-Disposition: inline In-Reply-To: <20131210210839.7948f34e@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 20:21:13 -0000 --1XWsVB21DFCvn2e8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 10, 2013 at 09:08:39PM +0100, Pawel Pekala wrote: > Hi, >=20 > On 2013-12-10 20:15 +0100, Baptiste Daroussin wrote: > >That is desired and there is no way to disable this feature, this is > >done by introspecting the binaries to figure out the libraries they do > >need, DEBUG_LEVEL=3D1 should show you the dependencies automatically > >added. > > > >The point is then to totally disable the recursive dependencies we > >have now and in long term to not make any difference between lib > >dependencies and build dependencies. > > > >There is no magic behind that and that changes nothing for the > >developper, the dependencies are added because they are needed for > >example if glib brings icu and your program only uses glib the > >developper has no way to figure out that depending on glib option he > >may or may not add icu in the list of the dependencies. >=20 > I think you misunderstood me here, if dependency is pulled by direct > one recorded in Makefile that's ok and it should work that way. I'm > talking about other situation, with tinycdb today when I installed > www/cblog for testing purposes, it had already recorded > databases/tinycdb as dependency despite I didn't fixed BUILD, > LIB_DEPENDS - automatically and was not pulled in by any other deps for > sure. >=20 > What I wanted to (poorly) describe earlier - before 1.2.x update you > could ldd(1) all binaries in certain package and get list of needed > libraries to function. Then you could compare this list to what > recorded dependencies provide and missing libraries would point you to > not recorded, missing deps in the end. I wrote this script that done it: >=20 > https://github.com/ppekala/freebsd-ports-tools/blob/master/pkg-lib-check >=20 > It helped me to find some of those missing dependencies I'm trying to > whine about :) >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/181764 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/182163 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/182166 and so on. >=20 > My point is - now this ability is gone and it sucks from developer > perspective, makes finding this type of bugs harder. Poudriere does it :) Another solution is: pkg query "%B" cblog It will show you all libraries required by cblog :) (including the one it provides if any) regards, Bapt --1XWsVB21DFCvn2e8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iEYEARECAAYFAlKnd7MACgkQ8kTtMUmk6ExCswCfSiybXD008z0V/aJkr7lrMH9b xt8AoK04yNYvZarMALQyH2r2hzQFT/Q3 =w7Do -----END PGP SIGNATURE----- --1XWsVB21DFCvn2e8--