T42 | <xdfce> https://telegra.ph/what-do-07-28 | 05:12 |
---|---|---|
T42 | <xdfce> erro | 05:12 |
T42 | <xdfce> make -j$(nproc --all) hybris-hal droidmedia | 05:13 |
T42 | <xdfce> this commnt | 05:13 |
T42 | <Verevka86> you have not applied hybris patches | 05:17 |
T42 | <edp_17> mal : Funny, I cannot upgrade to 20.04. :) Even if all 3rd party sources deactivated and all packages updated upon an upgrade attempt, it says "Please install all available updates for your release before upgrading." | 06:58 |
T42 | <edp_17> Damn, it was mutter which status was "kept", After removal of this upgrade started. | 07:00 |
EleventhLast | repo problem: nothing provides 'droid-hal-version-hlte' needed by the to be installed patterns-sailfish-device-adaptation-hlte-1-202207281322.armv7hl, | 13:32 |
EleventhLast | what to do with it? | 13:32 |
T42 | <elros34> did you build it? build_packages.sh -v | 13:38 |
EleventhLast | rpm/dhd/helpers/build_packages.sh --mic | 13:47 |
EleventhLast | and after a while this is going to | 13:48 |
EleventhLast | PlatformSDK eleventh@eleventh-ThinkPad:~/hadk$ rpm/dhd/helpers/build_packages.sh --droid-hal * Building rpm/droid-hal-hlte.spec warning: Empty %files file /home/eleventh/hadk/dtbo.files Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/eleventh/hadk/installroot Wrote: /home/eleventh/hadk/droid-local-repo/hlte/droid-hal-hlte-img-boot-0.0.6-202207281346.armv7hl.rpm Wrote: /home/eleventh/hadk/droid-local-repo/hl | 13:48 |
EleventhLast | Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bJeRAv + umask 022 + cd /home/eleventh/hadk + /bin/rm -rf /home/eleventh/hadk/installroot + RPM_EC=0 ++ jobs -p + exit 0 NOTICE: No packages found and none specified explicitly Fatal: None of the selected test suites operate on the selected test levels. Nothing to do. * Check /home/eleventh/hadk/droid-hal-hlte.log for full log. !! building of package failed | 13:49 |
Thaodan | Don't paste stuff to irc | 13:49 |
Thaodan | use a pastebin | 13:49 |
EleventhLast | https://pastebin.com/q3JxjbCh | 13:50 |
EleventhLast | sorry | 13:50 |
EleventhLast | https://pastebin.com/f06rphf2 | 13:53 |
EleventhLast | droid hal log | 13:53 |
EleventhLast | rpm/dhd/helpers/build_packages.sh -v https://pastebin.com/Ux0qgjGx | 13:59 |
T42 | <elros34> Do you have multiple spec files in droid-hal-version sources or something like that? | 14:07 |
EleventhLast | have all .spec files | 14:12 |
EleventhLast | rpm/droid-hal-hlte.spec https://pastebin.com/m1CBj0cZ | 14:13 |
EleventhLast | droid-hal-version-hlte.spec https://pastebin.com/XHb8QETu | 14:14 |
EleventhLast | droid-configs-device/droid-config-hlte.spec https://pastebin.com/GhudAVQj | 14:15 |
EleventhLast | rpm/dhd/helpers/build_packages.sh -m https://pastebin.com/2zk8sTqz | 14:16 |
EleventhLast | rpm/dhd/helpers/build_packages.sh -g https://pastebin.com/yvBQeifG | 14:19 |
EleventhLast | someone can help me with this? | 14:34 |
T42 | <elros34> I am only asking about hal-version so far so do not paste everything. Did you check all directories in droid-hal-version? Do you have git repo uploaded? | 14:39 |
EleventhLast | I would like to ask first, he should be on what path $ANDROID_ROOT/? | 14:42 |
T42 | <elros34> he? BTW vendor_pretty should be Samsung not note3 but it is cosmetic change | 14:43 |
EleventhLast | I didn’t fully understand where to clone droid-hal-version , so I have it almost everywhere | 14:45 |
EleventhLast | ls rpm/hybris/droid-hal-version/ droid-hal-version-@DEVICE@.spec.template droid-hal-version.inc droid-hal-version-hlte.spec README | 14:47 |
T42 | <elros34> read again hadk 7.1 droid-hal(-device) != droid-hal-version. It's step by step instruction, your droid-hal-version should be created in $ANDROID_ROOT/hybris/droid-hal-version-$DEVICE/ athen in that directory you initialize droid-hal-version submodule | 14:49 |
T42 | <elros34> it's hard to make mistake if you just replace hammerhead with your device code name | 14:51 |
EleventhLast | I don't know if it matters? my manifest is based on lineage 15.1 | 14:52 |
EleventhLast | ls hybris/droid-hal-version-hlte/ droid-hal-version droid-hal-version-hlte.spec rpm | 14:53 |
T42 | <elros34> it doesn't matter what android base do you use, upload your repos to github then it will be clear, that ls command is confusing | 14:54 |
T42 | <elros34> and suggest structure is still wrong | 14:55 |
EleventhLast | I don't want to take so much time to upload everything to github | 14:55 |
T42 | <elros34> it's like 30s of work but ok then execute step by step instruction from hadk again | 14:56 |
mal | we only want to see content of 3 small repos | 14:56 |
EleventhLast | droid-hal-version-hlte and also the derivatives? | 14:58 |
EleventhLast | I just thought that you want me to upload everything at all | 14:59 |
mal | droid-hal-version, probably also droid-config repo and the repo in $ANDROID_ROOT/rpm i.e. droid-hal-hlte | 15:00 |
mal | last one is not that critical | 15:00 |
EleventhLast | okey | 15:01 |
EleventhLast | https://github.com/yakey4 | 15:41 |
T42 | <elros34> remove that https://github.com/yakey4/droid-hal-version-hlte/blob/master/droid-hal-version-hlte.spec | 15:46 |
EleventhLast | deleted | 15:49 |
T42 | <elros34> similar in droid-config, droid-hal is mess up totally | 15:50 |
EleventhLast | deleted | 15:53 |
EleventhLast | what should I do next? | 16:03 |
EleventhLast | Wouldn't it be easier to just rebuild everything? | 16:10 |
T42 | <elros34> you are not at even at rebuild stage, just execute steps for creating droid-hal again, you are missing spec file there and have droid-config submodule inside | 16:11 |
EleventhLast | delete everything and start from point 7.1? | 16:13 |
mal | not everything but the $ANDROID_ROOT/rpm folder | 16:14 |
T42 | <elros34> I suggest this 1 hour ago but now there is no point, just droid-hal part. Also clean up patterns/ directory from templates in droid-config | 16:14 |
EleventhLast | I still don't understand how this part | 16:39 |
EleventhLast | LIPSTICK_OPTIONS=-plugin evdevtouch:/dev/input/event0 -plugin ˓→evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap | 16:40 |
Thaodan | it's to tell which input device is the touchscreen | 16:42 |
EleventhLast | do these 2 characters need to be erased ˓→ | 16:42 |
Thaodan | often you can skip the evdevtouch part but for some phones you need to point to the specific touch device. | 16:42 |
Thaodan | yes | 16:42 |
EleventhLast | I do not have a question for the touchscreen, but for how to copy it. and then edit again | 16:43 |
EleventhLast | in my case event5 sec_touchckreen | 16:44 |
EleventhLast | skreen* | 16:44 |
EleventhLast | two lines need to be copied into one line? | 16:46 |
EleventhLast | I did everything in git upload, trying to build? | 16:59 |
EleventhLast | I rebuilt everything, but the errors are the same | 17:11 |
T42 | <elros34> really droid-hal-version fails the same way? | 17:18 |
EleventhLast | https://pastebin.com/qFm5PFGn | 17:20 |
EleventhLast | I don't know if it can be ignored | 17:21 |
T42 | <elros34> how is that related to my question? Error in your latest log is known, you can find workaround in this channel logs or here https://etherpad.wikimedia.org/p/hadk-hot | 17:30 |
EleventhLast | https://pastebin.com/UiER3Qdw | 17:39 |
EleventhLast | problem with droid-hal-version not solved | 17:40 |
T42 | <elros34> initial error disappeared so it's better. Build droid-config/hal now and you will see | 17:44 |
EleventhLast | how should i assemble it? | 17:49 |
T42 | <elros34> build_packages.sh -d -c then -m and -v | 17:50 |
EleventhLast | https://pastebin.com/8e80JHbG | 18:12 |
EleventhLast | it is not going to, everywhere there are errors | 18:13 |
EleventhLast | https://pastebin.com/jcVE2gb2 | 18:18 |
EleventhLast | --mic | 18:19 |
T42 | <elros34> why you still didn't fix error you asked and got link with solution? | 18:19 |
EleventhLast | Make following change in rpm/dhd/helpers/util.sh | 18:20 |
EleventhLast | this is? | 18:21 |
T42 | <elros34> I guess | 18:22 |
EleventhLast | past errors are gone, but the droid-hal-version error has not disappeared and is still there | 18:45 |
EleventhLast | https://pastebin.com/TzaD2Wun | 18:47 |
Thaodan | Did you build droid-hal and droid-config? | 19:13 |
EleventhLast | yes | 19:17 |
Thaodan | Well witn those packages there's something wrong | 19:19 |
Thaodan | either the name is wrong, the package doesn't exist or something else | 19:20 |
T42 | <elros34> error is obvious, it's file conflicts with ofono-configs-binder | 19:20 |
EleventhLast | how to delete? | 19:21 |
Thaodan | Ah I just looked down | 19:21 |
Thaodan | no sec | 19:21 |
T42 | <elros34> take a look at official devices, for example here: https://github.com/mer-hybris/droid-config-sony-seine/commit/2b6e4ded5ab0b7237bbbb7ae4458428413ec7537 | 19:22 |
T42 | <elros34> still you will probably need to install droid-configs once in target | 19:23 |
T42 | <elros34> manually* | 19:23 |
Thaodan | You don't | 19:23 |
Thaodan | rpm should fine it | 19:23 |
Thaodan | But yeah just cherry pick that commit | 19:23 |
Thaodan | I have it in kuman too: https://github.com/SailfishOS-SonyXperia/droid-config-sony-kumano/commit/4f5b55d795c40342e7449b45519c8ceee234d435 | 19:24 |
EleventhLast | I don't understand where this file is located | 19:27 |
Thaodan | It's in the baseline config package, your device provides it's own configs tha'ts why you need the commit | 19:28 |
EleventhLast | hybris/droid-configs/droid-configs-device/droid-configs.inc ? | 19:30 |
EleventhLast | what am I supposed to do? I didn't understand | 19:35 |
T42 | <elros34> not in submodule, in your spec file which you have created. droid-config-common.inc is just common file included in rpm/droid-config-xqau5*.spec so it's same as adding this line in rpm/*spec | 19:36 |
Thaodan | EleventhLast: Do you have more than one device variant of your phone? | 19:36 |
EleventhLast | in what sense several? | 19:37 |
T42 | <elros34> you don't | 19:37 |
Thaodan | In that ase you should use droid-config-common.inc too. droid-config-common.inc is as the name said a file it is inc(cluded) on every spec so common lines are shared betwen variant. | 19:37 |
Thaodan | several in the sense that you have dual or single sim variants | 19:38 |
EleventhLast | as far as I know, there are two, but this is very rare, personally I only have one sim | 19:38 |
Thaodan | You can see when you look at the amount of lunch variants that are there for your device | 19:39 |
Thaodan | Than add both | 19:39 |
Thaodan | Usually in some countries dual sim are more popular | 19:39 |
EleventhLast | my version of the phone is the most popular hlte, and still it’s not clear what exactly I need to do, I didn’t find the droid-config-common.inc file anywhere | 19:41 |
T42 | <elros34> oh comon ignore it, what is the point of it now, just add mentioned line to your hybris/droid-configs/rpm/*.spec | 19:42 |
EleventhLast | added this picture but nothing changed | 19:44 |
T42 | <elros34> now ''sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in droid-config-$DEVICE' | 19:46 |
EleventhLast | No provider of 'droid-config-hlte' found. | 19:48 |
T42 | <elros34> ah latest changes complicates everything.. | 19:48 |
T42 | <elros34> add to zypper --plus-repo $ANDROID_ROOT/droid-local-repo/$DEVICE | 19:50 |
EleventhLast | it just gave me a list of commands | 19:51 |
T42 | <elros34> between zypper and install | 19:53 |
EleventhLast | I said it didn't create a version | 19:53 |
T42 | <elros34> no idea what are you talking about now | 19:54 |
EleventhLast | Check /home/eleventh/hadk/hybris/droid-hal-version-hlte.log for full log. !! building of package failed | 19:54 |
T42 | <elros34> we were fixing droid-config issue so focus on that first, did you fix ofono-configs-binder now? | 19:55 |
EleventhLast | in the file: hybris/droid-configs/rpm/droid-config-hlte.spec I made: Obsoletes: ofono-configs-binder | 19:57 |
T42 | <elros34> great but we are at sb2 command step, did you execute it? | 19:58 |
T42 | <elros34> full command with missing --plus-repo? | 19:59 |
EleventhLast | oading repository data... Reading installed packages... 'droid-config-hlte' not found in package names. Trying capabilities. No provider of 'droid-config-hlte' found. Resolving package dependencies.. | 19:59 |
T42 | <elros34> show full output with command you are executing | 20:00 |
EleventhLast | sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in droid-config-$DEVICE Loading repository data... Reading installed packages... 'droid-config-hlte' not found in package names. Trying capabilities. No provider of 'droid-config-hlte' found. Resolving package dependencies... Nothing to do. | 20:00 |
T42 | <elros34> you were supposed to add --plus-repo argument which I forgot | 20:01 |
EleventhLast | zypper --plus-repo $ANDROID_ROOT/droid-local-repo/$DEVICE Usage: zypper [--GLOBAL-OPTIONS] <COMMAND> [--COMMAND-OPTIONS] [ARGUMENTS] zypper <SUBCOMMAND> [--COMMAND-OPTIONS] [ARGUMENTS] Global Options: --help, -h Help. --version, -V Output the version number. --promptids Output a list of zyppe | 20:02 |
T42 | <elros34> 'sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper --plus-repo $ANDROID_ROOT/droid-local-repo/$DEVICE in droid-config-$DEVICE' | 20:03 |
EleventhLast | ile conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content. Continue? [yes/no] (no): | 20:04 |
T42 | <elros34> so answer yes | 20:04 |
EleventhLast | successfully installed | 20:06 |
EleventhLast | and then what? | 20:10 |
T42 | <elros34> then file conflict should be fixed, confirm it | 20:11 |
EleventhLast | yes, conflict resolved | 20:12 |
EleventhLast | -DONE! Now proceed on creating the rootfs | 20:12 |
EleventhLast | a little later I'll check on the device itself, can I sew it not through odin? | 20:15 |
EleventhLast | twrp | 20:15 |
EleventhLast | Warning[07/28 20:23:38] : file /etc/ofono/binder.conf conflicts between attempted installs of droid-config-hlte-1-202207281918.armv7hl and ofono-configs-binder-1.0.2-1.1.1.jolla.armv7hl Error <repo>[07/28 20:23:38] : Could not run transaction. | 20:28 |
EleventhLast | why do they clash again? | 20:37 |
T42 | <elros34> did you really rebuild droid-config? | 21:37 |
EleventhLast | I have already found what is the reason | 21:40 |
EleventhLast | https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-06-24.log.html | 21:41 |
EleventhLast | #14 message | 21:41 |
EleventhLast | i tried to rebuild droid-config but got this | 21:43 |
EleventhLast | File must begin with "/": %Obsoletes: File must begin with "/": ofono-configs-binder * Check /home/eleventh/hadk/hybris/droid-configs.log for full log. !! building of package failed | 21:43 |
EleventhLast | well, it's my own fault for adding a percentage, now everything is ok with the addition of Provides: ofono-configs Obsoletes: ofono-configs-mer | 21:45 |
Thaodan | You can add variants if you want. but Don't preinstall dependencies that's bad packaging. | 22:08 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!