package gcc-3.3-doc 1:3.3.6-15ubuntu4 failed to install/upgrade:

Bug #222876 reported by Jeremy Akers
124
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-3.3 (Ubuntu)
Fix Released
High
Unassigned
Hardy
Fix Released
High
Unassigned

Bug Description

Binary package hint: gcc-3.3

I received several package upgrade errors on my upgrade from 7.10 to 8.04. The crash report tool brought me here to fill out a crash report, so that's what I'm doing.

I was upgrading using the 'Update Manager' distribution upgrade method over the Internet.

-Jeremy

ProblemType: Package
Architecture: i386
Date: Sat Apr 26 21:13:37 2008
Dependencies: gcc-3.3-base 1:3.3.6-15ubuntu4
DistroRelease: Ubuntu 8.04
ErrorMessage:
 ErrorMessage: subprocess post-installation script returned error exit status 2
NonfreeKernelModules: nvidia
Package: gcc-3.3-doc 1:3.3.6-15ubuntu4
PackageArchitecture: all
SourcePackage: gcc-3.3
Title: package gcc-3.3-doc 1:3.3.6-15ubuntu4 failed to install/upgrade:
Uname: Linux 2.6.24-16-generic i686

Revision history for this message
Albert Damen (albrt) wrote :

Thanks for reporting this bug. I can reproduce it in a Hardy pbuilder:

Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.6-15ubuntu4_amd64.deb) ...
Selecting previously deselected package gcc-3.3-doc.
Unpacking gcc-3.3-doc (from .../gcc-3.3-doc_1%3a3.3.6-15ubuntu4_all.deb) ...
Setting up gcc-3.3-base (1:3.3.6-15ubuntu4) ...
Setting up gcc-3.3-doc (1:3.3.6-15ubuntu4) ...
sh: cannot open /usr/share/info/gcc-3.3.info.gz: No such file
install-info(/usr/share/info/gcc-3.3.info.gz):
dpkg: error processing gcc-3.3-doc (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 gcc-3.3-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg -L gcc-3.3-doc shows gcc-3.3.info.gz is not included in the gcc-3.3-doc package. In Gutsy it was included in this package (version 1:3.3.6-15ubuntu2).

Changed in gcc-3.3:
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I milestone this one and set it to high as it may break upgrades.

Changed in gcc-3.3:
importance: Undecided → High
milestone: none → ubuntu-8.04.1
Revision history for this message
Martin (martin-a-jackson) wrote :

I too got this error when upgrade from 7.10 to 8.04.
If you need a tester -- I volunteer.

Revision history for this message
Martin (martin-a-jackson) wrote :

I originally got this error while upgrading from 7.10 to 8.04

On a newly installed system (Kubuntu 8.04 iso), I was able to reproduce the same error by the following commands:
apt-get install gcc-3.3-doc
apt-get install gcc-3.4-doc

I then realized this was a package for older gcc docs (my current version is gcc-4.2.3) which I don't need.

This doesn't directly address the upgrade/install problem, but my current solution is to just remove these older docs

apt-get remove gcc-3.3-doc

Revision history for this message
mpospisil (marcuspospisil) wrote :

I also got this error while upgrading from 7.10 to 8.04

Once I used apt-get install gcc-4.2-doc to install gcc-4.2.3 can I apt-get remove gcc-3.3-doc and gcc-3.4-doc so I quit getting this error? Will this break anything?

Revision history for this message
Martin (martin-a-jackson) wrote : Re: [Bug 222876] Re: package gcc-3.3-doc 1:3.3.6-15ubuntu4 failed to install/upgrade:
  • unnamed Edit (2.3 KiB, text/html; charset=ISO-8859-1)

Yes you are correct.

       apt-get install gcc-4.2-doc
           will install the documentation for the latest version compiler

       apt-get remove gcc-3.3-doc
           will remove the documentation for the much older version 3.3
compiler

no removing didn't break anything on either my two test systems
              the old system (continually upgraded since the Ubuntu 5.1
"breasy badger" CD*)
* or
              the brand new installed system (Kubunto 8.04 CD).

   - When you remove it, notice that nothing else is removed because
   nothing else depended on it.
   - All the new updates and programs will be using the newer gcc
   compiler (version 4.2)

Besides, the error occurred because the update tried to re-install all your
registered packages correctly after 8.04 baseline files were in place and
this was the only package that had problems.

You would only need the (gcc-3.3-doc) docs for gcc 3.3 if you needed to look
up a compiler switch because you were using that old version of the compiler
for a specific project.

On Tue, Apr 29, 2008 at 12:36 AM, mpospisil <email address hidden>
wrote:

> I also got this error while upgrading from 7.10 to 8.04
>
> Once I used apt-get install gcc-4.2-doc to install gcc-4.2.3 can I apt-
> get remove gcc-3.3-doc and gcc-3.4-doc so I quit getting this error?
> Will this break anything?
>
> --
> package gcc-3.3-doc 1:3.3.6-15ubuntu4 failed to install/upgrade:
> https://bugs.launchpad.net/bugs/222876
> You received this bug notification because you are a direct subscriber
> of the bug.
>

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

why does this patch revert the Maintainer field in debian/control? That's certainly out of scope for an SRU.

why is the following change needed?:

--- gcc-3.3-3.3.6/debian/rules2
+++ gcc-3.3-3.3.6/debian/rules2
@@ -255,6 +255,8 @@
        : # generate debian/README.Debian
        cat debian/README $(patch_stamp) > debian/README.Debian

+ find $(srcdir) -name '*.info' | xargs -r rm -f
+
        rm -rf $(builddir)
        mkdir $(builddir)
 # find this directory before the gpc test dir (test_summary)

Steve Langasek (vorlon)
Changed in gcc-3.3:
importance: Undecided → High
milestone: none → ubuntu-8.04.1
status: New → Confirmed
milestone: ubuntu-8.04.1 → none
Revision history for this message
Peter McKenna (peter-mckenna) wrote :

I investigated why I needed any gcc 3.3 stuff when gcc 4.2 seems to be the latest version. It appears that libstdc++5 depends on gcc-3.3-base. w32codec and tinyos-tools in turn depend on libstdc++5, at least on my system.
Not withstanding that this bug is with the gcc-3.3-doc package (which I have removed) am I mistaken in believing that gcc 4.2 is backwards compatible with older gcc compilers and shouldn't this imply that the dependencies for libstdc++5 and depending packages need to be updated?

Revision history for this message
Martin Pitt (pitti) wrote :

Peter, later gcc versions build a newer ABI of the standard C++ library (libstdc++6). We need to keep libstdc++5 around as long as there are still some ancient/proprietary packages which link against the old ABI.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-3.3 - 1:3.3.6-17ubuntu1

---------------
gcc-3.3 (1:3.3.6-17ubuntu1) intrepid; urgency=low

  * Merge with Debian; remaining changes:
    - Built from upstream source, regenerate the control file.
    - Correct makeinfo version check.

gcc-3.3 (1:3.3.6ds1-17) unstable; urgency=low

  * libstdc++5: Remove dependency on gcc-3.3-base. Closes: #473366.

gcc-3.3 (1:3.3.6ds1-16) unstable; urgency=low

  * Don't build compiler packages from the gcc-3.3 source. The only package
    built is libstdc++5 (amd64, i386).
  * Build-depend on gcc-3.4 instead of gcc-3.3.

gcc-3.3 (1:3.3.6-15ubuntu5) hardy-proposed; urgency=low

  * Correct makeinfo version check. LP: #222876.

 -- Matthias Klose <email address hidden> Fri, 02 May 2008 11:40:47 +0200

Changed in gcc-3.3:
status: Confirmed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

> why does this patch revert the Maintainer field in debian/control? That's certainly out of scope for an SRU.

because the last upload to hardy did just modify the control file.

> why is the following change needed?:

not needed, but doesn't hurt either.

Revision history for this message
Martin Pitt (pitti) wrote :

Since bug 205348 seems to be the counterpart for gcc-3.4, but verification failed, does this update have the same problem?

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

fixed package uploaded for hardy-proposed

Changed in gcc-3.3:
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in gcc-3.3:
milestone: ubuntu-8.04.1 → none
status: In Progress → Fix Committed
Revision history for this message
Albert Damen (albrt) wrote :

+1
hardy-proposed/universe gcc-3.3-doc 1:3.3.6-15ubuntu6 installed without problems in a hardy pbuilder.
info gcc and info gccint give useful output.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in gcc-3.3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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