Hello,

Selon Eugene San, vers 14 heures 03 : 

> Hi,
> 
> I am trying to evaluate SB2 after it's final release.
> My tests shows that "make install" still doesn't work in both "install" and
> "simple" modes.
> Looks like interpreter wrapper maps to host's root when it not supposed to.
> 
> In addition I've found that shell script structures like: "[ ! -d
> "/usr/local/bin" ] && mkdir -p /usr/local/bin" will not work as expected in
> "devel" mode.
> In that case test mapped to host root and mkdir is skipped even when folder
> is not there :-(

I discovered that "/usr/local" is not managed, but "/usr" does..
That's a bit tricky.

> This is more or less log of my actions:
> 1) sb2 sources from debian + dpkg-build + dpkg install

I got sb2 sources from git repository.

> 2) sb2-qemu from maemo repository

I got qemu-arm from debian packages.

> 3) cd ~/; wget cross.tar.bz2; tar -C /home/shared -xjf cross.tar.bz2
> 4) mkdir ~/sb2/test
> 5) tar -C cd /home/shared/cross/arm-none-linux-gnueabi/libc/ -c etc lib sbin
> usr | tar -C ~/sb2/test/ -x
> 6) cd ~/sb2/test
> 7) sb2-init -c /usr/bin/sb2-qemu-arm test
> /home/shared/cross/bin/arm-none-linux-gnueabi-gcc
> 8) mkdir ~/sb2/test/usr/src; cd ~/sb2/test/usr/src; wget bzip2.tar.bz2; tar
> -xjf bzip2.tar.bz2; cd bzip2
> 9) sb2 make
> 10) sb2 -d make install
> 11) sb2 -d -m install make install
> 
> Steps 10 and 11 fails with: "Read-only file system", logs shows that
> interpreter-wrapper mapped to host root instead of build-root.
> 
> Am I doing something wrong?

Can you tell me what you do obtain with PREFIX=/usr ? (or with any mean to set
the prefix to /usr ?)


Regards,
-- 
Hugues Hiegel                                [http://www.hiegel.fr/~hugues/]
_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to