The files in you are using are heavily out of date.
The sources.list that came with the rootstrap is too and probably has
been somewhat unofficial to begin with.
Additionally, you're using a legacy version of Scratchbox and I'd
recommend upgrading unless you especially need to work with this
particular branch of Scratchbox.
Anyway, to compile stuff using crocodile, login to Scratchbox, create a
new, suitable target with your combination of toolchain and devkits and
checkout crocodile [1].
Use debian repositories, grab the sources you want to build and create a
local source repository from them [2].
Tell crocodile to use your brand new source repository, throw in
precompiled packages (if need to) and start the build. Crocodile will
run few iteration rounds and give you the results [3].
Detailed explanation in crocodile/README.
Regards,
Jussi
[1]
$ sb-conf st mytarget -c mycompiler -d cputransp:perl:debian-etch -t
mytransp
$ sb-conf in mytarget -c -d -e -F -G -S
$ sb-conf se mytarget
$ darcs get --set-scripts-executable http://scratchbox.org/repos/crocodile
[2]
$ echo "deb-src http://ftp.fi.debian.org/debian/ etch main" >
/etc/apt/sources.list
$ fakeroot apt-get update
$ mkdir crocodile-sources
$ cd crocodile-sources
$ apt-get source -d mypkg1 mypkg2 ... mypkgN
$ dpkg-scansources . /dev/null | gzip -c > Sources.gz
[3]
$ cd ..
$ cd crocodile
$ echo "deb-src file:/home/${USER}/crocodile-sources ./" > etc/sources.list
$ ./unplanned-build.sh --clean
Arne Jørgensen wrote:
Hi,
I have installed scratchbox 0.9.8 on a debian (from "deb
http://scratchbox.org/debian/ 0.9.8 main").
I configured an arm target and unpacked the roostrap from
http://scratchbox.org/download/files/crocodile-files/rootstrap_arm_0.9.8.tar.gz
It comes with a etc/apt/sources.list that says
deb http://scratchbox.org/~rvoipio/kroko2/arm ./
deb-src http://scratchbox.org/~rvoipio/kroko2/sources ./
But that gives a 404.
Then I tried with the sources.list from before installing the
rootstrap:
deb http://scratchbox.org/crocodile/ crocodile main
deb-src http://scratchbox.org/crocodile/ crocodile main
That way I can apt-get update, but on an upgrade I run into an error
with install-info:
#v+
Preparing to replace findutils 4.1.20-3 (using .../findutils_4.1.20-3_arm.deb)
...
install-info: No dir file specified; try --help for more information.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
install-info: No dir file specified; try --help for more information.
dpkg: error processing /var/cache/apt/archives/findutils_4.1.20-3_arm.deb
(--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/findutils_4.1.20-3_arm.deb
E: Sub-process /scratchbox/devkits/debian/bin/dpkg returned an error code (1)
#v-
Do you have any hints on what to do?
Kind regards,
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users