T42_ | <DerRenard> Hello. I'm continue where I have left off 2 days ago. I got no errors in the command | 11:02 |
---|---|---|
T42_ | <DerRenard> ``` | 11:02 |
T42_ | <DerRenard> hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config``` | 11:02 |
T42_ | <DerRenard> | 11:02 |
T42_ | <DerRenard> and I recompiled hybris-boot and `hybris-recovery`. | 11:02 |
T42_ | <DerRenard> | 11:02 |
T42_ | <DerRenard> After that I started to install sfos targets and toolings. It has installed and test is working fine (at least that one with Hello World in the HADK).\ | 11:02 |
T42_ | <DerRenard> Hello. I'm continue where I have left off 2 days ago. I got no errors in the command | 11:02 |
T42_ | <DerRenard> ``` | 11:02 |
T42_ | <DerRenard> hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config``` | 11:02 |
T42_ | <DerRenard> | 11:02 |
T42_ | <DerRenard> and I recompiled hybris-boot and `hybris-recovery`. | 11:02 |
T42_ | <DerRenard> | 11:02 |
T42_ | <DerRenard> After that I started to install sfos targets and toolings. It has installed and test is working fine (at least that one with Hello World in the HADK). (edited) | 11:02 |
T42_ | <DerRenard> I got stuck at the creating repository in github. Can i skip this right now? I want to load the system and be sure everything is working fine before I upstream any changes. | 11:05 |
T42_ | <DerRenard> Nevermind about previous messages, I've uploaded all the files to my github. | 12:58 |
T42_ | <DerRenard> | 12:59 |
T42_ | <DerRenard> But there's new problem. I cannot build some rpms. Here's the log. Why this is happening? I defined arch in file `rpm/droid-hal-Mi439.spec` | 12:59 |
T42_ | <DerRenard> | 12:59 |
T42_ | <DerRenard> ``` | 12:59 |
T42_ | <DerRenard> %define droid_target_aarch64 1``` | 12:59 |
T42_ | <DerRenard> | 12:59 |
T42_ | <DerRenard> | 12:59 |
T42_ | <DerRenard> https://pastebin.com/UdpveZsq | 12:59 |
T42_ | <elros34> If you want to upload github changes only when everything is working then you will never do this:) Did you define it before last line or after? | 17:04 |
T42_ | <DerRenard> WYM? This one define? Before the last line (tbh somewhere in the middle, right after other device' defines) (re @elros34: If you want to uploa...) | 17:06 |
T42_ | <elros34> then show your changes, something must be off | 17:07 |
T42_ | <DerRenard> ah, no. it is before last comments. so yeah, last line | 17:07 |
T42_ | <DerRenard> https://pastebin.com/ELqhj6nR (re @elros34: then show your chang...) | 17:29 |
T42_ | <DerRenard> here are my changes | 17:29 |
T42_ | <DerRenard> In `hybris/droid-configs/rpm/droid-config-Mi439.spec` I added `%define android_version_major 14` | 17:31 |
T42_ | <DerRenard> | 17:31 |
T42_ | <DerRenard> In `rpm/droid-hal-Mi439.spec` I added `%define droid_target_aarch64 1` | 17:31 |
T42_ | <DerRenard> | 17:31 |
T42_ | <DerRenard> In `device/xiaomi/Mi439/device.mk` I added `PRODUCT_ENFORCE_VINTF_MANIFEST := false` | 17:31 |
mal | you have the define after include in droid-hal spec and that is wrong, define needs to be before "%include rpm/dhd/droid-hal-device.inc" | 17:34 |
T42_ | <DerRenard> Okay, i fixed that but got this https://pastebin.com/eMDqCnTq (re @SailfishFreenodeIRCBridgeBot: <mal>you have the de...) | 18:30 |
T42_ | <DerRenard> What is wrong? | 18:30 |
mal | you need to check the full log as mentioned near the end | 18:34 |
mal | it should show the actual failure | 18:34 |
T42_ | <DerRenard> https://pastebin.com/YSz9aJ8K (re @SailfishFreenodeIRCBridgeBot: <mal>it should show ...) | 18:37 |
mal | ERROR: CONFIG_NLS_UTF8 is invalid | 18:39 |
mal | so fix that | 18:39 |
mal | and rebuild kernel | 18:40 |
T42_ | <DerRenard> just change it in msm8937-perf_defconfig and rebuild? (re @SailfishFreenodeIRCBridgeBot: <mal>ERROR: CONFIG_N...) | 18:41 |
mal | yes, you go to habuild env and then run the usual commands to build hybris-hal | 18:41 |
T42_ | <DerRenard> Does it matter where i put this value? Or strictly at the end of the file? (re @SailfishFreenodeIRCBridgeBot: <mal>yes, you go to ...) | 18:43 |
mal | read the log file you just pasted | 18:45 |
mal | it says what it needs to be | 18:45 |
mal | I want you to learn to read the logs so I won't directly say it | 18:45 |
mal | ah you asked where to put it, usually end | 18:46 |
mal | like the other changes you added before | 18:46 |
T42_ | <DerRenard> okay, thanks (re @SailfishFreenodeIRCBridgeBot: <mal>like the other ...) | 18:47 |
T42_ | <DerRenard> This worked! Error has changed, but I got an error about absolute symlinks. I did not created this symlinks, but what went wrong I have no idea. HADK too (I tried to search about "absolute symlinks") | 19:08 |
T42_ | <DerRenard> | 19:08 |
T42_ | <DerRenard> https://pastebin.com/bPP71rJt | 19:08 |
mal | no, the error is "error: Installed (but unpackaged) file(s) found:" read about straggler files from hadk pdf chapter 7.2.2 | 19:11 |
T42_ | <elros34> read logs from the top, first error is usually most important not last one | 19:13 |
T42_ | <DerRenard> When i was building lineage the most important one was the last one... Okay, good to know the difference (re @elros34: read logs from the t...) | 19:16 |
T42_ | <elros34> this is no sailfish specific but general advice when you build/debug something | 19:17 |
T42_ | <DerRenard> Stupid question: Do i need this %{nil}? | 19:20 |
T42_ | <DerRenard> ``` | 19:20 |
T42_ | <DerRenard> %define straggler_files \ | 19:20 |
T42_ | <DerRenard> /init.mmi.boot.sh\ | 19:20 |
T42_ | <DerRenard> ... | 19:20 |
T42_ | <DerRenard> /service_contexts\ | 19:20 |
T42_ | <DerRenard> %{nil}``` | 19:20 |
T42_ | <Mister_Magister> yes | 19:21 |
T42_ | <Mister_Magister> its end of arguments/define | 19:21 |
mal | https://github.com/mer-hybris/droid-hal-sony-murray/blob/master/rpm/droid-hal-common.inc#L29 example | 19:22 |
T42_ | <DerRenard> Ummm... Files not found (re @DerRenard: Stupid question: Do ...) | 19:23 |
T42_ | <DerRenard> Wait, what exactly I need to put here? | 19:23 |
mal | the files listed in the error you got in the error log | 19:24 |
T42_ | <DerRenard> This ones? | 19:25 |
T42_ | <DerRenard> ``` | 19:25 |
T42_ | <DerRenard> /bugreports | 19:25 |
T42_ | <DerRenard> /d | 19:25 |
T42_ | <DerRenard> /dsp | 19:25 |
T42_ | <DerRenard> /firmware | 19:25 |
T42_ | <DerRenard> /persist | 19:25 |
T42_ | <DerRenard> /sdcard``` | 19:25 |
T42_ | <DerRenard> (re @SailfishFreenodeIRCBridgeBot: <mal>the files liste...) | 19:25 |
T42_ | <DerRenard> Aren't they directories? | 19:25 |
mal | doesn't matter what they are | 19:25 |
mal | you need to add those to straggler files define as instructed | 19:26 |
T42_ | <DerRenard> YES! It worked | 19:30 |
T42_ | <DerRenard> During building `meego` some packages were not found. And `nothing provides pulseaudio >= 15.0`. Can i install this deps manually through zypper? | 19:50 |
mal | yeah, do to folder hybris/droid-configs/droid-configs-device and run "git reset --hard 8411c711bc81e0c8b65f987c313fd7b686436164" | 19:54 |
mal | then back to $ANDROID_ROOT and try again | 19:54 |
T42_ | <DerRenard> What is this long number? 8411c711bc81e0c8b65f987c313fd7b686436164 | 19:56 |
mal | it's git commit hash | 19:56 |
mal | so we go back a bit in history of that submodule | 19:56 |
T42_ | <DerRenard> It look like it turns off bluez (re @SailfishFreenodeIRCBridgeBot: <mal>so we go back a...) | 19:57 |
mal | no | 19:57 |
T42_ | <DerRenard> remove bluez libs it report | 19:57 |
mal | that is useless dependency that was removed, not relevant to why we ran that command | 19:58 |
mal | https://github.com/mer-hybris/droid-hal-configs/commits/master/ | 19:58 |
mal | the reason we ran that git reset was to remove the pulseaudio changes | 19:59 |
T42_ | <DerRenard> that wasn't helpfull | 19:59 |
mal | ? | 19:59 |
T42_ | <DerRenard> I run git command, started again building but it reports the same log | 20:00 |
T42_ | <DerRenard> https://pastebin.com/HWrEAnKr | 20:00 |
T42_ | <DerRenard> 1st. It looking for pulseaudio greater than 15 and nothing found | 20:01 |
T42_ | <DerRenard> 2nd. A lot of deps weren't found | 20:01 |
mal | which command did you run? | 20:01 |
mal | I mean build_packages.sh command? | 20:02 |
T42_ | <DerRenard> with --version (re @SailfishFreenodeIRCBridgeBot: <mal>I mean build_pa...) | 20:02 |
T42_ | <DerRenard> rpm/dhd/helpers/build_packages.sh --version | 20:03 |
mal | you need to first run build_packages.sh -c to build the config package | 20:03 |
T42_ | <DerRenard> All previous works fine | 20:03 |
mal | the change you did with git reset was to droid-config package | 20:03 |
T42_ | <DerRenard> isn't this stands for configs? | 20:03 |
T42_ | <DerRenard> `rpm/dhd/helpers/build_packages.sh --configs` (re @SailfishFreenodeIRCBridgeBot: <mal>you need to fir...) | 20:03 |
T42_ | <DerRenard> ahh (re @SailfishFreenodeIRCBridgeBot: <mal>the change you ...) | 20:03 |
T42_ | <DerRenard> Okay, output has changed but result the same - error | 20:09 |
T42_ | <DerRenard> https://pastebin.com/hNa8qfax | 20:09 |
T42_ | <DerRenard> As i understand, it cannot find required dependencies. But why? Haven't they were pulled before? | 20:11 |
mal | you need lines 14-18 from this to your droid-config spec https://github.com/mlehtima/droid-config-fp5/blob/master/rpm/droid-config-fp5.spec#L14 | 20:11 |
mal | the again build_packages.sh -c | 20:11 |
mal | you again looked at the error in the end and not the real error earlier in the log | 20:12 |
T42_ | <DerRenard> Can you show me that exact error I have overlooked? (re @SailfishFreenodeIRCBridgeBot: <mal>you again looke...) | 20:14 |
mal | line 201 - 215 | 20:15 |
mal | you can see it tries to install droid-config package but can't because of file conflict | 20:16 |
T42_ | <DerRenard> rpm/droid-hal-Mi439.spec? (re @SailfishFreenodeIRCBridgeBot: <mal>you need lines ...) | 20:18 |
T42_ | <DerRenard> or this `hybris/droid-configs/rpm/droid-config-Mi439.spec` | 20:19 |
mal | droid-config obviously since the issue is in installing droid-config package | 20:20 |
T42_ | <DerRenard> It cannot install droid-config-Mi439. `obsoletes 'ofono-configs-binder'` | 20:26 |
T42_ | <DerRenard> And after a lot of groups/users not found | 20:26 |
T42_ | <DerRenard> Btw, why i can't choose in solutions? It automatically puts 'c' to cancel | 20:27 |
mal | just fix it like I said | 20:33 |
T42_ | <DerRenard> I did this | 20:33 |
T42_ | <DerRenard> not working | 20:33 |
T42_ | <DerRenard> I put this lines in the config, run config again and nothing | 20:34 |
T42_ | <DerRenard> https://pastebin.com/0CwESMqA | 20:34 |
mal | so what exactly did you you do, did you run build_packages.sh -c? | 20:34 |
mal | and add the lines to correct place in droid-config spec? | 20:34 |
mal | show your droid-config spec | 20:34 |
T42_ | <DerRenard> Add the lines to the config | 20:38 |
T42_ | <DerRenard> | 20:38 |
T42_ | <DerRenard> Run build_packages.sh -c | 20:38 |
T42_ | <DerRenard> | 20:38 |
T42_ | <DerRenard> Run --version (re @SailfishFreenodeIRCBridgeBot: <mal>so what exactly...) | 20:38 |
mal | show the spec like I asked | 20:38 |
mal | I can't be sure where you added the lines | 20:38 |
T42_ | <DerRenard> https://pastebin.com/Q50S4KXr | 20:40 |
mal | you can try this: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper in droid-local-repo/$DEVICE/droid-config-Mi439-1*.rpm | 20:43 |
T42_ | <DerRenard> No update candidate for 'droid-config-Mi439'. The highest available version is already installed (re @SailfishFreenodeIRCBridgeBot: <mal>you can try thi...) | 20:45 |
mal | try add --force after "zypper in" in the command | 20:47 |
T42_ | <DerRenard> installed | 20:47 |
T42_ | <DerRenard> Holy cow! It assembled | 20:48 |
T42_ | <DerRenard> Finally | 20:48 |
T42_ | <DerRenard> So, I run `rpm/dhd/helpers/build_packages.sh --mic | 21:20 |
T42_ | <DerRenard> ` and got bz2 archive. Will i flash it? HADK said I need zip file (bzip2 is actually zip also... but i never flash bz2 files before) | 21:20 |
T42_ | <DerRenard> So, I run `rpm/dhd/helpers/build_packages.sh --mic` and got bz2 archive. Will i flash it? HADK said I need zip file (bzip2 is actually zip also... but i never flash bz2 files before) (edited) | 21:21 |
T42_ | <DerRenard> And which recovery do i need to flash it? Can it be done with SFOS recovery I assembled before? | 21:21 |
T42_ | <elros34> script has finish without errors? you should have zip file. YOu can use sfos recovery but you would have to unpack image manually. | 21:27 |
T42_ | <elros34> usually we use twrp or something like that which doesn't work with sfos images:P | 21:28 |
T42_ | <DerRenard> yes, it does (re @elros34: script has finish wi...) | 21:28 |
T42_ | <DerRenard> los recovery will work? (re @elros34: usually we use twrp ...) | 21:28 |
T42_ | <elros34> you can try but first you need sfos image. Can you show at least page of mic image creation output? | 21:29 |
T42_ | <DerRenard> Wait a second. I tried to unpack bz2 archive (just curious what's inside) and lost any logs :D (re @elros34: you can try but firs...) | 21:30 |
T42_ | <DerRenard> I rerun --mic | 21:31 |
T42_ | <elros34> infinite scrolling buffer in terminal. I always enable it | 21:31 |
T42_ | <DerRenard> What most scares me that group and users did not exist yet. Is it okay? | 21:31 |
T42_ | <DerRenard> It's ubuntu terminal (gnome). I don't know does it support it (re @elros34: infinite scrolling b...) | 21:32 |
T42_ | <elros34> some common erros don't worry about them | 21:32 |
T42_ | <elros34> or more correctly warnings/info | 21:33 |
T42_ | <DerRenard> https://pastebin.com/ZkML1LmN (re @elros34: you can try but firs...) | 21:36 |
T42_ | <DerRenard> Full log | 21:36 |
T42_ | <elros34> err why such an old release build latest | 21:37 |
T42_ | <DerRenard> OLD? Wait, which is latest? (re @elros34: err why such an old ...) | 21:37 |
T42_ | <elros34> forum/announcements/release notes so something around 5.0.0.x | 21:39 |
T42_ | <DerRenard> When i was started PlatformSDK it printed this version, so i thought it is only supported (re @elros34: err why such an old ...) | 21:39 |
T42_ | <DerRenard> 5.0.0.55 (re @elros34: forum/announcements/...) | 21:40 |
T42_ | <elros34> at least 5.0.0.68 | 21:42 |
T42_ | <elros34> did you apply some modifications to droid config. Can you hsow your repo? | 21:42 |
T42_ | <DerRenard> what modifications? for example? (re @elros34: did you apply some m...) | 21:43 |
T42_ | <elros34> kicstart/mic/image creation related | 21:43 |
T42_ | <DerRenard> Uhmmm, no i think. 1stly I didn't sync github al least for 8 hours from now (re @elros34: kicstart/mic/image c...) | 21:44 |
T42_ | <DerRenard> and every change i did persist in this chat' history | 21:44 |
T42_ | <DerRenard> and every change i did are in this chat' history (edited) | 21:45 |
T42_ | <elros34> maybe run: bash -x rpm/dhd/helpers/build_packages.sh --mic | 21:48 |
T42_ | <DerRenard> No, no zip (re @elros34: maybe run: bash -x r...) | 21:56 |
T42_ | <DerRenard> I don't understand it | 21:56 |
T42_ | <elros34> obviously but you should have way more verbosy output which can be analysed | 21:57 |
T42_ | <DerRenard> https://pastebin.com/ZhcWMYjn | 21:57 |
mal | @elros34 one thing I wonder, the codename used is Mi439, at least in the past we had issues if codename has capital letters and therefore have always uses lower-case letters | 21:59 |
T42_ | <DerRenard> In LOS repos in is written with capital one (re @SailfishFreenodeIRCBridgeBot: <mal>@elros34 one th...) | 22:00 |
mal | yes, there is a way to handle that | 22:00 |
T42_ | <elros34> mal: good catch, could be related | 22:00 |
T42_ | <DerRenard> AH? | 22:01 |
T42_ | <DerRenard> How? | 22:01 |
mal | https://github.com/mlehtima/droid-hal-fp2-sibon/blob/master/droid-hal-fp2-sibon.spec | 22:01 |
mal | you can see device and rpm_device there | 22:01 |
T42_ | <DerRenard> How zip output can be related to one capital letter in codename?! | 22:01 |
T42_ | <DerRenard> I need to add rpm-device/vendor? (re @SailfishFreenodeIRCBridgeBot: <mal>https://github....) | 22:02 |
T42_ | <DerRenard> and i do not have installable zip in defines | 22:02 |
mal | you'll need to recreate the spec files and also recreate the whole droid-config repo since it will contain codename in other places also | 22:02 |
mal | in droid-hal spec it's easy, just have device as the LOS codename and then rpm_device as the same but it lower-case | 22:03 |
T42_ | <DerRenard> How much time do it need? Approximately? (re @SailfishFreenodeIRCBridgeBot: <mal>you'll need to ...) | 22:04 |
T42_ | <DerRenard> And how exactly do i need to do it | 22:04 |
mal | well if you don't make mistakes a few minutes | 22:04 |
mal | do you understand what you need to do to droid-hal spec? | 22:04 |
T42_ | <DerRenard> yes (re @SailfishFreenodeIRCBridgeBot: <mal>do you understa...) | 22:05 |
T42_ | <DerRenard> mi439 | 22:05 |
T42_ | <DerRenard> in rpm_device | 22:05 |
mal | so do that first | 22:05 |
mal | then once the spec is changed run "build_packages.sh -d" | 22:05 |
T42_ | <DerRenard> do i need to define %define installable_zip 1 | 22:06 |
mal | yes if you want to get a zip | 22:06 |
mal | when did you remove that line? it should have been there | 22:06 |
T42_ | <DerRenard> where is it? (re @SailfishFreenodeIRCBridgeBot: <mal>then once the s...) | 22:07 |
T42_ | <DerRenard> the script | 22:07 |
mal | the same script you have used before | 22:07 |
T42_ | <DerRenard> i didnt (re @SailfishFreenodeIRCBridgeBot: <mal>when did you re...) | 22:07 |
mal | well if you followed hadk then it was there | 22:07 |
T42_ | <DerRenard> fine (re @SailfishFreenodeIRCBridgeBot: <mal>the same script...) | 22:08 |
T42_ | <DerRenard> did | 22:08 |
mal | so if you now have new droid-hal rpms built then let's fix droid-config repo | 22:08 |
mal | so make a backup of the hybris/droid-configs folder just to be sure you have the changes stored | 22:09 |
mal | then check hadk pdf chapter 7.1, do the parts starting from "mkdir -p hybris/droid-configs" and stop when you reach "mkdir -p hybris/droid-hal-version" | 22:10 |
mal | wait | 22:10 |
mal | before you continue one more thing | 22:10 |
mal | I think you should also fix codename in $HOME/.hadk.env which was done in chapter 4.1 | 22:11 |
mal | then exit platform sdk once and go back in, then recreate the target as instructed in chapter 6 | 22:12 |
mal | that way you will get lower-case letters everywhere | 22:12 |
T42_ | <DerRenard> replace existing one or add like i did before? (re @SailfishFreenodeIRCBridgeBot: <mal>I think you sho...) | 22:14 |
mal | ? | 22:15 |
T42_ | <DerRenard> In .hadk.env i need to change DEVICE or add RPM_DEVICE? | 22:16 |
mal | no | 22:16 |
mal | wait | 22:16 |
mal | you should have DEVICE="mi439" and HABUILD_DEVICE="Mi439" | 22:17 |
mal | with the export in front of those of course as it has in every line | 22:18 |
T42_ | <DerRenard> did this without syncing it with github (re @SailfishFreenodeIRCBridgeBot: <mal>then check hadk...) | 22:28 |
T42_ | <DerRenard> I'll do it later | 22:28 |
T42_ | <DerRenard> what next? | 22:28 |
mal | make the needed changes to droid-configs again | 22:31 |
mal | to spec file and also the git reset we did before | 22:31 |
mal | verify in spec file that you really have mi439 as codename there | 22:32 |
T42_ | <DerRenard> Can't i just rename existing folder? (re @SailfishFreenodeIRCBridgeBot: <mal>verify in spec ...) | 22:35 |
T42_ | <DerRenard> 1 letter | 22:35 |
mal | we you would need to search and replace the codename in some files and also rename couple of files etc | 22:35 |
mal | it can be done but easy to make mistakes | 22:36 |
T42_ | <DerRenard> So i need to DELETE existing folder and create a new one? | 22:36 |
mal | rename the folder so you have a backup so you can check what you did before | 22:37 |
mal | so for example "mv hybris/droid-configs hybris/droid-configs-backup" | 22:37 |
mal | then recreate it | 22:38 |
mal | but before you recreate it make sure "echo $DEVICE" from terminal prints mi439 | 22:38 |
T42_ | <DerRenard> ah... | 22:43 |
T42_ | <DerRenard> no provider of droid-hal-mi439-devel found | 22:43 |
mal | did you run build_packages.sh again | 22:45 |
mal | the whole thing, since you created new target | 22:45 |
T42_ | <DerRenard> yes (re @SailfishFreenodeIRCBridgeBot: <mal>did you run bui...) | 22:51 |
mal | and you correctly fixed droid-hal spec? | 22:52 |
mal | just to verify you ran build_packages.sh without any parameters? | 22:53 |
T42_ | <DerRenard> wait, what? | 22:59 |
T42_ | <DerRenard> ``` | 22:59 |
T42_ | <DerRenard> sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper in --force droid-local-repo/$DEVICE/droid-config-mi439-1*.rpm | 22:59 |
T42_ | <DerRenard> Loading repository data... | 22:59 |
T42_ | <DerRenard> Reading installed packages... | 22:59 |
T42_ | <DerRenard> Forcing installation of 'droid-config-mi439-1-202509262241.aarch64' from repository 'Plain RPM files cache'. | 22:59 |
T42_ | <DerRenard> Resolving package dependencies... | 22:59 |
T42_ | <DerRenard> Problem: nothing provides 'droid-hal' needed by the to be installed droid-config-mi439-1-202509262241.aarch64 | 22:59 |
T42_ | <DerRenard> Solution 1: do not install droid-config-mi439-1-202509262241.aarch64 | 22:59 |
T42_ | <DerRenard> Solution 2: break droid-config-mi439-1-202509262241.aarch64 by ignoring some of its dependencies``` | 22:59 |
T42_ | <DerRenard> sorry for pasting it here | 22:59 |
T42_ | <DerRenard> i tried to download it again but got this | 22:59 |
mal | do you have droid-hal rpms in droid-local-repo/$DEVICE/ ? | 22:59 |
T42_ | <DerRenard> yes | 23:00 |
T42_ | <DerRenard> a lot | 23:00 |
mal | and those are droid-hal-mi439*? | 23:00 |
T42_ | <DerRenard> yes, but with capital letter | 23:00 |
mal | then you either didn't fix droid-hal spec or didn't run build_packages.sh without any parameters | 23:01 |
T42_ | <DerRenard> i did both (re @SailfishFreenodeIRCBridgeBot: <mal>then you either...) | 23:01 |
mal | show droid-hal spec file | 23:01 |
T42_ | <DerRenard> rerun it | 23:01 |
T42_ | <DerRenard> maybe i'll work | 23:02 |
T42_ | <DerRenard> building of packae failed | 23:03 |
mal | which package? | 23:03 |
T42_ | <DerRenard> sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper in --force droid-local-repo/$DEVICE/droid-config-mi439-1*.rpm | 23:04 |
T42_ | <DerRenard> Loading repository data... | 23:04 |
T42_ | <DerRenard> Reading installed packages... | 23:04 |
T42_ | <DerRenard> Forcing installation of 'droid-config-mi439-1-202509262241.aarch64' from repository 'Plain RPM files cache'. | 23:04 |
T42_ | <DerRenard> Resolving package dependencies... | 23:04 |
T42_ | <DerRenard> Problem: nothing provides 'droid-hal' needed by the to be installed droid-config-mi439-1-202509262241.aarch64 | 23:04 |
T42_ | <DerRenard> Solution 1: do not install droid-config-mi439-1-202509262241.aarch64 | 23:04 |
T42_ | <DerRenard> Solution 2: break droid-config-mi439-1-202509262241.aarch64 by ignoring some of its dependencies | 23:04 |
T42_ | <DerRenard> https://pastebin.com/8KmGY45S | 23:04 |
mal | you said you fixed droid-hal spec but if that paste is correct you didn't | 23:05 |
mal | that droid-hal spec doesn't have rpm_device which I said you need to add there | 23:06 |
T42_ | <DerRenard> but there's droid-configs. what's the difference? | 23:07 |
mal | different packages | 23:07 |
mal | you add on the line after "%define device Mi439" and new line with "%define rpm_device mi439" | 23:07 |
T42_ | <DerRenard> repaired | 23:07 |
mal | so now you show have both of those, device and rpm_device in the droid-hal spec | 23:08 |
mal | *should have | 23:09 |
T42_ | <DerRenard> again building of package failed | 23:09 |
mal | do you now have droid-hal-mi439-* in droid-local-repo/$DEVICE | 23:10 |
T42_ | <DerRenard> yes | 23:10 |
mal | so same error or different error? | 23:10 |
T42_ | <DerRenard> looks like the same | 23:11 |
mal | how is that possible if you now have correct rpms in that folder with mi439 not Mi439 | 23:11 |
T42_ | <DerRenard> https://pastebin.com/eWijQpJf | 23:13 |
T42_ | <DerRenard> I put everything helpful here | 23:13 |
mal | first of all straggler_files things do not belong to droid-config spec, those are for droid-hal spec only | 23:17 |
mal | same for installable zip | 23:17 |
mal | you seem to be confusing droid-hal and droid-config spec files all the time | 23:18 |
T42_ | <DerRenard> same name. ofc i will be confusing with them | 23:20 |
mal | not the same name | 23:20 |
mal | how is droid-hal the same as droid-config | 23:20 |
T42_ | <DerRenard> content is similar, let's say that | 23:21 |
T42_ | <DerRenard> i removed incorrect from droid-configs | 23:21 |
T42_ | <DerRenard> what next | 23:21 |
mal | try to build again | 23:22 |
mal | and it seems you didn't correctly recreate droid-config | 23:23 |
T42_ | <DerRenard> heck. the same (re @SailfishFreenodeIRCBridgeBot: <mal>try to build ag...) | 23:23 |
mal | it still contains parts that suggest it's the old one | 23:23 |
mal | let's continue tomorrow | 23:23 |
T42_ | <DerRenard> i moved prev one to droid-config_bak and created a new one (re @SailfishFreenodeIRCBridgeBot: <mal>it still contai...) | 23:24 |
T42_ | <DerRenard> what else should i do? | 23:24 |
T42_ | <DerRenard> yes (re @SailfishFreenodeIRCBridgeBot: <mal>let's continue ...) | 23:24 |
T42_ | <DerRenard> when you will be free? | 23:24 |
T42_ | <DerRenard> and which Time zone you are? | 23:25 |
mal | in that last paste it had "%include patterns/patterns-sailfish-device-adaptation-Mi439.inc" which cannot be if you followed instructions | 23:25 |
mal | so we need to figure out what you missed and did wrong | 23:26 |
T42_ | <DerRenard> repair the broken is much harder the creating the new one (re @SailfishFreenodeIRCBridgeBot: <mal>so we need to f...) | 23:27 |
mal | one possibility is that you didn't leave platform sdk after you changed .hadk.env file | 23:28 |
mal | so it wouldn't reload the environment variables | 23:28 |
mal | which then would result in many things going wrong | 23:28 |
T42_ | <DerRenard> AAA. I renamed it to mi439 and it looks like it building something. (re @SailfishFreenodeIRCBridgeBot: <mal>in that last pa...) | 23:29 |
T42_ | <DerRenard> no. i left and entered it twice (re @SailfishFreenodeIRCBridgeBot: <mal>one possibility...) | 23:29 |
mal | did you test what "echo $DEVICE" prints in terminal | 23:29 |
T42_ | <DerRenard> i remember that cause of "ritual" with mounting second drive every time i step in | 23:30 |
T42_ | <DerRenard> yes (re @SailfishFreenodeIRCBridgeBot: <mal>did you test wh...) | 23:30 |
T42_ | <DerRenard> mi439 | 23:30 |
T42_ | <DerRenard> a the start it report build is for mi439 | 23:30 |
mal | run "grep -RI Mi439 hybris/droid-configs" does it return anything? | 23:31 |
T42_ | <DerRenard> https://pastebin.com/mHqXwFdH | 23:33 |
T42_ | <DerRenard> new log and what you've asked | 23:33 |
mal | you can again see file conflicts | 23:35 |
mal | so you need to manually install for example droid-hal-mi439-devel using the sb2 command I gave earlier | 23:35 |
T42_ | <DerRenard> OH, It work | 23:36 |
T42_ | <DerRenard> It installed | 23:36 |
T42_ | <DerRenard> last log for now. I go sleeping. I'll write tomorrow | 23:45 |
T42_ | <DerRenard> https://pastebin.com/JuKCupEX | 23:45 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!