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).
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/compilers/arm-gcc4.2.4-uclibc0.9.29/bin/arm-linux-gcc
LIBC_FILES_LIBS="/scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29/arm-linux/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