ports/106819: [patch] security/gnupg 1.4.6_2 failed during install

Dmitry A Grigorovich odip at bionet.nsc.ru
Sat Dec 16 21:50:19 UTC 2006


>Number:         106819
>Category:       ports
>Synopsis:       [patch] security/gnupg 1.4.6_2 failed during install
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 16 21:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>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- at HK*RL at 9&]C+V=N=7!G,2YI;F9O"5-U;B!$96,@,3<@,#(Z-#,Z,S@@
M,C`P- at 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 at 9W!G.B`H9VYU<&<Q*2X@("`@("`@("!/<&5N4$=0
M(&5N8W)Y<'1I;VX at 86YD('-I9VYI;F<@=&]O;"`H=C$I+ at H@14Y$+4E.1D\M
/1$E2+45.5%)9"B`*(!\*
`
end


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list