Tuesday, 2023-10-10

Ketomal: yeah, the disk was full, I cleaned up some space now07: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 parts11: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 seeing11: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-L356C1111:56
b100dian[m]tl;dr; try export PORT_ARCH=aarch6411:56
thilo[m]ah that is what you were writing on the forum11:58
thilo[m]* vlagged: ah that11: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 post11:59
thilo[m]vlagged: I added the export did a make clean and then rebuilt, but still missing libncurses12:01
thilo[m] error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory12:02
thilo[m]ah wait12:02
b100dian[m]That is a host Linux problem, you need development headers for ncurses5 which is probably "legacy"12:02
thilo[m]ah okay12:02
thilo[m]I hoped they got in via some dependency management12:03
b100dian[m]They should, what distro are you on?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 problem12: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 makepkg12:05
b100dian[m]so, they were not official here either12:06
thilo[m]I am surprised i need libncurses for a media lib :D12:09
malthilo[m]: when do you get that error?12:09
malprobably not needed for the lib really, but maybe for build12:09
thilo[m]building the package right now, threw in a --skippgpcheck for good measure12: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 output12:10
b100dian[m]I think ncurses are for some other dependency within the android build12:11
b100dian[m]thilo: maybe use a paste service if it's large12:11
thilo[m]k, installed libncurses and running build again, pasting the output somewhere then12:15
malthilo[m]: I mean android build system could require all kinds of things12:16
thilo[m]mal , vlagged https://pastebin.com/Bj5hLzQk12:20
thilo[m]okay, no libncurses errors anymore12: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=C12:29
thilo[m]runs much longer now12:34
* thilo[m] sent a code block: https://matrix.org/_matrix/media/v3/download/matrix.org/OSBBfAnazGJaxjLOeQWVGtVf12: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
piggz[m]vlagged: on it :)12:59
thilo[m]virtualenv might work. My time is up, i report back when i fixed this13:05
thilo[m]or i just setup a docker that can build this...13:05
b100dian[m]piggz: thank you, works now13:24
b100dian[m]Wait, no, it must have kept the exception, it doesn't13:24
b100dian[m]but thanks for working on it :)13:24
poetasterhmm. obs having hiccups?16:34
malpoetaster: what kind?16:37
poetasteroh, I've just been stuck at 'scheduled' for about an hour. thought that might be bit long. but ....16:38
malyeah, looks like something is wrong with the workers, I pinged Keto16:39
*** armands_ is now known as armands17:03
Ketosorry about that, small mistake when backporting some fixes for the DoD issues17:34
piggz[m]attah: your PPP is fixed?18:13
attahpiggz[m]: still need to exorcise the bootloader - and wifi is thrown out with the suspend too18:14
attahracking my brain for if i am the cause of that18:14
attahdid 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
piggzattah: 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#L26718:19
attahOkay; so i have uboot regardless18:20
attahas in have it extra on eMMC18:21
attahThis is where i get lost.... why should i, and how do i nuke it?18:21
piggzattah: i guess dd'ing from /dev/null to it for a few mb ?18:23
attahThat's a footgun if i ever saw one xD18:24
attahYou have not needed to do this?18:25
piggzno, but im installed on emmc, youre not?18:26
attahi am!18:26
piggzif 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#L20818:28
piggzfirst 32mb is for whatever bootloader/uboot is requrired18:28
attahHmmm. Now options 1 and 2 doesn't boot anymore18:41
malpoetaster: looks like some missing dependency in that meecast18:48
DarkijahI just got a Xperia III19:18
poetastermal, thanks. I'll try to fix it tomorrow.19:49
poetaster Unknown module(s) in QT: xml news to me :)19:52
poetasterah, Not libxml++-2.619:53
poetasterach. bed time.19:54
piggzattah: so, you have a mostly working device?19:56
attahpiggz: if i boot though option 2 or 3 - i think it is somewhat close, yes19:56
piggzwhat are those options? never used them!19:56
attahshould i be losing wifi at suspend?19:56
attahas in 2 or 3 blinks in the fancy blink menu19:57
attahprimary and secondary bootloader respectively as opposed to "normal rk2aw boot"19:58
attahWhich now that i read it for the umpteenth time mentions it expects something on eMMC19:59
attahso i guess this is not at all surprising19:59
piggzattah: yes ... by definition, if the kernel is asleep, the sifi goes off :)20:00
attahinconvenient, but ok20:00
attahso i guess my eMMC still manages to trip up the normal boot - so forcing it to fall back to SPI early works20:01
attah(and i don't believe rk2aw writes emmc)20:02
piggzah yeay, it would write the uboot to spi20:05
piggzattah: as a work-around for tethering, i made a connman module that prevents sleep while tethering20:05
attahpiggz: Saw that - very nice. Though that is basically a once-a-year use-case for me.20:07
piggzim sure we could adapt to be -while wifi is on dont sleep-20:11
attahWould that be substanditally different from -sdisabled ?20:12
piggz[m]dunno :)20:12
piggz[m]or -searly20:12
attahAnd if i then fall off of wifi, i'd never get back until i wake the phone?20:13
piggzbut, your battery will last longer20:24

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!