backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Errors using linux-4.4.y against kernel target v3.19
@ 2017-03-15 15:06 Ezequiel Garcia
  2017-03-15 19:40 ` Arend Van Spriel
  0 siblings, 1 reply; 6+ messages in thread
From: Ezequiel Garcia @ 2017-03-15 15:06 UTC (permalink / raw)
  To: backports

Hi,

I have checked out linux-4.4.y branch, and executed this:

  $ python2 gentree.py --integrate ~/repos/linux/next/
~/repos/linux/torvalds/  --clean --gitdebug --git-revision v4.4.53
--verbose

My torvalds dir is reset to v3.19. It seems it goes more or less well,
but it fails at three points:

1) Failed to process SmPL patch
collateral-evolutions/network/0027-genl-const/genl-const.cocci:

Failed to process SmPL patch
collateral-evolutions/network/0027-genl-const/genl-const.cocci
Traceback (most recent call last):
  File "gentree.py", line 1091, in <module>
    ret =3D _main()
  File "gentree.py", line 724, in _main
    logwrite=3Dlogwrite)
  File "gentree.py", line 906, in process
    apply_patches(args, "backport", source_dir, 'patches',
bpid.target_dir, logwrite)
  File "gentree.py", line 605, in apply_patches
    raise Exception('SmPL patch failed')
Exception: SmPL patch failed

Running coccinelle results in this:

[zeta@laptop ~/repos/backports]$ ./devel/pycocci
patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
~/repos/linux/torvalds/backports/
spatch --sp-file
patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
--in-place --recursive-includes --relax-include-path --use-coccigrep
--timeout 120 --dir /home/zeta/repos/linux/torvalds/backports/ -max 4
-index 0
spatch --sp-file
patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
--in-place --recursive-includes --relax-include-path --use-coccigrep
--timeout 120 --dir /home/zeta/repos/linux/torvalds/backports/ -max 4
-index 1
spatch --sp-file
patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
--in-place --recursive-includes --relax-include-path --use-coccigrep
--timeout 120 --dir /home/zeta/repos/linux/torvalds/backports/ -max 4
-index 2
spatch --sp-file
patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
--in-place --recursive-includes --relax-include-path --use-coccigrep
--timeout 120 --dir /home/zeta/repos/linux/torvalds/backports/ -max 4
-index 3
Failed to apply changes from genl-const.cocci
Specific log output from change that failed using genl-const.cocci
init_defs_builtins: /usr/lib/coccinelle/standard.h
plus: parse error:
  File "patches/collateral-evolutions/network/0027-genl-const/genl-const.co=
cci",
line 6, column 1, charpos =3D 68
  around =3D '__genl_const',
  whole content =3D +__genl_const struct genl_multicast_group

Full log using genl-const.cocci
init_defs_builtins: /usr/lib/coccinelle/standard.h
plus: parse error:
  File "patches/collateral-evolutions/network/0027-genl-const/genl-const.co=
cci",
line 6, column 1, charpos =3D 68
  around =3D '__genl_const',
  whole content =3D +__genl_const struct genl_multicast_group

2) The Makefile patch doesn't apply, namely:
integration-patches/0001-enable-backports/0001-enable-backports-built-in.pa=
tch.
The resolution was fairly easy.

3) The BACKPORT_BP_MODULES symbol is problematic:

scripts/kconfig/mconf Kconfig
backports//compat/Kconfig:57: symbol 'BACKPORT_BP_MODULES' redefines
option 'modules' already defined by symbol 'MODULES'
make[1]: *** [scripts/kconfig/Makefile:24: menuconfig] Error 1
make: *** [Makefile:543: menuconfig] Error 2

Any ideas on why I get all of these? Is it that v3.19 is not supported
by the 4.4.y branch ?

Thanks!
--=20
Ezequiel Garc=C3=ADa, VanguardiaSur
www.vanguardiasur.com.ar
--
To unsubscribe from this list: send the line "unsubscribe backports" in

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

* Re: Errors using linux-4.4.y against kernel target v3.19
  2017-03-15 15:06 Errors using linux-4.4.y against kernel target v3.19 Ezequiel Garcia
@ 2017-03-15 19:40 ` Arend Van Spriel
  2017-03-15 23:45   ` Ezequiel Garcia
  0 siblings, 1 reply; 6+ messages in thread
From: Arend Van Spriel @ 2017-03-15 19:40 UTC (permalink / raw)
  To: Ezequiel Garcia, backports

On 15-3-2017 16:06, Ezequiel Garcia wrote:
> Hi,
> 
> I have checked out linux-4.4.y branch, and executed this:
> 
>   $ python2 gentree.py --integrate ~/repos/linux/next/
> ~/repos/linux/torvalds/  --clean --gitdebug --git-revision v4.4.53
> --verbose
> 
> My torvalds dir is reset to v3.19. It seems it goes more or less well,
> but it fails at three points:
> 
> 1) Failed to process SmPL patch
> collateral-evolutions/network/0027-genl-const/genl-const.cocci:
> 
> Failed to process SmPL patch
> collateral-evolutions/network/0027-genl-const/genl-const.cocci
> 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 906, in process
>     apply_patches(args, "backport", source_dir, 'patches',
> bpid.target_dir, logwrite)
>   File "gentree.py", line 605, in apply_patches
>     raise Exception('SmPL patch failed')
> Exception: SmPL patch failed
> 
> Running coccinelle results in this:
> 
> [zeta@laptop ~/repos/backports]$ ./devel/pycocci
> patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
> ~/repos/linux/torvalds/backports/
> spatch --sp-file
> patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
> --in-place --recursive-includes --relax-include-path --use-coccigrep
> --timeout 120 --dir /home/zeta/repos/linux/torvalds/backports/ -max 4
> -index 0
> spatch --sp-file
> patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
> --in-place --recursive-includes --relax-include-path --use-coccigrep
> --timeout 120 --dir /home/zeta/repos/linux/torvalds/backports/ -max 4
> -index 1
> spatch --sp-file
> patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
> --in-place --recursive-includes --relax-include-path --use-coccigrep
> --timeout 120 --dir /home/zeta/repos/linux/torvalds/backports/ -max 4
> -index 2
> spatch --sp-file
> patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
> --in-place --recursive-includes --relax-include-path --use-coccigrep
> --timeout 120 --dir /home/zeta/repos/linux/torvalds/backports/ -max 4
> -index 3
> Failed to apply changes from genl-const.cocci
> Specific log output from change that failed using genl-const.cocci
> init_defs_builtins: /usr/lib/coccinelle/standard.h
> plus: parse error:
>   File "patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci",
> line 6, column 1, charpos = 68
>   around = '__genl_const',
>   whole content = +__genl_const struct genl_multicast_group
> 
> Full log using genl-const.cocci
> init_defs_builtins: /usr/lib/coccinelle/standard.h
> plus: parse error:
>   File "patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci",
> line 6, column 1, charpos = 68
>   around = '__genl_const',
>   whole content = +__genl_const struct genl_multicast_group
> 
> 2) The Makefile patch doesn't apply, namely:
> integration-patches/0001-enable-backports/0001-enable-backports-built-in.patch.
> The resolution was fairly easy.
> 
> 3) The BACKPORT_BP_MODULES symbol is problematic:
> 
> scripts/kconfig/mconf Kconfig
> backports//compat/Kconfig:57: symbol 'BACKPORT_BP_MODULES' redefines
> option 'modules' already defined by symbol 'MODULES'
> make[1]: *** [scripts/kconfig/Makefile:24: menuconfig] Error 1
> make: *** [Makefile:543: menuconfig] Error 2
> 
> Any ideas on why I get all of these? Is it that v3.19 is not supported
> by the 4.4.y branch ?

I honestly don't know the current state of backports integration
feature. My use-case is creating a tarball that can be built against any
target kernel.

In your case can you try it with v4.4 kernel?

Regards,
Arend
--
To unsubscribe from this list: send the line "unsubscribe backports" in

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

* Re: Errors using linux-4.4.y against kernel target v3.19
  2017-03-15 19:40 ` Arend Van Spriel
@ 2017-03-15 23:45   ` Ezequiel Garcia
  2017-03-17 10:29     ` Arend Van Spriel
  0 siblings, 1 reply; 6+ messages in thread
From: Ezequiel Garcia @ 2017-03-15 23:45 UTC (permalink / raw)
  To: Arend Van Spriel; +Cc: backports

Hey Arend,

On 15 March 2017 at 16:40, Arend Van Spriel
<arend.vanspriel@broadcom.com> wrote:
[..]
>
> I honestly don't know the current state of backports integration
> feature. My use-case is creating a tarball that can be built against any
> target kernel.
>
> In your case can you try it with v4.4 kernel?
>

Well, not surprisingly it works. Mostly because the errors I've mentioned
(except the coccinelle one) are related exclusively to kernel integration.
--=20
Ezequiel Garc=C3=ADa, VanguardiaSur
www.vanguardiasur.com.ar
--
To unsubscribe from this list: send the line "unsubscribe backports" in

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

* Re: Errors using linux-4.4.y against kernel target v3.19
  2017-03-15 23:45   ` Ezequiel Garcia
@ 2017-03-17 10:29     ` Arend Van Spriel
  2017-03-17 10:33       ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Arend Van Spriel @ 2017-03-17 10:29 UTC (permalink / raw)
  To: Ezequiel Garcia; +Cc: backports

On 16-3-2017 0:45, Ezequiel Garcia wrote:
> Hey Arend,
> 
> On 15 March 2017 at 16:40, Arend Van Spriel
> <arend.vanspriel@broadcom.com> wrote:
> [..]
>>
>> I honestly don't know the current state of backports integration
>> feature. My use-case is creating a tarball that can be built against any
>> target kernel.
>>
>> In your case can you try it with v4.4 kernel?
>>
> 
> Well, not surprisingly it works. Mostly because the errors I've mentioned
> (except the coccinelle one) are related exclusively to kernel integration.

Yeah, I meant retry kernel integration with the v4.4 kernel instead of
v4.4.53. However, I think we can safely assume kernel integration to be
broken. Not sure whether Johannes want to support it moving forward. I
think for now it has low priority.

Regards,
Arend
--
To unsubscribe from this list: send the line "unsubscribe backports" in

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

* Re: Errors using linux-4.4.y against kernel target v3.19
  2017-03-17 10:29     ` Arend Van Spriel
@ 2017-03-17 10:33       ` Johannes Berg
  2017-03-20 20:35         ` Ezequiel Garcia
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2017-03-17 10:33 UTC (permalink / raw)
  To: Arend Van Spriel, Ezequiel Garcia; +Cc: backports

On Fri, 2017-03-17 at 11:29 +0100, Arend Van Spriel wrote:
> 
> Yeah, I meant retry kernel integration with the v4.4 kernel instead
> of v4.4.53. However, I think we can safely assume kernel integration
> to be broken. Not sure whether Johannes want to support it moving
> forward. I think for now it has low priority.

I currently have no intention of working on it.

johannes
--
To unsubscribe from this list: send the line "unsubscribe backports" in

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

* Re: Errors using linux-4.4.y against kernel target v3.19
  2017-03-17 10:33       ` Johannes Berg
@ 2017-03-20 20:35         ` Ezequiel Garcia
  0 siblings, 0 replies; 6+ messages in thread
From: Ezequiel Garcia @ 2017-03-20 20:35 UTC (permalink / raw)
  To: Johannes Berg; +Cc: Arend Van Spriel, backports

On 17 March 2017 at 07:33, Johannes Berg <johannes@sipsolutions.net> wrote:
> On Fri, 2017-03-17 at 11:29 +0100, Arend Van Spriel wrote:
>>
>> Yeah, I meant retry kernel integration with the v4.4 kernel instead
>> of v4.4.53. However, I think we can safely assume kernel integration
>> to be broken. Not sure whether Johannes want to support it moving
>> forward. I think for now it has low priority.
>
> I currently have no intention of working on it.
>

Fair enough. It's not a big deal really.

Thanks guys,
--=20
Ezequiel Garc=C3=ADa, VanguardiaSur
www.vanguardiasur.com.ar
--
To unsubscribe from this list: send the line "unsubscribe backports" in

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

end of thread, other threads:[~2017-03-20 20:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 15:06 Errors using linux-4.4.y against kernel target v3.19 Ezequiel Garcia
2017-03-15 19:40 ` Arend Van Spriel
2017-03-15 23:45   ` Ezequiel Garcia
2017-03-17 10:29     ` Arend Van Spriel
2017-03-17 10:33       ` Johannes Berg
2017-03-20 20:35         ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).