[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

rufus hamade rufus.hamade at imgtec.com
Fri Apr 4 13:55:05 UTC 2014


I don't think this is true.  The problem packages are:

gcc-multilib which provides:
/usr/include/asm
/usr/share/doc/gcc-multilib

And the following 3 arm packages:
gcc-4.8-arm-linux-gnueabihf which provides
/usr/bin/arm-linux-gnueabihf-gcc-4.8
/usr/bin/arm-linux-gnueabihf-gcc-ar-4.8
/usr/bin/arm-linux-gnueabihf-gcc-nm-4.8
/usr/bin/arm-linux-gnueabihf-gcc-ranlib-4.8
/usr/bin/arm-linux-gnueabihf-gcov-4.8
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/collect2
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/libgomp.spec
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/lto-wrapper
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/lto1
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf-base/NEWS.gz
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf-base/NEWS.html
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf-base/README.Bugs
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf-base/README.ssp
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf-base/changelog.gz
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf-base/changelog.linaro.gz
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf-base/gcc/changelog.gz
/usr/share/doc/gcc-4.8-arm-linux-gnueabihf-base/gomp/changelog.gz
/usr/share/man/man1/arm-linux-gnueabihf-gcc-4.8.1.gz
/usr/share/man/man1/arm-linux-gnueabihf-gcc-ar-4.8.1.gz
/usr/share/man/man1/arm-linux-gnueabihf-gcc-nm-4.8.1.gz
/usr/share/man/man1/arm-linux-gnueabihf-gcc-ranlib-4.8.1.gz
/usr/share/man/man1/arm-linux-gnueabihf-gcov-4.8.1.gz

gcc-4.8-multilib-arm-linux-gnueabihf which provides: 
/usr/share/doc/gcc-4.8-multilib-arm-linux-gnueabihf

and gcc-arm-linux-gnueabihf which provides: 
/usr/bin/arm-linux-gnueabihf-gcc
/usr/bin/arm-linux-gnueabihf-gcov
/usr/share/doc/gcc-arm-linux-gnueabihf
/usr/share/man/man1/arm-linux-gnueabihf-gcc.1.gz
/usr/share/man/man1/arm-linux-gnueabihf-gcov.1.gz

All those file lists are generated by apt-file

Also confirmed the above by running the following sequence of commands:
   38 cd /
   39  apt-get remove gcc-multilib gcc-4.8-arm-linux-gnueabihf gcc-4.8-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf
   40  find . -type f > neither
   41  apt-get install gcc-multilib
   42  find . -type f > i386
   43  apt-get remove gcc-multilib gcc-4.8-arm-linux-gnueabihf gcc-4.8-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf
   45  apt-get install gcc-arm-linux-gnueabihf
   46  find . -type f > arm
   48  diff neither i386
   49  diff neither arm
The output of "diff neither i386" and "diff neither arm" contain no overlaps.  

Do you mind reassessing this?

Cheers,

rufus

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1300211

Title:
  Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

Status in “gcc-defaults” package in Ubuntu:
  Invalid

Bug description:
  Problem is on Ubuntu 14.04.  Earlier versions of Ubuntu don't seem to
  have this issue and the two packages can happily coexist.

  When I run e.g.,
  apt-get install gcc-multilib, it uninstalls the ARM compilers.

  root at rufus-linux:/# apt-get install gcc-multilib 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    binutils-arm-linux-gnueabihf cpp-4.8-arm-linux-gnueabihf cpp-arm-linux-gnueabihf gcc-4.8-arm-linux-gnueabihf-base
    libasan0-armhf-cross libatomic1-armhf-cross libc6-armel-armhf-cross libc6-armhf-cross libc6-dev-armel-armhf-cross
    libc6-dev-armhf-cross libgcc-4.8-dev-armhf-cross libgcc1-armhf-cross libgomp1-armhf-cross libsfasan0-armhf-cross
    libsfatomic1-armhf-cross libsfgcc-4.8-dev-armhf-cross libsfgcc1-armhf-cross libsfgomp1-armhf-cross
    libsfstdc++-4.8-dev-armhf-cross libsfstdc++6-armhf-cross libstdc++-4.8-dev-armhf-cross libstdc++6-armhf-cross
    linux-libc-dev-armhf-cross
  Use 'apt-get autoremove' to remove them.
  The following packages will be REMOVED
    g++-4.8-arm-linux-gnueabihf g++-4.8-multilib-arm-linux-gnueabihf g++-arm-linux-gnueabihf
    gcc-4.8-arm-linux-gnueabihf gcc-4.8-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf
  The following NEW packages will be installed
    gcc-multilib
  0 to upgrade, 1 to newly install, 6 to remove and 0 not to upgrade.
  Need to get 0 B/1,024 B of archives.
  After this operation, 31.3 MB disk space will be freed.

  Similarly, when I install the arm compiler, it uninstalls gcc-multilib
  root at rufus-linux:/# apt-get install gcc-arm-linux-gnueabihf
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    libsfstdc++-4.8-dev-armhf-cross libsfstdc++6-armhf-cross libstdc++-4.8-dev-armhf-cross libstdc++6-armhf-cross
  Use 'apt-get autoremove' to remove them.
  The following extra packages will be installed:
    gcc-4.8-arm-linux-gnueabihf gcc-4.8-multilib-arm-linux-gnueabihf
  Suggested packages:
    gcc-4.8-doc gcc-4.8-locales libgcc1-dbg-armhf-cross libgomp1-dbg-armhf-cross libitm1-dbg-armhf-cross
    libatomic1-dbg-armhf-cross libasan0-dbg-armhf-cross libtsan0-dbg-armhf-cross libbacktrace1-dbg-armhf-cross
    libquadmath-dbg-armhf-cross manpages-dev automake1.9 gdb-arm-linux-gnueabihf gcc-doc
  The following packages will be REMOVED
    gcc-multilib
  The following NEW packages will be installed
    gcc-4.8-arm-linux-gnueabihf gcc-4.8-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf
  0 to upgrade, 3 to newly install, 1 to remove and 0 not to upgrade.
  Need to get 0 B/5,074 kB of archives.
  After this operation, 15.7 MB of additional disk space will be used.

  Note, this is a test ubuntu disk image created using pbuilder.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1300211/+subscriptions



More information about the foundations-bugs mailing list