Thursday, 2022-07-28

T42<xdfce> https://telegra.ph/what-do-07-2805:12
T42<xdfce> erro05:12
T42<xdfce> make -j$(nproc --all) hybris-hal droidmedia05:13
T42<xdfce> this commnt05:13
T42<Verevka86> you have not applied hybris patches05: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
EleventhLastrepo problem: nothing provides 'droid-hal-version-hlte' needed by the to be installed patterns-sailfish-device-adaptation-hlte-1-202207281322.armv7hl,13:32
EleventhLastwhat to do with it?13:32
T42<elros34> did you build it? build_packages.sh -v13:38
EleventhLastrpm/dhd/helpers/build_packages.sh --mic13:47
EleventhLastand after a while this is going to13:48
EleventhLastPlatformSDK 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/hl13:48
EleventhLastExecuting(%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 failed13:49
ThaodanDon't paste stuff to irc13:49
Thaodanuse a pastebin13:49
EleventhLasthttps://pastebin.com/q3JxjbCh13:50
EleventhLastsorry13:50
EleventhLasthttps://pastebin.com/f06rphf213:53
EleventhLastdroid hal log13:53
EleventhLastrpm/dhd/helpers/build_packages.sh -v https://pastebin.com/Ux0qgjGx13:59
T42<elros34> Do you have multiple spec files in droid-hal-version sources or something like that?14:07
EleventhLasthave all .spec files14:12
EleventhLastrpm/droid-hal-hlte.spec  https://pastebin.com/m1CBj0cZ14:13
EleventhLastdroid-hal-version-hlte.spec  https://pastebin.com/XHb8QETu14:14
EleventhLastdroid-configs-device/droid-config-hlte.spec https://pastebin.com/GhudAVQj14:15
EleventhLastrpm/dhd/helpers/build_packages.sh -m https://pastebin.com/2zk8sTqz14:16
EleventhLastrpm/dhd/helpers/build_packages.sh -g https://pastebin.com/yvBQeifG14:19
EleventhLastsomeone 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
EleventhLastI 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 change14:43
EleventhLastI didn’t fully understand where to clone droid-hal-version , so I have it almost everywhere14:45
EleventhLastls rpm/hybris/droid-hal-version/ droid-hal-version-@DEVICE@.spec.template  droid-hal-version.inc droid-hal-version-hlte.spec               README14: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 submodule14:49
T42<elros34> it's hard to make mistake if you just replace hammerhead with your device code name14:51
EleventhLastI don't know if it matters? my manifest is based on lineage 15.114:52
EleventhLastls hybris/droid-hal-version-hlte/ droid-hal-version  droid-hal-version-hlte.spec  rpm14: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 confusing14:54
T42<elros34> and suggest structure is still wrong14:55
EleventhLastI don't want to take so much time to upload everything to github14:55
T42<elros34> it's like 30s of work but ok then execute step by step instruction from hadk again14:56
malwe only want to see content of 3 small repos14:56
EleventhLastdroid-hal-version-hlte and also the derivatives?14:58
EleventhLastI just thought that you want me to upload everything at all14:59
maldroid-hal-version, probably also droid-config repo and the repo in $ANDROID_ROOT/rpm i.e. droid-hal-hlte15:00
mallast one is not that critical15:00
EleventhLastokey15:01
EleventhLasthttps://github.com/yakey415:41
T42<elros34> remove that https://github.com/yakey4/droid-hal-version-hlte/blob/master/droid-hal-version-hlte.spec15:46
EleventhLastdeleted15:49
T42<elros34> similar in droid-config, droid-hal is mess up totally15:50
EleventhLastdeleted15:53
EleventhLastwhat should I do next?16:03
EleventhLastWouldn'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 inside16:11
EleventhLastdelete everything and start from point 7.1?16:13
malnot everything but the $ANDROID_ROOT/rpm folder16: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-config16:14
EleventhLastI still don't understand how this part16:39
EleventhLastLIPSTICK_OPTIONS=-plugin evdevtouch:/dev/input/event0 -plugin ˓→evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap16:40
Thaodanit's to tell which input device is the touchscreen16:42
EleventhLastdo these 2 characters need to be erased ˓→16:42
Thaodanoften you can skip the evdevtouch part but for some phones you need to point to the specific touch device.16:42
Thaodanyes16:42
EleventhLastI do not have a question for the touchscreen, but for how to copy it. and then edit again16:43
EleventhLastin my case event5 sec_touchckreen16:44
EleventhLastskreen*16:44
EleventhLasttwo lines need to be copied into one line?16:46
EleventhLastI did everything in git upload, trying to build?16:59
EleventhLastI rebuilt everything, but the errors are the same17:11
T42<elros34> really droid-hal-version fails the same way?17:18
EleventhLasthttps://pastebin.com/qFm5PFGn17:20
EleventhLastI don't know if it can be ignored17: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-hot17:30
EleventhLasthttps://pastebin.com/UiER3Qdw17:39
EleventhLastproblem with droid-hal-version not solved17:40
T42<elros34> initial error disappeared so it's better. Build droid-config/hal now and you will see17:44
EleventhLasthow should i assemble it?17:49
T42<elros34> build_packages.sh -d -c then -m and -v17:50
EleventhLasthttps://pastebin.com/8e80JHbG18:12
EleventhLastit is not going to, everywhere there are errors18:13
EleventhLasthttps://pastebin.com/jcVE2gb218:18
EleventhLast--mic18:19
T42<elros34> why you still didn't fix error you asked and got link with solution?18:19
EleventhLastMake following change in rpm/dhd/helpers/util.sh18:20
EleventhLastthis is?18:21
T42<elros34> I guess18:22
EleventhLastpast errors are gone, but the droid-hal-version error has not disappeared and is still there18:45
EleventhLasthttps://pastebin.com/TzaD2Wun18:47
ThaodanDid you build droid-hal and droid-config?19:13
EleventhLastyes19:17
ThaodanWell witn those packages there's something wrong19:19
Thaodaneither the name is wrong, the package doesn't exist or something else19:20
T42<elros34> error is obvious, it's file conflicts  with   ofono-configs-binder19:20
EleventhLasthow to delete?19:21
ThaodanAh I just looked down19:21
Thaodanno sec19:21
T42<elros34> take a look at official devices, for example here: https://github.com/mer-hybris/droid-config-sony-seine/commit/2b6e4ded5ab0b7237bbbb7ae4458428413ec753719:22
T42<elros34> still you will probably need to install droid-configs once in target19:23
T42<elros34> manually*19:23
ThaodanYou don't19:23
Thaodanrpm should fine it19:23
ThaodanBut yeah just cherry pick that commit19:23
ThaodanI have it in kuman too: https://github.com/SailfishOS-SonyXperia/droid-config-sony-kumano/commit/4f5b55d795c40342e7449b45519c8ceee234d43519:24
EleventhLastI don't understand where this file is located19:27
ThaodanIt's in the baseline config package, your device provides it's own configs tha'ts why you need the commit19:28
EleventhLasthybris/droid-configs/droid-configs-device/droid-configs.inc   ?19:30
EleventhLastwhat am I supposed to do? I didn't understand19: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/*spec19:36
ThaodanEleventhLast: Do you have more than one device variant of your phone?19:36
EleventhLastin what sense several?19:37
T42<elros34> you don't19:37
ThaodanIn 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
Thaodanseveral in the sense that you have dual or single sim variants19:38
EleventhLastas far as I know, there are two, but this is very rare, personally I only have one sim19:38
ThaodanYou can see when you look at the amount of lunch variants that are there for your device19:39
ThaodanThan add both19:39
ThaodanUsually in some countries dual sim are more popular19:39
EleventhLastmy 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 anywhere19:41
T42<elros34> oh comon ignore it, what is the point of it now, just add mentioned line to your hybris/droid-configs/rpm/*.spec19:42
EleventhLastadded this picture but nothing changed19:44
T42<elros34> now ''sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in droid-config-$DEVICE'19:46
EleventhLastNo 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/$DEVICE19:50
EleventhLastit just gave me a list of commands19:51
T42<elros34> between zypper and install19:53
EleventhLastI said it didn't create a version19:53
T42<elros34> no idea what are you talking about now19:54
EleventhLastCheck /home/eleventh/hadk/hybris/droid-hal-version-hlte.log for full log.  !! building of package failed19:54
T42<elros34> we were fixing droid-config issue so focus on that first, did you fix ofono-configs-binder now?19:55
EleventhLastin the file: hybris/droid-configs/rpm/droid-config-hlte.spec I made: Obsoletes: ofono-configs-binder19: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
EleventhLastoading 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 executing20:00
EleventhLastsb2 -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 forgot20:01
EleventhLastzypper --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 zyppe20: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
EleventhLastile 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 yes20:04
EleventhLastsuccessfully installed20:06
EleventhLastand then what?20:10
T42<elros34> then file conflict should be fixed, confirm it20:11
EleventhLastyes, conflict resolved20:12
EleventhLast-DONE! Now proceed on creating the rootfs20:12
EleventhLasta little later I'll check on the device itself, can I sew it not through odin?20:15
EleventhLasttwrp20:15
EleventhLastWarning[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
EleventhLastwhy do they clash again?20:37
T42<elros34> did you really rebuild droid-config?21:37
EleventhLastI have already found what is the reason21:40
EleventhLasthttps://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-06-24.log.html21:41
EleventhLast#14 message21:41
EleventhLasti tried to rebuild droid-config but got this21: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 failed21:43
EleventhLastwell, it's my own fault for adding a percentage, now everything is ok with the addition of Provides: ofono-configs Obsoletes: ofono-configs-mer21:45
ThaodanYou 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/!