Thursday, June 29, 2017

Re: quiet install-info warnings

On Thu, Jun 29, 2017 at 02:29:05PM +0200, Jeremie Courreges-Anglas wrote:
> Antoine Jacoutot <ajacoutot@bsdfrog.org> writes:
>
> > On Thu, Jun 29, 2017 at 02:07:08PM +0200, Jeremie Courreges-Anglas wrote:
> >> 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
> >
> > Could you do the same for databases/gdbm?
>
> Does gdbm actually need something similar?
>
> pkg_add -vvr -Dinstalled gdbm
>
> shows no warning/error message.

It does for me.

$ doas pkg_add -aavvrDinstalled gdbm
Update candidates: quirks-2.334 -> quirks-2.334
quirks-2.334 signed on 2017-06-27T18:58:18Z
parsing quirks-2.334
Looking for changes in shared libraries
No libraries to keep
quirks-2.334->2.334: ok
parsing gdbm-1.13
Direct dependencies for gdbm-1.13 resolve to gettext-0.19.8.1
Direct dependencies for gdbm-1.13->1.13 resolve to gettext-0.19.8.1
Verifying dependencies still match for empathy-3.12.13, gnome-settings-daemon-3.24.2, pulseaudio-10.0p0, avahi-0.6.32p1, gstreamer1-plugins-pulse-1.12.1, gnome-control-center-3.24.2p0, gnome-shell-3.24.2
Looking for changes in shared libraries
No libraries to keep
Running /usr/sbin/makewhatis -u /usr/local/man -- /usr/local/man/man1/gdbm_dump.1 /usr/local/man/man1/gdbm_load.1 /usr/local/man/man1/gdbmtool.1 /usr/local/man/man3/gdbm.3
Running /usr/bin/install-info --delete --info-dir=/usr/local/info -- /usr/local/info/gdbm.infoinstall-info: warning: no entries found for `/usr/local/info/gdbm.info'; nothing deleted

Running /usr/bin/install-info --info-dir=/usr/local/info -- /usr/local/info/gdbm.infoinstall-info: menu item `gdbm_load' already exists, for file `(none)'
... failed: exit(1)
gdbm-1.13->1.13: ok
Read shared items: ok
Clean shared items: ok
Running /sbin/ldconfig -R
Running /usr/sbin/makewhatis -d /usr/local/man -- /usr/local/man/man1/gdbm_dump.1 /usr/local/man/man1/gdbm_load.1 /usr/local/man/man1/gdbmtool.1 /usr/local/man/man3/gdbm.3
Extracted 0 from 710630

No comments:

Post a Comment