From root@wwy.auug.org.au  Wed Nov 20 19:04:18 2002
Return-Path: <root@wwy.auug.org.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C41ED37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Nov 2002 19:04:18 -0800 (PST)
Received: from wwy.auug.org.au (dhcp-177.lemis.com [192.109.197.177])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4957243E42
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Nov 2002 19:04:16 -0800 (PST)
	(envelope-from root@wwy.auug.org.au)
Received: from wwy.auug.org.au (localhost.auug.org.au [127.0.0.1])
	by wwy.auug.org.au (8.12.6/8.12.6) with ESMTP id gAKGY2rQ079895
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Nov 2002 03:04:04 +1030 (CST)
	(envelope-from root@wwy.auug.org.au)
Received: (from root@localhost)
	by wwy.auug.org.au (8.12.6/8.12.6/Submit) id gAKEdTJ0070583;
	Thu, 21 Nov 2002 01:09:29 +1030 (CST)
Message-Id: <200211201439.gAKEdTJ0070583@wwy.auug.org.au>
Date: Thu, 21 Nov 2002 01:09:29 +1030 (CST)
From: Greg Lehey <Greg.Lehey@auug.org.au>
Reply-To: Greg Lehey <Greg.Lehey@auug.org.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: imake-4 port fails to install due to missing dependency
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45549
>Category:       ports
>Synopsis:       imake-4 port fails to install due to missing dependency
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 20 19:10:01 PST 2002
>Closed-Date:    Mon Feb 10 01:11:53 PST 2003
>Last-Modified:  Mon Feb 10 01:11:53 PST 2003
>Originator:     Greg Lehey
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
Australian UNIX User Group
>Environment:
System: FreeBSD wwy.auug.org.au 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC i386


	Fresh install of FreeBSD 4.7 from CD, latest ports tree checked out 
>Description:

	imake-4 was originally installed from the CD.  Other ports
	determined that it was out of date, so I tried rebuilding it.
	It failed to install cleanly:

	===>   Generating temporary packing list
	mkhtmlindex:No such file or directory
	*** Error code 1

	Stop in /usr/ports/devel/imake-4.


>How-To-Repeat:
	As described above.
>Fix:

	Unknown.
>Release-Note:
>Audit-Trail:

From: Edwin Groothuis <edwin@mavetju.org>
To: Greg Lehey <Greg.Lehey@auug.org.au>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/45549: imake-4 port fails to install due to missing dependency
Date: Thu, 21 Nov 2002 14:20:53 +1100

 On Thu, Nov 21, 2002 at 01:09:29AM +1030, Greg Lehey wrote:
 > 	===>   Generating temporary packing list
 > 	mkhtmlindex:No such file or directory
 > 	*** Error code 1
 
 Just out of curiosity, could it be because your shell hasn't been rehashed?
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.MavEtJu.org
 edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
 bash$ :(){ :|:&};:   | Interested in MUDs? http://www.FatalDimensions.org/

From: Greg 'groggy' Lehey <Greg.Lehey@FreeBSD.org>
To: Edwin Groothuis <edwin@mavetju.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/45549: imake-4 port fails to install due to missing dependency
Date: Thu, 21 Nov 2002 14:38:07 +1030

 On Thursday, 21 November 2002 at 14:20:53 +1100, Edwin Groothuis wrote:
 > On Thu, Nov 21, 2002 at 01:09:29AM +1030, Greg Lehey wrote:
 >> 	===>   Generating temporary packing list
 >> 	mkhtmlindex:No such file or directory
 >> 	*** Error code 1
 >
 > Just out of curiosity, could it be because your shell hasn't been
 > rehashed?
 
 Close, but no cigar.  It seems that root didn't have /usr/X11R6/bin in
 its path.  After adding it, I was able to install correctly.  The
 Ports Collection shouldn't rely on that, though.
 
 Greg
 --
 See complete headers for address and phone numbers

From: Kris Kennaway <kris@obsecurity.org>
To: Greg Lehey <Greg.Lehey@auug.org.au>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/45549: imake-4 port fails to install due to missing dependency
Date: Wed, 20 Nov 2002 21:46:18 -0800

 On Thu, Nov 21, 2002 at 01:09:29AM +1030, Greg Lehey wrote:
 
 > 	Fresh install of FreeBSD 4.7 from CD, latest ports tree checked out 
 > >Description:
 > 
 > 	imake-4 was originally installed from the CD.  Other ports
 > 	determined that it was out of date, so I tried rebuilding it.
 > 	It failed to install cleanly:
 > 
 > 	===>   Generating temporary packing list
 > 	mkhtmlindex:No such file or directory
 > 	*** Error code 1
 > 
 > 	Stop in /usr/ports/devel/imake-4.
 
 Try deinstalling (all copies of) the old imake port first.  For
 example, if you have an old XFree86 3.x imake lying around somewhere
 in your path it will cause the build of imake-4 to fail.
 
 Kris

From: Greg 'groggy' Lehey <grog@FreeBSD.org>
To: Kris Kennaway <kris@obsecurity.org>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/45549: imake-4 port fails to install due to missing dependency
Date: Thu, 21 Nov 2002 16:19:35 +1030

 On Wednesday, 20 November 2002 at 21:46:18 -0800, Kris Kennaway wrote:
 > On Thu, Nov 21, 2002 at 01:09:29AM +1030, Greg Lehey wrote:
 >
 >> 	Fresh install of FreeBSD 4.7 from CD, latest ports tree checked out
 >>> Description:
 >>
 >> 	imake-4 was originally installed from the CD.  Other ports
 >> 	determined that it was out of date, so I tried rebuilding it.
 >> 	It failed to install cleanly:
 >>
 >> 	===>   Generating temporary packing list
 >> 	mkhtmlindex:No such file or directory
 >> 	*** Error code 1
 >>
 >> 	Stop in /usr/ports/devel/imake-4.
 >
 > Try deinstalling (all copies of) the old imake port first.  For
 > example, if you have an old XFree86 3.x imake lying around somewhere
 > in your path it will cause the build of imake-4 to fail.
 
 Sure, I did that.  See the other message: the problem is that the port
 doesn't ensure that /usr/X11R6/bin was in the PATH.
 
 Greg
 --
 See complete headers for address and phone numbers
Responsible-Changed-From-To: freebsd-ports->anholt 
Responsible-Changed-By: tom 
Responsible-Changed-When: Thu Nov 21 01:42:39 PST 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45549 

From: Eric Anholt <eta@lclark.edu>
To: Greg Lehey <Greg.Lehey@auug.org.au>
Cc: gnats <freebsd-gnats-submit@FreeBSD.ORG>
Subject: Re: ports/45549: imake-4 port fails to install due to missing
	dependency
Date: 23 Nov 2002 22:18:16 -0800

 Could portmgr apply this? (though it seems like everything else in
 bsd.port.mk assumes that port-installed commands are in the path).
 
 Index: bsd.port.mk
 ===================================================================
 RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
 retrieving revision 1.432
 diff -u -r1.432 bsd.port.mk
 --- bsd.port.mk	18 Nov 2002 09:30:52 -0000	1.432
 +++ bsd.port.mk	24 Nov 2002 06:01:33 -0000
 @@ -1099,7 +1099,7 @@
  AUTOCONF_DIR?=		${LOCALBASE}/share/autoconf213/autoconf
  LIBTOOL?=		libtool
  XMKMF?=			xmkmf -a
 -MKHTMLINDEX?=		mkhtmlindex
 +MKHTMLINDEX?=		${X11BASE}/bin/mkhtmlindex
  .if exists(/sbin/md5)
  MD5?=			/sbin/md5
  .elif exists(/bin/md5
 
 
 
Responsible-Changed-From-To: anholt->portmgr 
Responsible-Changed-By: anholt 
Responsible-Changed-When: Sat Nov 23 22:24:49 PST 2002 
Responsible-Changed-Why:  
bsd.port.mk is portmgr territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45549 

From: Edwin Groothuis <edwin@mavetju.org>
To: freebsd-gnats-submit@FreeBSD.org, Greg.Lehey@auug.org.au
Cc: anholt@freebsd.org
Subject: Re: ports/45549: imake-4 port fails to install due to missing dependency
Date: Thu, 6 Feb 2003 14:11:51 +1100

 Also, keep in mind that mkhtmlindex (work/xc/config/util/mkhtmlindex.pl)
 is refering to /usr/bin/perl at the beginning, that should be
 replaced with ${PERL}.
 
 If you want to test it, try installing devel/imake-4 with a different
 X11BASE
 
 Edwni
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Mon Feb 10 01:11:42 PST 2003 
State-Changed-Why:  
Patch committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45549 
>Unformatted:
