Re: python3-smbus no longer builds - Does anyone have an idea?


Konrad Weihmann <kweihmann@...>
 

Hi Matthias,

you're right :(

PYPA_WHEEL = "${S}/py-smbus/dist/smbus-*-*.whl"

finally does it

@Tim @Richard
PYPA_WHEEL doesn't respect SETUPTOOLS_SETUP_PATH, which might be another issue to fix

BR
Konrad

On 28.02.22 14:04, Matthias Klein wrote:
Hello Konrad,
unfortunately it still does not build:
ERROR: smbus-*-*.whl is not a valid wheel filename.
Best regards,
Matthias
-----Urspr√ľngliche Nachricht-----
Von: Konrad Weihmann <kweihmann@...>
Gesendet: Montag, 28. Februar 2022 13:59
An: Matthias Klein <matthias.klein@...>; yocto@...
Betreff: Re: AW: [yocto] python3-smbus no longer builds - Does anyone have an idea?
On 28.02.22 13:56, Matthias Klein wrote:
Hello Konrad,

Thanks for the quick feedback.

Have you been able to build the package with the change?
I get a similar error with it:
Dang - that's the second issue being open in this series...


ERROR: smbus-4.3-*.whl is not a valid wheel filename.
Try
PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/smbus-*-*.whl"
instead - and it should really work


Best reagrds,
Matthias

-----Urspr√ľngliche Nachricht-----
Von: Konrad Weihmann <kweihmann@...>
Gesendet: Montag, 28. Februar 2022 13:51
An: Matthias Klein <matthias.klein@...>; yocto@...
Betreff: Re: [yocto] python3-smbus no longer builds - Does anyone have an idea?

Hi Matthias,

this is cause by merged PEP-517 changes.
To make it build again just inject

PIP_INSTALL_PACKAGE = "smbus"

into the recipe or a bbappend.
Mainly the python3-prefix of the recipe, makes the name guessing fail, I suspect patches to be incoming soon

BR
Konrad

On 28.02.22 13:45, Matthias Klein wrote:
Hello,

the python3-smbus package no longer builds.

The install step ends with the following error message:

ERROR: python3_smbus-4.3-*.whl is not a valid wheel filename.

Does anyone have an idea what is the cause?

Many greetings,

Matthias



Join yocto@lists.yoctoproject.org to automatically receive all group messages.