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

Bug#522562: gcc-4.3: DEB_CROSS_NO_BIARCH cross compilers FTBFS on s390

Package: gcc-4.3
Version: 4.3.2-1.1
Severity: important


Due to #504487, it is not posible to build biarch cross compilers.

So, when building non biarch compilers on s390,

# --- OUTPUT ERROR ---
for i in gcc gcov; do \
          I=`echo $i | tr a-z A-Z`; \
          sed -e "s/@NAME@/$I-4.3/g" -e "s/@name@/$i-4.3/g" \
            debian/dummy-man.1 > debian/tmp/usr/share/man/man1/$i.1; \
: # s390 64bit stuff happens to be in s390x-linux-gnu/lib64/
mkdir -p debian/tmp/usr/s390-linux-gnu/lib64
cp -a debian/tmp/usr/s390x-linux-gnu/lib64/* debian/tmp/usr/s390-linux-gnu/lib64/
cp: cannot stat `debian/tmp/usr/s390x-linux-gnu/lib64/*': No such file or directory
make[1]: *** [stamps/07-install-stamp] Error 1
make[1]: Leaving directory `/home/zumbi/tmp/gcc-4.3-4.3.2'
make: *** [stamps/07-install-stamp] Error 2
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2

diff -urN gcc-4.3-4.3.3/debian/rules.defs gcc-4.3-4.3.3.cross/debian/rules.defs
--- gcc-4.3-4.3.3/debian/rules.defs     2009-04-04 21:49:03.000000000 +0000
+++ gcc-4.3-4.3.3.cross/debian/rules.defs       2009-04-04 21:56:35.000000000 +0000
@@ -1151,7 +1151,7 @@
   with_java_plugin := no

+ifeq ($(DEB_CROSS_NO_BIARCH),yes)
   with_lib64gcc                := no
   with_lib64cxx                := no
   with_lib64objc       := no
diff -urN gcc-4.3-4.3.3/debian/rules2 gcc-4.3-4.3.3.cross/debian/rules2
--- gcc-4.3-4.3.3/debian/rules2 2009-04-04 21:57:47.000000000 +0000
+++ gcc-4.3-4.3.3.cross/debian/rules2   2009-04-04 21:49:03.000000000 +0000
@@ -1765,13 +1765,11 @@
 ifeq ($(DEB_CROSS),yes)
- ifeq ($(DEB_CROSS_NO_BIARCH),yes)
   ifeq ($(DEB_TARGET_ARCH),s390)
        : # s390 64bit stuff happens to be in s390x-linux-gnu/lib64/
        mkdir -p $(d)/$(PF)/s390-linux-gnu/lib64
        cp -a $(d)/$(PF)/s390x-linux-gnu/lib64/* $(d)/$(PF)/s390-linux-gnu/lib64/
- endif

        chmod 755 debian/dh_*

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.26-1-iop32x
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.3 depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  cpp-4.3             4.3.2-1.1            The GNU C preprocessor
ii  gcc-4.3-base        4.3.2-1.1            The GNU Compiler Collection (base 
ii  libc6               2.7-18               GNU C Library: Shared libraries
ii  libgcc1             1:4.3.2-1.1          GCC support library
ii  libgomp1            4.3.2-1.1            GCC OpenMP (GOMP) support library

Versions of packages gcc-4.3 recommends:
ii  libc6-dev                     2.7-18     GNU C Library: Development Librari

Versions of packages gcc-4.3 suggests:
pn  gcc-4.3-doc                   <none>     (no description available)
pn  gcc-4.3-locales               <none>     (no description available)
pn  libgcc1-dbg                   <none>     (no description available)
pn  libgomp1-dbg                  <none>     (no description available)
pn  libmudflap0-4.3-dev           <none>     (no description available)
pn  libmudflap0-dbg               <none>     (no description available)

-- no debconf information

Reply to: