*** rdr_ is now known as rdr | 09:16 | |
stoefelz | hi, 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-SonyXperia | 11:09 |
---|---|---|
stoefelz | now i stuck at compiling the mw | 11:09 |
stoefelz | File 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 |
stoefelz | does anyobdy know this error and the solution? btw this is my first time trying this kind of stuff | 11: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 |
stoefelz | thanks, 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 |
stoefelz | now i stuck at build_package.sh --version, i have not idea what is missing | 16:27 |
stoefelz | log https://pastes.io/bbojwjvems | 16:27 |
T42_ | <elros34> I guess you are missing hybris-libsensorfw-qt5 | 16:32 |
stoefelz | yeah, but from where could i get it | 16:36 |
T42_ | <elros34> check in sdk target: zypper se -s sensorfw | 16:38 |
stoefelz | yeah, then i get a list with sensorfw-qt5-* packages | 16:38 |
T42_ | <elros34> do you get hybris-libsensorfw-qt5? | 16:39 |
stoefelz | do no | 16:39 |
stoefelz | no | 16:39 |
T42_ | <elros34> what sdk target do you use? ssu re | 16:40 |
stoefelz | Device release is currently: 4.5.0.18 | 16:40 |
T42_ | <elros34> I think binder version should be in adaptation-common repo. Do you have it? su lr | 16:41 |
T42_ | <elros34> ssu lr | 16:41 |
stoefelz | this is under disabled repos | 16: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 |
stoefelz | i tried 'sudo ssu er adaptation-common' and then a zypper refresh, but it stays disabled | 16:46 |
T42_ | <elros34> do you do all this command in sdk target or in sdk? | 16:46 |
stoefelz | PlatformSDK | 16:47 |
T42_ | <elros34> so try everything again in sdk target instead: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R | 16:48 |
stoefelz | ok, now i could get a package named hybris-libsensorfw-qt5-binder | 16:50 |
T42_ | <elros34> so that is not an issue | 16:50 |
T42_ | <elros34> did you finish all other build steps? do you have droid-config/hal rpms in droid-local-repo/? | 16:51 |
stoefelz | i have a directory xqas52 in droid-local-repo/ where the rpms are | 16:53 |
T42_ | <elros34> search if everything from "Failed build dependencies " list is there | 16:54 |
T42_ | <elros34> btw did you update droid-config/hal/version submodules or everything is already prepared for 4.5.0.x? | 16:55 |
stoefelz | i have no idea :) | 16:57 |
stoefelz | there 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 here | 16:59 |
stoefelz | https://pastes.io/dmnqsdz42m | 17:02 |
stoefelz | i 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 |
stoefelz | qt5-qpa is here, this is the list which i do not have | 17:04 |
T42_ | <elros34> but iiRC qtscenegraph-adaptation is also in mw step not to mention droid-config in -c step | 17: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 |
stoefelz | sorry, you would have to rewrite your question for a beginner :) | 17:11 |
stoefelz | i'm only following https://docs.sailfishos.org/Develop/HW_Adaptation/Sailfish_X_Xperia_Android_11_Build_and_Flash/ and hoping the best | 17: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/ directory | 17:15 |
stoefelz | could 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 have | 17:24 |
T42_ | <elros34> ? | 17:28 |
stoefelz | yeah, 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 part | 17:29 |
stoefelz | i woulld like to use the version i have, when i get a bootable img ,this would enough :) | 17:29 |
stoefelz | should i run the commands again? | 17:30 |
T42_ | <elros34> yes | 17:31 |
stoefelz | do you think it is okay that i commented the bluez4 lines in the build_packages.sh? | 17:31 |
T42_ | <elros34> should be fine | 17:32 |
stoefelz | okay, the --configs and mw finished wihtout errors, but at --version there is the same problem | 17:34 |
T42_ | <elros34> do you have now all needed packages in local repo? | 17:36 |
stoefelz | i htink they are all the same packages | 17:38 |
stoefelz | the same 'needed' packages are not here | 17:39 |
T42_ | <elros34> show output of ls -lR of local repo | 17:39 |
T42_ | <elros34> and droid-config*.log file, I think from hybris/ direcotry | 17:40 |
stoefelz | local repo https://pastes.io/qjqoevznaq | 17:41 |
stoefelz | hybris log https://pastes.io/afmqdzdlyg | 17:43 |
T42_ | <elros34> some packages are build for for xqas52 and some for xqat52, which one is your device? | 17:49 |
stoefelz | xqas52 | 17:49 |
T42_ | <elros34> check env in .hadk.env | 17:50 |
T42_ | <elros34> what is output of echo $DEVICE and $HABUILD_DEVICE | 17:51 |
stoefelz | xqas52 | 17:51 |
stoefelz | xqas52 and pdx206 | 17:51 |
T42_ | <elros34> xqat52 must come from somewhere | 17:51 |
stoefelz | the problem is, the instruction is for xqat52 and i tried to set everywhere the correct 'new' links | 17:52 |
T42_ | <elros34> as far as I can se instruction is for qbt52 not xqat52 | 17:53 |
stoefelz | ahm, true | 17:53 |
stoefelz | i saw xqat is the xperia 1 ii, i have the 5 ii, i think the github repos are same for both | 17:54 |
stoefelz | thaodans repos are general for edo platform, so for 1 ii and 5 ii | 17:55 |
T42_ | <elros34> if this is true then maybe you should build for xqat instead xqas52 then. @Thaodan^ | 17:56 |
stoefelz | 🤔 | 17:59 |
stoefelz | i hate my life today :) thanks for your help | 18:00 |
stoefelz | maybe i will try it tomorrow again | 18: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 answer | 18: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 purpose | 18: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.ini | 18:06 |
T42_ | <elros34> I have impression this is simple copy-paste error | 18:08 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!