Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dsmirnov@dsmirnov-ubuntu2:~$ sudo rm -r ~/projects/mer/targets/meizu-meilan2-armv7hl/
- dsmirnov@dsmirnov-ubuntu2:~$ vi .hadk.env
- dsmirnov@dsmirnov-ubuntu2:~$ less .mersdkubu.profile
- dsmirnov@dsmirnov-ubuntu2:~$ less .mersdk.profile
- dsmirnov@dsmirnov-ubuntu2:~$ TARBALL=mer-i486-latest-sdk-rolling-chroot-armv7hl-sb2.tar.bz2
- dsmirnov@dsmirnov-ubuntu2:~$ ls mer-i486-latest-sdk-rolling-chroot-armv7hl-sb2.tar.bz2
- mer-i486-latest-sdk-rolling-chroot-armv7hl-sb2.tar.bz2
- dsmirnov@dsmirnov-ubuntu2:~$ mkdir -p $MER_ROOT/sdks/sdk
- dsmirnov@dsmirnov-ubuntu2:~$ echo $MER_ROOT
- /home/dsmirnov/projects/mer
- dsmirnov@dsmirnov-ubuntu2:~$ sudo tar --numeric-owner -p -xjf $HOME/$TARBALL^C
- dsmirnov@dsmirnov-ubuntu2:~$ cd $MER_ROOT/sdks/sdk
- dsmirnov@dsmirnov-ubuntu2:~/projects/mer/sdks/sdk$ sudo tar --numeric-owner -p -xjf $HOME/$TARBALL
- dsmirnov@dsmirnov-ubuntu2:~/projects/mer/sdks/sdk$ less ~/.mersdk.profile
- dsmirnov@dsmirnov-ubuntu2:~/projects/mer/sdks/sdk$ cd $HOME
- dsmirnov@dsmirnov-ubuntu2:~$ sdk
- Mounting system directories...
- Directory /var/run/dbus is missing in SDK root - please report this bug
- Mounting / as /parentroot
- Mounting home directory: /home/dsmirnov
- Entering chroot as dsmirnov
- Env setup for meilan2
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo zypper ar \
- > http://repo.merproject.org/obs/home:/sledge:/mer/latest_i486/ curlfix
- Adding repository 'curlfix' .......................................................................................................................................[done]
- Repository 'curlfix' successfully added
- Enabled: Yes
- Autorefresh: No
- GPG check: Yes
- URI: http://repo.merproject.org/obs/home:/sledge:/mer/latest_i486/
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo zypper ref curlfix
- Retrieving repository 'curlfix' metadata -----------------------------------------------------------------------------------------------------------------------------[\]
- Download (curl) error for 'http://repo.merproject.org/obs/home:/sledge:/mer/latest_i486/repodata/repomd.xml':
- Error code: Connection failed
- Error message: couldn't connect to host
- Abort, retry, ignore? [a/r/i/?] (a): a
- Download (curl) error for 'http://repo.merproject.org/obs/home:/sledge:/mer/latest_i486/content':
- Error code: Connection failed
- Error message: couldn't connect to host
- Abort, retry, ignore? [a/r/i/?] (a): ^CMerSDK dsmirnov@dsmirnov-ubuntu2:~$
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ export http_proxy=http://runnls001:8080/
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo zypper ref curlfix
- Retrieving repository 'curlfix' metadata -----------------------------------------------------------------------------------------------------------------------------[\]
- Download (curl) error for 'http://repo.merproject.org/obs/home:/sledge:/mer/latest_i486/repodata/repomd.xml':
- Error code: Connection failed
- Error message: couldn't connect to host
- Abort, retry, ignore? [a/r/i/?] (a): ^CMerSDK dsmirnov@dsmirnov-ubuntu2:~$ export https_proxy=https://runnls001:8080/
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo zypper ref curlfix
- Retrieving repository 'curlfix' metadata -----------------------------------------------------------------------------------------------------------------------------[\]
- Download (curl) error for 'http://repo.merproject.org/obs/home:/sledge:/mer/latest_i486/repodata/repomd.xml':
- Error code: Connection failed
- Error message: couldn't connect to host
- Abort, retry, ignore? [a/r/i/?] (a): ^CMerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo /etc/environment
- sudo: /etc/environment: command not found
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo vim /etc/environment
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo zypper ref curlfix
- Retrieving repository 'curlfix' metadata -----------------------------------------------------------------------------------------------------------------------------[\]
- File 'repomd.xml' from repository 'curlfix' is unsigned, continue? [yes/no] (no): yes
- Retrieving repository 'curlfix' metadata ..........................................................................................................................[done]
- Building repository 'curlfix' cache ...............................................................................................................................[done]
- Specified repositories have been refreshed.
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ hadk
- Env setup for meilan2
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ cd $HOME
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ SFE_SB2_TARGET=$MER_ROOT/targets/$VENDOR-$DEVICE-$PORT_ARCH
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ TARBALL_URL=http://releases.sailfishos.org/sdk/latest/targets/targets.json
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ TARBALL=$(curl $TARBALL_URL | grep "$PORT_ARCH.tar.bz2" | cut -d\" -f4)
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 503 100 503 0 0 108k 0 --:--:-- --:--:-- --:--:-- 491k
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo mkdir -p $SFE_SB2_TARGET
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo tar --numeric-owner -pxjf $(basename $TARBALL) -C $SFE_SB2_TARGET
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ sudo chown -R $USER $SFE_SB2_TARGET
- MerSDK dsmirnov@dsmirnov-ubuntu2:~$ cd $SFE_SB2_TARGET
- MerSDK dsmirnov@dsmirnov-ubuntu2:~/projects/mer/targets/meizu-meilan2-armv7hl$ grep :$(id -u): /etc/passwd >> etc/passwd
- MerSDK dsmirnov@dsmirnov-ubuntu2:~/projects/mer/targets/meizu-meilan2-armv7hl$ grep :$(id -g): /etc/group >> etc/group
- MerSDK dsmirnov@dsmirnov-ubuntu2:~/projects/mer/targets/meizu-meilan2-armv7hl$ sb2-init -d -L "--sysroot=/" -C "--sysroot=/" \
- > -c /usr/bin/qemu-arm-dynamic -m sdk-build \
- > -n -N -t / $VENDOR-$DEVICE-$PORT_ARCH \
- > /opt/cross/bin/$PORT_ARCH-meego-linux-gnueabi-gcc
- Using /opt/cross/bin/armv7hl-meego-linux-gnueabi-gcc to detect target architecture:
- collect2: cannot find 'ld'
- Finished writing sb2.gcc.config
- gcc configured.
- sb2-init: Target architecture is 'armv7hl'
- sb2-init: Host architecture is 'i[3456]86'
- Finished writing sb2.config
- sb2-init: Creating Debian build system settings for this target:
- MerSDK dsmirnov@dsmirnov-ubuntu2:~/projects/mer/targets/meizu-meilan2-armv7hl$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R rpm --rebuilddb
- MerSDK dsmirnov@dsmirnov-ubuntu2:~/projects/mer/targets/meizu-meilan2-armv7hl$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper ar \
- > -G http://repo.merproject.org/releases/mer-tools/rolling/builds/$PORT_ARCH/packages/ \
- > mer-tools-rolling
- Adding repository 'mer-tools-rolling' .............................................................................................................................[done]
- Repository 'mer-tools-rolling' successfully added
- Enabled: Yes
- Autorefresh: No
- GPG check: No
- URI: http://repo.merproject.org/releases/mer-tools/rolling/builds/armv7hl/packages/
- MerSDK dsmirnov@dsmirnov-ubuntu2:~/projects/mer/targets/meizu-meilan2-armv7hl$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper ref --force
- Forcing raw metadata refresh
- Retrieving repository 'hotfixes' metadata ----------------------------------------------------------------------------------------------------------------------------[\]
- Download (curl) error for 'https://releases.jolla.com/releases/2.0.2.48/hotfixes/armv7hl/repodata/repomd.xml':
- Error code: Unrecognized error
- Error message: SSL certificate problem: unable to get local issuer certificate
- Abort, retry, ignore? [a/r/i/?] (a): ^CMessages from sb2:
- (ERROR) zypper[32632/-147740928] Failed to send command to server (ruletree_rpc)
- (ERROR) zypper[32632/-147740928] Failed to send command to server (ruletree_rpc)
- (ERROR) zypper[32632/-147740928] Failed to send command to server (ruletree_rpc)
- (ERROR) zypper[32632/-147740928] Failed to send command to server (ruletree_rpc)
- # exit 105 (105)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement