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).

Hi Jussi, 
I recreated my target (and have several times before) but the error messages 
are still the same. Fakeroot does work in the current target as I can do 
several thinge with except run toolchain extras.
Here are a few results from the host-gcc target:

[sbox-HOST2: ~] > fakeroot ls -l
total 20
-rw-rw-r--   1 root root  620 Jun 20 11:29 ez-arm-gcc4.2.4.conf
-rw-rw-r--   1 root root  713 Jun 21 17:36 ez-arm-gcc4.2.4.conf2
drwxrwxr-x  15 root root 4096 Jun 22 12:50 sb-toolchain-extras
drwxr-xr-x   4 root root 4096 Jun 11 06:59 various_tests

[sbox-HOST2: ~] > which -a fakeroot
/scratchbox/tools/bin/fakeroot
[sbox-HOST2: ~] > ls -l /scratchbox/tools/bin/fa*
-rwxr-xr-x  1 root root 19636 May 23 07:42 /scratchbox/tools/bin/factor
-rwxr-xr-x  1 root root 35704 May 23 07:40 /scratchbox/tools/bin/faked-tcp
lrwxrwxrwx  1 root root    12 Jun 10 06:48 /scratchbox/tools/bin/fakeroot -> 
fakeroot-tcp
-rwxr-xr-x  1 root root  2594 May 23 07:40 /scratchbox/tools/bin/fakeroot-tcp
-rwxr-xr-x  1 root root 12412 May 23 07:42 /scratchbox/tools/bin/false

[sbox-HOST2: ~] > fakeroot
sh-2.05b# gcc --version
host-gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 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.

It also works on the my lenny host and here are the packages I've installed 
for sb1:
ii  scratchbox-core                              1.0.10                         
  
Scratchbox base system
ii  scratchbox-devkit-cputransp                  1.0.7                          
  
CPU transparency methods
ii  scratchbox-devkit-debian                     1.0.10                         
  
Debian tools for Scratchbox
ii  scratchbox-devkit-doctools                   1.0.8                          
  
Doctools for Scratchbox
ii  scratchbox-devkit-perl                       1.0.4                          
  
Perl modules for Scratchbox
ii  scratchbox-libs                              1.0.10                         
  
Scratchbox libraries
ii  scratchbox-toolchain-arm-gcc3.4-uclibc0.9.27 1.0.3                          
  
arm-linux-gcc3.4.cs-uclibc0.9.27 compiler fo
ii  scratchbox-toolchain-arm-gcc3.4-uclibc0.9.28 1.0.4                          
  
arm-gcc3.4-uclibc0.9.28 compiler for Scratch
ii  scratchbox-toolchain-host-gcc                1.0.10                         
  
Scratchbox host-gcc toolchain


Thanks for your help.
E!


> Regards,
>
>    Jussi
>
> >> E Robertson wrote:
> >>> Hi All,
> >>> I'm attempting to use a foreign toolchain and I seem to be stuck at
> >>> building the auxiliary tools. I followed all the instructions so far,
> >>> and unless I'm missing something, perhaps the script has a bug.
> >>> Does anyone have a suggestion or an answer to this error?  What is
> >>> meant by preload library?
> >>>
> >>> Below is my configuration file for my toolchain as well as the command
> >>> and error:
> >>>
> >>> [sbox-HOST: ~/sb-toolchain-extras] > make
> >>> CONFIG=meta/alien-tc/ez-arm-gcc4.2.4.conf -C meta/alien-tc
> >>> make: Entering directory
> >>> `/home/erobertson/sb-toolchain-extras/meta/alien-tc'
> >>> [===== NOW BUILDING:    alien-tc-1      =====]
> >>> install -d download
> >>>        [fetch] complete for alien-tc.
> >>> ...
> >>> ...
> >>> [===== NOW BUILDING:    gcc-4.2 =====]
> >>> install -d download
> >>>        [fetch] complete for gcc.
> >>> install -d cookies
> >>>        [checksum] complete for gcc.
> >>> install -d work
> >>>        [extract] complete for gcc.
> >>> install -d work/gcc-4.2
> >>>        [patch] complete for gcc.
> >>> mkdir -p work/gcc-4.2/debian
> >>> cp files/{copyright,rules} work/gcc-4.2/debian/
> >>> m4 -DVERSION=4:4.2.4 -DCC_GCCVER=4.2.4 files/control.in \
> >>>
> >>>                > work/gcc-4.2/debian/control
> >>>
> >>> m4 -DVERSION=4:4.2.4 -DCC_GCCVER=4.2.4 files/changelog.in \
> >>>
> >>>                > work/gcc-4.2/debian/changelog
> >>>
> >>> 822-date: warning: This program is deprecated. Please use 'date -R'
> >>> instead.
> >>> chmod +x work/gcc-4.2/debian/rules
> >>> mkdir -p cookies/. && date >> cookies/configure-packages
> >>>        [configure] complete for gcc.
> >>> cd work/gcc-4.2 && env
> >>> COMPILER_DIR=/scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29
> >>> TARGET=arm-linux-uclibc VERSION=4.2.4
> >>>
> >>> SBOX_REDIRECT_BINARIES=/scratchbox/compilers/bin/gcc:/scratchbox/compil
> >>>ers/arm-gcc4.2.4-uclibc0.9.29/bin/arm-linux-gcc
> >>>
> >>> LIBC_FILES_LIBS="/scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29/arm-li
> >>>nux/lib /lib " dpkg-buildpackage -rfakeroot -b -uc
> >>> dpkg-buildpackage: source package is gcc-4.2
> >>> dpkg-buildpackage: source version is 4:4.2.4-sb1
> >>> dpkg-buildpackage: source changed by Scratchbox Developers
> >>> <[EMAIL PROTECTED]>
> >>> dpkg-architecture: warning: Unknown gcc system type arm-linux-uclibc,
> >>> falling back to default (native compilation)
> >>> dpkg-architecture: warning: Unknown gcc system type arm-linux-uclibc,
> >>> falling back to default (native compilation)
> >>> dpkg-buildpackage: host architecture i386
> >>> dpkg-buildpackage: source version without epoch 4.2.4-sb1
> >>> dpkg-checkbuilddeps: Using Scratchbox tools to satisfy builddeps
> >>>  fakeroot debian/rules clean
> >>> fakeroot: preload library not found, aborting.
> >>> make[1]: *** [build-packages] Error 1
> >>> make[1]: Leaving directory
> >>> `/home/erobertson/sb-toolchain-extras/cc/gcc-3.4-debian'
> >>> make: *** [dep-../../cc/gcc-3.4-debian] Error 2
> >>> make: Leaving directory
> >>> `/home/erobertson/sb-toolchain-extras/meta/alien-tc'
> >>> [sbox-HOST: ~/sb-toolchain-extras] >
> >>>
> >>>
> >>> Config file:
> >>> COMPILER_NAME = arm-gcc4.2.4-uclibc0.9.29
> >>> ALIEN_TC = yes
> >>>
> >>> COMPILER_PACKAGE = buildroot-toolchain-gcc4.2.4
> >>> ARCH = arm
> >>> SUB_ARCH = $(ARCH)
> >>> VENDOR =
> >>> #TOOLCHAIN_PREFIX_END = uclibc-
> >>> TOOLCHAIN_PREFIX_END =
> >>> TARGET_END = -uclibc
> >>>
> >>> HEADERS_DIR = $(COMPILER_DIR)/include
> >>> #LINUX_HEADERS_SUBDIRS = linux asm asm-generic
> >>> LINUX_HEADERS_VER = 2.6.25.6
> >>>
> >>> LIBC_FILES_BINS = $(COMPILER_DIR)/arm-linux/bin
> >>> LIBC_FILES_LIBS = $(COMPILER_DIR)/arm-linux/lib $(COMPILER_DIR)/lib
> >>>
> >>> BINUTILS_FULLVER = 2.18
> >>>
> >>> CC_VER = 4.2
> >>> CC_GCCVER = 4.2.4
> >>> CC_FULLVER = 4:$(CC_GCCVER)
> >>> CC_DEBIAN_DIR = gcc-3.4-debian
> >>>
> >>> CHECKSUM_FILE   = ../../$(CONFIG:.conf=.checksums)
> >>>
> >>>
> >>>
> >>>
> >>> Thanks.
> >>> _______________________________________________
> >>> Scratchbox-users mailing list
> >>> [email protected]
> >>> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> >>
> >> _______________________________________________
> >> Scratchbox-users mailing list
> >> [email protected]
> >> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> >
> > _______________________________________________
> > Scratchbox-users mailing list
> > [email protected]
> > http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>
> _______________________________________________
> Scratchbox-users mailing list
> [email protected]
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users


_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to