Jump to content


dax

Member Since 28 Dec 2013
Offline Last Active 09 Aug 2022 15:22
-----

Posts I've Made

In Topic: Development Build DM8000

14 August 2020 - 10:42

Our buildservers are on 3.5.2, and I've never seen it there. So for the moment I'm out of ideas.

 

Did you mean that is possible to build image for all box in environment by using python 3?


In Topic: Thud branch.

10 August 2020 - 16:16

On archlinux machine same error (python2 or python3) of post https://forums.openp...dpost&p=1241646 on develop branch


In Topic: Thud branch.

5 August 2020 - 15:34

Yes the whole python code is not yet compatible with python 3 so we are still on python 2.

Thanks, i will try to build using python2.


In Topic: Thud branch.

5 August 2020 - 14:24

So the only way is to build using python2, right?


In Topic: Thud branch.

4 August 2020 - 16:45

Hi, is it possible build from develop branch by using python3? Because i get stuck

ERROR: initscripts-1.0-r155 do_package: Fatal errors occurred in subprocesses:
Command '['file', '-b', '/home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/package/etc/init.d/umountfs']' died with <Signals.SIGSYS: 31>.: Traceback (most recent call last):
  File "/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/lib/oe/utils.py", line 276, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/lib/oe/package.py", line 74, in is_elf
    result = subprocess.check_output(["file", "-b", path], stderr=subprocess.STDOUT).decode("utf-8")
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['file', '-b', '/home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/package/etc/init.d/umountfs']' died with <Signals.SIGSYS: 31>.

Command '['file', '-b', '/home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/package/etc/init.d/halt']' died with <Signals.SIGSYS: 31>.: Traceback (most recent call last):
  File "/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/lib/oe/utils.py", line 276, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/lib/oe/package.py", line 74, in is_elf
    result = subprocess.check_output(["file", "-b", path], stderr=subprocess.STDOUT).decode("utf-8")
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['file', '-b', '/home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/package/etc/init.d/halt']' died with <Signals.SIGSYS: 31>.

Command '['file', '-b', '/home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/package/etc/init.d/urandom']' died with <Signals.SIGSYS: 31>.: Traceback (most recent call last):
  File "/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/lib/oe/utils.py", line 276, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/lib/oe/package.py", line 74, in is_elf
    result = subprocess.check_output(["file", "-b", path], stderr=subprocess.STDOUT).decode("utf-8")
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['file', '-b', '/home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/package/etc/init.d/urandom']' died with <Signals.SIGSYS: 31>.

Command '['file', '-b', '/home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/package/etc/init.d/umountnfs.sh']' died with <Signals.SIGSYS: 31>.: Traceback (most recent call last):
  File "/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/lib/oe/utils.py", line 276, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/lib/oe/package.py", line 74, in is_elf
    result = subprocess.check_output(["file", "-b", path], stderr=subprocess.STDOUT).decode("utf-8")
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['file', '-b', '/home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/package/etc/init.d/umountnfs.sh']' died with <Signals.SIGSYS: 31>.


ERROR: Logfile of failure stored in: /home/davide/openpli_dev/openpli-oe-core/build/tmp/work/mips32el-oe-linux/initscripts/1.0-r155/temp/log.do_package.835690
ERROR: Task (/home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/recipes-core/initscripts/initscripts_1.0.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1077 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/davide/openpli_dev/openpli-oe-core/openembedded-core/meta/recipes-core/initscripts/initscripts_1.0.bb:do_package
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

It's seem related to python