eclipse-velocitas / vehicle-app-python-sdk

vehicle-app-python-sdk
Apache License 2.0
7 stars 18 forks source link

downgrade patchef version to 0.17.0.0 #54

Closed aricwang88 closed 1 year ago

aricwang88 commented 1 year ago

What happened?

vehicle-app-python-sdk/tree/main/examples/seat-adjuster)/Dockerfile

Please downgrade patchelf in SDK examples code.

Operating System

macOS (Default)

What release version or branch did you use?

main

Relevant log output

core dump when run staticx.

Code of Conduct

MP91 commented 1 year ago

Hey @aricwang88,

could you please elaborate what you did exactly. We need to be able to reproduce the error.

Thanks!

doosuu commented 1 year ago

Hey @aricwang88,

could you please elaborate what you did exactly. We need to be able to reproduce the error.

Thanks!

From reading through the issue, I expect this is the same thing we have already fixed in the template. patchelf got a new release which is incompatible with staticx in the Dockerfile of seat-adjuster. We need to pin the version of patchelf to 0.17.0. Furthermore we also need to pin the version of the Python base image we are using for the Dockerfile since there are also some incompatible upgrades of the installed tools.

aricwang88 commented 1 year ago

@MP91 @doosuu , exactly correct! Thanks! I found only in sampleapp example updated, but when import-example into template, it still have problem. I known the work around, just keep this information for other users. Anyway thx!