On Wednesday 25 June 2008 08:26:24 am Jussi Hakala wrote:
> E Robertson wrote:
> > I get this when I run that comand:
> >
> > sb-conf: No fakeroot versions found for compiler: host-gcc
>
> Ah, yes.
>
> I don't know what I was thinking when I wrote that, sorry :)
>
> Is the error message the same if you try to run anything else under
> fakeroot, for example:
>
> $ fakeroot ls -l
>
> If it is, the fakeroot in your current environment is broken. You can
> try recreating the target to see if it's a problem with your target, say
>
> $ sb-conf st host2 -c host-gcc -d perl:debian-etch -t none
> $ sb-conf in host2 -c -d -e
> $ sb-conf se host2
>
> and retry. Above command should provide you with a clean host target, in
> which you should be able to compile toolchain-extras on top of your
> precompiled toolchain just fine.
>
> The error message is about fakeroot being unable to preload the library
> containing the wrapper functions and thus failing to provide you with
> the fake root environment.
>
> There can be a number of reasons why this is happening.
>
> For further digging in the subject, you can also try
>
> $ which -a fakeroot
>
> in your current target to verify which fakeroot is actually run (and
> check also the hash to see what's in there).
I made a clean start today and try to fix some of the earlier errors I got in
the perl script and see if it helped. I haven't done perl scripts in ages but
I followed enough of it to help out it seems.
I fixed these line in confhelper/create_toolchain_conf.py
diff_info('ld', info, ('ver_str', ))
check_version_str(info, {0: 'GNU', 1: 'ld', 2: '(GNU', 3: 'Binutils)'})
if len(info) == 0:
return -1
print "BINUTILS_FULLVER = " + info[0]['ver_str'].split()[4] + "-sb1"
Simple change and I'll have to do a diff to remember the rest but and I made
some changes to my toolchain.
So far I came across one problem that looks pretty simple except that I'm not
sure the cause. Any help?
For some reason it's complaining about my gcc compiler during fakeroot build:
make[2]: Entering directory
`/home/erobertson/sb-toolchain-extras/device_tools/fakeroot'
[===== NOW BUILDING: fakeroot-1.4.2 =====]
[fetch] complete for fakeroot.
[checksum] complete for fakeroot.
[extract] complete for fakeroot.
[patch] complete for fakeroot.
==> Running configure in work/fakeroot-1.4.2
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i386-pc-linux-gnulibc1
checking host system type... arm-unknown-linux-uclibc
checking target system type... arm-unknown-linux-uclibc
checking for a BSD-compatible install... /scratchbox/tools/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-uclibc-strip... arm-linux-uclibc-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for
arm-linux-uclibc-gcc...
/scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29/bin/arm-linux-uclibc-gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-work/fakeroot-1.4.2/configure] Error 77
make[2]: Leaving directory
`/home/erobertson/sb-toolchain-extras/device_tools/fakeroot'
make[1]: *** [build-fakeroot] Error 2
make[1]: Leaving directory
`/home/erobertson/sb-toolchain-extras/meta/device_tools'
make: *** [build-devicetools] Error 2
My compiler is good:
[sbox-HOST2: ~/sb-toolchain-extras]
> /scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29/bin/arm-linux-uclibc-gcc
> --version
arm-linux-uclibc-gcc (GCC) 4.2.4
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[sbox-HOST2: ~/sb-toolchain-extras]
> /scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29/bin/arm-linux-uclibc-gcc -o
test test.c
test.c:1:19: error: stdio.h: No such file or directory
Several other things:
The perl script keep putting VENDOR = unknown, when it shoule be blank since
this is not part of the toolchain.
These also still make me uneasy:
ln -s ../../../libstdc++.so
debian/libstdc++6-dev/usr/lib/gcc-lib/arm-linux-uclibc/4.2.4/libstdc++.so
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
/scratchbox/tools/bin/sh: line 1: /scratchbox/compilers/bin/gcc: No such file
or directory
dpkg-architecture: warning: Couldn't determine gcc system type, falling back
to default (native compilation)
/scratchbox/tools/bin/sh: line 1: /scratchbox/compilers/bin/gcc: No such file
or directory
dpkg-architecture: warning: Couldn't determine gcc system type, falling back
to default (native compilation)
/scratchbox/tools/bin/sh: line 1: /scratchbox/compilers/bin/gcc: No such file
or directory
dpkg-architecture: warning: Couldn't determine gcc system type, falling back
to default (native compilation)
/scratchbox/tools/bin/sh: line 1: /scratchbox/compilers/bin/gcc: No such file
or directory
dpkg-architecture: warning: Couldn't determine gcc system type, falling back
to default (native compilation)
/scratchbox/tools/bin/sh: line 1: /scratchbox/compilers/bin/gcc: No such file
or directory
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users