Packages built with modified gcc fail to install

Bug #646729 reported by Peter Pearse on 2010-09-24
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
armel-cross-toolchain-base (Ubuntu)
Undecided
Marcin Juszkiewicz
Maverick
Undecided
Unassigned
Natty
Undecided
Marcin Juszkiewicz

Bug Description

If a modified gcc, e.g that at https://launchpad.net/~peter-pearse/+archive/armel-v5vfp-gcc-source, is installed
then the packages produced using armel-cross-toolchain-base 1.50 fail to install

armel-cross-toolchain-base 1.50 building from
    binutils 2.20.51.20100908-0ubuntu2
    glibc_2.12.1-0ubuntu6
    Modified gcc-4.5_4.5.1-7ubuntu1*

Peter Pearse (peter-pearse) wrote :

chroot-user@xdeb-user-desktop:~/armel-cross-toolchain-base-1.50$ sudo debi
(Reading database ... 69693 files and directories currently installed.)
Preparing to replace binutils-arm-linux-gnueabi 2.20.51.20100908-0ubuntu2cross1.50 (using binutils-arm-linux-gnueabi_2.20.51.20100908-0ubuntu2cross1.50_i386.deb) ...
Unpacking replacement binutils-arm-linux-gnueabi ...
Preparing to replace libc6-armel-cross 2.12.1-0ubuntu6cross1.50 (using libc6-armel-cross_2.12.1-0ubuntu6cross1.50_all.deb) ...
Unpacking replacement libc6-armel-cross ...
Preparing to replace libc6-dbg-armel-cross 2.12.1-0ubuntu6cross1.50 (using libc6-dbg-armel-cross_2.12.1-0ubuntu6cross1.50_all.deb) ...
Unpacking replacement libc6-dbg-armel-cross ...
Preparing to replace libc6-dev-armel-cross 2.12.1-0ubuntu6cross1.50 (using libc6-dev-armel-cross_2.12.1-0ubuntu6cross1.50_all.deb) ...
Unpacking replacement libc6-dev-armel-cross ...
Preparing to replace linux-libc-dev-armel-cross 2.6.35-1022.33cross1.50 (using linux-libc-dev-armel-cross_2.6.35-1022.33cross1.50_all.deb) ...
Unpacking replacement linux-libc-dev-armel-cross ...
Preparing to replace libgcc1-armel-cross 1:4.5.1-7ubuntu1-armv5vfpcross1.50 (using libgcc1-armel-cross_4.5.1-7ubuntu1-armv5vfpcross1.50_all.deb) ...
Unpacking replacement libgcc1-armel-cross ...
Selecting previously deselected package libgcc1-dbg-armel-cross.
Unpacking libgcc1-dbg-armel-cross (from libgcc1-dbg-armel-cross_4.5.1-7ubuntu1-armv5vfpcross1.50_all.deb) ...
Setting up binutils-arm-linux-gnueabi (2.20.51.20100908-0ubuntu2cross1.50) ...
Setting up linux-libc-dev-armel-cross (2.6.35-1022.33cross1.50) ...
Setting up libgcc1-armel-cross (1:4.5.1-7ubuntu1-armv5vfpcross1.50) ...
dpkg: dependency problems prevent configuration of libgcc1-dbg-armel-cross:
 libgcc1-dbg-armel-cross depends on libgcc1-armel-cross (= 4.5.1-7ubuntu1-armv5vfpcross1.50); however:
  Version of libgcc1-armel-cross on system is 1:4.5.1-7ubuntu1-armv5vfpcross1.50.
dpkg: error processing libgcc1-dbg-armel-cross (--install):
 dependency problems - leaving unconfigured
Setting up libc6-armel-cross (2.12.1-0ubuntu6cross1.50) ...
Setting up libc6-dbg-armel-cross (2.12.1-0ubuntu6cross1.50) ...
Setting up libc6-dev-armel-cross (2.12.1-0ubuntu6cross1.50) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 libgcc1-dbg-armel-cross
debi: debpkg -i failed

tags: added: cross-build
Marcin Juszkiewicz (hrw) on 2010-09-24
Changed in armel-cross-toolchain-base (Ubuntu):
status: New → Confirmed
assignee: nobody → Marcin Juszkiewicz (hrw)
Marcin Juszkiewicz (hrw) wrote :

Please check with fix in linked bzr branch.

Peter Pearse (peter-pearse) wrote :

Fixes vanilla (unchanged gcc-4.5 source)

Peter Pearse (peter-pearse) wrote :

Fixes build with changed gcc source

Steve Langasek (vorlon) on 2010-11-02
Changed in armel-cross-toolchain-base (Ubuntu Maverick):
status: New → In Progress
Changed in armel-cross-toolchain-base (Ubuntu Natty):
status: Confirmed → In Progress

Accepted armel-cross-toolchain-base into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in armel-cross-toolchain-base (Ubuntu Maverick):
status: In Progress → Fix Committed
tags: added: verification-needed
Marcin Juszkiewicz (hrw) wrote :

(devel/maverick/amd64)root@home:/# apt-cache policy libgcc1-armel-cross
libgcc1-armel-cross:
  Installed: (none)
  Candidate: 1:4.5.1-7ubuntu2cross1.52
  Version table:
     1:4.5.1-7ubuntu2cross1.52 0
        500 http://archive.ubuntu.com/ubuntu/ maverick-proposed/universe amd64 Packages
     1:4.5.1-7ubuntu1cross1.50 0
        500 http://pl.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
(devel/maverick/amd64)root@home:/# apt-cache policy libgcc1-dbg-armel-cross
libgcc1-dbg-armel-cross:
  Installed: (none)
  Candidate: 1:4.5.1-7ubuntu2cross1.52
  Version table:
     1:4.5.1-7ubuntu2cross1.52 0
        500 http://archive.ubuntu.com/ubuntu/ maverick-proposed/universe amd64 Packages
     1:4.5.1-7ubuntu1cross1.50 0
        500 http://pl.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
(devel/maverick/amd64)root@home:/# apt-get install libgcc1-dbg-armel-cross
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libgcc1-armel-cross
The following NEW packages will be installed:
  libgcc1-armel-cross libgcc1-dbg-armel-cross
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/189kB of archives.
After this operation, 266kB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously deselected package libgcc1-armel-cross.
(Reading database ... 68062 files and directories currently installed.)
Unpacking libgcc1-armel-cross (from .../libgcc1-armel-cross_1%3a4.5.1-7ubuntu2cross1.52_all.deb) ...
Selecting previously deselected package libgcc1-dbg-armel-cross.
Unpacking libgcc1-dbg-armel-cross (from .../libgcc1-dbg-armel-cross_1%3a4.5.1-7ubuntu2cross1.52_all.deb) ...
Setting up libgcc1-armel-cross (1:4.5.1-7ubuntu2cross1.52) ...
Setting up libgcc1-dbg-armel-cross (1:4.5.1-7ubuntu2cross1.52) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

tags: added: verification-done
removed: verification-needed
Changed in armel-cross-toolchain-base (Ubuntu Natty):
status: In Progress → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package armel-cross-toolchain-base - 1.52

---------------
armel-cross-toolchain-base (1.52) maverick-proposed; urgency=low

  * build binutils without sysroot support - closes LP: #598389

armel-cross-toolchain-base (1.51) maverick; urgency=low

  * debian/rules: add epoch for libgcc1-dbg version mangling - closes
    LP: #646729
 -- Marcin Juszkiewicz <email address hidden> Wed, 06 Oct 2010 14:46:16 +0200

Changed in armel-cross-toolchain-base (Ubuntu Maverick):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers