[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#590599: gcc-4.4: Building cross gcc with 4.4.4-7, missing gcc*-base package, install error



Package: gcc-4.4
Version: 4.4.4-7
Severity: wishlist

When cross building the gcc-4.4-4.4.4-7 pacakage, the build no longer
generates a gcc-4.4-*-gnueabi-base package as part of the default build.  The
control file, however still references such a package as a dependency for
installing the gcc-4.4-*-gnueabi package.  This results in an install
failure, since the dependent package is not built as follows:

Selecting previously deselected package gcc-4.4-arm-linux-gnueabi.
(Reading database ... 147392 files and directories currently installed.)
Unpacking gcc-4.4-arm-linux-gnueabi (from gcc-4.4-arm-linux-gnueabi_4.4.4-7_i386.deb) ...
Selecting previously deselected package cpp-4.4-arm-linux-gnueabi.
Unpacking cpp-4.4-arm-linux-gnueabi (from cpp-4.4-arm-linux-gnueabi_4.4.4-7_i386.deb) ...
dpkg: dependency problems prevent configuration of gcc-4.4-arm-linux-gnueabi:
 gcc-4.4-arm-linux-gnueabi depends on gcc-4.4-arm-linux-gnueabi-base (= 4.4.4-7); however:
  Package gcc-4.4-arm-linux-gnueabi-base is not installed.
....
Errors were encountered while processing:
 gcc-4.4-arm-linux-gnueabi
 cpp-4.4-arm-linux-gnueabi
 

This behavior seems to be new since gcc-4.4-4.4.4-6, where I encountered no
such problem, and the -base package built as part of the default build.
I see some notes in the 4.4.4-7 changelog that might be related as follows:
   * Various cross build fixes.
   * Build a gcc-base package for cross builds.

Here is the build command that I used to build the gcc-4.4 cross compiler

 DEB_CROSS_NO_BIARCH=yes GCC_TARGET=armel DEB_CROSS=yes dpkg-buildpackage -us -uc -rfakeroot

Here is output from the very end of the build when dpkg-genchanges builds

....
make[1]: Leaving directory `/home/jheck/usr-build/gcc-4.4-4.4.4'
 dpkg-genchanges  >../gcc-4.4_4.4.4-7_i386.changes
dpkg-genchanges: warning: package gcc-4.4-arm-linux-gnueabi-base in control file but not in files list
dpkg-genchanges: warning: package libgcc2-armel-cross in control file but not in files list
....

I was able to get the gcc-4.4-arm-linux-gnueabi and cpp-4.4-arm-linux-gnueabi
packages installed using 

dpkg -i --force-depends gcc-4.4-arm-linux-gnueabi_4.4.4-7_i386.deb cpp-4.4-arm-linux-gnueabi_4.4.4-7_i386.deb 




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.4 depends on:
ii  binutils                      2.20.1-12  The GNU assembler, linker and bina
ii  cpp-4.4                       4.4.4-7    The GNU C preprocessor
ii  gcc-4.4-base                  4.4.4-7    The GNU Compiler Collection (base 
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.4-7  GCC support library
ii  libgomp1                      4.4.4-7    GCC OpenMP (GOMP) support library

Versions of packages gcc-4.4 recommends:
ii  libc6-dev                     2.11.2-2   Embedded GNU C Library: Developmen

Versions of packages gcc-4.4 suggests:
pn  gcc-4.4-doc                   <none>     (no description available)
pn  gcc-4.4-locales               <none>     (no description available)
pn  gcc-4.4-multilib              <none>     (no description available)
ii  libcloog-ppl0                 0.15.9-1   the Chunky Loop Generator (runtime
pn  libgcc1-dbg                   <none>     (no description available)
pn  libgomp1-dbg                  <none>     (no description available)
pn  libmudflap0-4.4-dev           <none>     (no description available)
pn  libmudflap0-dbg               <none>     (no description available)
ii  libppl-c2                     0.10.2-6   Parma Polyhedra Library (C interfa
ii  libppl7                       0.10.2-6   Parma Polyhedra Library (runtime l

-- no debconf information



Reply to: