From root@spotteswoode.dnsalias.org  Tue Jun  5 12:47:28 2007
Return-Path: <root@spotteswoode.dnsalias.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1E42116A469
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Jun 2007 12:47:28 +0000 (UTC)
	(envelope-from root@spotteswoode.dnsalias.org)
Received: from mail-out01.broadnet-mediascape.de (mail-out01.broadnet-mediascape.de [62.206.1.18])
	by mx1.freebsd.org (Postfix) with SMTP id 5EDE513C483
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Jun 2007 12:47:27 +0000 (UTC)
	(envelope-from root@spotteswoode.dnsalias.org)
Received: (qmail 29675 invoked by uid 113); 5 Jun 2007 12:47:24 -0000
Received: from 212.99.206.137 by mail-out01 (envelope-from <root@spotteswoode.dnsalias.org>, uid 106) with qmail-scanner-1.25 
 (trophie: 7.510-1002/509/20835.  
 Clear:RC:1(212.99.206.137):. 
 Processed in 0.428796 secs); 05 Jun 2007 12:47:24 -0000
Received: from d463ce89.datahighways.de (HELO spotteswoode.dnsalias.org) (212.99.206.137)
  by mail-out01.broadnet-mediascape.de with SMTP; 5 Jun 2007 12:47:23 -0000
Received: by spotteswoode.dnsalias.org (Postfix, from userid 0)
	id 374A5279E8; Tue,  5 Jun 2007 14:45:44 +0200 (CEST)
Message-Id: <20070605124544.374A5279E8@spotteswoode.dnsalias.org>
Date: Tue,  5 Jun 2007 14:45:44 +0200 (CEST)
From: clemens fischer <ino-news@spotteswoode.dnsalias.org>
Reply-To: clemens fischer <ino-news@spotteswoode.dnsalias.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: clemens fischer <ino-news@spotteswoode.dnsalias.org>
Subject: lang/munger borked, doesn't install
X-Send-Pr-Version: 3.113
X-GNATS-Notify: jimmy@mammothcheese.ca

>Number:         113363
>Category:       ports
>Synopsis:       lang/munger borked, doesn't install
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 05 12:50:02 GMT 2007
>Closed-Date:    Wed Jun 06 10:32:26 GMT 2007
>Last-Modified:  Wed Jun  6 10:40:08 GMT 2007
>Originator:     clemens fischer
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:

System: FreeBSD spotteswoode.dnsalias.org 6.2-STABLE
FreeBSD 6.2-STABLE #19: Sat May 26 19:53:56 CEST 2007
root@spotteswoode.dnsalias.org:/usr/obj/usr/src/sys/spott i386

>Description:

there's a serious bug in the "Makefile" of the distribution.  after
saying:

  # make {WITHOUT_FCGI,WITHOUT_SQL,WITH_BN,WITH_DKNS}=1 install

the build works, but the install fails here:

  ...
  /usr/bin/install -o root -g wheel -m444 -c library.munger xmlquery.munger fcgi.munger options.munger  xmlsqlite.munger blog.css login.css /usr/local/share/munger-4.134
  /bin/rm tmp
  /usr/bin/install -o root -g wheel -m555 -c -s libmunger.so /usr/local/lib/libmunger.so.27
  /usr/bin/install -o root -g wheel -m555 -c -s munger /usr/local/bin
  cp munger.man munger.1
  9 --name -f munger.1
  9:No such file or directory
  *** Error code 1 (ignored)
  /usr/bin/install -o root -g wheel -m444 -c munger.1.gz /usr/local/man/man1/
  install: munger.1.gz: No such file or directory
  *** Error code 71
  
  Stop in /usr/ports/lang/munger/work/munger-4.134.
  *** Error code 1

i looked at the distributions (not the ports!) Makefile, but couldn't
find any place where the digit `9' would appear.  could this have to do
with this piece of the ports Makefile?

  MAN1=		munger.1
  MANCOMPRESSED=	yes

i commented out the "MANCOMPRESSED" bit, which didn't work.  something's
wrong at the distributions Makefile, where the man page gets compressed.

>How-To-Repeat:

just try:

  cd /usr/ports/lang/munger &&
  make WITHOUT_FCGI=1 WITHOUT_SQL=1 WITH_BN=1 WITH_DKNS=1 install

>Fix:

if people really want to have the program and can live without
registering it in the pkg-database, they can do this after the error
message:

  510  070605-14:01 gzip work/munger-4.134/munger.1
  511  070605-14:02 mv work/munger-4.134/munger.1.gz /usr/local/man/man1/
  514  070605-14:08 rrsync work/munger-4.134/{*.{munger,[ch]},[A-Z]*} /usr/local/share/munger-4.134/

maybe the port is easy to fix, and the software works, but i can't see
what broke it.

regards, clemens
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Jun 5 12:50:08 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

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

From: James Bailie <jimmy@mammothcheese.ca>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113363: lang/munger borked, doesn't install
Date: Tue, 05 Jun 2007 12:10:58 -0400

 The problem was the GZIP variable of bsd.port.mk.  It is defined as "9"
 and is used as an argument to GZIP_CMD.  A new version has been released
 to use GZIP_CMD.  Diff follows:
 
 diff -ruN /usr/ports/lang/munger/Makefile ./munger/Makefile
 --- /usr/ports/lang/munger/Makefile	Mon Jun  4 15:44:30 2007
 +++ ./munger/Makefile	Tue Jun  5 12:03:13 2007
 @@ -6,7 +6,7 @@
   #
 
   PORTNAME=	munger
 -PORTVERSION=	4.134
 +PORTVERSION=	4.135
   CATEGORIES=	lang
   MASTER_SITES=	http://www.mammothcheese.ca/
 
 diff -ruN /usr/ports/lang/munger/distinfo ./munger/distinfo
 --- /usr/ports/lang/munger/distinfo	Mon Jun  4 15:44:30 2007
 +++ ./munger/distinfo	Tue Jun  5 12:04:26 2007
 @@ -1,3 +1,3 @@
 -MD5 (munger-4.134.tar.gz) = 01807612b9d788034bb0cbd84486a5f8
 -SHA256 (munger-4.134.tar.gz) = 
 cb3aff2d7125ba7cbb9ae1b3312b102aeecd1ad0a9bc9b82b87bb25e666977d1
 -SIZE (munger-4.134.tar.gz) = 317156
 +MD5 (munger-4.135.tar.gz) = dba29c21648d4f563de166bfa19af977
 +SHA256 (munger-4.135.tar.gz) = 
 89f38c33ab99f76ebbb5b07059ad0dee90b411ca918e6b9e13994148c4e141e1
 +SIZE (munger-4.135.tar.gz) = 317213

From: James Bailie <jimmy@mammothcheese.ca>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113363: lang/munger borked, doesn't install
Date: Tue, 05 Jun 2007 23:25:39 -0400

 Edwin Groothuis wrote:
 
  > Please note that PR ports/113363 has just been submitted.
 
 I have submitted a diff to fix via follow-up mail.  Please commit.
 
 -- 
 James Bailie <jimmy@mammothcheese.ca>
 http://www.mammothcheese.ca
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Wed Jun 6 07:08:24 UTC 2007 
State-Changed-Why:  
Maintainer patch now included. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113363 
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Jun 6 07:56:36 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113363 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Wed Jun 6 10:32:24 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113363: commit references a PR
Date: Wed,  6 Jun 2007 10:32:21 +0000 (UTC)

 miwi        2007-06-06 10:32:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/munger          Makefile distinfo 
   Log:
   - Update to 4.1.35
   
   PR:             113363
   Submitted by:   James Bailie <jimmy@mammothcheese.ca> (maintainer)
   
   Revision  Changes    Path
   1.57      +1 -1      ports/lang/munger/Makefile
   1.57      +3 -3      ports/lang/munger/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
