All of lore.kernel.org
 help / color / mirror / Atom feed
* Backports gentree fail with v4.12
@ 2018-03-14  9:44 Wan-Hua Chang
  2018-03-21  8:18 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Wan-Hua Chang @ 2018-03-14  9:44 UTC (permalink / raw)
  To: backports; +Cc: chln

Hi,
 
I am using backports.git and linux-stable.git to create backports
backage. When linux-stable.git is master branch, below command is done
successfully. 
 
./gentree.py --gitdebug --clean --copy-list ./copy-list.brcmfmac
--verbose ~/linux-stable ~/output/master-backports
 
But when set the linux-stable.git version to v4.12 with below command, I
found four errors during gentree and compile output package when I skip
these errors and continue. Please suggest how to fix them. Thanks!
 
./gentree.py --gitdebug --clean --git-revision v4.12 --copy-list
./copy-list.brcmfmac --verbose ~/linux-stable ~/output/v4.12-backports
 
(1)
Get original source files from git ...
...
IOError: [Errno 2] No such file or directory:
'~/stable-v4.12-backports/compat/lib-bucket_locks.c'
 
(2)
...
Applying patch 0079-netdev-destructor/brcmfmac.patch
> patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
> Hunk #1 succeeded at 452 (offset -10 lines).
> Hunk #2 FAILED at 651.
> 1 out of 2 hunks FAILED -- saving rejects to file
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c.rej
 
(3)
...
Applying patch lib-rhashtable.patch
> patching file compat/lib-rhashtable.c
> Hunk #2 FAILED at 226.
> 1 out of 2 hunks FAILED -- saving rejects to file
> compat/lib-rhashtable.c.rej
 
(4) 
When compile the output package(v4.12-backports), below compiling error
is seen. The reason is genl_dump_check_consistent still has three
parameters in v4.12, but it has been defined as two parameters.
 
cd ~/output/v4.12-backports
make KLIB=~/linux_4.1.15 KLIB_BUILD=~/linux_4.1.15 modules

... 
~/output/v4.12-backports/net/wireless/nl80211.c: In function
'nl80211_send_regdom':
~/output/v4.12-backports/backport-include/backport/backport.h:10:31:
error: too many arguments to function
'backport_genl_dump_check_consistent'
 #define LINUX_BACKPORT(__sym) backport_ ##__sym
                               ^
...

Thanks for the project,
Winnie

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

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

* Re: Backports gentree fail with v4.12
  2018-03-14  9:44 Backports gentree fail with v4.12 Wan-Hua Chang
@ 2018-03-21  8:18 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2018-03-21  8:18 UTC (permalink / raw)
  To: Wan-Hua Chang, backports; +Cc: chln

On Wed, 2018-03-14 at 04:44 -0500, Wan-Hua Chang wrote:
>  
> ./gentree.py --gitdebug --clean --git-revision v4.12 --copy-list
> ./copy-list.brcmfmac --verbose ~/linux-stable ~/output/v4.12-backports

You can't fix that. You might be able to go back to an older backports
version, but I don't even know if we have one for 4.12.

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

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

end of thread, other threads:[~2018-03-21  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-14  9:44 Backports gentree fail with v4.12 Wan-Hua Chang
2018-03-21  8:18 ` Johannes Berg

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.