| Keto | mal: yeah, the disk was full, I cleaned up some space now | 07:16 | 
|---|---|---|
| thilo[m] | I am trying to build the libdroidmedia master for XA2 but it crashes. Ideas?... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/CmtePvDcFHOwIFoFSPEfYyic>) | 11:29 | 
| thilo[m] | * I am trying to build the libdroidmedia master for XA2 but it crashes. Ideas?... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/vjBkuSfDalPKmMMEuptqtRrp>) | 11:31 | 
| thilo[m] | * I am trying to build the libdroidmedia master for XA2 but it crashes. Ideas?... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/GDAuHIgxhizxzZmezQlaqHZg>) | 11:32 | 
| thilo[m] | i tried to include relevant parts | 11:32 | 
| thilo[m] | hmm maybe i simplyfied the setup a bit too much, I basically only ran... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/kvAJxHqWjOWeHNvvzqEFnsvo>) | 11:43 | 
| thilo[m] | * hmm maybe i simplyfied the setup a bit too much, I basically only ran... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/FDdvcEMFdeXjtZeTXAlSUDob>) | 11:45 | 
| thilo[m] | make droidmedia works, but then i only get:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/EzIfEwjfJjgOVazAkRQJJmvZ>) | 11:51 | 
| b100dian[m] | thilo: https://github.com/sailfishos/droidmedia/blob/master/detect_build_targets.sh#L23 is the error you're seeing | 11:55 | 
| b100dian[m] | The "droidmedia" target is actually in hybris-boot, assuming you have that checked out too: https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L356C1-L356C11 | 11:56 | 
| b100dian[m] | tl;dr; try export PORT_ARCH=aarch64 | 11:56 | 
| thilo[m] | ah that is what you were writing on the forum | 11:58 | 
| thilo[m] | * vlagged: ah that | 11:58 | 
| b100dian[m] | Yes, but the other steps are not familiar for me, so feel free to update, I think I made that a wiki post | 11:59 | 
| thilo[m] | okay | 12:00 | 
| thilo[m] | vlagged: I added the export did a make clean and then rebuilt, but still missing libncurses | 12:01 | 
| thilo[m] | ``` | 12:02 | 
| thilo[m] | error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory | 12:02 | 
| thilo[m] | ah wait | 12:02 | 
| b100dian[m] | That is a host Linux problem, you need development headers for ncurses5 which is probably "legacy" | 12:02 | 
| thilo[m] | ah okay | 12:02 | 
| thilo[m] | I hoped they got in via some dependency management | 12:03 | 
| b100dian[m] | They should, what distro are you on? | 12:03 | 
| thilo[m] | manjaro | 12:03 | 
| thilo[m] | thilo[m]: by dependency management i meant something else then my systems package manager ;) | 12:03 | 
| thilo[m] | mh cool... | 12:04 | 
| thilo[m] | i'll figure that out if this is likely the problem | 12:04 | 
| b100dian[m] | I got them from AUR, but I'm actually on archlinux https://aur.archlinux.org/packages/ncurses5-compat-libs. It may work if you copy the PKGBUILD into a folder where you issue makepkg | 12:05 | 
| b100dian[m] | so, they were not official here either | 12:06 | 
| thilo[m] | I am surprised i need libncurses for a media lib :D | 12:09 | 
| mal | thilo[m]: when do you get that error? | 12:09 | 
| mal | probably not needed for the lib really, but maybe for build | 12:09 | 
| thilo[m] | building the package right now, threw in a --skippgpcheck for good measure | 12:09 | 
| thilo[m] | mal: you mean when in the build? | 12:10 | 
| b100dian[m] | piggz: was grepping the sailfishos-porters-archive and the certificate expired last week:) | 12:10 | 
| thilo[m] | mal: i can give you the whole output | 12:10 | 
| b100dian[m] | I think ncurses are for some other dependency within the android build | 12:11 | 
| b100dian[m] | thilo: maybe use a paste service if it's large | 12:11 | 
| thilo[m] | k, installed libncurses and running build again, pasting the output somewhere then | 12:15 | 
| mal | thilo[m]: I mean android build system could require all kinds of things | 12:16 | 
| thilo[m] | mal , vlagged https://pastebin.com/Bj5hLzQk | 12:20 | 
| thilo[m] | okay, no libncurses errors anymore | 12:21 | 
| thilo[m] | hm, i hope i didnt forget something extremly stupid... | 12:22 | 
| thilo[m] | error is now... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/xnkMcjfzVfvyeilXXDuGznby>) | 12:22 | 
| b100dian[m] | try export LC_ALL=C | 12:29 | 
| thilo[m] | runs much longer now | 12:34 | 
| * thilo[m] sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/OSBBfAnazGJaxjLOeQWVGtVf | 12:36 | |
| thilo[m] | looks like a python2 issue? | 12:36 | 
| b100dian[m] | Yeah, missing parentheses means it's python2 syntax. Maybe edit the first line to execute under python2, I don't have a quick idea how to overpass this (I think other distros have a script to change default version of python, but probably not you) | 12:54 | 
| b100dian[m] | *overcome | 12:54 | 
| piggz[m] | vlagged: on it :) | 12:59 | 
| thilo[m] | virtualenv might work. My time is up, i report back when i fixed this | 13:05 | 
| thilo[m] | or i just setup a docker that can build this... | 13:05 | 
| b100dian[m] | piggz: thank you, works now | 13:24 | 
| b100dian[m] | Wait, no, it must have kept the exception, it doesn't | 13:24 | 
| b100dian[m] | but thanks for working on it :) | 13:24 | 
| piggz | done | 13:41 | 
| b100dian[m] | Great! | 14:04 | 
| poetaster | hmm. obs having hiccups? | 16:34 | 
| mal | poetaster: what kind? | 16:37 | 
| poetaster | oh, I've just been stuck at 'scheduled' for about an hour. thought that might be bit long. but .... | 16:38 | 
| poetaster | https://build.sailfishos.org/package/show/home:poetaster/meecast | 16:38 | 
| mal | yeah, looks like something is wrong with the workers, I pinged Keto | 16:39 | 
| poetaster | thanks! | 16:39 | 
| *** armands_ is now known as armands | 17:03 | |
| Keto | sorry about that, small mistake when backporting some fixes for the DoD issues | 17:34 | 
| piggz[m] | attah: your PPP is fixed? | 18:13 | 
| attah | piggz[m]: still need to exorcise the bootloader - and wifi is thrown out with the suspend too | 18:14 | 
| attah | racking my brain for if i am the cause of that | 18:14 | 
| attah | did flash-it ask if i was installing to sd, and only then offer to put a bootloader on the disk, or am i imagining things? | 18:16 | 
| piggz | attah: the ask-if-sd question is only for changing the home partition device https://github.com/sailfish-on-dontbeevil/flash-it/blob/master/flash-it.sh#L267 | 18:19 | 
| attah | Okay; so i have uboot regardless | 18:20 | 
| attah | as in have it extra on eMMC | 18:21 | 
| attah | This is where i get lost.... why should i, and how do i nuke it? | 18:21 | 
| piggz | attah: i guess dd'ing from /dev/null to it for a few mb ? | 18:23 | 
| attah | That's a footgun if i ever saw one xD | 18:24 | 
| attah | You have not needed to do this? | 18:25 | 
| piggz | no, but im installed on emmc, youre not? | 18:26 | 
| attah | i am! | 18:26 | 
| piggz | if rk2aw gives you emmc as a usb device, you can overwrite the first 32mb, as thats where I start the boot partition https://github.com/sailfish-on-dontbeevil/flash-it/blob/master/flash-it.sh#L208 | 18:28 | 
| piggz | first 32mb is for whatever bootloader/uboot is requrired | 18:28 | 
| attah | Hmmm. Now options 1 and 2 doesn't boot anymore | 18:41 | 
| mal | poetaster: looks like some missing dependency in that meecast | 18:48 | 
| Darkijah | hello | 19:17 | 
| Darkijah | I just got a Xperia III | 19:18 | 
| Darkijah | yesterday | 19:18 | 
| poetaster | mal, thanks. I'll try to fix it tomorrow. | 19:49 | 
| poetaster | Unknown module(s) in QT: xml news to me :) | 19:52 | 
| poetaster | ah, Not libxml++-2.6 | 19:53 | 
| poetaster | ach. bed time. | 19:54 | 
| piggz | attah: so, you have a mostly working device? | 19:56 | 
| attah | piggz: if i boot though option 2 or 3 - i think it is somewhat close, yes | 19:56 | 
| piggz | what are those options? never used them! | 19:56 | 
| attah | should i be losing wifi at suspend? | 19:56 | 
| attah | as in 2 or 3 blinks in the fancy blink menu | 19:57 | 
| attah | primary and secondary bootloader respectively as opposed to "normal rk2aw boot" | 19:58 | 
| attah | Which now that i read it for the umpteenth time mentions it expects something on eMMC | 19:59 | 
| attah | so i guess this is not at all surprising | 19:59 | 
| piggz | attah: yes ... by definition, if the kernel is asleep, the sifi goes off :) | 20:00 | 
| attah | inconvenient, but ok | 20:00 | 
| attah | so i guess my eMMC still manages to trip up the normal boot - so forcing it to fall back to SPI early works | 20:01 | 
| attah | science! | 20:01 | 
| attah | (and i don't believe rk2aw writes emmc) | 20:02 | 
| piggz | ah yeay, it would write the uboot to spi | 20:05 | 
| piggz | attah: as a work-around for tethering, i made a connman module that prevents sleep while tethering | 20:05 | 
| attah | piggz: Saw that - very nice. Though that is basically a once-a-year use-case for me. | 20:07 | 
| piggz | im sure we could adapt to be -while wifi is on dont sleep- | 20:11 | 
| attah | Would that be substanditally different from -sdisabled ? | 20:12 | 
| piggz[m] | dunno :) | 20:12 | 
| piggz[m] | or -searly | 20:12 | 
| attah | And if i then fall off of wifi, i'd never get back until i wake the phone? | 20:13 | 
| piggz | yes | 20:24 | 
| piggz | but, your battery will last longer | 20:24 | 
| attah | :D | 20:24 | 
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!