From odip@bionet.nsc.ru  Sat Dec 16 21:43:43 2006
Return-Path: <odip@bionet.nsc.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 04BEB16A403;
	Sat, 16 Dec 2006 21:43:43 +0000 (UTC)
	(envelope-from odip@bionet.nsc.ru)
Received: from manticore.bionet.nsc.ru (manticore.bionet.nsc.ru [84.237.118.164])
	by mx1.FreeBSD.org (Postfix) with SMTP id F08AD43CA1;
	Sat, 16 Dec 2006 21:43:41 +0000 (GMT)
	(envelope-from odip@bionet.nsc.ru)
Received: by manticore.bionet.nsc.ru (Postfix, from userid 1001)
	id 398A321871; Sun, 17 Dec 2006 03:43:39 +0600 (NOVT)
Message-Id: <20061216214339.398A321871@manticore.bionet.nsc.ru>
Date: Sun, 17 Dec 2006 03:43:39 +0600 (NOVT)
From: Dmitry A Grigorovich <odip@bionet.nsc.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: kuriyama@FreeBSD.org
Subject: [patch] security/gnupg 1.4.6_2 failed during install
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106819
>Category:       ports
>Synopsis:       [patch] security/gnupg 1.4.6_2 failed during install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kuriyama
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 16 21:50:17 GMT 2006
>Closed-Date:    Mon Dec 25 13:45:15 GMT 2006
>Last-Modified:  Mon Dec 25 13:45:15 GMT 2006
>Originator:     Dmitry A Grigorovich
>Release:        FreeBSD 5.5-RELEASE-p8 i386
>Organization:
ICiG SB RAS
>Environment:
System: FreeBSD ogre.bionet.nsc.ru 5.5-RELEASE-p8

>Description:

Port security/gnupg 1.4.6_2 failed during install

>How-To-Repeat:

cd /usr/ports/security/gnupg
make install

...
gmake[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/info" || /bin/sh ../scripts/mkinstalldirs "/usr/local/info"
 install  -o root -g wheel -m 444 './gnupg1.info' '/usr/local/info/gnupg1.info'
 install-info --info-dir='/usr/local/info' '/usr/local/info/gnupg1.info'
test -z "/usr/local/man/man1" || /bin/sh ../scripts/mkinstalldirs "/usr/local/man/man1"
...
install  -o root -g wheel -m 444 /usr/ports/security/gnupg/work/gnupg-1.4.6/TODO /usr/local/share/doc/gnupg
install  -o root -g wheel -m 444 /usr/ports/security/gnupg/work/gnupg-1.4.6/VERSION /usr/local/share/doc/gnupg
install-info --quiet /usr/local/info/gnupg1.info /usr/local/info/dir
install-info: menu item `gpg' already exists, for file `gpg'
*** Error code 1

Stop in /usr/ports/security/gnupg.

>Fix:

Problems:
1) Command 'install-info' running twice (see description above)
2) File gnugp1.info have reference to self as invalid name gpg.info

Place following patches to /usr/ports/security/gnupg/files
Reinstall security/gnupg

--- patch-Makefile.in begins here ---
--- doc/Makefile.in.orig	Wed Dec  6 15:15:27 2006
+++ doc/Makefile.in	Sun Dec 17 01:59:02 2006
@@ -718,7 +718,7 @@
 	@$(POST_INSTALL)
 	@if (install-info --version && \
 	     install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
-	  list='$(INFO_DEPS)'; \
+	  list=''; \
 	  for file in $$list; do \
 	    relfile=`echo "$$file" | sed 's|^.*/||'`; \
 	    echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
--- patch-Makefile.in ends here ---

begin 644 patch-gnupg1.info
M+2TM(&1O8R]G;G5P9S$N:6YF;RYO<FEG"5=E9"!$96,@(#8@,34Z,3,Z,3D@
M,C`P-@HK*RL@9&]C+V=N=7!G,2YI;F9O"5-U;B!$96,@,3<@,#(Z-#,Z,S@@
M,C`P-@I`0"`M,3,L-R`K,3,L-R!`0`H@"B!)3D9/+41)4BU314-424].($=.
M52!5=&EL:71I97,*(%-405)4+4E.1D\M1$E2+45.5%)9"BTJ(&=P9SH@*&=P
M9RDN("`@("`@("`@("`@3W!E;E!'4"!E;F-R>7!T:6]N(&%N9"!S:6=N:6YG
M('1O;VP@*'8Q*2X**RH@9W!G.B`H9VYU<&<Q*2X@("`@("`@("!/<&5N4$=0
M(&5N8W)Y<'1I;VX@86YD('-I9VYI;F<@=&]O;"`H=C$I+@H@14Y$+4E.1D\M
/1$E2+45.5%)9"B`*(!\*
`
end


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kuriyama 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Dec 16 21:50:31 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106819 
State-Changed-From-To: open->feedback 
State-Changed-By: kuriyama 
State-Changed-When: Mon Dec 25 03:49:01 UTC 2006 
State-Changed-Why:  
I committed your doc:gnupg1.info patch, and I cannot see duplicated 
entries in info/dir for gnupg1.info.  So I don't add your 1st patch 
yet. 

Can you confirm the latest port of security/gnupg1 ? 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106819: commit references a PR
Date: Mon, 25 Dec 2006 03:49:06 +0000 (UTC)

 kuriyama    2006-12-25 03:49:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/gnupg1      Makefile pkg-plist 
   Added files:
     security/gnupg1/files patch-doc:gnupg1.info 
   Removed files:
     security/gnupg1/files patch-openfile.c 
   Log:
   - I forgot to bump PORTREVISION to sync with security/gnupg as of
     before 2.0 upgrade.
   - Add a patch to fix info/dir entry in gnupg1.info [1].
   - Recover symlink during removing this port after installing
     security/gnupg (2.0) (I forgot to add this before...).
   
   PR:             ports/106819 [1]
   Submitted by:   Dmitry A Grigorovich <odip@bionet.nsc.ru>
   
   Revision  Changes    Path
   1.92      +1 -0      ports/security/gnupg1/Makefile
   1.1       +11 -0     ports/security/gnupg1/files/patch-doc:gnupg1.info (new)
   1.3       +0 -0      ports/security/gnupg1/files/patch-openfile.c (dead)
   1.39      +1 -0      ports/security/gnupg1/pkg-plist
 _______________________________________________
 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"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: kuriyama 
State-Changed-When: Mon Dec 25 13:44:17 UTC 2006 
State-Changed-Why:  
Confirmed by originator. 

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