2003-12-10
Changes from 0.9.6 release:
sbrsh-1.3.20 (fixes many bugs in sbrsh)
arm_runner replaced with misc_runner
Main changes/fixes from 0.9.5 release:
glibc-toolchains updated to Debian/testing, using hard-float instead of soft-float
uClibc-toolchains updated to latest from uclibc.org
Many sbrsh bugfixes and enhancements
Debian cross-build support tools
Alien-tools support so binaries can be used from host system without needing to recompile with scratchbox LDFLAGS and CFLAGS
Improved ldd and sbox-config
libsb.so & fakeroot to give execution redirection and other interesting hacks to help cross-building debian
Gcc toolchains and related utilities for ARM and i386 architectures:
gcc-2.95.3 + 40 patches, glibc-2.2.4, binutils-2.12.1 to be used for compiling kernels
gcc-3.3.2ds5-4, glibc-2.3.2ds1-10, binutils-2.14.90.0.7-2 for non-kernel compilations
gcc-3.3.1, uClibc-0.9.21, binutils-2.14.90.0.5-0.2
ccache 2.2
dist-cc 2.5
sbrsh 1.3.20
scratchbox-base 1.14
scratchbox-utils 0.9.26.1
Other build tools:
autoconf 2.54
automake 1.7
bash 2.05b
bison 1.35
bzip2 1.0.2
cvs 1.11.2
coreutils 5.0
dialog 0.9b-20020814
diffutils 2.8.1
ed 0.2
file 3.41
findutils 4.1.20
flex 2.5.4a
gawk 3.1.1
gdb 5.2.1
gettext 0.11.5
grep 2.5
gzip 1.3.5
kbd 1.06
less 378
libtool 1.5
m4 1.4
make 3.80
mktemp 1.4
modutils 2.4.25
patch 2.5.4
perl 5.8.0
pkgconfig 0.14.0
python 2.2.2
rpm-4.1
dpkg-1.10.10
sed 4.08
strace 4.4-1
tar 1.13.25
vim-6.1
wget 1.8.2
which 2.14
zip 2.3
unzip 5.50
If any of these features don't work, mail detailed bug report to the scratchbox-devel mailing list.
Links are to Bugzilla bugs
On Debian systems the /scratchbox/users/USERNAME/home/USERNAME/.terminfo directory contents are copied from /usr/share/terminfo when they should be copied from /etc/terminfo. You can fix this manually
Other issues:
X11 compilation sometimes stop without a reason when you're using Gnome-terminal as your terminal emulator.
workaround: Run SDK from xterm terminal emulator (we don't know what is the significant different between these terminal emulators, but that fixes it). For example to run SDK in a login shell, use this:
$ xterm -ls -e /scratchbox/users/$USER/run.sh &
Rxvt and gnome-terminal 2.2.1 have also been reported not to interrupt X11 compilation (the problem has manifested with gnome-terminal 2.0.1).
Tip: if you differentiate the SDK terminal from your other terminals with colors, you don't accidentally try to
compile software in a wrong window. To get xterm with scrollbar on the right, 256 line buffer, larger font, black
background with gray text and text effects reversed, add these options: -sb -rightbar -sl 256 -fn 9x15 -bg Black
-fg Gray -rv
Sbrsh (CPU-transparency) daemon on ARM dies sometimes, this should produce following warning:
sbrsh: Can't connect (Connection refused)
workaround: Login to the ARM device and restart sbrshd. Sometimes it's iPAQ that freezes, in that case you have to boot the iPAQ and restart sbrshd.
/etc/ directories are different in SDK for compilation and on target (because SDK tools need different /etc/ files from the SW compiled for the target).
workaround: copy required files from /etc/ directory to /targets/[target]/etc/ directory inside the SDK before running ARM software, or change the software to install and use it's configuration files from /usr/etc/ directory.
On ARM running a program complains about not finding a library that 'ldd' finds for that program, e.g. xterm doesn't find Xft library. This is related to above problem (/etc/ld.so.cache).
workaround: login to ARM machine (after compiling busybox, so that you have shell there) and run 'ldconfig' there before running the program, for example:
[sbox-ARM: ~] /login_target.sh
$ /sbin/ldconfig -v
$ xterm &
(Rest of the bugs are undocumented features.)