With recent dpkg-cross, tpkg-install-libc no longer installs the includes for
cross-development in /usr/<arch>-linux/include, but in
/usr/<arch>-linux-gnu/include.  Hence gcc configured for <arch>-linux cannot
find them.

I noticed this while trying to build a toolchain for mipsel-linux.

Unfortunately `tpkg-make mipsel-linux-gnu' didn't give me a working
toolchain source neither: building of the gcc debs failed with:

| dh_builddeb -plibstdc++6-mipsel-cross
| dpkg-deb: parse error, in file 
`debian/libstdc++6-mipsel-cross/DEBIAN/control' near line 6 package 
`libstdc++6-mipsel-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/geert/cross/gcc-mipsel-linux-gnu-3.4.3'
| make: *** [binary] Error 2
| debuild: fatal error at line 1224:
| dpkg-buildpackage -rfakeroot -D -us -uc failed
| $

Line 6 of debian/libstdc++6-mipsel-cross/DEBIAN/control shows:

| Depends: gcc-3.4-base (>= 3.4.3-1),  (>= -mipsel-cross 3.4.1-3), 
libc6-mipsel-cross (>= 2.3.5-1)
                                      ^
                                      oops!

I'm using toolchain-source 3.4-5 and dpkg-cross 1.28.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to