bugtexinfo - GNU documentation system - Bugs: bug #39547, "info gcc" shows gccgo...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39547: "info gcc" shows gccgo manual

Submitted by:  Keith Thompson <kst>
Submitted on:  Mon 22 Jul 2013 03:46:13 AM UTC  
 
Category: infoRelease: 5.1
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: enhancementPrivacy: Public
Open/Closed: ClosedAssigned to: None
Status: Invalid

Mon 22 Jul 2013 05:57:02 PM UTC, comment #2:

Ah yes, I should have checked that.

I had the following:

When I add the following line to /usr/share/info/dir:

"info gcc" correctly displays the gcc / gcc-4.7 manual.

Moving the line for "Gccgo" after the line for "gcc-4.7" also corrects the problem.

Looks like it's a bug in the installation of the "gcc-doc" and/or "gcc-4.7-doc" package.

I think this can be closed. I'll figure out where to report the actual error.

Keith Thompson <kst>
Mon 22 Jul 2013 05:32:49 PM UTC, comment #1:

What matters are the contents of /usr/share/info/dir. If there is no menu entry for "gcc" then the first prefix match is used.

Andreas Schwab <schwab>
Mon 22 Jul 2013 03:46:13 AM UTC, original submission:

Problem: "info gcc" shows the manual for "gccgo". It should show the manual for "gcc".

I've seen this problem on a number of GNU/Linux systems.
In particular, I see it on:

  • Linux Mint 14 (Nadia) x86_64
  • GNU texinfo 4.13 (installed by system) and
  • GNU texinfo 5.1 (built from source)
  • gcc 4.7.2 is installed

"$INFOPATH" is not set, but I see the same problem when I set $INFOPATH to "/usr/share/info".

When I type "info gcc", I get the manual for "gccgo". To see the gcc manual, I have to type one of "info gcc-4.7", "info gcc-", or "info gcc.info".

This is inconvenient and counterintuitive.

Here's the output of "ls -l /usr/share/info/gcc*" :

Apparently the "info" command's algorithm for resolving ambiguous names prefers "gccgo.info.gz" to "gcc.info.gz" given the name "gcc".

Note that on Linux Mint 14, gccgo.info.gz is installed as part of the gcc-4.7-doc package; I've seen this problem even when gccgo isn't installed.

Suggestion: Modify the search algorithm so an exact match is preferred.

Keith Thompson <kst>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Updated the item)
  • -unavailable- added by kst (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 22 Jul 2013 09:31:04 PM UTCkarlOpen/ClosedOpen=>Closed
      StatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1