Items with no label
3335 Discussions

can't patch librealsense-2.10.2

ameln3
Beginner
1,729 Views

I was trying to patch librealsense-2.10.2 on Ubuntu using ./scripts/patch-realsense-ubuntu-xenial.sh

and has got the following error:

patching file drivers/media/usb/uvc/uvcvideo.h

Hunk # 1 FAILED at 164.

Hunk # 2 succeeded at 205 (offset 20 lines).

1 out of 2 hunks FAILED -- saving rejects to file drivers/media/usb/uvc/uvcvideo.h.rej

I think the Ubuntu kernel was updated recently????

my uname -r:

4.13.0-45-generic

Thank you.

0 Kudos
5 Replies
idata
Employee
744 Views

Hello andreymath,

 

 

 

Thank you for your interest in the Intel RealSense Technology.

 

Can you please tell me a bit more about your project? What are you trying to accomplish?

 

Are you following a specific guide?

 

 

Thank you very much in advance.

 

 

Regards,

 

Casandra

 

0 Kudos
ameln3
Beginner
744 Views

Hi Casanda!

I am trying to install RealSense and to use on Ubuntu 16.04. I was following instructions here:

https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md# video4linux-backend librealsense/installation.md at master · IntelRealSense/librealsense · GitHub

and the bash script ./scripts/patch-realsense-ubuntu-odroid.sh

gave the error described earlier.

0 Kudos
idata
Employee
744 Views

Hello AndreyMath,

 

 

Thank you for the details provided.

 

 

I found a community thread in which several customers reported the same query: https://github.com/IntelRealSense/librealsense/issues/1493 https://github.com/IntelRealSense/librealsense/issues/1493

You can see in one of the posts that one way to fix it is to add cp debian/scripts/retpoline-extract-one scripts/ubuntu-retpoline-extract-one after line 85. Normally this copying should be done in one of the build rules of ubuntu-xenial-hwe,

 

 

Let me know if this is useful to you.

 

 

Regards,

 

Casandra

 

0 Kudos
idata
Employee
744 Views

Hello AndreyMath,

 

 

Following up on my previous E-mail.

 

Was the information provided useful?

 

Is there anything further I can assist you with?

 

 

Regards,

 

Casandra
0 Kudos
ameln3
Beginner
744 Views
0 Kudos
Reply