Known issues
Conventions
$ = (normal) user prompt outside scratchbox > = user prompt inside scratchbox
Fakeroot related issues
You have to have loopback interface set up for fakeroot to work. If you see messages like
libfakeroot: connect: Connection timed out
make sure your loopback interface is running. You can activate the interface with
$ ifconfig lo 127.0.0.1 up
The fakeroot inside Scratchbox uses local tcp sockets to communicate with the faked daemon. If you handle many files during a fakeroot session, system may run out of sockets. If you see messages like
libfakeroot: connect: Cannot assign requested address
try increasing ip_local_port_range using
$ sudo 'echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range'
Compatibility among packages
In general you should be able to use any version of a toolchain or a devkit on top of a fairly recent (>= 1.0.3 or Apophis R1) version of scratchbox, although it's recommended to use the latest versions within the branch (stable, legacy) you're using.
For scratchbox >= 1.0.18, it's recommended to use toolchain packages with version numbers >= 1.0.16 to guarantee that fakeroot will function properly.
- Use scratchbox-qemu-devkit for the latest qemu instead of scratchbox-cputransp-devkit.
- Use always the same version of core, libs and host-gcc, they're built from the same source.
- As always, using the latest versions of each component is recommended
Crocodile
- From Scratchbox 1.0.7 on, flex is not regarded as a provided package when checking debian build deps
- You can fix this with
> mkdir /scratchbox/users/${USER}/targets/`sb-conf cu`_deb_list
> cat > /scratchbox/users/${USER}/targets/`sb-conf cu`_deb_list/flex << EOF
Source: flex
Version: 2.5.31
Binary: flex
EOF
Legacy toolchains
Scratchbox 0.9.8 toolchains can be used with Scratchbox Apophis r4, but there are some known limitations when using them:
- Files cannot be installed on a target before the target has been selected.
- If you install files on a target after selecting it (due to the issue described in the previous bullet) and use the Debian or Debian Sarge devkit, you have to re-select the target to configure the dpkg installation architecture.
- The legacy toolchains contain old device tools (such as fakeroot).