Date: Fri, 25 Oct 2013 16:41:44 +0100 From: "Steven Hartland" <killing@multiplay.co.uk> To: <pkg@FreeBSD.org>, <ports@freebsd.org> Subject: pkgng & ports failing to process make install correctly Message-ID: <736F035267824C429A570C654CB4E629@multiplay.co.uk>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?736F035267824C429A570C654CB4E629>