Bug 18565

Summary: com_err's --defsection argument to install-info breaks make world
Product: Base System Reporter: rsargent <rsargent>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-RELEASE   
Hardware: Any   
OS: Any   

Description rsargent 2000-05-15 14:00:00 UTC
cd /usr/src/lib/libcom_err &&  install -C -o root -g wheel -m 444  /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include
install -c -o root -g wheel -m 444   libcom_err.a /usr/lib
install -c -o root -g wheel -m 444   libcom_err_p.a /usr/lib
install -c -s -o root -g wheel -m 444     libcom_err.so.2 /usr/lib
ln -sf libcom_err.so.2 /usr/lib/libcom_err.so
install -c -o root -g wheel -m 444 com_err.3.gz  /usr/share/man/man3
===> lib/libcom_err/doc
install-info --quiet  --defsection="Programming & development tools."  --defentry="* libcom_err: (com_err).        A Common Error Description Library for UNIX."  com_err.info /usr/share/info/dir
install-info: unrecognized option `--defsection=Programming & development tools.'
        Try `install-info --help' for a complete list of options.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


==================================================

the install-info program (unless manually upgraded doesn't seem to support --defsection:

<root>[//knox6202//usr/src/contrib/texinfo]:108 which install-info
/usr/bin/install-info
<root>[//knox6202//usr/src/contrib/texinfo]:109 /usr/bin/install-info --help
Usage: /usr/bin/install-info [OPTION]... [INFO-FILE [DIR-FILE]]

Install INFO-FILE in the Info directory file DIR-FILE.

Options:
--delete          Delete existing entries in INFO-FILE;
                    don't insert any new entries.
--dir-file=NAME   Specify file name of Info directory file.
                    This is equivalent to using the DIR-FILE argument.
--entry=TEXT      Insert TEXT as an Info directory entry.
                    TEXT should have the form of an Info menu item line
                    plus zero or more extra lines starting with whitespace.
                    If you specify more than one entry, they are all added.
                    If you don't specify any entries, they are determined
                    from information in the Info file itself.
--help            Display this help and exit.
--info-file=FILE  Specify Info file to install in the directory.
                    This is equivalent to using the INFO-FILE argument.
--info-dir=DIR    Same as --dir-file=DIR/dir.
--item=TEXT       Same as --entry TEXT.
                    An Info directory entry is actually a menu item.
--quiet           Suppress warnings.
--remove          Same as --delete.
--section=SEC     Put this file's entries in section SEC of the directory.
                    If you specify more than one section, all the entries
                    are added in each of the sections.
                    If you don't specify any sections, they are determined
                    from information in the Info file itself.
--version         Display version information and exit.

Email bug reports to bug-texinfo@gnu.org.

Fix: 

manually upgrade install-info before performing cvsupgrades
How-To-Repeat: cd /usr/src
make world
Comment 1 alex 2000-05-15 14:04:13 UTC
Thus spake rsargent@cisco.com (rsargent@cisco.com):

> cd /usr/src/lib/libcom_err &&  install -C -o root -g wheel -m 444  /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include

What cvs-tag has your src-tree?

Alex

-- 
I need a new ~/.sig.
Comment 2 dwamenae 2000-05-30 09:40:46 UTC
Dear Robert,
I have had this problem since I made the attempt to upgrade from 3.1 to
current 4.0.
I am glad there is a fix finally.
How do I update the install-info? I cannot find it in the ports? Any
suggesting?
Thanks
Emmanuel Dwamena
Comment 3 alex freebsd_committer freebsd_triage 2000-06-10 12:56:42 UTC
Responsible Changed
From-To: freebsd-ports->freebsd-bugs

Misfiled PR
Comment 4 nbm freebsd_committer freebsd_triage 2000-06-26 11:16:07 UTC
State Changed
From-To: open->feedback

This seems to be a 3.x to 4.0 upgrade case, for which the behaviour is 
documented in UPDATING.  Is this the case?
Comment 5 nbm freebsd_committer freebsd_triage 2000-08-06 18:11:09 UTC
State Changed
From-To: feedback->closed

Feedback timeout - assumed to be documented updating procedure.