Hello Konrad,

Thank you very much!

The package is now building.
I have sent a corresponding patch.

Many greetings,
Matthias

-----Ursprüngliche Nachricht-----
Von: Konrad Weihmann <kweihm...@outlook.com> 
Gesendet: Montag, 28. Februar 2022 14:11
An: Matthias Klein <matthias.kl...@optimeas.de>; yocto@lists.yoctoproject.org; 
Tim Orling <ticot...@gmail.com>; Richard Purdie 
<richard.pur...@linuxfoundation.org>
Betreff: Re: AW: AW: [yocto] python3-smbus no longer builds - Does anyone have 
an idea?

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 <kweihm...@outlook.com>
> Gesendet: Montag, 28. Februar 2022 13:59
> An: Matthias Klein <matthias.kl...@optimeas.de>; 
> yocto@lists.yoctoproject.org
> 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 <kweihm...@outlook.com>
>> Gesendet: Montag, 28. Februar 2022 13:51
>> An: Matthias Klein <matthias.kl...@optimeas.de>; 
>> yocto@lists.yoctoproject.org
>> 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
>>>
>>>
>>>
>>> 
>>>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56320): https://lists.yoctoproject.org/g/yocto/message/56320
Mute This Topic: https://lists.yoctoproject.org/mt/89449220/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to