‘info gcc’ broke. The package gcc-doc should be rebuilt with new debhelper to get trigger support

Bug #778796 reported by Anders Kaseorg
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gcc-defaults (Ubuntu)
Fix Released
Medium
Unassigned
texinfo (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The gcc-doc package no longer installs the gcc info page correctly. If I install gcc-doc and run ‘info gcc’, I now get the info page for gccgo instead of for gcc.

This is because the install-info calls in gcc-doc.postinst fail with

Setting up gcc-doc (4:4.6.0-5ubuntu1) ...
Ignoring install-info called from maintainer script
The package gcc-doc should be rebuilt with new debhelper to get trigger support
Ignoring install-info called from maintainer script
The package gcc-doc should be rebuilt with new debhelper to get trigger support

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gcc-doc 4:4.6.0-5ubuntu1
ProcVersionSignature: Ubuntu 2.6.39-0.5-generic 2.6.39-rc5
Uname: Linux 2.6.39-0-generic x86_64
NonfreeKernelModules: openafs
Architecture: amd64
Date: Fri May 6 18:21:59 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gcc-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. Reproduced with the steps described in the description.

Changed in gcc-defaults (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - ‘info gcc’ broke
+ ‘info gcc’ broke. The package gcc-doc should be rebuilt with new
+ debhelper to get trigger support
Anders Kaseorg (andersk)
tags: added: regression-release
Revision history for this message
Emmanuel Thomé (emmanuel-thome) wrote :

Quite annoying indeed. Still observed in oneiric beta2.

I never installed, nor cared or heard about gccgo, yet I'm served with the gccgo info page in lieu of the gcc one.

I'll go for manual removing of /usr/share/info/gccgo.info.gz and redo update-info-dir in the meantime.

Is the comment to be trusted in that a mere rebuild of the gcc-doc pacakge would cure this ? If so, shall we expect a fix for the 11.10 final ?

Best,

E.

Revision history for this message
Emmanuel Thomé (emmanuel-thome) wrote :

Just re-tested this one. It's still broken.

/usr/share/info/gcc.info.gz points to gcc-4.6.info.gz (don't know whether that was the case before), but that is of no use for providing correct `info gcc', because:
 (1) update-info-dir does not look at symlinks.
 (2) the info-dir section in gcc-4.6.info.gz is not meant to provide a match for (gcc) anyway.

Best,

E.

Revision history for this message
Emmanuel Thomé (emmanuel-thome) wrote :

up.

Problem still occurs in quantal, fresh install.

info gcc directs me to the gccgo info page.

E.

Revision history for this message
Matthias Klose (doko) wrote :

in raring the gccgo docs are now included in the gccgo package, however that won't change anything when the gccgo package is installed.

Revision history for this message
Matthias Klose (doko) wrote :

I don't think this can be fixed in gcc-defaults

Changed in gcc-defaults (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in texinfo (Ubuntu):
status: New → Confirmed
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Still broken in current Saucy (we get gcov rather than gcc)

Revision history for this message
Matthias Klose (doko) wrote :

fixed in utopic

Changed in texinfo (Ubuntu):
status: Confirmed → Invalid
Changed in gcc-defaults (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.