Marc Espie <espie@nerim.net> writes:
> On Wed, Jun 28, 2017 at 12:09:01AM -0400, Ted Unangst wrote:
>> install-info: warning: no entries found for `/usr/local/info/gpgrt.info'; nothing deleted
>> install-info: menu item `libgpg-error' already exists, for file `gnupg'
>> system(/usr/bin/install-info, --info-dir=/usr/local/info, --, /usr/local/info/gpgrt.info) failed: exit(1)
>> chromium-59.0.3071.109p0:libgpg-error-1.27->1.27: ok
>>
>> would adding --quiet to install-info make this go away? i guess it's not
>> harmful, but i have to study the message for some time to figure that out.
>
> It would be much nicer to fix those messages.
>
> In some cases, it's just a question of patching the dir entry in the info
> file or the texi source.
>
> In other cases, this would require an update to makeinfo, or at least
> get the dir parts overhauled, because they're sorely lagging behind.
>
> I don't think hiding the problem is going to make it go away.
>
> With enough nagging, somebody's going to fix it eventually.
Looks like the following should fix it.
ok?
NB: machines where libgpg-error has already been installed need manual
intervention, a la
sed -i 's/^\* libgpg-error: (gnupg)/* libgpg-error: (gpgrt)/' /usr/local/info/dir
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/libgpg-error/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile 3 Mar 2017 09:29:35 -0000 1.37
+++ Makefile 29 Jun 2017 12:00:55 -0000
@@ -3,6 +3,7 @@
COMMENT= error codes for GnuPG related software
DISTNAME= libgpg-error-1.27
+REVISION= 0
CATEGORIES= security devel
EXTRACT_SUFX= .tar.bz2
Index: patches/patch-doc_gpgrt_info
===================================================================
RCS file: patches/patch-doc_gpgrt_info
diff -N patches/patch-doc_gpgrt_info
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-doc_gpgrt_info 29 Jun 2017 12:00:55 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+install-info --delete needs a dir entry that matches the .info file
+name.
+
+Index: doc/gpgrt.info
+--- doc/gpgrt.info.orig
++++ doc/gpgrt.info
+@@ -13,7 +13,7 @@ Copyright (C) 2014 g10 Code GmbH
+ License".
+ INFO-DIR-SECTION Libraries
+ START-INFO-DIR-ENTRY
+-* libgpg-error: (gnupg). Error codes and common code for GnuPG.
++* libgpg-error: (gpgrt). Error codes and common code for GnuPG.
+ END-INFO-DIR-ENTRY
+
+
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
No comments:
Post a Comment