Tuesday, 2024-01-30

*** rdr_ is now known as rdr09:16
stoefelzhi, i'm trying to compile sailfish for xperia 5 ii, i'm using the build instruction for xperia 10 iii and changed the necessary github repos to @SailfishOS-SonyXperia11:09
stoefelznow i stuck at compiling the mw11:09
stoefelzFile not found: /home/ubuntu/hadk/hybris/mw/libhybris/installroot/usr/lib64/libhybris-platformcommon.so.*     File not found: /home/ubuntu/hadk/hybris/mw/libhybris/installroot/usr/share/licenses/libhybris-0.0.5.48+upgrade.4.5.0.20240130105839.c7944ec+libhybris.811c64c/LICENSE.Apache2     File not found: /home/ubuntu/hadk/hybris/mw/libhybris/installroot/usr/share/licenses/libhybris-0.0.5.48+upgrade.4.5.0.20240130105839.c7944ec+libhybris.811c64c/11:09
stoefelzdoes anyobdy know this error and the solution? btw this is my first time trying this kind of stuff11:10
T42_<elros34> not sure about that, can you show whole libhybris build log file?15:18
T42_<elros34> did you finish 'make' step without errors?15:20
stoefelzthanks, but i solved it in the meantime; deleted the installroot folder manually and tried it again :), then i stuck with the error 'Fatal: 'rpm/kf5bluezqt-bluez4.spec' does not exist (and could not be made from a .yaml)', for that i removed the bluez4 lines in the build_packages.sh. now i am building the system image and i am hoping everything will work out :)15:44
stoefelznow i stuck at build_package.sh --version, i have not idea what is missing16:27
stoefelzlog https://pastes.io/bbojwjvems16:27
T42_<elros34> I guess you are missing hybris-libsensorfw-qt516:32
stoefelzyeah, but from where could i get it16:36
T42_<elros34> check in sdk target: zypper se -s sensorfw16:38
stoefelzyeah, then i get a list with sensorfw-qt5-* packages16:38
T42_<elros34> do you get hybris-libsensorfw-qt5?16:39
stoefelzdo no16:39
stoefelzno16:39
T42_<elros34> what sdk target do you use? ssu re16:40
stoefelzDevice release is currently: 4.5.0.1816:40
T42_<elros34> I think binder version should be in adaptation-common repo. Do you have it? su lr16:41
T42_<elros34> ssu lr16:41
stoefelzthis is under disabled repos16:41
stoefelz- adaptation-common ... https://releases.jolla.com/releases/4.5.0.18/jolla-hw/adaptation-common/i486/16:41
T42_<elros34> not sure why it's disabled but I do not know this hadk aosp  instruction. You can try to reenable it: ssu er <repo name>16:43
stoefelzi tried 'sudo ssu er adaptation-common' and then a zypper refresh, but it stays disabled16:46
T42_<elros34> do you do all this command in sdk target or in sdk?16:46
stoefelzPlatformSDK16:47
T42_<elros34> so try everything again in sdk target instead: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R16:48
stoefelzok, now i could get a package named hybris-libsensorfw-qt5-binder16:50
T42_<elros34> so that is not an issue16:50
T42_<elros34> did you finish all other build steps? do you have droid-config/hal rpms in droid-local-repo/?16:51
stoefelzi have a directory xqas52 in droid-local-repo/ where  the rpms are16:53
T42_<elros34> search if everything from "Failed build dependencies " list is  there16:54
T42_<elros34> btw did you update droid-config/hal/version submodules or everything is already prepared for 4.5.0.x?16:55
stoefelzi have no idea :)16:57
stoefelzthere are not all packages from 'failed build dependencies'16:58
T42_<elros34> what is missing? btw you can ping maintainer of this repos, he should be here16:59
stoefelzhttps://pastes.io/dmnqsdz42m17:02
stoefelzi have no idea how to ping in irc :)17:03
T42_<elros34> didn't you build qt5-qpa-hwcomposer during --mw step?17:03
T42_<elros34> or you forget about finishing --mw step because libhybris build failed?17:04
stoefelzqt5-qpa is here, this is the list which i do not have17:04
T42_<elros34> but iiRC qtscenegraph-adaptation is also in mw step not to mention droid-config  in -c step17:07
T42_<elros34> maybe it would be good idea to update submodules. Did you use specific version (according to hadk-hot) of droidmedia or latest?17:08
stoefelzsorry, you would have to rewrite your question for a beginner :)17:11
stoefelzi'm only following https://docs.sailfishos.org/Develop/HW_Adaptation/Sailfish_X_Xperia_Android_11_Build_and_Flash/ and hoping the best17:12
T42_<elros34> so maybe you should downgrade or leave it like that and worry about it later: https://sailfishos.wiki/link/20#bkmrk---droidmedia%EF%BC%9A0.20230. sources are in external/ directory17:15
stoefelzcould you give me another hint what you meanß17:22
T42_<elros34> simple: there is recommended version of droidmedia which you should use but the one you have cloned might also work. You will see after you manage to boot device. do you want to change it or use whatever version you have17:24
T42_<elros34> ?17:28
stoefelzyeah, the problem is i stuck at 'rpm/dhd/helpers/build_packages.sh --version' :)17:29
T42_<elros34> ok, then you must follow instruction and finish both: rpm/dhd/helpers/build_packages.sh --configs and --mw part17:29
stoefelzi woulld like to use the version i have, when i get a bootable img ,this would enough :)17:29
stoefelzshould i run the commands again?17:30
T42_<elros34> yes17:31
stoefelzdo you think it is okay that i commented the bluez4 lines  in the build_packages.sh?17:31
T42_<elros34> should be fine17:32
stoefelzokay, the --configs and mw finished wihtout errors, but at --version there is the same problem17:34
T42_<elros34> do you have now all needed packages in local repo?17:36
stoefelzi htink they are all the same packages17:38
stoefelzthe same 'needed' packages are not here17:39
T42_<elros34> show output of ls -lR of local repo17:39
T42_<elros34> and droid-config*.log file, I think from hybris/ direcotry17:40
stoefelzlocal repo https://pastes.io/qjqoevznaq17:41
stoefelzhybris log https://pastes.io/afmqdzdlyg17:43
T42_<elros34> some packages are build for for xqas52 and some for xqat52, which one is your device?17:49
stoefelzxqas5217:49
T42_<elros34> check env in .hadk.env17:50
T42_<elros34> what is output of echo $DEVICE and $HABUILD_DEVICE17:51
stoefelzxqas5217:51
stoefelzxqas52 and pdx20617:51
T42_<elros34> xqat52 must come from somewhere17:51
stoefelzthe problem is, the instruction is for xqat52 and i tried to set everywhere the correct 'new' links17:52
T42_<elros34> as far as I can se instruction is for qbt52 not xqat5217:53
stoefelzahm, true17:53
stoefelzi saw xqat is the xperia 1 ii, i have the 5 ii, i think the github repos are same for both17:54
stoefelzthaodans repos are general for edo platform, so for 1 ii and 5 ii17:55
T42_<elros34> if this is true then maybe you should build for xqat instead xqas52 then. @Thaodan^17:56
stoefelz 🤔17:59
stoefelzi hate my life today :) thanks for your help18:00
stoefelzmaybe i will try it tomorrow again18:00
T42_<elros34> could be also some mistake in edo repo: https://github.com/search?q=org%3ASailfishOS-SonyXperia+52&type=code. Maybe just wait for maintainer answer18:01
T42_<elros34> maybe here https://github.com/SailfishOS-SonyXperia/droid-hal-version-sony-edo/blob/master/rpm/droid-hal-version-xqas52.spec#L2 but I am not sure, this could be on purpose18:04
T42_<elros34> and here https://github.com/SailfishOS-SonyXperia/droid-config-sony-edo/blob/master/sparse/usr/share/ssu/board-mappings.d/10-xqas52.ini18:06
T42_<elros34> I have impression this is simple copy-paste error18:08

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