Bug 113363 - lang/munger borked, doesn't install
Summary: lang/munger borked, doesn't install
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-05 13:50 UTC by clemens fischer
Modified: 2007-06-06 11:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description clemens fischer 2007-06-05 13:50:02 UTC
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.

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
How-To-Repeat: 
just try:

  cd /usr/ports/lang/munger &&
  make WITHOUT_FCGI=1 WITHOUT_SQL=1 WITH_BN=1 WITH_DKNS=1 install
Comment 1 Edwin Groothuis freebsd_committer 2007-06-05 13:50:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 jimmy 2007-06-05 17:10:58 UTC
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
Comment 3 jimmy 2007-06-06 04:25:39 UTC
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
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2007-06-06 08:08:24 UTC
State Changed
From-To: feedback->open

Maintainer patch now included.
Comment 5 Martin Wilke freebsd_committer 2007-06-06 08:56:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 6 dfilter service freebsd_committer 2007-06-06 11:32:21 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"
Comment 7 Martin Wilke freebsd_committer 2007-06-06 11:32:24 UTC
State Changed
From-To: open->closed

Committed. Thanks!