security/logcheck fails to install

Greg Larkin glarkin at FreeBSD.org
Thu Dec 10 18:58:29 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Langille wrote:
> On 8.0-PRELEASE, ports tree up to date.
> 
> I have altered the Makefile to remove some @ from the do-build section of
> the Makefile.
> 
> Any ideas?
> 
> [root at subie:/usr/ports/security/logcheck] # make clean
> ===>  Cleaning for logcheck-1.2.54_3
> [root at subie:/usr/ports/security/logcheck] # make
> ===>  Extracting for logcheck-1.2.54_3
> => MD5 Checksum OK for logcheck_1.2.54.tar.gz.
> => SHA256 Checksum OK for logcheck_1.2.54.tar.gz.
> ===>   logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found
> ===>  Patching for logcheck-1.2.54_3
> ===>   logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found
> ===>  Applying FreeBSD patches for logcheck-1.2.54_3
> ===>   logcheck-1.2.54_3 depends on executable: docbook2man - found
> ===>   logcheck-1.2.54_3 depends on file: /usr/local/bin/perl5.8.9 - found
> ===>  Configuring for logcheck-1.2.54_3
> ===>  Building for logcheck-1.2.54_3
> /usr/bin/sed -i.bak -e 's!/var/log/syslog!/var/log/messages!' 
> /usr/ports/security/logcheck/work/logcheck-1.2.54/etc/logcheck.logfiles
> /usr/bin/sed -i.bak -e 's!/etc/logcheck!/usr/local/etc/logcheck!'  -e
> 's!/usr/share/doc/logcheck-database/README.logcheck-database.gz!/usr/local/share/doc/logcheck/README.logcheck-database!'
>  /usr/ports/security/logcheck/work/logcheck-1.2.54/docs/logcheck.sgml
> cd /usr/ports/security/logcheck/work/logcheck-1.2.54/docs && docbook2man
> -s  /usr/local/share/docbook2X/xslt/man/docbook.xsl  --sgml logcheck.sgml
> 2> /dev/null  && /bin/mv Logcheck.8 logcheck.8
> *** Error code 255
> 
> Stop in /usr/ports/security/logcheck.
> [root at subie:/usr/ports/security/logcheck] #

Hi Dan,

There's a tricky situation in the logcheck Makefile regarding which tool
it uses to generate its man page.  My guess is that you have
textproc/docbook-410 installed on the machine, but not
textproc/docbook-to-man.  The easiest fix is:

pkg_delete docbook2X\*
cd /usr/ports/textproc/docbook-to-man && make install clean
cd /usr/ports/security/logcheck && make clean install clean

Let me know if that doesn't work for some reason, and I plan to fix this
as part of your PR 140981
(http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140981)

Thank you,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLIUTI0sRouByUApARAnC/AJ9ClyhVMMmejplQY1gXTPRHRO8WLwCePiLj
n+w4fvm2oSsg4fyBVYWRmcw=
=5/IL
-----END PGP SIGNATURE-----



More information about the freebsd-ports mailing list