PDA

View Full Version : Problems building from scratch



W1deBoy
21-01-14, 17:06
Hi All.

I recently got a Solo2 which is running latest OpenViX and decided I wanted to get into some development

So I set up a VirtualBox VM and installed ubuntu-12.04.3-desktop-amd64.

Then I followed scruff1963's post on manually setting up the environment and building the image (in Development Environment (http://www.world-of-satellite.com/showthread.php?25107-Development-environment) thread)

mkdir openvix
cd openvix
git clone git://github.com/oe-alliance/build-enviroment.git oe-alliance
cd oe-alliance
Machine=vuultimo DISTRO=openvix make image

Except that I have Solo2 so I ran:

MACHINE=vusolo2 DISTRO=openvix make image

This was quite successful but I ran into this error:

ERROR: Function failed: do_fetch (see /home/user/openvix/oe-alliance/builds/openvix/vusolo2/tmp/work/mips32el-oe-linux/vuplus-opera-browser-util-1.0-r24_20140109_0/temp/log.do_fetch.3695 for further information)
ERROR: Logfile of failure stored in: /home/user/openvix/oe-alliance/builds/openvix/vusolo2/tmp/work/mips32el-oe-linux/vuplus-opera-browser-util-1.0-r24_20140109_0/temp/log.do_fetch.3695
Log data follows:
| ERROR: Function failed: do_fetch (see /home/user/openvix/oe-alliance/builds/openvix/vusolo2/tmp/work/mips32el-oe-linux/vuplus-opera-browser-util-1.0-r24_20140109_0/temp/log.do_fetch.3695 for further information)
| cp: cannot stat `/home/user/openvix/oe-alliance/sources/opera-hbbtv_20140109_0.tar.gz': No such file or directory
NOTE: package vuplus-opera-browser-util-1.0-r24_20140109_0: task do_fetch: Failed
ERROR: Task 2651 (/home/user/openvix/oe-alliance/meta-oe-alliance/recipes-bsp/vuplus/vuplus-opera-browser-util.bb, do_fetch) failed with exit code '1'
Waiting for 4 running tasks to finish:
0: enigma2-2.8+git5+8518481d96f386a00c9959b45af279d3be676089-r133 do_compile (pid 2842)
1: enigma2-plugin-extensions-xmltvimport-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r29 do_configure (pid 3703)
2: xmltvimport-library-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r28 do_package_write_ipk (pid 3704)
3: vuplus-opera-dumpait-git1+c3f4329914cccf15efa6157e55b55facc744e5e2-r4 do_package_write_ipk (pid 3690)
NOTE: package oe-alliance-branding-0.2+git3+3e45e8ae70b9c357f09a5d5c375656474c925f31-r20140121122159: task do_unpack: Started
Waiting for 5 running tasks to finish:
0: enigma2-2.8+git5+8518481d96f386a00c9959b45af279d3be676089-r133 do_compile (pid 2842)
1: enigma2-plugin-extensions-xmltvimport-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r29 do_configure (pid 3703)
2: xmltvimport-library-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r28 do_package_write_ipk (pid 3704)
3: vuplus-opera-dumpait-git1+c3f4329914cccf15efa6157e55b55facc744e5e2-r4 do_package_write_ipk (pid 3690)
4: oe-alliance-branding-0.2+git3+3e45e8ae70b9c357f09a5d5c375656474c925f31-r20140121122159 do_unpack (pid 3730)
NOTE: package oe-alliance-branding-0.2+git3+3e45e8ae70b9c357f09a5d5c375656474c925f31-r20140121122159: task do_unpack: Succeeded
Waiting for 4 running tasks to finish:
0: enigma2-2.8+git5+8518481d96f386a00c9959b45af279d3be676089-r133 do_compile (pid 2842)
1: enigma2-plugin-extensions-xmltvimport-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r29 do_configure (pid 3703)
2: xmltvimport-library-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r28 do_package_write_ipk (pid 3704)
3: vuplus-opera-dumpait-git1+c3f4329914cccf15efa6157e55b55facc744e5e2-r4 do_package_write_ipk (pid 3690)
NOTE: package vuplus-opera-dumpait-git1+c3f4329914cccf15efa6157e55b55facc744e5e2-r4: task do_package_write_ipk: Succeeded
Waiting for 3 running tasks to finish:
0: enigma2-2.8+git5+8518481d96f386a00c9959b45af279d3be676089-r133 do_compile (pid 2842)
1: enigma2-plugin-extensions-xmltvimport-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r29 do_configure (pid 3703)
2: xmltvimport-library-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r28 do_package_write_ipk (pid 3704)
NOTE: package xmltvimport-library-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r28: task do_package_write_ipk: Succeeded
Waiting for 2 running tasks to finish:
0: enigma2-2.8+git5+8518481d96f386a00c9959b45af279d3be676089-r133 do_compile (pid 2842)
1: enigma2-plugin-extensions-xmltvimport-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r29 do_configure (pid 3703)
NOTE: package enigma2-plugin-extensions-xmltvimport-1.0+git2+3f61560dc154884b341358bbdb30dd4614f48ba3-r29: task do_configure: Succeeded
Waiting for 1 running tasks to finish:
0: enigma2-2.8+git5+8518481d96f386a00c9959b45af279d3be676089-r133 do_compile (pid 2842)
NOTE: package enigma2-2.8+git5+8518481d96f386a00c9959b45af279d3be676089-r133: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 6365 tasks of which 6356 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/user/openvix/oe-alliance/meta-oe-alliance/recipes-bsp/vuplus/vuplus-opera-browser-util.bb, do_fetch
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [image] Error 1


I checked the specified error log file /home/user/openvix/oe-alliance/builds/openvix/vusolo2/tmp/work/mips32el-oe-linux/vuplus-opera-browser-util-1.0-r24_20140109_0/temp/log.do_fetch.3695

But it wasn't very helpful:

ERROR: Function failed: do_fetch (see /home/user/openvix/oe-alliance/builds/openvix/vusolo2/tmp/work/mips32el-oe-linux/vuplus-opera-browser-util-1.0-r24_20140109_0/temp/log.do_fetch.3695 for further information)
cp: cannot stat `/home/user/openvix/oe-alliance/sources/opera-hbbtv_20140109_0.tar.gz': No such file or directory

I am an experienced software developer using make but I have little experience of bitbake building

Can someone with a bit of experience point me in the right direction?

Thanks

rossi2000
21-01-14, 18:47
the last line of your log explains what is wrong

cp: cannot stat `/home/user/openvix/oe-alliance/sources/opera-hbbtv_20140109_0.tar.gz': No such file or directory

you need to find the opera-hbbtv tar.gz and put it into your sources dir.

W1deBoy
22-01-14, 10:49
Thank you for your prompt reply.
Yes I agree that the 'stat - No such file or directory' means that the file is missing.

However I am trying to determine why that file is missing.

Is this normal for a fresh build to be missing files?

Does everyone have to download this file manually to build openvix?

TIA

the last line of your log explains what is wrong

cp: cannot stat `/home/user/openvix/oe-alliance/sources/opera-hbbtv_20140109_0.tar.gz': No such file or directory

you need to find the opera-hbbtv tar.gz and put it into your sources dir.

Larry-G
22-01-14, 21:29
I think the problem is that this file is not opensource, I would imagine there will be a way to manually build without this file but its not something I know a great deal about.

Sent from my GT-I9300 using Tapatalk

W1deBoy
25-01-14, 19:13
I have investigated further.
The issue is in the vuplus-opera-browser-util.bb file, function do_fetch:

do_fetch() {
if [ ! -e ${DL_DIR}/${SRC_FILE} -a -e /etc/vuplus_browser.pwd ]; then
sshpass -f /etc/vuplus_browser.pwd sftp -o StrictHostKeyChecking=no guestuser@code.vuplus.com << +
get ${SRC_FILE}
bye
+
fi
cp -av ${DL_DIR}/${SRC_FILE} ${WORKDIR}/
}

The file /etc/vuplus_browser.pwd does not exist so the 'if' fails and does not attempt to fetch the file

So the 'cp' command fails.

So the file /etc/vuplus_browser.pwd should contain the password for the 'sshpass' command.

Does anyone know what the password should be?

Rob van der Does
25-01-14, 19:21
The problem is that the Opera-browser is not freely available (a license fee is required).