Tuesday, 2022-11-15

T42<Doddy> Help in the sfdk03:55
T42<Doddy> https://pastebin.com/abiJXmms03:59
*** amccarthy is now known as Guest155310:25
*** amccarthy_ is now known as amccarthy10:25
piggzspiiroin: ping :)10:59
piggzspiiroin: on the pinephone pro, i think i know how to detect plug into charger/pc.  instead of power_supply type, use extcon type.  with that, SDP=0 for charger, and 1 for PC11:00
piggzspiiroin: did you see earlier msg?13:05
T42<foxclore> Hey, i'm trying to build sailfish os for dreamlte (galaxy s8, lineage-16.0 as a base).19:24
T42<foxclore> Compilation fails on "rpm/dhd/helpers/build_packages.sh —gg" with the message19:24
T42<foxclore> Please build droidmedia as per HADK instructions19:24
T42<foxclore> !! Failed to pack_source_droidmedia-localbuild.sh19:24
T42<foxclore> 19:24
T42<foxclore> Did try to build droidmeidia, but haven't found the patch mentioned in this message in hadk-hot (was it removed?)19:24
T42<foxclore> 19:24
T42<foxclore> Any help please? (re @elros34: again, did you apply...)19:24
T42<foxclore> Hey, i'm trying to build sailfish os for dreamlte (galaxy s8, lineage-16.0 as a base).19:25
T42<foxclore> Compilation fails on "rpm/dhd/helpers/build_packages.sh —gg" with the message19:25
T42<foxclore> Please build droidmedia as per HADK instructions19:25
T42<foxclore> !! Failed to pack_source_droidmedia-localbuild.sh19:25
T42<foxclore> 19:25
T42<foxclore> Did try to build droidmeidia (make droidmedia finished successfully) , but haven't found the patch mentioned in this message in hadk-hot (was it removed?)19:25
T42<foxclore> 19:25
T42<foxclore> Any help please? (edited) (re @elros34: again, did you apply...)19:25
T42<elros34> @foxclore hi, what sfos release do you build now? Did you update droid submodules and droidmedia to recommended version?20:07
T42<foxclore> hello! Im building 4.4.0.58. I did "git pull github 0.20211101.0" in $ANDROID_ROOT/external/droidmedia as it is recommended version in hadk-hot.20:25
T42<foxclore> Actually a question: I should be running make droidmedia in $ANDROID_ROOT, right? (re @elros34: @foxclore hi, what s...)20:25
T42<elros34> why such an old sfos version? obviosuly after pulling droidmedia sources you must build droidmedia20:30
T42<foxclore> what do you mean old.... it's like the latest I got following official hadk20:32
T42<foxclore> yes, I did build the droidmedia after pulling (re @elros34: why such an old sfos...)20:32
T42<elros34> no, see Sailfish Release thread, latest is 4.4.0.7220:34
T42<foxclore> okay, so shall I update sailfish os?20:35
T42<elros34> not sure what you wnat to update, if you ask about sdk then no20:36
T42<foxclore> hmm so upgrading sailfish os version won't help with droidmedia?20:37
T42<elros34> I am not sure what you asking. Updating? you are building 4.4.0.72  help with what?20:40
T42<foxclore> no, /etc/os-release says im building 4.4.0.58. And help with the issue about "Please build droidmedia as per HADK instructions20:41
T42<foxclore> !! Failed to pack_source_droidmedia-localbuild.sh" (re @elros34: I am not sure what y...)20:41
T42<elros34> again. I asked you whether you updated droid submodules. Did you?20:41
T42<foxclore> Not quite sure what do you mean by droid submodules. If droid-hal-device, droid-hal-configs etc (mentioned in section 7.1 of HADK)  then yes, I literally did that step from scratch today20:47
T42<elros34> the build hybris/droid-hal/droidmedia now20:49
T42<elros34> then*20:49
T42<foxclore> how do i do that? (re @elros34: the build hybris/dro...)20:57
T42<elros34> follow hadk20:57
T42<elros34> it's all there: make hybris-hal droidmedia, build_packages.sh ...20:58
T42<foxclore> okay, so I literally did make hybris-hal droidmedia, then did all build_packages.sh up to —gg, and it fails on —gg with absolutely the same error (re @elros34: it's all there: make...)21:50
maldo you see the libraries in out/ ?21:53
malthe paths are mentioned here https://github.com/mer-hybris/droid-hal-device/blob/master/helpers/pack_source_droidmedia-localbuild.sh21:53
maldoes the codename match?21:54
T42<foxclore> actually there is no libdroidmedia.so in  out at all21:56
malis PORT_ARCH correctly set in build environment?21:59
maltry "echo $PORT_ARCH" in the environment where you run make droidmedia22:00
T42<elros34> and "$ANDROID_ROOT $DEVICE"22:01
T42<Ayman_rgab> Hi22:04
T42<foxclore> mal: Oh right my bad!22:05
T42<foxclore> Literally forgot to set port_arch22:05
T42<Ayman_rgab> Is anyway to use jolla-keyboard in Weston ?22:05
T42<foxclore> mal: @elros34 thanks, that helped!22:33
T42<foxclore> So, whoever has the issue "Please build droidmedia as per HADK instructions" please check that the environment you are building droidmedia has $PORT_ARCH $DEVICE and all other necessary environmental variables set22:34
malthis is the script used for detecting the build target names https://github.com/sailfishos/droidmedia/blob/master/detect_build_targets.sh called from https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L35622:38

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