The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Article Feedback
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Error code 255
Author: Dan 
Date:   10-12-09 19:16

If you see the following error, install textproc/docbook-to-man

The clue to this error was a 'recent' commit by glarkin: http://www.freshports.org/commit.php?category=security&port=logcheck&files=yes&message_id=200905262025.n4QKPxAO031130@repoman.freebsd.org

Looking at the diffs for that commit gave me the idea to install docbook-to-man manually.

# 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/securi
ty/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/sh
are/doc/logcheck-database/README.logcheck-database.gz!/usr/local/share/doc/logch
eck/README.logcheck-database!' /usr/ports/security/logcheck/work/logcheck-1.2.5
4/docs/logcheck.sgml
cd /usr/ports/security/logcheck/work/logcheck-1.2.54/docs && docbook2man -s /us
r/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.

--
Webmaster

Reply To This Message
 
 Re: Error code 255
Author: Dan 
Date:   10-12-09 19:23

Actually, the bits between 'Building for logcheck' and '*** Error' are only displayed if you remove the @ which appear in the do-build section of the Makefile. I made these changes when trying to debug the problem.

--
Webmaster

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org