Description of problem: into automake sends to the man page Version-Release number of selected component (if applicable): long standing term bug, current is f19 How reproducible: allways Steps to Reproduce: 1. info automake 2. 3. Actual results: send to man page on info viewer Expected results: send to info manual Additional info: the .info is ther as shown and works with $ info automake.info suspecting a texinfo info(dir) index unhandled issue: http://fedoraproject.org/wiki/Packaging:Guidelines : ... Texinfo The GNU project and many other programs use the texinfo file format for much of its documentation. These info files are usually located in /usr/share/info/. When installing or removing a package, install-info from the info package takes care of adding the newly installed files to the main info index and removing them again on deinstallation. Requires(post): info Requires(preun): info ... %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi These two scriptlets tell install-info to add entries for the info pages to the main index file on installation and remove them at erase time. The "|| :" in this case prevents failures that would typically affect systems that have been configured not to install any %doc files, or have read-only mounted, %_netsharedpath /usr/share. ... automake14 seems to be on the info(dir) index
Juan, this works for me. What exactly happens on your system when you install the automake package? Do you observe errors? What is the proposed fix? > The "|| :" in this case prevents failures that would typically affect > systems that have been configured not to install any %doc files, or have > read-only mounted, %_netsharedpath /usr/share. What can we do with that ^^^ cases? Thanks, Pavel
Created attachment 784794 [details] working $info tw while installing /usr/share/info/tw.info.gz (note pre,post) First, to make the context clear: $ rpm -q automake automake-1.13.4-1.fc19.noarch automake.spec: ... 86 %post 87 /sbin/install-info %{_infodir}/automake.info.gz %{_infodir}/dir || : 88 89 %preun 90 if [ $1 = 0 ]; then 91 /sbin/install-info --delete %{_infodir}/automake.info.gz %{_infodir}/dir || : 92 fi ... Please, note that this scheme adds a .gz that is not in the policy: *** %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi *** and that i think, the .gz is handled at another level, hence following strictly the policy "just works" for the info(dir), while installs a .gz . About the read-only cases, the policy says and handles that cases, following the configuration read-only, assuming "user" knows/wants that, no issue there. (My config is not read-only). I never saw an error at automake install. For instance i attach a tw.spec that works if that helps. Please, take into account the goal is to make "$ info automake" work, as probably some users don't know, whatever, ... that "$ info automake.info" works, and anyway that is a workaround, :).
Created attachment 784815 [details] List of packages which looks like they install '*.gz' info files. Thanks for your reply. As there are a lot more packages installing '*gz' files, this seems to be problem of your install-info program. On my f17/f18/f19 boxes, everything goes fine with this way of installation. Could you please check whether some of the packages inside the attached list works for you? Possibly, could you give us an architecture and more info? Because I'm not able to reproduce this. TIA, Pavel
This is an unmodified f19 i686 box: $ uname -a Linux laptophost 3.10.4-300.fc19.i686 #1 SMP Tue Jul 30 12:03:53 UTC 2013 i686 i686 i386 GNU/Linux install-info is plain: $ rpm -qf /usr/sbin/install-info info-5.1-1.fc19.i686 info coreutils works info cvs works ... i've been using info autoconf, info configure, ... for long time (releases). $ info --location autoconf /usr/share/info/autoconf.info.gz $ info --location automake *manpages* $ rpm -qf /usr/share/info/autoconf.info.gz autoconf-2.69-10.fc19.noarch $ rpm -qf /usr/share/info/automake.info.gz automake-1.13.4-1.fc19.noarch $ rpm -qf /usr/share/man/man1/autoconf.1.gz autoconf-2.69-10.fc19.noarch $ rpm -qf /usr/share/man/man1/automake.1.gz automake-1.13.4-1.fc19.noarch $ rpm -ql autoconf /usr/bin/autoconf /usr/bin/autoheader /usr/bin/autom4te /usr/bin/autoreconf /usr/bin/autoscan /usr/bin/autoupdate /usr/bin/ifnames /usr/share/autoconf /usr/share/autoconf/Autom4te /usr/share/autoconf/Autom4te/C4che.pm /usr/share/autoconf/Autom4te/ChannelDefs.pm /usr/share/autoconf/Autom4te/Channels.pm /usr/share/autoconf/Autom4te/Configure_ac.pm /usr/share/autoconf/Autom4te/FileUtils.pm /usr/share/autoconf/Autom4te/General.pm /usr/share/autoconf/Autom4te/Getopt.pm /usr/share/autoconf/Autom4te/Request.pm /usr/share/autoconf/Autom4te/XFile.pm /usr/share/autoconf/INSTALL /usr/share/autoconf/autoconf /usr/share/autoconf/autoconf/autoconf.m4 /usr/share/autoconf/autoconf/autoconf.m4f /usr/share/autoconf/autoconf/autoheader.m4 /usr/share/autoconf/autoconf/autoscan.m4 /usr/share/autoconf/autoconf/autotest.m4 /usr/share/autoconf/autoconf/autoupdate.m4 /usr/share/autoconf/autoconf/c.m4 /usr/share/autoconf/autoconf/erlang.m4 /usr/share/autoconf/autoconf/fortran.m4 /usr/share/autoconf/autoconf/functions.m4 /usr/share/autoconf/autoconf/general.m4 /usr/share/autoconf/autoconf/go.m4 /usr/share/autoconf/autoconf/headers.m4 /usr/share/autoconf/autoconf/lang.m4 /usr/share/autoconf/autoconf/libs.m4 /usr/share/autoconf/autoconf/oldnames.m4 /usr/share/autoconf/autoconf/programs.m4 /usr/share/autoconf/autoconf/specific.m4 /usr/share/autoconf/autoconf/status.m4 /usr/share/autoconf/autoconf/types.m4 /usr/share/autoconf/autom4te.cfg /usr/share/autoconf/autoscan /usr/share/autoconf/autoscan/autoscan.list /usr/share/autoconf/autotest /usr/share/autoconf/autotest/autotest.m4 /usr/share/autoconf/autotest/autotest.m4f /usr/share/autoconf/autotest/general.m4 /usr/share/autoconf/autotest/specific.m4 /usr/share/autoconf/m4sugar /usr/share/autoconf/m4sugar/foreach.m4 /usr/share/autoconf/m4sugar/m4sh.m4 /usr/share/autoconf/m4sugar/m4sh.m4f /usr/share/autoconf/m4sugar/m4sugar.m4 /usr/share/autoconf/m4sugar/m4sugar.m4f /usr/share/autoconf/m4sugar/version.m4 /usr/share/doc/autoconf-2.69 /usr/share/doc/autoconf-2.69/AUTHORS /usr/share/doc/autoconf-2.69/COPYING /usr/share/doc/autoconf-2.69/COPYING.EXCEPTION /usr/share/doc/autoconf-2.69/COPYINGv3 /usr/share/doc/autoconf-2.69/ChangeLog /usr/share/doc/autoconf-2.69/NEWS /usr/share/doc/autoconf-2.69/README /usr/share/doc/autoconf-2.69/THANKS /usr/share/doc/autoconf-2.69/TODO /usr/share/emacs /usr/share/emacs/site-lisp /usr/share/emacs/site-lisp/autoconf-mode.el /usr/share/emacs/site-lisp/autoconf-mode.elc /usr/share/emacs/site-lisp/autotest-mode.el /usr/share/emacs/site-lisp/autotest-mode.elc /usr/share/info/autoconf.info.gz /usr/share/man/man1/autoconf.1.gz /usr/share/man/man1/autoheader.1.gz /usr/share/man/man1/autom4te.1.gz /usr/share/man/man1/autoreconf.1.gz /usr/share/man/man1/autoscan.1.gz /usr/share/man/man1/autoupdate.1.gz /usr/share/man/man1/config.guess.1.gz /usr/share/man/man1/config.sub.1.gz /usr/share/man/man1/ifnames.1.gz $ rpm -ql automake /usr/bin/aclocal /usr/bin/aclocal-1.13 /usr/bin/automake /usr/bin/automake-1.13 /usr/share/aclocal-1.13 /usr/share/aclocal-1.13/amversion.m4 /usr/share/aclocal-1.13/ar-lib.m4 /usr/share/aclocal-1.13/as.m4 /usr/share/aclocal-1.13/auxdir.m4 /usr/share/aclocal-1.13/cond-if.m4 /usr/share/aclocal-1.13/cond.m4 /usr/share/aclocal-1.13/depend.m4 /usr/share/aclocal-1.13/depout.m4 /usr/share/aclocal-1.13/dmalloc.m4 /usr/share/aclocal-1.13/extra-recurs.m4 /usr/share/aclocal-1.13/gcj.m4 /usr/share/aclocal-1.13/init.m4 /usr/share/aclocal-1.13/install-sh.m4 /usr/share/aclocal-1.13/internal /usr/share/aclocal-1.13/internal/ac-config-macro-dirs.m4 /usr/share/aclocal-1.13/lead-dot.m4 /usr/share/aclocal-1.13/lex.m4 /usr/share/aclocal-1.13/lispdir.m4 /usr/share/aclocal-1.13/maintainer.m4 /usr/share/aclocal-1.13/make.m4 /usr/share/aclocal-1.13/minuso.m4 /usr/share/aclocal-1.13/missing.m4 /usr/share/aclocal-1.13/mkdirp.m4 /usr/share/aclocal-1.13/obsolete.m4 /usr/share/aclocal-1.13/options.m4 /usr/share/aclocal-1.13/python.m4 /usr/share/aclocal-1.13/runlog.m4 /usr/share/aclocal-1.13/sanity.m4 /usr/share/aclocal-1.13/silent.m4 /usr/share/aclocal-1.13/strip.m4 /usr/share/aclocal-1.13/substnot.m4 /usr/share/aclocal-1.13/tar.m4 /usr/share/aclocal-1.13/upc.m4 /usr/share/aclocal-1.13/vala.m4 /usr/share/automake-1.13 /usr/share/automake-1.13/Automake /usr/share/automake-1.13/Automake/ChannelDefs.pm /usr/share/automake-1.13/Automake/Channels.pm /usr/share/automake-1.13/Automake/Condition.pm /usr/share/automake-1.13/Automake/Config.pm /usr/share/automake-1.13/Automake/Configure_ac.pm /usr/share/automake-1.13/Automake/DisjConditions.pm /usr/share/automake-1.13/Automake/FileUtils.pm /usr/share/automake-1.13/Automake/General.pm /usr/share/automake-1.13/Automake/Getopt.pm /usr/share/automake-1.13/Automake/Item.pm /usr/share/automake-1.13/Automake/ItemDef.pm /usr/share/automake-1.13/Automake/Location.pm /usr/share/automake-1.13/Automake/Options.pm /usr/share/automake-1.13/Automake/Rule.pm /usr/share/automake-1.13/Automake/RuleDef.pm /usr/share/automake-1.13/Automake/VarDef.pm /usr/share/automake-1.13/Automake/Variable.pm /usr/share/automake-1.13/Automake/Version.pm /usr/share/automake-1.13/Automake/Wrap.pm /usr/share/automake-1.13/Automake/XFile.pm /usr/share/automake-1.13/COPYING /usr/share/automake-1.13/INSTALL /usr/share/automake-1.13/am /usr/share/automake-1.13/am/check.am /usr/share/automake-1.13/am/check2.am /usr/share/automake-1.13/am/clean-hdr.am /usr/share/automake-1.13/am/clean.am /usr/share/automake-1.13/am/compile.am /usr/share/automake-1.13/am/configure.am /usr/share/automake-1.13/am/data.am /usr/share/automake-1.13/am/dejagnu.am /usr/share/automake-1.13/am/depend.am /usr/share/automake-1.13/am/depend2.am /usr/share/automake-1.13/am/distdir.am /usr/share/automake-1.13/am/footer.am /usr/share/automake-1.13/am/header-vars.am /usr/share/automake-1.13/am/header.am /usr/share/automake-1.13/am/inst-vars.am /usr/share/automake-1.13/am/install.am /usr/share/automake-1.13/am/java.am /usr/share/automake-1.13/am/lang-compile.am /usr/share/automake-1.13/am/lex.am /usr/share/automake-1.13/am/library.am /usr/share/automake-1.13/am/libs.am /usr/share/automake-1.13/am/libtool.am /usr/share/automake-1.13/am/lisp.am /usr/share/automake-1.13/am/ltlib.am /usr/share/automake-1.13/am/ltlibrary.am /usr/share/automake-1.13/am/mans-vars.am /usr/share/automake-1.13/am/mans.am /usr/share/automake-1.13/am/program.am /usr/share/automake-1.13/am/progs.am /usr/share/automake-1.13/am/python.am /usr/share/automake-1.13/am/remake-hdr.am /usr/share/automake-1.13/am/scripts.am /usr/share/automake-1.13/am/subdirs.am /usr/share/automake-1.13/am/tags.am /usr/share/automake-1.13/am/texi-vers.am /usr/share/automake-1.13/am/texibuild.am /usr/share/automake-1.13/am/texinfos.am /usr/share/automake-1.13/am/vala.am /usr/share/automake-1.13/am/yacc.am /usr/share/automake-1.13/ar-lib /usr/share/automake-1.13/compile /usr/share/automake-1.13/config.guess /usr/share/automake-1.13/config.sub /usr/share/automake-1.13/depcomp /usr/share/automake-1.13/install-sh /usr/share/automake-1.13/mdate-sh /usr/share/automake-1.13/missing /usr/share/automake-1.13/mkinstalldirs /usr/share/automake-1.13/py-compile /usr/share/automake-1.13/tap-driver.pl /usr/share/automake-1.13/tap-driver.sh /usr/share/automake-1.13/test-driver /usr/share/automake-1.13/texinfo.tex /usr/share/automake-1.13/ylwrap /usr/share/doc/automake-1.13.4 /usr/share/doc/automake-1.13.4/AUTHORS /usr/share/doc/automake-1.13.4/COPYING /usr/share/doc/automake-1.13.4/NEWS /usr/share/doc/automake-1.13.4/README /usr/share/doc/automake-1.13.4/README.aclocal /usr/share/doc/automake-1.13.4/README.multilib /usr/share/doc/automake-1.13.4/THANKS /usr/share/doc/automake-1.13.4/amhello-1.0.tar.gz /usr/share/info/automake-history.info.gz /usr/share/info/automake.info-1.gz /usr/share/info/automake.info-2.gz /usr/share/info/automake.info.gz /usr/share/man/man1/aclocal-1.13.1.gz /usr/share/man/man1/aclocal.1.gz /usr/share/man/man1/automake-1.13.1.gz /usr/share/man/man1/automake.1.gz Sometimes environment of own developer gets "corrupted" by builds, sometimes environment of submitter ... ;). I suggest to try on a live/fresh media/install, i'm asking for third views on #fedora-devel and #fedora-qa.
Manual intervention works, *with a previous --delete*. # install-info --delete /usr/share/info/automake.info.gz /usr/share/info/dir # install-info /usr/share/info/automake.info /usr/share/info/dir $ info --location automake /usr/share/info/automake.info.gz # install-info --delete /usr/share/info/automake.info /usr/share/info/dir # install-info /usr/share/info/automake.info.gz /usr/share/info/dir $ info --location automake /usr/share/info/automake.info.gz
manually # install-info --delete /usr/share/info/automake.info.gz /usr/share/info/dir # yum reinstall automake adds the entry correctly. So this could be an stale entry on my info(dir) over the years. Closed.