Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1688

Build openpli4 on archlinux

$
0
0

Hi at all, i'm trying to compile my own openpli 4.0 image for vusolo2. My OS is archlinux x86_64 fully updated. I follow these steps

mkdir ~/bin
ln -s /usr/bin/python2 ~/bin/python
export PATH=~/bin:$PATH

a trick to use python 2 instead of python 3. More info https://wiki.archlinux.org/index.php/Python

Then

mkdir openpli_4.0
cd openpli_4.0/
mkdir sources
git clone git://git.code.sf.net/p/openpli/openpli-oe-core
cd openpli-oe-core
make
MACHINE=vusolo2 make image


but

Build Configuration:
BB_VERSION        = "1.21.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Arch-Linux"
TARGET_SYS        = "mipsel-oe-linux"
MACHINE           = "vusolo2"
DISTRO            = "openpli"
DISTRO_VERSION    = "4"
TUNE_FEATURES     = "o32 fpu-hard mips32"
TARGET_FPU        = ""
meta-oe
meta-filesystems
meta-multimedia
meta-networking   = "(detachedfrom56dde51):56dde5189f20d3507cad39814b833be7626067a4"
meta              = "(detachedfrom9c5734b):9c5734b91c274be85200a9790202326dd6debfc1"
meta-openpli
meta-local        = "master:88c10993e40e6d24a3a2d539cd55869921840e29"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL http://sakrah.homelinux.org/files/eglibc-2.19-svnr25243.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://pkg-shadow.alioth.debian.org/releases/shadow-4.1.4.3.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/apr/apr-1.4.8.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/apr/apr-util-1.5.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.10.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.8/libpng-1.6.8.tar.xz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://jerakeen.org/files/PythonDaap-0.7.1.tar.gz, attempting MIRRORS if available
WARNING: linux-vusolo2: No generic license file exists for: GPL in any provider
ERROR: Function failed: do_configure (log file is located at /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/orc/0.4.18-r2.0/temp/log.do_configure.8576)
ERROR: Function failed: do_configure (log file is located at /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/liboil/0.3.17-r5/temp/log.do_configure.8588)
ERROR: Logfile of failure stored in: /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/orc/0.4.18-r2.0/temp/log.do_configure.8576
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 'common-glibc', 'mipsel-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
|   File "/home/davide/openpli_4.0/openpli-oe-core/openembedded-core/scripts/cp-noerror", line 36
|     except shutil.Error, err:
|                        ^
| SyntaxError: invalid syntax
| WARNING: /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/orc/0.4.18-r2.0/temp/run.do_configure.8576:1 exit 1 from
|   cp-noerror /home/davide/openpli_4.0/openpli-oe-core/build/tmp/sysroots/x86_64-linux/usr/share/aclocal/ /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/orc/0.4.18-r2.0/orc-0.4.18/aclocal-copy/
| ERROR: Function failed: do_configure (log file is located at /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/orc/0.4.18-r2.0/temp/log.do_configure.8576)
ERROR: Logfile of failure stored in: /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/liboil/0.3.17-r5/temp/log.do_configure.8588
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 'common-glibc', 'mipsel-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
|   File "/home/davide/openpli_4.0/openpli-oe-core/openembedded-core/scripts/cp-noerror", line 36
|     except shutil.Error, err:
|                        ^
| SyntaxError: invalid syntax
| WARNING: /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/liboil/0.3.17-r5/temp/run.do_configure.8588:1 exit 1 from
|   cp-noerror /home/davide/openpli_4.0/openpli-oe-core/build/tmp/sysroots/x86_64-linux/usr/share/aclocal/ /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/liboil/0.3.17-r5/build/aclocal-copy/
| ERROR: Function failed: do_configure (log file is located at /home/davide/openpli_4.0/openpli-oe-core/build/tmp/work/mips32el-oe-linux/liboil/0.3.17-r5/temp/log.do_configure.8588)
ERROR: Task 2273 (/home/davide/openpli_4.0/openpli-oe-core/openembedded-core/meta/recipes-support/liboil/liboil_0.3.17.bb, do_configure) failed with exit code '1'
ERROR: Task 2325 (/home/davide/openpli_4.0/openpli-oe-core/openembedded-core/meta/recipes-devtools/orc/orc_0.4.18.bb, do_configure) failed with exit code '1'
WARNING: QA Issue: linux-vusolo2: Files/directories were installed but not shipped
  /tmp/vmlinux-3.3.8-2.0
NOTE: Tasks Summary: Attempted 1719 tasks of which 15 didn't need to be rerun and 2 failed.
Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:
  /home/davide/openpli_4.0/openpli-oe-core/openembedded-core/meta/recipes-support/liboil/liboil_0.3.17.bb, do_configure
  /home/davide/openpli_4.0/openpli-oe-core/openembedded-core/meta/recipes-devtools/orc/orc_0.4.18.bb, do_configure
Summary: There were 11 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Makefile:74: set di istruzioni per l'obiettivo "image" non riuscito
make: *** [image] Errore 1

 

My questions are:

-is it a problem related to python (v2.7.6)?

-is it a problem related to archlinux?

-is it a problem related to openpli packages?

Could someone help me?

Thanks in advance

Attached Files


Viewing all articles
Browse latest Browse all 1688

Trending Articles