mal | and by non-modified I mean directly from the mer-hybris repo | 00:00 |
---|---|---|
Umeaboy | I tried doing that and it still fails. How long ago did you build it? | 00:00 |
mal | yesterday or the day before or something like that | 00:01 |
mal | Umeaboy: so show git diff from your kernel repo and and also first commit hash from git log | 00:02 |
mal | only that way I can be sure the repo is what it should be | 00:02 |
T4 | <meierrom> mal: observing how rather long build times are, what hardware do you recommend, eg storage, CPU, RAM? | 00:06 |
mal | I built my first builds on a quite old dual-core if I remember correctly and it was still manageable | 00:13 |
T4 | <meierrom> mal: OK, that's rather low specs. My i5 should be OK to get started then. Thanks! | 00:17 |
Umeaboy | meirrom: What's good to do before building is to disable JACK and NINJA. | 00:20 |
mal | @meierrom what kind of computer do you have? | 00:26 |
T4 | <meierrom> Umeaboy: not sure I'm getting you. I shouldn't play games while building? | 00:26 |
T4 | <meierrom> mal: I have an i5 laptop with 6gb ram and 500gb disk storage. | 00:29 |
mal | should be fine | 00:30 |
mal | I build on i5 with 16 GB of RAM | 00:31 |
mal | only think you need is enough disk space, depending on android base you use | 00:31 |
mal | for example my aosp6 sources and build takes about 40 GB, hybris-15.1 is 64 GB | 00:33 |
T4 | <meierrom> mal: I will likely start with a few test builds, eg for hammerhead, mido or fp2. | 00:34 |
T4 | <meierrom> mal: I assume using a USB external hd is a no go? | 00:36 |
Umeaboy | Weird. I just did git reset --hard HEAD again and started building..... It has passed 60% now. | 00:42 |
T4 | <meierrom> Umeaboy: Did a little research on Jack and Ninja. I'm getting it now. Thanks for the advice! | 00:47 |
Umeaboy | 90% built now. | 00:53 |
Umeaboy | :) | 00:53 |
Umeaboy | mal: This time it built successfully. | 01:19 |
mal | Umeaboy: so I was correct all the time :) | 01:20 |
mal | @meierrom I used to build on USB disk, it's just slower but doable | 01:21 |
Umeaboy | mal: Yeah. | 01:21 |
Umeaboy | Would iot be OK to boot it using fastboot boot boot.img or do I need more? | 01:22 |
mal | that is just the kernel | 01:22 |
mal | and it's hybris-boot.img | 01:22 |
mal | just follow the hadk, there are many more steps | 01:23 |
Umeaboy | Ok. | 01:24 |
Umeaboy | mal: The exclamation mark means that the module will only be built? | 01:56 |
Umeaboy | For example: CONFIG_FW_LOADER_USER_HELPER | 01:56 |
mal | https://github.com/mer-hybris/mer-kernel-check/blob/master/mer_verify_kernel_config#L7 | 01:59 |
mal | in there ! means it's not required | 02:00 |
*** Gizmokid2010 is now known as Gizmokid2005 | 02:46 | |
*** ChanServ sets mode: +v T4 | 02:49 | |
T4 | <BusterBg_18> Quick question, is the method to build on obs from faq still valid? | 03:16 |
r0kk3rz | sure | 08:32 |
r0kk3rz | the process hasnt really changed ever | 08:32 |
*** ChanServ sets mode: +v T4 | 08:34 | |
r0kk3rz | btw RELEASE has been bumped to 3.0.1.11 on gitlab-ci | 11:34 |
r0kk3rz | although we should wait for target on merobs | 11:35 |
T4 | <abhishek_0> Anything new with this release? | 11:44 |
r0kk3rz | check the notes | 11:45 |
r0kk3rz | apparently CONFIG_NETFILTER_XT_MATCH_CONNTRACK needs to be enabled now if you dont already | 11:56 |
mal | I think quite many devices might have it already, but should be enabled | 12:00 |
r0kk3rz | yeah mine does at least | 12:00 |
r0kk3rz | mal: did you talk with sdl2 people? | 12:01 |
mal | r0kk3rz: not yet | 12:04 |
mal | r0kk3rz: their IRC channel doesn't seem to have much active developers so I'll have to post either on their forums or bugzilla | 12:05 |
r0kk3rz | oh ok | 12:09 |
r0kk3rz | its obviously someones hobby project that everyone adopted | 12:10 |
T4 | <srmane4444> Quote from Marco: I get this, "No android-base.cfg is found in these paths: ''", … I also ran into this error. The build cannot find the path to this config in the kernel. | 12:21 |
*** ahjolinna_ is now known as ahjolinna | 12:29 | |
r0kk3rz | its obviously someones hobby project that everyone adopted | 13:56 |
*** ChanServ sets mode: +v T4 | 14:29 | |
kraaijmakers | Hey, do I need arm64 or aarch64 for PORT_ARCH if I am trying to port SailfishOS to OnePlus 6? | 16:48 |
r0kk3rz | neither | 16:49 |
r0kk3rz | armv7hl | 16:49 |
kraaijmakers | oh | 16:49 |
kraaijmakers | Thanks, | 16:49 |
mal | kraaijmakers: which android base? lineage 15.1? | 16:58 |
kraaijmakers | Yep | 16:58 |
kraaijmakers | mal: I am just trying though, don't have any real experience using kernel stuff | 17:00 |
mal | kernel changes are easier part of porting usually | 17:05 |
kraaijmakers | oh, well, i have knowledge about Linux usage and setup, so I hope I could make this work, or atleast a bit | 17:06 |
mal | the kernel config checker will tell what to change (and in case you get confused about certain of those changes as hint do not modify CONFIG_AUDIT, use CONFIG_SECURITY_SELINUX_BOOTPARAM instead) | 17:07 |
kraaijmakers | yeah, I seen it before when I did a gentoo installation on some hardware but I meant like getting hardware to work which isn't supported. That's something I can't do haha | 17:08 |
Benclark006 | hi, when i try to make my kernel, i get all these errors: https://paste.gnome.org/pcpfxehc3 | 18:54 |
Benclark006 | here's the full log: https://paste.gnome.org/pfe2mpb65 | 18:54 |
Benclark006 | sorry if this is obvious but i haven't found a fix so far | 18:55 |
mal | Benclark006: what kernel are you building now? didn't you already built it before? | 19:25 |
Benclark006 | mal: i had to rebuild it because the drive in my old pc failed so i had to get a new one | 19:51 |
Benclark006 | and i didn't get a chance to back everything up | 19:51 |
Benclark006 | i'm building it for the huawei y6 | 19:54 |
mal | Benclark006: so what have you done differently this time? | 20:02 |
Benclark006 | mal: i have no clue | 20:06 |
mal | are the kernel changes looking ok? pastebin git diff from kernel repo | 20:07 |
kraaijmakers | Is there anyone who has setup mountpoints on a phone with treble? and if yes what is recommended to do? | 20:07 |
mal | yes, what is the problem? | 20:08 |
kraaijmakers | well, how to start is actually the problem, because I don't know if I need to set for example boot_a and boot_b or only boot_a or something? | 20:09 |
Benclark006 | mal: i'm building for a different device, i don't remember getting as far as the kernel build on my old pc for this one | 20:10 |
Benclark006 | wait maybe i did | 20:11 |
Benclark006 | i think i did | 20:12 |
Benclark006 | but i don't remember doing anything different this time | 20:12 |
r0kk3rz | kraaijmakers: i think you just pick one, and use that | 20:12 |
kraaijmakers | Okay thanks r0kk3rz | 20:13 |
r0kk3rz | at least that seems to be what XA2 devices are doing | 20:13 |
*** ChanServ sets mode: +v T4 | 20:13 | |
kraaijmakers | ah okay! :) | 20:13 |
mal | Benclark006: which device repos do you use for that? | 20:28 |
T4 | <BusterBg_18> mal so how do I get maintainership for xiaomi redmi note 3(kenzo) currently everything besides FM Radio is working on my 3.0.0.8 port | 20:54 |
Benclark006 | mal: i managed to fix /that/ error | 21:09 |
mal | Benclark006: what caused it? | 21:09 |
Benclark006 | i broke something when i ran repo sync so i just reinstalled repo and reran sync then it worked a charm | 21:09 |
mal | @BusterBg_18 who was the original developer of that? | 21:09 |
T4 | <BusterBg_18> Akhil Kalwakurthy | 21:12 |
Benclark006 | hi again, i'm getting this error when i try to make hybris: https://paste.gnome.org/pnsa8j0pp | 21:13 |
mal | is there any way to contact him? | 21:13 |
Benclark006 | full log: https://paste.gnome.org/pc2wrrisx | 21:13 |
T4 | <BusterBg_18> Yes, I message him on telegram whenever I had an issue while building | 21:14 |
mal | @BusterBg_18 so where exactly do you want the permissions, github, OBS? | 21:15 |
T4 | <BusterBg_18> OBS for the whole OTA thing | 21:16 |
mal | do you have account for OBS (i.e. mer bugzilla account) | 21:16 |
T4 | <BusterBg_18> Nope | 21:20 |
mal | the follow the instructions here to get an account https://bugs.merproject.org/ | 21:23 |
mal | *then | 21:24 |
kraaijmakers | I fixed the 'error: 'libsf_compat_layer'' but now I am stuck on 'ninja: error: 'libhwc2_compat_layer' | 21:42 |
mal | kraaijmakers: have you cloned libhybris to some suitable place, either external/ or hybris/mw/? git clone --recurse-submodules https://github.com/mer-hybris/libhybris.git -b android8-initial | 21:53 |
mal | kraaijmakers: how did ou fix the first error? | 21:53 |
mal | probably not the correct way | 21:54 |
kraaijmakers | git clone https://github.com/libhybris/libhybris in the ~/hadk/external folder | 21:55 |
mal | kraaijmakers: the branch needs to be android8-initial if you build for lineage 15.1 | 21:56 |
kraaijmakers | OOh yeah | 21:56 |
kraaijmakers | thanks for reminding :) I totally forgot about that haha | 21:56 |
mal | kraaijmakers: so remove the one you cloned and run my command | 21:56 |
kraaijmakers | yes will do | 21:56 |
kraaijmakers | in the external folder too ? | 21:56 |
mal | either place works | 21:57 |
T4 | <BusterBg_18> All right I have sended the email to get the account, now just have to wait for a response | 21:58 |
kraaijmakers | It's compiling, thanks mal | 21:59 |
kraaijmakers | time for some food, I was so focussed I forgot to eat something! thanks again for the help :) | 21:59 |
Umeaboy | Hi! | 22:12 |
Umeaboy | mal: I rebuilt the kernel with the errors and warnings fixed, but they still exist. | 22:12 |
Umeaboy | Is that a false positive? | 22:12 |
T4 | <adampigg> umeaboy, perhaps get a t-shirt or a mug https://www.keepcalmandcarryon.com/buy-keep-calm-variations-and-memes/?shortcode=skGToclGp | 22:27 |
Umeaboy | adampigg: Good idea, but I already checked my kernel defconfig. | 22:28 |
piggz | Umeaboy: which are still in error exactly? and can you link to your kernel? | 22:29 |
Umeaboy | The problem is that it still rebuilds with the same problems as I was noticed before I fixed those lines. | 22:29 |
Umeaboy | piggz: Here's the content of my kernel defconfig: https://pastebin.com/5rSvn4z4 | 22:32 |
piggz | kernel source/branch, and errors | 22:33 |
Umeaboy | piggz: I'm building for the Sony Xperia XZ Premium (G8142) a.k.a maple so it's the hybris aosp kernel 4.4. | 22:39 |
Umeaboy | Here's the mer check kernel output even after building: https://pastebin.com/irrdfdMw | 22:44 |
Umeaboy | If you check my defconfig you'll see that I've changed them accordingly. | 22:44 |
mal | Umeaboy: are you sure you fixed correct defconfig and didn't do anything else after that except run make hybris-hal | 22:48 |
Umeaboy | Yes, I'm absolutely sure. | 22:48 |
mal | Umeaboy: and you modified defconfig not .config | 22:49 |
mal | just making sure | 22:49 |
Umeaboy | Yes. | 22:49 |
mal | show the defconfig | 22:49 |
Umeaboy | mal: https://pastebin.com/5rSvn4z4 | 22:50 |
mal | Umeaboy: if you look at the first error you get CONFIG_PROC_FS, that is not in defconfig | 22:52 |
mal | same with the others | 22:53 |
mal | Umeaboy: what is exact filename of that defconfig? | 22:58 |
Umeaboy | aosp_yoshino_maple_defconfig | 22:58 |
mal | Umeaboy: so why are some of the needed flags not added to defconfig? | 23:00 |
Umeaboy | I checked every line now and rebuilding.... | 23:15 |
Umeaboy | I'm on my way out for a while while it builds. | 23:15 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!