From owner-freebsd-ports@FreeBSD.ORG Thu Dec 10 19:30:00 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FD8A106566B; Thu, 10 Dec 2009 19:30:00 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id D2BD28FC0C; Thu, 10 Dec 2009 19:29:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 1A5465090B; Thu, 10 Dec 2009 19:29:59 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U+Ow-yG0PU9g; Thu, 10 Dec 2009 19:29:57 +0000 (GMT) Received: from nyi.unixathome.org (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 1365F50909; Thu, 10 Dec 2009 19:29:57 +0000 (GMT) Received: from 68.64.144.211 (SquirrelMail authenticated user dan) by nyi.unixathome.org with HTTP; Thu, 10 Dec 2009 14:29:57 -0500 Message-ID: <52bc85399e49379c88793ec899954aaa.squirrel@nyi.unixathome.org> In-Reply-To: <4B2144C9.9000402@FreeBSD.org> References: <08254e721f325a1223c807b4dca5e0da.squirrel@nyi.unixathome.org> <4B2144C9.9000402@FreeBSD.org> Date: Thu, 10 Dec 2009 14:29:57 -0500 From: "Dan Langille" To: glarkin@FreeBSD.org User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Dan Langille , freebsd-ports@freebsd.org Subject: Re: security/logcheck fails to install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 19:30:00 -0000 On Thu, December 10, 2009 1:58 pm, Greg Larkin wrote: > -----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@subie:/usr/ports/security/logcheck] # make clean >> ===> Cleaning for logcheck-1.2.54_3 >> [root@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@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 That looks similar to what I did. I noticed your commit in May on this port. That got me to thinking. Install docbook-to-man. That worked for me. Then I got your email. FYI (not much there): http://www.freebsddiary.org/phorum/read.php?f=3&i=1550&t=1550&article_id=640 Thank you. -- Dan Langille -- http://langille.org/