Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2009 22:14:10 -0500
From:      Bryan Albright <bryana@darth-vader.org>
To:        questions@freebsd.org
Subject:   Re: Logcheck-1.2.54_3 build error?
Message-ID:  <20090527031410.GA19505@darth-vader.org>
In-Reply-To: <4A1C8A3A.6020409@FreeBSD.org>
References:  <20090526183805.GA93248@darth-vader.org> <4A1C51A5.2020600@FreeBSD.org> <20090526221411.GA6272@darth-vader.org> <4A1C8A3A.6020409@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/26/09 at 08:32PM, Greg Larkin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bryan Albright wrote:
> > On 05/26/09 at 04:31PM, Greg Larkin wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Bryan Albright wrote:
> >>> Hi!
> >>>
> >>> I'm trying to build the logcheck port on my FreeBSD 7.2 system.
> >>> 	# uname -prs
> >>> 	FreeBSD 7.2-STABLE amd64
> >>>
> >>> Here's the error I get:
> >>> 	# cd /usr/ports/security/logcheck/
> >>> 	# make
> >>> 	=> logcheck_1.2.54.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> >>> 	=> Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/debian/pool/main/l/logcheck/.
> >>> 	logcheck_1.2.54.tar.gz                        100% of  137 kB   82 kBps
> >>> 	===>  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
> >>> 	*** Error code 255
> >>> 	
> >>> 	Stop in /usr/ports/security/logcheck.
> >>>
> >>> and that's all I get.
> >>>
> >>> I've tried to mail the port maintainer(glarkin@FreeBSD.org), and the latest person that
> >>> built the Makefile (dan@freebsddiary.org) but neither address allowed my message through.
> >>>
> >>> I've re-built (make deinstall && make reinstall) the
> >>> BUILD_DEPENDS(/usr/ports/texproc/docbook2man) and RUN_DEPENDS(/usr/ports/mail/procmail,
> >>> /usr/ports/shells/bash) but I still get the same error.
> >>>
> >>> What more do I need to provide to help troubleshoot this error to allow logcheck to
> >>> install?
> >>>
> >>> Thanks!
> >>>
> >>> Bryan
> >>>
> >> Hi Bryan,
> >>
> >> I got your direct message a little while ago - did it also bounce back
> >> to you?  Coincidentally, I have been working on this problem today.
> > 
> > Greg --
> > 
> > First off, let me say thank you for maintaining this port and being so
> > quick to respond to requests.
> > 
> > I did not receive a bounce.  I checked my mailq and saw that after 10
> > minutes that there was a delay, so I went this route.
> >  
> >> Do you have the textproc/docbook-to-man port installed on your machine?
> > 
> > Nope.  Just docbook2X-0.8.8_2.
> > 
> >>  I recently changed security/logcheck to use textproc/docbook2X to
> >> convert its SGML man page source into a man page, since its a much
> >> lighter-weight port than docbook-to-man.
> >>
> >> However, if docbook-to-man is already installed, it should be used
> >> instead of docbook2X.  I didn't take that into account initially.
> >>
> >> I just updated the port, so please refresh your tree and try
> >> reinstalling.  Let me know how that works for you.
> > 
> > I just finished updating my ports tree, both from
> > cvsup1.us.freebsd.org and from cvsup15.us.freebsd.org (the fastest
> > from a fastest_cvsup output), but the security/logcheck port didn't
> > update.  How long should I wait to see in in the ports tree, or is
> > there a non-normal location to pull the ports from?
> > 
> > Thanks!
> > 
> > Bryan
> > 
> 
> Hi Bryan,
> 
> Ok, I think the FreeBSD mail server has implemented greylisting, so
> that's probably why there was a delivery delay.

Understood.  I was just a bit annoyed at the delay, so I hit up the
questions@ list to see if anyone else had an answer.  I'm glad you
keep an eye on this list too.  Thanks!

> By any chance do you have the textproc/docbook-4.1 port installed?
> That's the actual port that conflicts with docbook2X, but docbook-to-man
> typically has it as a dependency.  If you don't, then I need to do a
> little more troubleshooting.

Yes, I did have it installed.  It is now uninstalled.  No dependencies
were listed, so it didn't hurt to take it out.

> I didn't bump the PORTREVISION on the port, but check the header of the
> Makefile.  If it's version 1.26, then you have the latest one.  I always
> update my ports trees with portsnap, and updates are generated within an
> hour or so, I think.

I have the version described:
# $FreeBSD: ports/security/logcheck/Makefile,v 1.26 2009/05/26 20:25:59 glarkin Exp $

The build of security/logcheck (Makefile version 1.26) breaks in
exactly the same way as described in my initial e-mail.
	<CUT>
	===>   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
	*** Error code 255

After uninstalling the textproc/docbook-4.1 port, I was able to do a 
make install clean on the logcheck port just fine.

It looks to me like the Makefile needs to check to see if docbook-4.1
is installed, and if so, exit with a warning/error something to the
effect of "textproc/docbook4.1 breaks the build.  Uninstall
${PORTSDIR}/textproc/docbook-410 to proceed with the build." or
something like that.

If you would like more testing done on this error, let me know and we
can work together on this (offlist, maybe?)  I'm willing to install
ports and test builds to help make it work better for others too.

Thanks!

Bryan


> 
> Regards,
> Greg

-- 
Bryan Albright

If you receive something that says, "Send this to everyone you know,"
PLEASE pretend you DON'T know me.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090527031410.GA19505>