@related: DiablO HarmattaN ItP DpkG IntergratioN

ToDo : Please mirror :

HarmattaN :

url="http://harmattan-dev.nokia.com/unstable/beta3/harmattan-sdk-setup.py"
url="http://harmattan-dev.nokia.com/stable/harmattan/harmattan-sdk-setup.py"
wget -c $url
sudo mkdir -p /etc/apt/sources.list.d
sudo mount -t tmpfs tmpfs /tmp -o size=2000M,mode=1777,remount
xhost + ; sudo python harmattan-sdk-setup.py

PleasE FiX This :

 http://scratchbox.org/debian/dists/harmattan/main/binary-armel/Packages  404  Not Found
# scratchbox-devkit-doctools scratchbox-devkit-git scratchbox-devkit-cputransp scratchbox-devkit-debian scratchbox-devkit-debian-squeeze scratchbox-devkit-apt-https 
# scratchbox-core scratchbox-devkit-apt-https scratchbox-devkit-autotools-legacy scratchbox-devkit-cputransp scratchbox-devkit-debian scratchbox-devkit-debian-squeeze scratchbox-devkit-doctools scratchbox-devkit-git 
scratchbox-devkit-hashutils-squeeze-sdk scratchbox-devkit-perl scratchbox-devkit-python-legacy scratchbox-devkit-qemu scratchbox-devkit-svn 

[sbox-HARMATTAN_ARMEL: ~] > cat /etc/apt/sources.list
deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free
deb-src http://harmattan-dev.nokia.com/ harmattan/sdk free
deb http://harmattan-dev.nokia.com/ harmattan/41667a5bd857be02f487c2ce806fbf85 nokia-binaries

http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Alternative_development_environments_Platform_SDK_user_guide_Installing_Harmattan_Platform_SDK_Installing_Harmattan_Platform_SDK_manually.html

http://harmattan-dev.nokia.com/d6.php?f=arm-public-sdk-rootstrap.tgz

ErroR: binfmt

  [sbox-HARMATTAN_ARMEL:
  /scratchbox/tools/bin/misc_runner: SBOX_CPUTRANSPARENCY_METHOD not set
  sb-conf list --cputransps
  export SBOX_CPUTRANSPARENCY_METHOD=/scratchbox/devkits/qemu/bin/qemu-arm-sb
  $SBOX_CPUTRANSPARENCY_METHOD --help


echo "main(){exit(42);}" > main.c && make main && file main && ldd ./main  && ./main ; echo $?
cc     main.c   -o main
main.c: In function 'main':
main.c:1: warning: incompatible implicit declaration of built-in function 'exit'
main: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.16, dynamically linked (uses shared libs), not stripped
/usr/bin/ldd: line 162: /lib/ld-linux.so.3: No such file or directory
ldd: exited with unknown exit code (127)
bash: ./main: No such file or directory
127



sb-conf sh
Compiler: cs2009q3-eglibc2.10-armv7-hard
Devkits: qemu
CPU-transparency: /scratchbox/devkits/qemu/bin/qemu-arm-sb

/scratchbox/tools/bin/misc_runner ./main
echo $?
42

# ToDo ?
sb-menu , install , [x] Clib , [x] C runtime ...

SolveD :

sudo aptitude  reinstall  scratchbox-core  scratchbox-devkit-debian  scratchbox-devkit-debian-squeeze  scratchbox-devkit-perl  scratchbox-devkit-qemu  scratchbox-libs  scratchbox-toolchain-cs2009q3-eglibc2.10-armv7-hard  scratchbox-toolchain-host-gcc 
 ldd  /usr/share/quilt/compat/../../../bin/gawk
/usr/bin/ldd: line 162: /lib/ld-linux.so.3: No such file or directory

ERROR binmode

 
fakeroot ./debian/rules binary
dh_gencontrol -s 
Can't locate object method "binmode" via package "FileHandle" at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 254.
dh_gencontrol: dpkg-gencontrol -pfuse-utils -ldebian/changelog -Tdebian/fuse-utils.substvars -Pdebian/fuse-utils returned exit code 25

fakeroot apt-get install --reinstall debconf 
fakeroot apt-get install --reinstall debconf perl-base  debhelper libdpkg-perl perl-modules  perl-suid perl libperl5.10 libio-stringy-perl


# rgrep 'sub binmode' /usr/share/perl5/ | cut -d: -f 1 | xargs -n 1 dpkg -S  | cut -d: -f 1 | sort | uniq
libarchive-zip-perl
libio-string-perl
libio-stringy-perl
libmime-tools-perl

fakeroot apt-get install libio-string-perl libio-stringy-perl libmime-tools-perl  libarchive-zip-perl 

apt-get install --reinstall  libtimedate-perl  perl  dpkg    gpgv

rgrep -i binmode /usr/share/perl5

rgrep -i binmode /usr/share/perl5/
/usr/share/perl5/Debconf/Template.pm:binmode(STDOUT);
/usr/share/perl5/Debconf/Template.pm:binmode(STDERR);
/usr/share/perl5/Debconf/FrontEnd/Passthrough.pm:       binmode $this->{readfh}, ":utf8";
/usr/share/perl5/Debconf/FrontEnd/Passthrough.pm:       binmode $this->{writefh}, ":utf8";
/usr/share/perl5/Git.pm:created, cached, and set for autoflush and binmode.
/usr/share/perl5/Git.pm:                binmode $$temp_fd;
/usr/share/perl5/IO/ScalarArray.pm:=item binmode
/usr/share/perl5/IO/ScalarArray.pm:sub binmode {} 
/usr/share/perl5/IO/Scalar.pm:=item binmode
/usr/share/perl5/IO/Scalar.pm:sub binmode {}
/usr/share/perl5/IO/InnerFile.pm:=item binmode
/usr/share/perl5/IO/InnerFile.pm:sub binmode  { 1; }
/usr/share/perl5/IO/String.pm:sub binmode
/usr/share/perl5/IO/String.pm:*BINMODE = \&binmode;
/usr/share/perl5/IO/String.pm:If you use such a Perl, then seek(), tell(), eof(), fileno(), binmode() will
/usr/share/perl5/Dpkg/Substvars.pm:    binmode($fh);
/usr/share/perl5/Dpkg/Compression/FileHandle.pm~:C<binmode>, C<eof>, C<fileno>, C<getc>, C<print>, C<printf>, C<read>,
/usr/share/perl5/Dpkg/Compression/FileHandle.pm~:sub BINMODE {
/usr/share/perl5/Dpkg/Compression/FileHandle.pm~:    return *$self->{"file"}->binmode(@_) if defined *$self->{"file"};
/usr/share/perl5/Dpkg/Compression/FileHandle.pm:C<binmode>, C<eof>, C<fileno>, C<getc>, C<print>, C<printf>, C<read>,
/usr/share/perl5/Dpkg/Compression/FileHandle.pm:sub BINMODE {
/usr/share/perl5/Dpkg/Compression/FileHandle.pm:    return *$self->{"file"}->binmode(@_) if defined *$self->{"file"};
/usr/share/perl5/Dpkg/Compression/FileHandle.pm.orig:C<binmode>, C<eof>, C<fileno>, C<getc>, C<print>, C<printf>, C<read>,
/usr/share/perl5/Dpkg/Compression/FileHandle.pm.orig:sub BINMODE {
/usr/share/perl5/Dpkg/Compression/FileHandle.pm.orig:    return *$self->{"file"}->binmode(@_) if defined *$self->{"file"};

# Working idont's env : 
# http://paste.debian.net/33213/
# http://paste.debian.net/33214/

http://my-symbian.com/forum_mobile/viewtopic.php?t=44162&postdays=0&postorder=asc&start=5

I GaveUp that time …

ERROR ...

sudo aptitude search scratchbox-devkit


apt-get update
/scratchbox/tools/bin/misc_runner: : No such file or directory
/scratchbox/tools/bin/misc_runner: : No such file or directory
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (126)
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (126)
E: Method /usr/lib/apt/methods/http did not start correctly

[sbox-HARMATTAN_ARMEL: ~] > fakeroot apt-src install fuse
Can't load '/usr/lib/perl5/auto/AptPkg/AptPkg.so' for module AptPkg: /usr/lib/perl5/auto/AptPkg/AptPkg.so: cannot open shared object file: No such file or directory at /scratchbox/tools/lib/perl5/5.8.4/i686-linux-thread-multi/DynaLoader.pm line 230.
 at /usr/lib/perl5/AptPkg/Config.pm line 8

 apt-file search AptPkg.so
libapt-pkg-perl: /usr/lib/perl5/auto/AptPkg/AptPkg.so


 dpkg -S /usr/share/debconf/confmodule
 debconf: /usr/share/debconf/confmodule

diff -u  /usr/share/debconf/confmodule~  /usr/share/debconf/confmodule | tee ~/debconf.patch
--- /usr/share/debconf/confmodule~      2010-09-24 20:28:00.000000000 +0200
+++ /usr/share/debconf/confmodule       2013-09-01 11:29:14.497338487 +0200
@@ -14,7 +14,7 @@
        if [ "$DEBCONF_USE_CDEBCONF" ]; then
                exec /usr/lib/cdebconf/debconf $0 "$@"
        else
-               exec /usr/share/debconf/frontend $0 "$@"
+               exec /usr/share/debconf/frontend $0 "$@" || echo "TODO"
        fi
 fi

apt-get install -f

perl.real 
bash: /usr/bin/perl.real: No such file or directory

ldd /usr/bin/perl.real 
/usr/bin/ldd: line 162: /lib/ld-linux.so.3: No such file or directory
ldd: exited with unknown exit code (127)

fakeroot mv /usr/bin/perl.real /usr/bin/perl.real.orig
fakeroot ln -fs perl /usr/bin/perl.mine
fakeroot ln -fs perl.mine /usr/bin/perl.real

gzip: unrecognized option `--rsyncable'

http://superuser.com/questions/203750/why-apt-get-cannot-install-any-application## #!/usr/bin/perl.real -wto#!/usr/bin/perl -w

fakeroot preload library libfakeroot-sysv.so not found aborting

http://talk.maemo.org/showthread.php?t=75282

sb-conf in -edFL

qt5

### qt5-base ###

https://build.pub.meego.com/package/live_build_log?arch=armv7el&package=qt5-base&project=home%3Arzr%3Aharmattan%3Aunstable&repository=harmattan

make[4]: arm-linux-gnueabi-ar: Command not found

file /scratchbox/compilers/bin/arm-linux-gnueabi-ar
/scratchbox/compilers/bin/arm-linux-gnueabi-ar: symbolic link to `sb_gcc_wrapper'


 which arm-linux-gnueabi-ar 
/scratchbox/compilers/bin/arm-linux-gnueabi-ar

/scratchbox/compilers/cs2009q3-eglibc2.10-armv7-hard/bin/sbox-arm-none-linux-gnueabi-ar: supported targets: elf32-littlearm elf32-bigarm elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex


[sbox-HARMATTAN_ARMEL: ~] > file /scratchbox/compilers/bin/sb_gcc_wrapper      
/scratchbox/compilers/bin/sb_gcc_wrapper: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped

MORE

scratchbox.txt · Last modified: 2020/09/08 20:48 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki