From owner-freebsd-pkg@FreeBSD.ORG Mon Oct 21 10:56:21 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 ESMTP id 080E1482; Mon, 21 Oct 2013 10:56:21 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9334F2D1D; Mon, 21 Oct 2013 10:56:20 +0000 (UTC) Received: from pc1111.math.uni-hamburg.de (pc1111.math.uni-hamburg.de [134.100.220.119]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0Mhrl9-1VLNN23gJf-00MtxM; Mon, 21 Oct 2013 12:56:12 +0200 Message-ID: <52650843.2020203@janh.de> Date: Mon, 21 Oct 2013 12:56:03 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: pkg-list freebsd Subject: Re: pkg shlib -R and -P swapped References: <525541B2.5040507@janh.de> In-Reply-To: <525541B2.5040507@janh.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:9bQZpN/j8N5CdUhUKHZSCO1D3SjDX4Js7VXK5RfpV7q FpHdkwk/pjMeUa1sLOW0bgLmMLypKsn5rkrApD/aGVpCf+H0Ch b+wrILQ7CxSRVaaitmHIT4HN/b34T7y1qjCbfyDFSUe8rdUOLn J6D0iGVZHGNjuvd44+MUlhiVKaCpj/yFhwuu3Sp664KSYYZfmx A+zAcFOFfBg78R2pJBCJeOatyzgfiWjHpuxWOZj6EO+Zx35dUK Pr+3sTX5pxoiGU9LRdPSCjrO011QS13+sy+tmJuqhF+zzQFHzz a+wkCsYKMAnOcTQZiTcb3vPgOQVNHwISZ3gsWZ9molDvk5m+E/ lRyKn/I/7fwjsHsabZes= Cc: Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 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, 21 Oct 2013 10:56:21 -0000 On 10/09/2013 13:44, Jan Henrik Sylvester wrote: > With pkg-1.1.4_7, "pkg shlib -P libx264.so.136" displays "libx264.so.136 > is linked to by the following packages:"... > > "pkg shlib -P" should be "pkg shlib -R" and vice versa. > > shlib.c has the logic backwards: "!provides_only" leads to > "pkgs_providing_lib". > > The patch attached fixes it. bdrewery@ just told me that the patch did not make it through the list. (It is always had to know, which lists allow attachments and which do not.) Here is patch-pkg__shlib.c inline in hope that my email program does not change any characters or line breaks: --- pkg/shlib.c~ 2013-07-06 12:48:19.000000000 +0200 +++ pkg/shlib.c 2013-10-09 13:28:42.000000000 +0200 @@ -175,10 +175,10 @@ retcode = pkgdb_open(&db, PKGDB_DEFAULT); - if (retcode == EPKG_OK && !provides_only) + if (retcode == EPKG_OK && !requires_only) retcode = pkgs_providing_lib(db, libname); - if (retcode == EPKG_OK && !requires_only) + if (retcode == EPKG_OK && !provides_only) retcode = pkgs_requiring_lib(db, libname); if (retcode != EPKG_OK) If this is not readable, I will put it on a webpage next time. > Cheers, > Jan Henrik From owner-freebsd-pkg@FreeBSD.ORG Fri Oct 25 15:41:47 2013 Return-Path: Delivered-To: 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 ESMTP id 504F9182; Fri, 25 Oct 2013 15:41:47 +0000 (UTC) (envelope-from prvs=101050af22=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C17172EBA; Fri, 25 Oct 2013 15:41:43 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50006503560.msg; Fri, 25 Oct 2013 16:41:42 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 25 Oct 2013 16:41:42 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=101050af22=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <736F035267824C429A570C654CB4E629@multiplay.co.uk> From: "Steven Hartland" To: , Subject: pkgng & ports failing to process make install correctly Date: Fri, 25 Oct 2013 16:41:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 25 Oct 2013 15:41:47 -0000 Sorry for the cross post but not sure where the exact issues lies. Today I came to install git so as per normal cd /usr/ports/devel/git make install This failed first due to a problem with p5-* ports failing to install, which is being discussed on ports@ "Possible fix for all p5-* port installs being broken on FreeBSD" So with that fixed the next issue was a failure to process the docs for git. The errors for this was:- install -d -m 755 /usr/local/libexec/git-core install -m 755 git-subtree /usr/local/libexec/git-core asciidoc -b docbook -d manpage -f ../../Documentation/asciidoc.conf \ -agit_version=1.8.4.1 git-subtree.txt asciidoc: FAILED: configuration file asciidoc.conf missing gmake[2]: *** [git-subtree.xml] Error 1 gmake[2]: Leaving directory `/data/portbuild/usr/ports/devel/git/work/git-1.8.4.1/contrib/subtree' As you can see its moaning about asciidoc.conf being missing. This should have been installed with asciidoc so I started digging there. The problem seems to be related to how the new stage system interacts with pkgng. The asciidoc port has a post-install target which copies XXX.conf.sample files to XXX.conf if the target file doesn't exists. It does this to STAGEDIR which seems to work correctly but install from the staging area to the live area doesn't reflect this. I've checked pkg-plist and it has the relavent @exec lines so the port itself seems ok. Next I tried: * make package * make deinstall * pkg add asciidoc-8.6.8_1.txz This works fine and all the expected .conf files are installed. Next I tried a port install without pkgng by using: make WITHOUT_PKGNG=1 install While this moans about the fact the system is using pkgng the expected .conf files are installed. So it looks like there is an issue between ports and pkgng, possibly around the processing of pkg-plist @exec commands when staging is active. Any ideas? Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.