*** ChanServ sets mode: +v T4 | 02:43 | |
*** ChanServ sets mode: +v T4 | 08:02 | |
Benclark006 | Hi, when i run build packages, it's not using the wrong model name, how do I change that? | 10:40 |
---|---|---|
mal | what do you mean? | 10:40 |
Benclark006 | when i run build_packages.sh it returns Fatal: 'rpm/droid-hal-hammerhead.spec' doesn't exist (and could not be made from a yaml) | 10:41 |
Benclark006 | even though echo $DEVICE returns mako | 10:42 |
T4 | <It_sMike> mal I just reinstall my platform sdk and now face with this problem while building with mic : https://paste.ubuntu.com/p/F4kMJ39d7N/ , guess the problem cames from mer tools | 10:43 |
Benclark006 | turns out i just screwed up my environment variables, it's working now | 10:48 |
mal | Benclark006: but you are not building for hammerhead | 10:48 |
Benclark006 | correct | 10:48 |
mal | Benclark006: so what did you do to break it? | 10:49 |
Benclark006 | i have no clue lol | 10:49 |
Benclark006 | but i just redid chapter 4.1 and it works neato now | 10:49 |
mal | @It_sMike what is trying to install? | 10:51 |
T4 | <It_sMike> Installing nothing! just want to build image with mic and it returns me this error... | 10:51 |
Benclark006 | ok so when i run build_packages.sh it get Fixing mount-points for device mako | 10:52 |
Benclark006 | sed: can't read tmp/units/*: No such file or directory | 10:52 |
Benclark006 | error: Bad exit status from /var/tmp/rpm-tmp.niss6I (%build) | 10:52 |
Benclark006 | here's my fixup mountpoints https://paste.gnome.org/pbmdh3dne | 10:52 |
mal | Benclark006: did you properly run build_packages.sh? | 10:58 |
mal | I mean make hybris-hal also | 10:59 |
mal | before that | 10:59 |
Benclark006 | i think so | 10:59 |
T4 | <It_sMike> Fixed... if everyone face with this problem while building image ( with mic ) make sure that you are using last version of platform sdk. | 11:12 |
mal | ah | 11:16 |
lbt | PSA Mer git is going down for an upgrade | 11:23 |
T4 | <adampigg> Lbt, will include 3.0.1? | 12:09 |
r0kk3rz | probably not | 12:10 |
lbt | not | 12:14 |
* lbt goes to check if that's on public release yet | 12:15 | |
r0kk3rz | still ea afaik | 12:16 |
*** ChanServ sets mode: +v T4 | 14:16 | |
mal | piggz: I think I figured out a clean way to fix the SDL crash issue | 16:12 |
piggz | mal: go on | 16:22 |
piggz | show me the code :) | 16:23 |
piggz | its nice to understand these things | 16:23 |
mal | piggz: just a moment | 16:29 |
mal | piggz: https://git.merproject.org/mal/libsdl/blob/update-test209/rpm/sdl2-Don-t-register-the-same-output-at-each-geometry-or-m.patch | 16:33 |
mal | piggz: so the issue was that the display variable was provided to wayland as the user data but that was not the same pointer that is actually reallocated by SDL_AddVideoDisplay so any subsequent calls to any of the callbacks would cause a crash | 16:35 |
mal | piggz: so basically the user data pointwr provided to wayland was freed which is not good | 16:36 |
piggz | mal: great, so this will bring upgraded wayland to sfos? | 16:50 |
mal | piggz: hopefully yes | 16:54 |
mal | piggz: I need to ask from SDL people if they think that is correct | 16:54 |
mal | piggz: argh, who uses "index = _this->num_displays++;" | 17:00 |
mal | to operator orders are always difficult | 17:01 |
piggz | :) | 17:06 |
r0kk3rz | yep | 17:13 |
mal | piggz: does that patch seem logical to you? | 17:15 |
mal | piggz: for reference this is how adding display is done https://github.com/SDL-mirror/SDL/blob/master/src/video/SDL_video.c#L603 | 17:16 |
piggz | mal: is sdl_zero needed if display is on the stack not the heap? | 17:27 |
mal | piggz: hmm, not sure | 17:29 |
Benclark006 | Hi, so when I build, I get this here error: https://paste.gnome.org/pc86o9vfs . Here's my mkbootimg.mk: https://paste.gnome.org/pluvymeqb | 18:07 |
lbt | PSA: Mer git is back | 18:53 |
kimmoli | meanwhile https://www.youtube.com/watch?v=PfsnuMmTqJ4 | 18:59 |
piggz | Benclark006: that isnt a full output is it? | 18:59 |
Benclark006 | https://paste.gnome.org/pgpenpjir | 19:00 |
Benclark006 | that should be everything | 19:00 |
mal | Benclark006: are you building 14.1 now? | 19:00 |
Benclark006 | 10.1 | 19:01 |
Benclark006 | becuase there's a bunch of stuff pre-made for it | 19:01 |
Benclark006 | so i thought it was my best bet | 19:01 |
mal | oh, you probably shouldn't use that, it would make life more complicated | 19:01 |
Benclark006 | oh, ok | 19:02 |
mal | for example camera and stuff would probably be pain in 10.1 | 19:02 |
mal | if your device has 14.1 images available then that would be my suggestion | 19:02 |
mal | Benclark006: last time anyone built 10.1 was probably years ago | 19:03 |
Benclark006 | i guess | 19:04 |
mal | piggz: now I added also display orientation handling to SDL when using wayland backend | 19:11 |
piggz | mal: feature complete then! you have a game engine using htat dont you? | 19:20 |
piggz | ive got a weird algorithm to implement for sleep detection | 19:21 |
mal | piggz: I haven't decided if I should use SDL backend for scummvm or the Qt backend I made for it | 19:23 |
mal | piggz: the new patch https://git.merproject.org/mal/libsdl/blob/update-test209/rpm/sdl2-add-support-for-orientation-in-wayland.patch | 20:08 |
mal | I need to test that on some device with landscape display to make sure the conditions are correct | 20:09 |
Benclark006 | hi again, https://github.com/LineageOS/android_kernel_lge_mako doesn't have a lineage-14.1 branch | 20:09 |
Benclark006 | is there a mirror for it? | 20:09 |
mal | Benclark006: there is the old cyanogenmod repo | 20:15 |
Benclark006 | I just thought of that, i'll have a look | 20:16 |
mal | Benclark006: wait | 20:16 |
mal | Benclark006: this is the lineage repo for mako kernel https://github.com/LineageOS/lge-kernel-mako different name than for 15.1 | 20:17 |
Benclark006 | oh, great | 20:17 |
Benclark006 | thanks :) | 20:17 |
*** ChanServ sets mode: +v T4 | 20:57 | |
Umeaboy | I need help with the hello world script because it gives me this error: sb2: Error: Invalid target specified, aborting. | 21:28 |
Umeaboy | I did exactly as it said in the HADK. | 21:29 |
r0kk3rz | the error isnt obvious enough? | 21:30 |
r0kk3rz | invalid target, yo target name is wrong | 21:31 |
Umeaboy | Where do I change it? | 21:31 |
Umeaboy | In hadk.env? | 21:31 |
r0kk3rz | no | 21:32 |
r0kk3rz | in the sb2 command | 21:32 |
r0kk3rz | the -t flag is the target name | 21:32 |
Umeaboy | r0kk3rz: As you can see here it didn't make any difference changing the line: https://pastebin.com/GzbZ12T8 | 21:34 |
mal | did you name the the target correctly when adding the target, the default commands in wiki use different naming | 21:36 |
r0kk3rz | but what is the name of the target sb2 knows about | 21:37 |
mal | sdk-assistant list can used to list the existing targets | 21:37 |
r0kk3rz | -t should tab complete | 21:37 |
Umeaboy | sb2 -t and pressing tab button gives me this: | 21:38 |
Umeaboy | /home/kristoffer/.scratchbox2 missing, create some targets with sb2-init! | 21:38 |
r0kk3rz | sooooo you have no targets | 21:39 |
Umeaboy | As that page told me don't have to install any targets yet I left it be. | 21:39 |
r0kk3rz | yeah read it again, you need targets to do anything with sb2 | 21:39 |
Umeaboy | OK. Creating the targets now then. | 21:40 |
Umeaboy | sb2 -t SailfishOS-latest-armv7hl gcc main.c -o test went OK. | 21:46 |
Umeaboy | Do I use sb2 -t for i486 as well? | 21:46 |
Umeaboy | I see "Hello World" for armv7hl so the test worked :) | 21:48 |
Umeaboy | It's kind of annoying to see a row being set in the defconfig, but the mer kernel checker does not see it as set. | 22:09 |
Umeaboy | Anything that can be done to solve that? | 22:10 |
mal | which flag? | 22:10 |
Umeaboy | For instance CONFIG_RD_GZIP | 22:12 |
piggz | Umeaboy: sometimes a kernel does not support a flag, so it does not make it to the final config | 22:12 |
piggz | https://cateee.net/lkddb/web-lkddb/RD_GZIP.html | 22:13 |
piggz | found in Linux kernels: 4.13–4.20, 5.0-rc+HEAD | 22:13 |
Umeaboy | I added the ones that are missing. | 22:14 |
Umeaboy | CONFIG_IKCONFIG_PROC is one of them as well. | 22:14 |
piggz | CONFIG_IKCONFIG_PROC depends on: CONFIG_IKCONFIG && CONFIG_PROC_FS | 22:15 |
piggz | so, make sure those are set | 22:15 |
piggz | http://lmgtfy.com/?q=CONFIG_IKCONFIG_PROC | 22:16 |
mal | yep, some rare kernels don't have CONFIG_IKCONFIG enabled, or properly added as dependency so it's enabled when needed | 22:17 |
Umeaboy | piggz: I changed every error and warning and reran the mer checker, but it still says the same. OK to continue? | 22:38 |
Umeaboy | Here's the full output: https://pastebin.com/6MMRdgFq | 22:38 |
piggz | Umeaboy: umm, no, it says the .config doesnt exist, have you checked that folder? | 22:39 |
Umeaboy | /out/target contains a folder called maple, not g8142. Maybe I should rename the device inside of the hadk.env | 22:40 |
Umeaboy | Would that help? | 22:40 |
piggz | likely :D | 22:40 |
Umeaboy | And then what? source .hadk.env? | 22:41 |
piggz | well, you need the new environment.... | 22:47 |
piggz | you can also just export DEVICE=..... | 22:47 |
mal | Umeaboy: how many times do I have to say, your device codename is maple, not g8142 | 22:47 |
Umeaboy | I changed it now. | 22:48 |
mal | everything is using maple except lunch command which uses g8142 | 22:48 |
Umeaboy | mal: I'm so used to using Lineage when building.... | 22:48 |
Umeaboy | :) | 22:48 |
mal | that is the lunch part | 22:49 |
Umeaboy | Yeah and that's kind of confusing as I'm used to do lunch maple | 22:49 |
mal | really? | 22:49 |
Umeaboy | Yeah. | 22:49 |
Umeaboy | As it's not officially supported by Lineage yet. | 22:49 |
Umeaboy | I'm unsure about the SELinux part for CONFIG_AUDIT. | 22:54 |
mal | use audit=y with bootparam | 22:56 |
mal | it clearly says that in bootparam description | 22:56 |
Umeaboy | I guess it's OK to continue since it's only a warning and both are set to y. | 22:56 |
Benclark006 | Hi, when i try to build the kernel, i get this error https://paste.gnome.org/poqdvwia9 ninja: error: 'kernel/lge/mako/arch/arm/configs/cyanogen_mako_defconfig', needed by '/home/ben/hadk/out/target/product/mako/obj/KERNEL_OBJ/.config', missing and no known rule to make it | 22:58 |
mal | is the kernel path in manifest correct i.e. does the kernel exist in kernel/lge/mako folder in $ANDROID_ROOT | 22:59 |
Umeaboy | Benclark006: I always disable both NINJA and JACK when building, but that's me. | 22:59 |
Benclark006 | mal: yes, it exists | 23:01 |
mal | how about that file? | 23:01 |
Benclark006 | it exists, but under a different name | 23:04 |
Benclark006 | lineageos_mako_defconfig | 23:04 |
Benclark006 | instead of cyanogen_mako_defconfig | 23:04 |
Benclark006 | should i just rename it? | 23:08 |
Benclark006 | i feel like it could cause problems later down the line 🤔 | 23:09 |
mal | rename | 23:12 |
mal | not sure if that will cause issues | 23:12 |
mal | we'll see | 23:12 |
Umeaboy | mal: Apparently the Ubuntu chroot Java version is to old to run make hybris-boot. | 23:12 |
Umeaboy | Weird. | 23:13 |
mal | Benclark006: which device repo do you use? | 23:13 |
mal | Benclark006: are you sure you didn't accidentially take the cyanogenmod device repo? | 23:14 |
mal | Benclark006: based on the error you might have taken it | 23:14 |
mal | Umeaboy: afaik there was a way to change it, something like sudo update-java-alternatives -s java-1.8.0-openjdk-amd64 | 23:16 |
Benclark006 | possibly | 23:16 |
mal | Benclark006: check the local manifest, also remember the selinux=0 change to device repo | 23:16 |
Benclark006 | will do | 23:16 |
mal | Benclark006: lineage repo uses the correct defconfig https://github.com/LineageOS/android_device_lge_mako/blob/cm-14.1/BoardConfig.mk#L34 | 23:17 |
Umeaboy | mal: HABUILD_SDK [maple] kristoffer@localhost:~/hadk$ sudo update-java-alternatives -s java-1.8.0-openjdk-amd64 | 23:19 |
Umeaboy | update-alternatives: error: no alternatives for mozilla-javaplugin.so | 23:19 |
Umeaboy | update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so | 23:19 |
mal | so install it? | 23:20 |
mal | you have apt in there | 23:20 |
Umeaboy | mal: sudo apt-get install openjdk-8-jdk says that it's already installed. | 23:22 |
Umeaboy | * 3 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 manual mode | 23:24 |
Umeaboy | So it is selected as well. | 23:24 |
Umeaboy | Checked with sudo update-alternatives --config java | 23:24 |
mal | so which version does the build want? | 23:31 |
Umeaboy | mal: According to the output 1.8.x | 23:41 |
Umeaboy | See here: https://pastebin.com/fw076km4 | 23:41 |
Umeaboy | I think it would be great to update to a more up to date version of Ubuntu when using chroot. | 23:55 |
Umeaboy | Bionic Beaver have an LTS. | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!