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

Bug#341331: FTBFS for cross compilation



Package: gcc-3.4
Version: 3.4.4-9

When trying to build an IA64 cross-compiler from the gcc-3.4 source
package on AMD64, I get, during the packaging stage...


$ GCC_TARGET=ia64 fakeroot debian/rules binary
...
dh_installdeb -plibstdc++6-ia64-cross
dh_md5sums -plibstdc++6-ia64-cross
dh_builddeb -plibstdc++6-ia64-cross
dpkg-deb: parse error, in file `debian/libstdc++6-ia64-cross/DEBIAN/control' near line 6 package `libstdc++6-ia64-cross':
 `Depends' field, missing package name, or garbage where package name expected
dh_builddeb: command returned error code 512
make[1]: *** [stamps/08-binary-stamp-libstdcxx] Error 1
make[1]: Leaving directory `/home/peterc/toolchain/gcc-3.4-3.4.4'
make: *** [binary] Error 2


$ cat debian/shlibs.local 
libgcc_s 1  (>= 3.4.4)
           ^ note missing field here.

This is because when debian/shlibs,local is built, p_lgcc isn't
defined -- it's defined in debian/rules.d/binary-libgcc-cross.mk which
isn't included unless with_gcc is 'yes' -- and debian/rules.defs
defines with_gcc as 'built from gcc-4.0 sources'





Reply to: