From owner-freebsd-ports@FreeBSD.ORG Fri Oct 25 15:41:47 2013 Return-Path: Delivered-To: ports@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-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD 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.