pkgng & ports failing to process make install correctly

Steven Hartland killing at
Fri Oct 25 15:41:47 UTC 2013

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= 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-'

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

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?


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 at

More information about the freebsd-ports mailing list