openembedded build probleme mit dem krogoth branch

    • Offizieller Beitrag

    Falls es automatisiert werden soll evtl. so, aber ohne Gewähr:


    Code
    apt-cache -oAPT::Cache::ShowDepends=false \
              -oAPT::Cache::Important=true \
              -oAPT::Cache::ShowOnlyFirstOr=true \
              -oAPT::Cache::ShowRecommends=true \
              depends $PACKAGE | sed -e 's,\<Recommends\>:,,' -e 's,<[a-z0-9.+-]\+>,,' | xargs apt-get install


    Aber für den speziellen Fall ist eher folgendes besser:


    Code
    Depends: python-misc (<< 2.7.11) | python-argparse
  • bei mir baut bei der 900er die lbssl nicht



    ------------------------------------------------------------------
    » Chuck Norris kann Zwiebeln zum Weinen bringen «

  • Kicking life into this thread with some questions


    Do we still need the old debian 8 jessi to build an dm900 image?


    I have built the pyro images for Dreambox one and two with debian 9 strech with no problems.

    But when i try to build a krogoth dm 900 image with same linux distro i get en setuptools error.

    I have python-setuptools-scm installed



    Log data follows:

    | DEBUG: Executing shell function do_compile

    | /tmp/easy_install-cQZRwd/setuptools_scm-6.0.1/src

    | <pkg_resources.WorkingSet object at 0x7f0a80a24fd0>

    | Traceback (most recent call last):

    | File "setup.py", line 21, in <module>

    | test_suite = 'tests',

    | File "/home/ppteam/krogoth/opendreambox/build/dm900/tmp-glibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/core.py", line 111, in setup

    | _setup_distribution = dist = klass(attrs)

    | File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 269, in __init__

    | File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 313, in fetch_build_eggs

    | File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 827, in resolve

    | File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1072, in best_match

    | File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1084, in obtain

    | File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 380, in fetch_build_egg

    | File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 640, in easy_install

    | File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 670, in install_item

    | File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 853, in install_eggs

    | File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1081, in build_and_install

    | File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1067, in run_setup

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 242, in run_setup

    | File "/home/ppteam/krogoth/opendreambox/build/dm900/tmp-glibc/sysroots/x86_64-linux/usr/lib/python2.7/contextlib.py", line 35, in __exit__

    | self.gen.throw(type, value, traceback)

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 195, in setup_context

    | File "/home/ppteam/krogoth/opendreambox/build/dm900/tmp-glibc/sysroots/x86_64-linux/usr/lib/python2.7/contextlib.py", line 35, in __exit__

    | self.gen.throw(type, value, traceback)

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 166, in save_modules

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 141, in resume

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 154, in save_modules

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 195, in setup_context

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 239, in run_setup

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 269, in run

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 238, in runner

    | File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 46, in _execfile

    | File "/tmp/easy_install-cQZRwd/setuptools_scm-6.0.1/setup.py", line 52, in <module>

    |

    | File "/tmp/easy_install-cQZRwd/setuptools_scm-6.0.1/setup.py", line 29, in scm_config

    |

    | File "/tmp/easy_install-cQZRwd/setuptools_scm-6.0.1/src/setuptools_scm/__init__.py", line 8, in <module>

    | File "/tmp/easy_install-cQZRwd/setuptools_scm-6.0.1/src/setuptools_scm/config.py", line 6, in <module>

    | File "/tmp/easy_install-cQZRwd/setuptools_scm-6.0.1/src/setuptools_scm/utils.py", line 41

    | print(*k)

    | ^

    | SyntaxError: invalid syntax

    | WARNING: exit code 1 from a shell command.

    | ERROR: python setup.py build execution failed.

    Everything in life that's any fun is either immoral, illegal or fattening

  • Ubuntu 18.04 LTS is recommended for oe2.5. That's why Reichi provided a docker image. You can try to patch everything to get it working but it will take you hours

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource