From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 12 22:50:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8ACC316A469 for ; Fri, 12 Oct 2007 22:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 881DD13C46E for ; Fri, 12 Oct 2007 22:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9CMo2p2037754 for ; Fri, 12 Oct 2007 22:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9CMo25S037753; Fri, 12 Oct 2007 22:50:02 GMT (envelope-from gnats) Date: Fri, 12 Oct 2007 22:50:02 GMT Message-Id: <200710122250.l9CMo25S037753@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Jonathan Noack" Cc: Subject: Re: ports/116142: devel/cvsweb3 coloured side-by-side stopped working when moved to amd64? X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jonathan Noack List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 22:50:02 -0000 The following reply was made to PR ports/116142; it has been noted by GNATS. From: "Jonathan Noack" To: bug-followup@FreeBSD.org, andrew-freebsd@areilly.bpc-users.org Cc: Subject: Re: ports/116142: devel/cvsweb3 coloured side-by-side stopped working when moved to amd64? Date: Fri, 12 Oct 2007 18:16:50 -0400 (EDT) On Thu, September 6, 2007 01:50, Edwin Groothuis wrote: > Maintainer of devel/cvsweb3, > > Please note that PR ports/116142 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116142 Do the non-enscript diff versions work? Set "$allow_enscript = 0;" in cvsweb.conf to completely disable enscript support. Try to uncomment the "$DEBUG = 1;" option in cvsweb.conf and check your web server error log. Perhaps that will illuminate the cause of the problem. Unfortunately I don't have access to an amd64 machine so I have no way to try to reproduce. The patch below coupled with "$DEBUG = 1;" will allow you to see what parameters are being passed to enscript by printing them to the web server error log. Final thought: We use devel/p5-IPC-Run to kick off the background enscript process. I know devel/p5-IPC-Run in turn depends on devel/p5-IO-Tty. Perhaps all the TTY changes in 7.x are causing problems? $ cvs -R diff -u cvsweb.cgi Index: cvsweb.cgi =================================================================== RCS file: /home/ncvs/projects/cvsweb/cvsweb.cgi,v retrieving revision 1.297 diff -u -r1.297 cvsweb.cgi --- cvsweb.cgi 3 Dec 2005 18:39:45 -0000 1.297 +++ cvsweb.cgi 12 Oct 2007 21:59:51 -0000 @@ -3813,6 +3813,7 @@ my @cmd = ($CMD{enscript}, @enscript_options, '-q', "--language=$lang", '-o', '-', "--highlight=$highlight"); + print STDERR join(' ', @cmd), "\n"; local *ENSCRIPT_OUT; my ($h, $err) = ************************************************************ -Jonathan