Re: powerpc slind host
First, some documentation's "corrections":
#dpkg takes the package name, not the deb name.
5. C library.
First of all, you should remove the package with libc
development headers. So, for glibc, do
$ dpkg --remove libc6-dev-headers-<arch>-cross
or, in case of uclibc target:
$ dpkg --remove libuclibc-dev-headers-<arch>-cross
#Specific(?) recommandations to host toolchain
#Emdebian team: They are the main ideas, you can rewrite them ;)
-Check dependancy with dpkg-buildpackage -D before to try to
build the package. I'm not sure, but that's possible that some
package depend on version not included in sarge. Install sarge
packages worked for me.
-GCC debs complains about gcc-3.4-base (
) , which isn't useful here, just force install with
--force-depends (see man dpkg-buildpackage).
> Julien wrote:
> > Hi,
> > Julien wrote:
> > > Hi,
> > >
> > > Alexander Shishkin wrote:
> > > > On 6/18/06, Julien <email@example.com> wrote:
> > > > > Hi,
> > > > Hi,
> > > >
> > > > > I'm working on a powerpc host. Do I need to do
> > > > > things to rebuild
> > > > > (/slind/host/dists/suffolk/main/source/Sources) tools,
> > > > > especially dpkg, dpkg-dev and dpkg-cross packages, as
> > > > > mentionned in Slind cross toolchains documentation,
> > > > > host to build toolchains (quite sure that's a very poor
> > > > > english sentence, sorry)? Do I just need to launch some
> > > > > apt-buildpackage ? Did I misunderstand something ?
> > > > Unlikely that you'll need apt-build(whatever) to
> > > host part
> > > > of slind, considering that it won't be able to compile
> > > toolchains
> > > > anyway and the rest is not that much. Better rebuild
> > > by hand
> > > > with dpkg-buildpackage. Hopefully those won't require any
> > > changes to
> > >
> > > Sorry, I meant dpkg-buildpackage.
> > >
> > > > the sources, although I didn't try it yet.
> > > > Please inform us if you succeed or fail to get things
> > > working. :)
> > >
> > > I just launched dpkg-buildpackage on binutils. I'm using a
> > > pure debian stable. Is there any know problems to build
> > > packages, I doesn't mean only binutils, with debian
> > > you don't know, ok that's not really a problem. We will
> > > when I will finish to launch some dpkg-buildpackage ;).
> > >
> > > Best regards
> > > Julien
> > I packaged bintuils, dpkg, and dpkg-cross without any
> > problems. There something which seems strange with gcc. There
> > is a circular dependancy with glibc, and especially the slind
> > version of glibc:
> > jujux@jujuxG4:~/tmp/g/gcc-3.4/gcc-3.4-3.4.4$
> dpkg-buildpackage -D
> > dpkg-buildpackage: source package is gcc-3.4
> > dpkg-buildpackage: source version is 3.4.4-5.slind1
> > dpkg-buildpackage: source maintainer is Vartan Khachaturov
> > <firstname.lastname@example.org>
> > dpkg-buildpackage: host architecture is powerpc
> > dpkg-checkbuilddeps: Unmet build dependencies: dpkg-dev (>=
> > 1.13.9) libc6-dev-arm-cross (>= 2.3.2.ds1-16) autoconf2.13
> > automake1.4 automake1.7 libtool autotools-dev gawk dpkg-cross
> > (>= 1.18.1) binutils-arm-linux-gnu (>= 2.15-7) realpath (>=
> > 1.9.12) lsb-release
> > dpkg-buildpackage: Build dependencies/conflicts unsatisfied;
> > aborting.
> > dpkg-buildpackage: (Use -d flag to override.)
> > As we can see, it seems I need to (build and to) install first
> > glibc_2.3.2.ds1-22.slind1. Can you confirm that, and maybe
> > explain just a little (or redirect me to some documentations)?
> > Do I will have libc6-i386-cross_2.3.2.ds1-22.slind1_all.deb
> > and libc6-dev-i386-cross_2.3.2.ds1-22.slind1_all.deb at the
> > end of build time? Do I need to pass extra options, or modify
> > some conf files? And same thing for gcc, do I will have
> > libgcc1-i386-cross_3.4.4-5.slind1_all.deb,
> > libstdc++6-i386-cross_3.4.4-5.slind1_all.de,
> > libstdc++6-dbg-i386-cross_3.4.4-5.slind1_all.deb,
> > libstdc++6-dev-i386-cross_3.4.4-5.slind1_all.deb and
> > libstdc++6-pic-i386-cross_3.4.4-5.slind1_all.deb (or maybe do
> > I need to replace i386 by i486, but you know what I mean).
> > Many thanks for all the work you (the slind team) already
> > done, and many thanks for your time.
> > Best regards
> > Julien
> > PS: Sorry to the list, It seems my IMP add some publicity when
> > I used the webmail.
> Ok, forgive me, I will install first dpkg, dpkg-dev and
> dpkg-cross as mentioned in Slind cross toolchains how-to,
> which are well built. I didn't think about that before because
> I read the documentation surely to fast and understand it as
> mainly focused on target toolchain building and not host
> Best regards
As I explained above, you need to play with some
dpkg-buildpackage options, to build and to install the
toolchain. I will build some packages this week, to check if
there isn't some hidden problems.
The slind team did an excellent work, with a wonderful
documentation. That was exactly what I searched(/waited)
since(?) some months. Many thanks to them.
Accédez au courrier électronique de La Poste : www.laposte.net
3615 LAPOSTENET (0,34 ?/mn)