Monday, 2026-03-16

T42<nc1x72> Hi, it’s usb015:59
T42<nc1x72> I decided to start over. In fact, during previous compilation, I commented out some stuffs because build was failing.19:32
T42<nc1x72> 19:32
T42<nc1x72> During packages build, I also skip droid-hal-version-$DEVICE rpms because the build keeps failing with this error : nothing provides droid-system-$DEVICE.19:32
T42<nc1x72> 19:32
T42<nc1x72> Any tips on fixing that? I fixed the other errors.19:32
maldid you package the android build?20:42
T42<nc1x72> I have boot and vendor_boot compiled yes20:44
T42<nc1x72> But not things like system, vendor, system_ext and odm20:44
malno, droid-system package i.e. the way I have it in fairphones is the a full android build which is then packaged to include relevant parts20:45
malquite close to what is done here https://docs.sailfishos.org/Develop/HW_Adaptation/Sailfish_X_Xperia_Android_13_Build_and_Flash/ under the part "Without waiting for the middleware to finish, open new shell terminal."20:47
T42<nc1x72> The part that says “Without waiting for the mw to finish” roughly tells to compile system and vendor images. Right?20:59
T42<nc1x72> That’s what I understood20:59
malwell on newer based also system_ext and odm might be needed21:12
malon fp5 I built system, vendor, system_ext and odm21:12
maland I have a separate android source checkout for the full build so the patches won't interfere21:13
T42<nc1x72> I noticed that in your fp5 build yes. Like I said in the beginning, I’m trying to replicate the exact fp5 build but with Spacewar bits. Would be very helpful if you had the manifest for fp5 and a compilation guide (or a gist maybe). I’m following xperia android 13 adaptation guide (which seems the closest to what I’m trying to achieve).21:23
T42<nc1x72> Now hitting: error : expected expression regarding thread-current-inl.h when compiling system and vendor images.21:41
T42<nc1x72> This is LineageOS sources issue21:41
malI used lineage 21 in my fp521:53
mali.e. android 1421:54
malI built the whole android actually and then just mounted the built images (no need for simg2img on fp5) and then just ran the copy_tree.sh as mentioned (but with all needed image mount points as parameters)21:56
malthe droid-system spec I used was just this https://pastebin.com/FAMpKSut21:58
malto build the full android side image just follow lineage instructions, except of course select if you want to do user or userdebug build21:59
maland the mountpoint for the system images I used were $ANDROID_SYSPART-mnt-system, $ANDROID_SYSPART-mnt-system_ext/system_ext, $ANDROID_SYSPART-mnt-vendor/vendor and $ANDROID_SYSPART-mnt-odm/odm22:00
T42<nc1x72> So, I technically don’t need to build the whole Android thing after all. Merely need to somewhat find a LOS 21 build and mount the images to run copy_tree.sh22:50
T42<nc1x72> And by %define build_user_replacement some_user, "some_user" refers to what exactly?22:56
malwell whatever you want to use23:01
malin case of using downloaded LOS it's not relevant23:02
malthat was just hide some details from my build system23:02

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