Hi all,
i've encounterd a problem while i've bootsrtapped a simple debian inside 
sctrachbox. Follows the step i've done:

[sbox-DEBIAN_TEST: ~] > sb-conf setup DEBIAN_TEST2 -c host-gcc -d 
perl:debian-etch -t none
[sbox-DEBIAN_TEST: ~] > sb-conf select DEBIAN_TEST2
[sbox-DEBIAN_TEST2: ~] > sb-conf install --etc --devkits
[sbox-DEBIAN_TEST2: ~] > apt-get update
[sbox-DEBIAN_TEST2: ~] > apt-get install libc6
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  tzdata
Suggested packages:
  locales glibc-doc
The following NEW packages will be installed:
  libc6 tzdata
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 5393kB of archives.
After unpacking 17.5MB of additional disk space will be used.
Do you want to continue [Y/n]?  
WARNING: The following packages cannot be authenticated!
  tzdata libc6
Install these packages without verification [y/N]? y
Get:1 ftp://ftp.debian.org etch/main tzdata 2007j-1etch1 [690kB]
Get:2 ftp://ftp.debian.org etch/main libc6 2.3.6.ds1-13etch5 [4703kB]           
                                                                            
Fetched 5393kB in 34s (154kB/s)                                                 
                                                                            
Selecting previously deselected package tzdata.
(Reading database ... 0 files and directories currently installed.)
Unpacking tzdata (from .../tzdata_2007j-1etch1_all.deb) ...
Selecting previously deselected package libc6.
Unpacking libc6 (from .../libc6_2.3.6.ds1-13etch5_i386.deb) ...
head: cannot open `/lib/ld-linux.so.2' for reading: No such file or directory
WARNING: This machine has real i386 class processor.
Debian etch and later does not support such old hardware
any longer.
The reason is that "bswap" instruction is not supported
on i386 class processors, and some core libraries have
such instruction. You'll see illegal instruction error
when you upgrade your Debian system.
dpkg: error processing /var/cache/apt/archives/libc6_2.3.6.ds1-13etch5_i386.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.6.ds1-13etch5_i386.deb
E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code 
(1)

Then i've tryied to install directly with dpkg and debug enbled, here is the 
output:
[sbox-DEBIAN_TEST2: ~] > fakeroot dpkg --debug=3773 -i 
/var/cache/apt/archives/libc6_2.3.6.ds1-13etch5_i386.deb
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
(Reading database ... 1796 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.6.ds1-13etch5_i386.deb) ...
D000020: process_archive conffile `/etc/init.d/glibc.sh' no package, no hash
D000020: process_archive conffile `/etc/ld.so.conf.d/i486-linux-gnu.conf' no 
package, no hash
D000001: process_archive oldversionstatus=not installed
D000002: fork/exec /var/lib/dpkg/tmp.ci/preinst ( install )
head: cannot open `/lib/ld-linux.so.2' for reading: No such file or directory
WARNING: This machine has real i386 class processor.
Debian etch and later does not support such old hardware
any longer.
The reason is that "bswap" instruction is not supported
on i386 class processors, and some core libraries have
such instruction. You'll see illegal instruction error
when you upgrade your Debian system.
dpkg: error processing /var/cache/apt/archives/libc6_2.3.6.ds1-13etch5_i386.deb 
(--install):
 subprocess pre-installation script returned error exit status 1
D000002: fork/exec /var/lib/dpkg/tmp.ci/postrm ( abort-install )
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/tmp.ci'
D000010: ensure_pathname_nonexisting running rm -rf
D000010: ensure_pathname_nonexisting `/var/lib/dpkg/reassemble.deb'
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.6.ds1-13etch5_i386.deb

Someone has some hint (cping the ld-so from my host system doesn't resolve)
i've an ubuntu 8.04

[EMAIL PROTECTED]:~$ dpkg -l | grep scratchbox
ii  scratchbox-core                               1.0.8                         
      Scratchbox base system
ii  scratchbox-devkit-cputransp                   1.0.7                         
      CPU transparency methods
ii  scratchbox-devkit-debian                      1.0.9                         
      Debian tools for Scratchbox
ii  scratchbox-devkit-doctools                    1.0.7                         
      Doctools for Scratchbox
ii  scratchbox-devkit-maemo3                      1.0.3                         
      Maemo 3 devkit for Scratchbox
ii  scratchbox-devkit-perl                        1.0.4                         
      Perl modules for Scratchbox
ii  scratchbox-libs                               1.0.8                         
      Scratchbox libraries
ii  scratchbox-toolchain-cs2005q3.2-glibc2.5-arm  1.0.7.2                       
      cs2005q3.2-glibc2.5-arm compiler for Scratch
ii  scratchbox-toolchain-cs2005q3.2-glibc2.5-i386 1.0.7                         
      cs2005q3.2-glibc2.5-i386 compiler for Scratc
ii  scratchbox-toolchain-host-gcc                 1.0.8                         
      Scratchbox host-gcc toolchain


Thanks best regards, and sorry for the long log
 Andrea Selva


      Posta, news, sport, oroscopo: tutto in una sola pagina. 
Crea l'home page che piace a te!
www.yahoo.it/latuapagina
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to