From owner-freebsd-ports@FreeBSD.ORG Thu Dec 31 16:25:13 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03F5C106566B for ; Thu, 31 Dec 2009 16:25:13 +0000 (UTC) (envelope-from asimic@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8D7B08FC1C for ; Thu, 31 Dec 2009 16:25:12 +0000 (UTC) Received: by fxm27 with SMTP id 27so12269840fxm.3 for ; Thu, 31 Dec 2009 08:25:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=iCzUCyYilHaOrYIdaABkDxxqanSlKI0ker91Mk+taLs=; b=Fq0oGTVaZYbFfsufHIMpFbOEuu3PJ7h5NNhoSt1uYpaTj/EKeqnlF0+q/Xt4dASQx7 jtOops88x4/QV+1CMax2db4uAoPgG23IXaAg3C875Ttw0DNVukucTxXeXittCrzmeFYN Hwc3A/2CXb63PUdm1MQ+wgOLZgqdgyyrx5ytI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=iBPJ4bWBzCoFwoRGDvlotYqxx1gYyeF89K6DL4Rg1pzVa1x8DDTkotbBrwv7cdGLDN 8V18jLiPZeB7lEe9J8CJ0OrZSi9pqzdkvDYrrKZbuEEvUTek6JP0OUBC91L969pRStKM twgIYF9yVYjGsCy2KT6ukfmlSKYb2sMxECep4= MIME-Version: 1.0 Received: by 10.239.163.67 with SMTP id o3mr1117381hbd.22.1262276704645; Thu, 31 Dec 2009 08:25:04 -0800 (PST) In-Reply-To: References: <7d1be6610912310540y2e3ca781pcc77eab919d55c26@mail.gmail.com> Date: Thu, 31 Dec 2009 16:25:04 +0000 Message-ID: <7d1be6610912310825o20c0380u8cbf333e0702e23b@mail.gmail.com> From: Aleksandar Simic To: Julien Laffaye Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: pkg_debunk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 16:25:13 -0000 2009/12/31 Julien Laffaye : > On Thu, Dec 31, 2009 at 5:40 AM, Aleksandar Simic wrot= e: >> Hello, >> >> I find that when building some ports, the building of its dependencies >> tend =A0to fail from time to time. >> >> So I've created pkg_debunk: http://github.com/dotemacs/pkg_debunk >> >> It shows you which ports that appear to be installed, aren't or if >> they are for the most part, which of their content is missing. >> >> What do you think? >> >> Please note: I'm not subscribed to the list, so when replying do include= me. >> >> Thanks, >> Aleksandar > > Hi, > > What about `pkg_info -a -g` or `pkg_info -g pkgname` ? > > Regards, > Julien > Hello, running my tool I get these results: ./pkg_debunk.rb ca_root_nss-3.12.4: missing /usr/local/etc/ssl/cert.pem ruby18-gems-1.3.5: missing /usr/local/lib/ruby/gems/1.8/cache/sources-0.0.2.gem missing /usr/local/lib/ruby/gems/1.8/gems/sources-0.0.2/lib/sources.rb missing /usr/local/lib/ruby/gems/1.8/specifications/sources-0.0.2.gemspec With pkg_info: pkg_info -g ca_root_nss-3.12.4 does not spot the missing /usr/local/etc/ssl/cert.pem. Looking at /var/db/pk/ca_root_nss-3.12.4/+CONTENTS for the above file, I can clearly see that its there in the spec but not on the system: etc/ssl/cert.pem @comment MD5:5b5db9a1ce7e4680ba1644ffe5c113b5 It seems that "pkg_info -g" does not catch all the missing files. Thanks, Aleksandar