All of lore.kernel.org
 help / color / mirror / Atom feed
* Backports Integration Error during patch!
@ 2015-08-26 19:23 Ramprasad Vempati
  2015-08-31 17:31 ` Ramprasad Vempati
  0 siblings, 1 reply; 3+ messages in thread
From: Ramprasad Vempati @ 2015-08-26 19:23 UTC (permalink / raw)
  To: backports

I'm trying to integrate Linux kernel 4.1.1 backports into 3.18.13 Kernel.

I've done below steps:

1.       Created a top level directory: “backports-integration” .

2.       git clone
git://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git

3.       cd backports

4.       git checkout v4.1.1-1

5.       cd ..

6.       git clone
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-next  <<<<<<<<<<<<<<< This is created as I though kernel sources
for 4.1.1 is required

7.       cd linux-next

8.       git checkout v4.1.1

9.       cd ..

10.   git clone
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

11.   cd linux-try

12.   git checkout v3.18.13

13.   cd ..

14.   cd backports

15.   Executed “./gentree.py --integrate --clean --gitdebug
--git-revision v4.1.1
/root/Desktop/ramprasad/backports-integration/linux-next/
/root/Desktop/ramprasad/backports-integration/linux-try/”

I've ensured there are no local changes by creating multiple git
clones and dong the above steps. So no local changes are present.


For the above command, I get below error:


root@ramprasad-11ac-lap:~/Desktop/ramprasad/backports-integration/backports#
./gentree.py --integrate --clean --gitdebug --git-revision v4.1.1
/root/Desktop/ramprasad/backports-integration/linux-next/
/root/Desktop/ramprasad/backports-integration/linux-try/
Get original source files from git ...
Applying patches from patches to
/root/Desktop/ramprasad/backports-integration/linux-try/backports/ ...
Modify Kconfig tree ...
Rewrite Makefiles and Kconfig files ...
Applying patches from integration-patches/ to
/root/Desktop/ramprasad/backports-integration/linux-try/ ...
Failed to apply changes from
001-enable-backports/0001-enable-backports-built-in.patch
> patching file Makefile
> Hunk #1 succeeded at 545 (offset 3 lines).
> Hunk #2 FAILED at 821.
> Hunk #3 succeeded at 901 (offset 63 lines).
> 1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
Traceback (most recent call last):
  File "./gentree.py", line 1091, in <module>
    ret = _main()
  File "./gentree.py", line 724, in _main
    logwrite=logwrite)
  File "./gentree.py", line 1078, in process
    bpid.project_dir, logwrite)
  File "./gentree.py", line 552, in apply_patches
    raise Exception('Patch failed')
Exception: Patch failed
root@ramprasad-11ac-lap:~/Desktop/ramprasad/backports-integration/backports
--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Backports Integration Error during patch!
  2015-08-26 19:23 Backports Integration Error during patch! Ramprasad Vempati
@ 2015-08-31 17:31 ` Ramprasad Vempati
  2015-08-31 18:05   ` Pierre-Louis Bossart
  0 siblings, 1 reply; 3+ messages in thread
From: Ramprasad Vempati @ 2015-08-31 17:31 UTC (permalink / raw)
  To: backports

Hi,

Can someone answer my question?

Thanks in advance.

Ram

On Thu, Aug 27, 2015 at 12:53 AM, Ramprasad Vempati
<ramprasad.vempati@gmail.com> wrote:
> I'm trying to integrate Linux kernel 4.1.1 backports into 3.18.13 Kernel.
>
> I've done below steps:
>
> 1.       Created a top level directory: “backports-integration” .
>
> 2.       git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git
>
> 3.       cd backports
>
> 4.       git checkout v4.1.1-1
>
> 5.       cd ..
>
> 6.       git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> linux-next  <<<<<<<<<<<<<<< This is created as I though kernel sources
> for 4.1.1 is required
>
> 7.       cd linux-next
>
> 8.       git checkout v4.1.1
>
> 9.       cd ..
>
> 10.   git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
>
> 11.   cd linux-try
>
> 12.   git checkout v3.18.13
>
> 13.   cd ..
>
> 14.   cd backports
>
> 15.   Executed “./gentree.py --integrate --clean --gitdebug
> --git-revision v4.1.1
> /root/Desktop/ramprasad/backports-integration/linux-next/
> /root/Desktop/ramprasad/backports-integration/linux-try/”
>
> I've ensured there are no local changes by creating multiple git
> clones and dong the above steps. So no local changes are present.
>
>
> For the above command, I get below error:
>
>
> root@ramprasad-11ac-lap:~/Desktop/ramprasad/backports-integration/backports#
> ./gentree.py --integrate --clean --gitdebug --git-revision v4.1.1
> /root/Desktop/ramprasad/backports-integration/linux-next/
> /root/Desktop/ramprasad/backports-integration/linux-try/
> Get original source files from git ...
> Applying patches from patches to
> /root/Desktop/ramprasad/backports-integration/linux-try/backports/ ...
> Modify Kconfig tree ...
> Rewrite Makefiles and Kconfig files ...
> Applying patches from integration-patches/ to
> /root/Desktop/ramprasad/backports-integration/linux-try/ ...
> Failed to apply changes from
> 001-enable-backports/0001-enable-backports-built-in.patch
>> patching file Makefile
>> Hunk #1 succeeded at 545 (offset 3 lines).
>> Hunk #2 FAILED at 821.
>> Hunk #3 succeeded at 901 (offset 63 lines).
>> 1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
> Traceback (most recent call last):
>   File "./gentree.py", line 1091, in <module>
>     ret = _main()
>   File "./gentree.py", line 724, in _main
>     logwrite=logwrite)
>   File "./gentree.py", line 1078, in process
>     bpid.project_dir, logwrite)
>   File "./gentree.py", line 552, in apply_patches
>     raise Exception('Patch failed')
> Exception: Patch failed
> root@ramprasad-11ac-lap:~/Desktop/ramprasad/backports-integration/backports
--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Backports Integration Error during patch!
  2015-08-31 17:31 ` Ramprasad Vempati
@ 2015-08-31 18:05   ` Pierre-Louis Bossart
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre-Louis Bossart @ 2015-08-31 18:05 UTC (permalink / raw)
  To: Ramprasad Vempati, backports

On 8/31/15 12:31 PM, Ramprasad Vempati wrote:
> Hi,
>
> Can someone answer my question?
>
> Thanks in advance.
>
> Ram
>
> On Thu, Aug 27, 2015 at 12:53 AM, Ramprasad Vempati
> <ramprasad.vempati@gmail.com> wrote:
>> I'm trying to integrate Linux kernel 4.1.1 backports into 3.18.13 Kernel.
>>
>> I've done below steps:
>>
>> 1.       Created a top level directory: “backports-integration” .
>>
>> 2.       git clone
>> git://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git
>>
>> 3.       cd backports
>>
>> 4.       git checkout v4.1.1-1
>>
>> 5.       cd ..
>>
>> 6.       git clone
>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
>> linux-next  <<<<<<<<<<<<<<< This is created as I though kernel sources
>> for 4.1.1 is required
>>
>> 7.       cd linux-next
>>
>> 8.       git checkout v4.1.1
>>
>> 9.       cd ..
>>
>> 10.   git clone
>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
>>
>> 11.   cd linux-try
>>
>> 12.   git checkout v3.18.13
>>
>> 13.   cd ..
>>
>> 14.   cd backports
>>
>> 15.   Executed “./gentree.py --integrate --clean --gitdebug
>> --git-revision v4.1.1
>> /root/Desktop/ramprasad/backports-integration/linux-next/
>> /root/Desktop/ramprasad/backports-integration/linux-try/”
>>
>> I've ensured there are no local changes by creating multiple git
>> clones and dong the above steps. So no local changes are present.
>>
>>
>> For the above command, I get below error:
>>
>>
>> root@ramprasad-11ac-lap:~/Desktop/ramprasad/backports-integration/backports#
>> ./gentree.py --integrate --clean --gitdebug --git-revision v4.1.1
>> /root/Desktop/ramprasad/backports-integration/linux-next/
>> /root/Desktop/ramprasad/backports-integration/linux-try/
>> Get original source files from git ...
>> Applying patches from patches to
>> /root/Desktop/ramprasad/backports-integration/linux-try/backports/ ...
>> Modify Kconfig tree ...
>> Rewrite Makefiles and Kconfig files ...
>> Applying patches from integration-patches/ to
>> /root/Desktop/ramprasad/backports-integration/linux-try/ ...
>> Failed to apply changes from
>> 001-enable-backports/0001-enable-backports-built-in.patch
>>> patching file Makefile
>>> Hunk #1 succeeded at 545 (offset 3 lines).
>>> Hunk #2 FAILED at 821.
>>> Hunk #3 succeeded at 901 (offset 63 lines).
>>> 1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
>> Traceback (most recent call last):
>>    File "./gentree.py", line 1091, in <module>
>>      ret = _main()
>>    File "./gentree.py", line 724, in _main
>>      logwrite=logwrite)
>>    File "./gentree.py", line 1078, in process
>>      bpid.project_dir, logwrite)
>>    File "./gentree.py", line 552, in apply_patches
>>      raise Exception('Patch failed')
>> Exception: Patch failed
>> root@ramprasad-11ac-lap:~/Desktop/ramprasad/backports-integration/backports


I had the same issue, see patch in my earlier email today.
--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-31 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26 19:23 Backports Integration Error during patch! Ramprasad Vempati
2015-08-31 17:31 ` Ramprasad Vempati
2015-08-31 18:05   ` Pierre-Louis Bossart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.