[opensuse-packaging] Need help with %install_info
Hi, I'm trying to fix two install_info errors in the package home:plater:branches:openSUSE:Factory:Contrib/lilypond :- |install-info: warning: no info dir entry in `/usr/share/info/lilypond-learning.info.gz' install-info: warning: no info dir entry in `/usr/share/info/lilypond-program.info.gz' I've gone through the man page and info pages for install_info and can't see what the problem is. The package came with "dir" already and after reading the man page, I tried renaming it to DIR-INFO in the spec file with no joy. The dir file is : - . File: dir, Node: Top, This is the top of the INFO tree. * Menu: The list of topics begins on the next line. GNU LilyPond -- the music typesetter * abc2ly: (lilypond-program)Invoking abc2ly. Importing ABC. * convert-ly: (lilypond-program)Updating files with convert-ly. Older LilyPond versions. * etf2ly: (lilypond-program)Invoking etf2ly. Importing Finale. * LilyPond Application Usage: (lilypond-program). Installing and running applications. * LilyPond Internals Reference: (lilypond-internals). Definitions for tweaking. * lilypond-book: (lilypond-program)LilyPond-book. Integrating text and music. * LilyPond: (lilypond). LilyPond Notation Reference. * LilyPond Learning Manual: (lilypond-learning). Start here. * midi2ly: (lilypond-program)Invoking midi2ly. Importing MIDI. * Music Glossary: (music-glossary). For non-English users. * musicxml2ly: (lilypond-program)Invoking musicxml2ly. Importing MusicXML. and the post section in the spec file is :- %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/music-glossary.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/lilypond-learning.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/lilypond-program.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/lilypond-snippets.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/lilypond-internals.info.gz touch var/adm/SuSEconfig/run-scrollkeeper-update AFAICS everything is correct, I compared the contents of top level lilypond.info and ||lilypond-learning.info files and I can't see anything wrong. I've tried to change as little as possible in the spec file from the previous one which didn't give these errors but the documentation has changed between versions and the two info sections giving the error were added by me. Please help Dave P | -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 01/03/2010 10:19 AM, Dave Plater wrote:
Hi, I'm trying to fix two install_info errors in the package home:plater:branches:openSUSE:Factory:Contrib/lilypond :- |install-info: warning: no info dir entry in `/usr/share/info/lilypond-learning.info.gz' install-info: warning: no info dir entry in `/usr/share/info/lilypond-program.info.gz'
I've gone through the man page and info pages for install_info and can't see what the problem is. The package came with "dir" already and after reading the man page, I tried renaming it to DIR-INFO in the spec file with no joy. The dir file is : - . File: dir, Node: Top, This is the top of the INFO tree.
* Menu: The list of topics begins on the next line.
GNU LilyPond -- the music typesetter * abc2ly: (lilypond-program)Invoking abc2ly. Importing ABC. * convert-ly: (lilypond-program)Updating files with convert-ly. Older LilyPond versions. * etf2ly: (lilypond-program)Invoking etf2ly. Importing Finale. * LilyPond Application Usage: (lilypond-program). Installing and running applications. * LilyPond Internals Reference: (lilypond-internals). Definitions for tweaking. * lilypond-book: (lilypond-program)LilyPond-book. Integrating text and music. * LilyPond: (lilypond). LilyPond Notation Reference. * LilyPond Learning Manual: (lilypond-learning). Start here. * midi2ly: (lilypond-program)Invoking midi2ly. Importing MIDI. * Music Glossary: (music-glossary). For non-English users. * musicxml2ly: (lilypond-program)Invoking musicxml2ly. Importing MusicXML. and the post section in the spec file is :- %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/music-glossary.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/lilypond-learning.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/lilypond-program.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/lilypond-snippets.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/lilypond-internals.info.gz
touch var/adm/SuSEconfig/run-scrollkeeper-update AFAICS everything is correct, I compared the contents of top level lilypond.info and ||lilypond-learning.info files and I can't see anything wrong. I've tried to change as little as possible in the spec file from the previous one which didn't give these errors but the documentation has changed between versions and the two info sections giving the error were added by me. Please help Dave P |
I've sorted the problem myself, the lilypond-learning.info and lilypond-program.info files didn't have :- +INFO-DIR-SECTION GNU LilyPond -- the music typesetter + +START-INFO-DIR-ENTRY +* LilyPond Learning Manual: (lilypond-learning). Start here. +END-INFO-DIR-ENTRY + Headers at the top, so I made two patches. I haven't installed the updated packages but the ones that gave an error seemed to work anyway. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sun, 03 Jan 2010 21:14:01 +0200, you wrote:
I haven't installed the updated packages but the ones that gave an error seemed to work anyway.
Because it wasn't an error but rather a warning and warnings won't abort a build. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 01/03/2010 10:18 PM, Philipp Thomas wrote:
On Sun, 03 Jan 2010 21:14:01 +0200, you wrote:
I haven't installed the updated packages but the ones that gave an error seemed to work anyway.
Because it wasn't an error but rather a warning and warnings won't abort a build.
Philipp
What I meant was that the info files installed, gave the error in the rpm output but worked as expected. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Dave Plater
-
Philipp Thomas