Pelagicore / meta-pelux

PELUX is an open source, GENIVI compliant development platform that supports the Qt Automotive Suite
https://pelux.io
MIT License
39 stars 28 forks source link

python3-watchdog_0.8.5: fix PYPI_SRC_URI #441

Closed JEderonn closed 4 years ago

JEderonn commented 4 years ago

Python3-watchdog that is a dependency of qtivi was renamed in pypi from watchdog3 to watchdog. This stops any of the automotive builds.

Fixes: AUTOSUITE-1504

Fixed in upstream thud branch but not for QtAS branch. Therefore, this fix is cherry-picked here.

martin-ejdestig commented 4 years ago

I do not think you need to mask and copy the recipe. All you need to do is override PYPI_SRC_URI in a *.bbappend.

JEderonn commented 4 years ago

I do not think you need to mask and copy the recipe. All you need to do is override PYPI_SRC_URI in a *.bbappend.

Thanks, I will change it.

pookimon commented 4 years ago

Build has been failed:

[2020-03-23T10:23:45.760Z] ERROR: python3-watchdog-native-0.8.5-r0 do_fetch: Fetcher failure for URL: 'http://files.pythonhosted.org/packages/36/48/743fa68f043bf8cab48e1fa70503a49c18ade92c543f7517af2ab3fdfaff/watchdog3-0.8.5.tar.gz'. Unable to fetch URL from any source.

[2020-03-23T10:23:45.760Z] ERROR: python3-watchdog-native-0.8.5-r0 do_fetch: Function failed: base_do_fetch

[2020-03-23T10:23:45.760Z] ERROR: Logfile of failure stored in: /workspace/pelux_yocto/build/tmp/work/x86_64-linux/python3-watchdog-native/0.8.5-r0/temp/log.do_fetch.21604

martin-ejdestig commented 4 years ago

Seems like hostname resolves to different ip:s depending on which node we build on. Some servers requres "https://" while others work with "http://".

I can wget "https://" on both stockholm and reykjavik (nodes for failing builds). But reykjavik build still failed in Docker... ?

JEderonn commented 4 years ago

I changed the URI to another option I got from @martin-ejdestig. IP is hardcoded.

pookimon commented 4 years ago

Looks like temporary solution

sashko commented 4 years ago

I believe you should keep using tags in titles, e.g. python3-watchdog: fix PYPI_SRC_URI

JEderonn commented 4 years ago

I believe you should keep using tags in titles, e.g. python3-watchdog: fix PYPI_SRC_URI

Commit message updated.

thenor commented 4 years ago

There is a fix in boot2qt for this now: https://codereview.qt-project.org/c/yocto/meta-boot2qt/+/292454/2

JEderonn commented 4 years ago

There is a fix in boot2qt for this now: https://codereview.qt-project.org/c/yocto/meta-boot2qt/+/292454/2

I know, but not on the 5.13.1 QtAS branch which PELUX manifest is based on, i.e. it cannot be found here: https://code.qt.io/cgit/yocto/meta-boot2qt.git/log/?h=5.13.1_QtAS

I have requested TCQ to merge this fix to this branch as well but no response yet.