Bug 12121 - PyQt5.QtSerialPort and other modules not being built.
Summary: PyQt5.QtSerialPort and other modules not being built.
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2019.05.1
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-18 19:45 UTC by Sahaj Sarup
Modified: 2019-12-26 20:05 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sahaj Sarup 2019-08-18 19:45:44 UTC
when enabling python-pyqt5, many modules like PyQt5.QtSerialPort don't get built because python-pt5 only has qt5base as dependencies.

So even if qt5serialport is enabled, the python module gets built first and fails to find qtserialport installed, as reported by this error:

Project ERROR: Unknown module(s) in QT: serialport

Test:

A) Setup a regular buildroot build with python-qt5 and qt5 and qt5serialport enabled. The error pops up.

B) Make clean. Run make qtserialport and then build python-qt5, and now the serialport modules get built.
Comment 1 Giulio Benetti 2019-12-20 11:54:14 UTC
Hi Sahaj,

this patch should fix that bug:
https://patchwork.ozlabs.org/patch/1151846/

Can you give a try a report if it works?

Thanks
Best regards
Giulio Benetti
Comment 2 Thomas Petazzoni 2019-12-26 20:05:59 UTC
Thanks for the bug report. This has been fixed in commit https://git.buildroot.org/buildroot/commit/?id=2320dec34c87d28ab7ab3f445e3f6e429023f01f.