Can't file to patch while cooking recipe with bitbake


Zunzunegui Abad, Mario-Sergio
 

Airbus Amber

Hello all.

I receive this error when compiling a récipe with bitbake.

 

ERROR: Command Error: exit status: 1  Output:

Applying patch work-with-openssl-1.0.2.patch

can't find file to patch at input line 5

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git a/src/cryptography/hazmat/bindings/openssl/bio.py b/src/cryptography/hazmat/bindings/openssl/bio.py

|index 6cc1bcb..7e7abe7 100644

|--- a/src/cryptography/hazmat/bindings/openssl/bio.py

|+++ b/src/cryptography/hazmat/bindings/openssl/bio.py

--------------------------

No file to patch.  Skipping patch.

1 out of 1 hunk ignored

Patch work-with-openssl-1.0.2.patch does not apply (enforce with -f)

ERROR: Function failed: patch_do_patch

 

File is present but unreachable for any reason. Is there any way to change –p or –strip option for patch command in the recipe?

All ideas are welcomed.

Regards.

Sergio.

This Item has been reviewed and was determined as not listed under regulation, nor EU export controls, nor U.S. export controls. However, in the case of the item has to be resold, transferred, or otherwise disposed of to an embargoed country, to an end user of concern or in support of a prohibited end use, you may be required to obtain an export license.

Airbus has updated its Security classifications scheme. It is based on two classification levels: Airbus Amber and Airbus Red.
Both must be handled carefully and not disclosed to any other recipients than the ones mentioned into the email addresses list.

 

The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.