Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] rtl8812au_aircrack-ng fails to build with kernel 5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Elleni
l33t
l33t


Joined: 23 May 2006
Posts: 869

PostPosted: Tue Mar 05, 2019 10:24 pm    Post subject: [solved] rtl8812au_aircrack-ng fails to build with kernel 5 Reply with quote

Any experienced user, that could tell why this ebuild from pentoo overlay does not build with mentioned kernel? Can this easily be fixed, or should I file a bug https://github.com/aircrack-ng/rtl8812au/issues?

It does successfully build with kernels =<4.20.14 though.

build.log http://dpaste.com/3JG6ZXW


Last edited by Elleni on Wed Mar 06, 2019 11:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22153
Location: here

PostPosted: Wed Mar 06, 2019 8:13 am    Post subject: Reply with quote

It seems already fixed upstream, see https://github.com/aircrack-ng/rtl8812au/blob/v5.2.20/os_dep/linux/rtw_android.c#L627
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Elleni
l33t
l33t


Joined: 23 May 2006
Posts: 869

PostPosted: Wed Mar 06, 2019 11:38 pm    Post subject: Reply with quote

Hey fedeliallalinea, thanks for that info. That's good news :)

I was able to compile it while learning little bit about ebuilds :)

What I did was replacing the file rtw_android.c in /usr/portage/distfiles/rtl8812au_aircrack-ng-5.2.20_p20190107.tar.gz
Then I added pkg_nofetch according this example
https://devmanual.gentoo.org/ebuild-writing/functions/pkg_nofetch/index.html
I then removed Manifest in local overlay and created a new one.

And it compiled fine. Finally filled a bug @pentoo
Back to top
View user's profile Send private message
Elleni
l33t
l33t


Joined: 23 May 2006
Posts: 869

PostPosted: Sun Mar 31, 2019 11:51 pm    Post subject: Reply with quote

Edit to add, new ebuild was published on pentoo shortly after I had created bump request.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum