Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Yocto 3.0 Zeus #5

Merged
merged 5 commits into from
Dec 7, 2019
Merged

Fixes for Yocto 3.0 Zeus #5

merged 5 commits into from
Dec 7, 2019

Conversation

eigendude
Copy link
Owner

@eigendude eigendude commented Nov 30, 2019

Description

This PR provides several fixes when using our stacks with Yocto Zeus. The fixes fall in two categories:

Build fixes

  • Fix build error with Colorama

Runtime fixes

  • Statically compile and link libprotobuf

Python 2 EOL

  • Use Python 3 to build libplist
  • Use Python 3 to build Yasm

How has this been tested?

Tested as part of https://github.com/Aclima/sundstrom-os/pull/25

Error was:

ERROR: Nothing RPROVIDES 'python3-colorama-native' (but virtual:native:python3-cmd2_0.9.18.bb RDEPENDS on or otherwise requires it)
This fixes an error when statically linking python-protobuf against
libprotobuf.

Error was:

error: ../recipe-sysroot/usr/lib/libprotobuf.a(structurally_valid.o): requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
TODO: Remove this patch when runtime error has been resolved.

Error was:

ImportError: /usr/lib/python3.7/site-packages/google/protobuf/pyext/_message.cpython-37m-arm-linux-gnueabi.so: undefined symbol: descriptor_table_google_2fprotobuf_2fdescriptor_2eproto
@eigendude
Copy link
Owner Author

Merging now for early testing of 1.12

@eigendude eigendude merged commit 08ddc67 into zeus Dec 7, 2019
@eigendude eigendude deleted the zeus-fixes branch December 7, 2019 01:35
eigendude added a commit that referenced this pull request May 21, 2020
eigendude pushed a commit that referenced this pull request May 30, 2021
* fixes:
WARNING: opencv-4.1.0-r0 do_patch: Fuzz detected:

Applying patch CVE-2019-14491.patch
patching file modules/objdetect/src/cascadedetect.cpp
Hunk #1 succeeded at 46 with fuzz 1 (offset -1 lines).
Hunk #2 succeeded at 540 (offset -1 lines).
Hunk #3 succeeded at 552 (offset -1 lines).
Hunk #4 succeeded at 613 (offset -1 lines).
Hunk #5 succeeded at 774 (offset -1 lines).
Hunk openembedded#6 succeeded at 825 (offset -1 lines).
Hunk openembedded#7 succeeded at 1470 (offset -36 lines).
patching file modules/objdetect/src/cascadedetect.hpp

The context lines in the patches can be updated with devtool:

    devtool modify opencv
    devtool finish --force-patch-refresh opencv <layer_path>

Don't forget to review changes done by devtool!

WARNING: opencv-4.1.0-r0 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
eigendude added a commit that referenced this pull request Sep 16, 2021
eigendude added a commit that referenced this pull request Mar 7, 2024
Update flask from v1.0.1 (zeus) to v1.1.2 (hardknott)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant