Tuesday, 2020-11-24

T42Eric W. Thomas %lastname% was added by: Eric W. Thomas %lastname%04:15
wdehoogmic failed for me with a python error: AttributeError: module 'string' has no attribute 'join' see https://pastebin.com/bSps5j4c08:32
wdehoogchanging string.join(userconfig.groups, ",") into ", ".join(userconfig.groups) seems to help but why does this only fails for me?08:32
malwdehoog: did you update platform sdk?09:23
wdehoogI think so. I always start with:   sdk-assistant remove oneplus-bacon-armv7hl  sdk-assistant remove SailfishOS-latest  sdk-assistant create SailfishOS-latest http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Tooling-i486.tar.7z  sdk-assistant create oneplus-bacon-armv7hl09:24
wdehooghttp://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Target-armv7hl.tar.7z09:24
malI mean not just target but also sdk itself, check ssu lr in platform sdk (without any sb2)09:32
malwdehoog: if that ssu lr output shows some older version in urls then so sudo ssu re 3.4.0.24 and then sudo zypper ref and sudo zypper dup09:33
wdehoogI think everything is ok: https://pastebin.com/R2VfA5Kq09:40
T42<Andy %lastname%> Wow you have been busy @wdehoog . Is it nearly built or just starting?09:44
T42<Andy %lastname%> @mal [wdehoog: if that ssu lr output shows some olde …], Does this mean we should try to upgrade now or wait?09:44
malwhat?09:46
malthat was just for wdehoog to check the platform sdk situation09:46
T42<Andy %lastname%> aha I see. Sorry - easily confused09:50
malwdehoog: looks like mic is missing a patch, you could manually fix it like this https://github.com/sailfishos/mic/commit/993ac59c64fc5134c7df924817874897823cdf47 in /usr/lib/python3.8/site-packages/mic/kickstart/__init__.py in platform sdk09:52
wdehoog@mal thanks09:53
T42<ankaos> Elros: use mi a1 config09:54
T42<ankaos> Build --droid-config09:54
malwdehoog: ah, I checked the bug related to that and are you using old .ks file?10:03
wdehoogyes. do I need to regenerate it? (and search in the hadk on how to since I have no idea anymore)10:04
malwdehoog: hadk way always regenerates it10:04
malI think there were some issues with old .ks files recently elsewhere also10:05
malwdehoog: looks like hadk pdf now uses the automatic mic way using build_packages.sh --mic10:06
malif you need some customization then you need to modify the file manually10:07
wdehoogI notice I am also using an old HADK. I'll try tonight10:08
T42MeccaEL was added by: MeccaEL10:18
T42Mad_Dev was added by: Mad_Dev11:36
T42<ankaos> https://paste.ubuntu.com/p/Y9zTbGgnVt/ a new error?15:23
T42<ankaos> use S"ailfish OS 3.3.0.16 (Rokua)"15:24
malthat url works so not sure what is happening, when does that occur?16:35
T42<ankaos> mal: ı use "rpm/dhd/helpers/build_packages.sh —mic"16:41
T42<ankaos> and new error : Warning[11/24 15:48:59] : repo problem: nothing provides lipstick-tools needed by patterns-sailfish-dev-tools-1.0.36-1.16.1.jolla.noarch16:41
malremove patterns-sailfish-dev-tools from patterns16:44
maldo the change mention here https://github.com/mer-hybris/droid-hal-configs/pull/201/files16:44
malbut to your own patterns in patterns folder16:45
malso hybris/droid-configs/patterns16:45
T42<elros34> AFAIK there is no wget in jolla or common repo16:46
T42<kabouik> Really? I have `wget` on my Pro1, but not sure where I installed it from16:46
T42<kabouik> Maybe it's a port thing16:46
T42<ankaos> mal: okey ı look. and edit16:46
T42<ankaos> elros use curl :)16:47
T42<elros34> @ankaos It was about your issue, if you look at the commit mal gives you you will see wget in Requires16:48
T42<ankaos> ı am idiot16:49
T42<Andy %lastname%> well there are plenty of us @ankaos so you are not alone17:15
xmnlol17:52
xmnso true17:52
T42<ankaos> Andy: lol18:04
T42<ankaos> fatal: unable to access 'https://git.sailfishos.org/mer-core/qtscenegraph-adaptation.git/': Empty reply from server :D :D18:06
T42<ankaos> I am getting interesting errors.18:07
malthat url works for me18:18
malmaybe some temporary issue18:18
szopinhell19:09
szopino19:09
szopinI'm back at building mic after two days of testing distros, fedora was too unreliable (UI crashes, not accepting my password after idling for too long, hdmi out issues...), turns out it's not only fedora as opensuse tumbleweed had pretty much the same, tested few liveCDs, but ended up with leap and oh boy19:12
szopinhad to repo sync 3 times to get through network issues it's occassionally having, but I digress19:12
kimmolimy build laptop has opensuse, and after one build its mouse and keyboard freezes... i have been using it over ssh only19:13
szopinfound this https://github.com/Sailfish-on-Cosmo-Communicator/android_device_planet_cosmocom/blob/hybris-16.0/rootdir/Android.mk and it has both the fstab and the init.6763.rc files mentioned and they are in the etc subdir but sadly they still don't get included in my out..../root19:14
szopinkimmoli: so far so good on leap 15.2 only issue so far is no audio over hdmi, but I can live with that19:14
szopinkimmoli: worst part about fedora was being unable to log in through ssh after 5-6h as it would stop accepting my password, crazy19:14
kimmolioh, i just cant login to dekstop19:15
kimmolissh works fine. uptime is like 2 years now19:15
szopinnice, lets hope this one doesn't exhibit the same, but so far last 36h was pretty stable19:16
szopinwould anyone know why  android_device_planet_cosmocom/rootdir/Android.mk gets somehow ignored when building hybris-hal?19:16
szopinI've even renamed those files to 6771 hoping there might be some relation to what the kernel is named, but no luck19:17
szopindecided to copy manually again, but this time mic fails with Warning[11/24 19:44:51] : repo problem: nothing provides patterns-sailfish-device-configuration-cosmocom needed by pattern:jolla-configuration-cosmocom-1-202011241944.noarch,19:47
szopin(I did rerun --configs after latest update to patterns as it was failing with Unable to find pattern: Jolla Configuration cosmocom before)19:48
T42<Andy %lastname%> @kimmoli [my build laptop has opensuse, and after one bu …], What are most you using then to build. ..Ubuntu? Or Fedora?19:59
szopinok, my patterns were weird, cheated a bit and reused old 'cosmopda' ones just sedding to cosmocom and it's underway yay20:15
T42<ankaos> hı :D20:22
T42<ankaos> https://paste.ubuntu.com/p/2Ddkk43KXJ/20:22
T42<ankaos> my error is çok20:22
szopinok this is weird, never had mic fail after all the installations now it went:20:25
szopin/bin/sed: can't read /etc/zypp/zypper.conf: No such file or directory20:25
szopinInfo[11/24 20:23:42] : Script returned with non zero status, failing.20:25
szopinError <creator>[11/24 20:23:43] : Failed to execute %pre script with /bin/bash20:26
T42<elros34> @edp_17 finally after downgrading bunch of adaptation packages I was able to create 3.4.0.24 image for A31. It's still far from daily usable. As flashing  kernel is not trivial, upload your sys_config.fex so I can at least try to enable touchscreen firmware in kernel unless it's same as mine:gslx680_onda809q9. If you still bother to t20:52
T42est it and you are not afraid of bricking device20:52
szopinwhoa Konversation is handling reconnections and registered nicks pretty badly20:56
mal@ankaos did you build those?20:59
T42<ankaos> Mal: what?21:01
maldroidmedia and gst-droid21:02
T42<ankaos> Droidmedia make droidmedia21:02
malthose are mentioned chapter 13.2 of hadk pdf21:02
T42<ankaos> Okey21:02
malwhich version of sfos are you building?21:03
T42<ankaos> 3.3.0.1621:03
szopinmanaged to get to packing rootfs by commenting out the two parts where sed is parsing zypper.conf, but probably a rootfs with zypper missing is not good21:14
T42<elros34> add it then, it's included by default: https://github.com/mer-hybris/droid-hal-configs/blob/master/patterns/templates/patterns-sailfish-device-configuration-%40DEVICE%40.inc#L2521:16
szopinI have it in cat patterns-sailfish-device-configuration-cosmocom.inc21:19
szopinso either it is there and the zypper.conf is missing... or idk, unreadable?21:19
szopinno idea why mic failed tried to sed it21:21
szopinwhen trying*21:21
T42<elros34> so if you have it in inc, did you rebuild droid-config? try rpm -qp --requires patterns-sailfish-device-configuration-$DEVICE*.rpm in droid-local-repo21:21
szopinno return21:22
szopinI was rebuilding --configs when fighting with patterns, but maybe not droid-hal21:23
szopinlet me try to rebuild it too and give mic one more try21:23
T42<elros34> no21:24
T42<elros34> obviously you must run that command in droid-local-repo/$DEVICE/droid-configs directory21:25
T42<elros34> also you can check what packages were installed in image in  Jolla-3.4.0.24-$DEVICE-armv7hl.packages21:26
szopinagain no result, let me check that second thing21:26
mal@ankaos why are you building 3.3.0.16 and not 3.4.0.24?21:27
szopinyeah zypper is not there21:27
T42<ankaos> @mal [@ankaos why are you building 3.3.0.16 and not …], Update???21:27
T42<ankaos> Realy21:27
szopinmaybe should've let the .inc files be big and skip copying big yaml files in the patterns, thought it was weird the yaml was only 197 bytes21:28
szopinbut .inc does have the zypper in it, yaml doesn't21:28
szopinwill try from add_new_device then21:29
T42<elros34> what for, you should only have one yaml file with one package dependency21:29
malyes, there should be on small yaml file and two bigger .inc files21:30
szopinI was fighting with an error I couldn't find in irclogs and previously I had two big yaml files so copied the old setup, will try to do it properly now21:30
szopinnope again: repo problem: nothing provides patterns-sailfish-device-configuration-cosmocom needed by pattern:jolla-configuration-cosmocom-1-202011242130.noarch21:31
malthe two big yaml files is the old way21:31
malszopin: you are probably doing something very odd now21:32
szopinI've removed the big .yaml files and rerun add_new_device21:32
szopinran --configs21:32
szopinand mic is failing with this21:32
T42<elros34> do you have now that patterns rpms build in droid-local-repo?21:33
maldo you have these kind of two lines in spec https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/rpm/droid-config-fp2-sibon.spec#L2821:33
malwith your device codename of course21:33
szopinelros: yes there is an rpm called like the error msg21:34
szopinmal: one sec21:34
malthe lines 28 and 29 in that file I linked21:34
szopinmal: got only one line: %include droid-configs-device/droid-configs.inc21:35
szopinwill try to add the include patterns ones21:35
malszopin: are you sure you have newest submodule, can you check the .inc file for patterns-sailfish-dev-tools21:35
T42<elros34> so you didn't have rpms I asked for21:36
szopinI've refreshed the submodule slike an hour ago?21:36
szopinmaybe 221:36
malok21:36
szopinnope, same error21:37
T42<elros34> latest submodule will not work, as I said it today there is no wget package21:37
T42<elros34> in repos21:37
szopinmy droid-configs-cosmocom.spec has now:21:38
szopin%include droid-configs-device/droid-configs.inc21:38
szopin%include patterns/patterns-sailfish-device-adaptation-cosmocom.inc21:38
szopin%include patterns/patterns-sailfish-device-configuration-cosmocom.inc21:38
szopinoh wait, yeah new error21:38
szopinnothing provides wget21:38
T42<ankaos> mal: how update 3.4.0.2421:41
T42<ankaos> https://github.com/mer-hybris/hadk-faq#id6 this is?21:41
T42<ankaos> what ı say ? https://paste.ubuntu.com/p/w5nhKCTkyf/21:51
malrun this: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in droid-config-$DEVICE-bluez521:52
T42<ankaos> ı am?21:54
mal?21:54
malyou run the command I gave and then it should probably give option to remove bluez5-configs-mer and select that21:55
malthen run what you tried to run before21:55
szopin45just dropping my latest log https://privatebin.net/?ed67d58ccdd0e818#J2MgwP3hA5ojt8NSxqWKPzDx3BKunjnmGskaiHEAw4SB22:04
szopin45also hanging at bootlogo22:04
szopin45it's the missing zypper build22:05
szopinneed to go to sleep as working tomorrow, but hopefully will be able to access my laptop during the day, so if there are any fixes to hybris-boot should be no problem to test22:10
szopin(whole rootfs might be a bit problematic butmaybe)22:10
szopinif I get disconnected pls no worries, gonna check logs, any tips would be very welcome22:10
szopinoh god, even opensuse UI is starting to misbehave :/22:10
wdehooghi. droid-hal-version fails to build. any ideas?  https://api.merproject.org/package/live_build_log/nemo:devel:hw:oneplus:bacon/droid-hal-version-bacon/sailfish_latest_armv7hl/armv8el22:15
malwdehoog: did you update all submodules in droid-* repos?22:25
T42※Téléаgrаm ♀♀GrouР members Рrivаte Рromotio♀♀ %lastname% was added by: ※Téléаgrаm ♀♀GrouР members Рrivаte Рromotio♀♀ %lastname%22:26
wdehoogI think so yes: rpm/dhd, hybris/droid-configs/droid-configs-device and hybris/droid-hal-version-bacon/droid-hal-version22:26
malwdehoog: maybe rebuild your droid-hal packages with new target, you haven't uploaded new versions of those to OBS22:34
wdehoog@mal ok will do. thanks22:34
mal[   22s] [13/266] installing filesystem-3.1+git4-1.4.1.jolla22:34
mal[   23s] file /boot from install of filesystem-3.1+git4-1.4.1.jolla.noarch conflicts with file from package droid-hal-bacon-img-recovery-0.0.6-202005241344.armv7hl22:34
mal[   23s] file /boot from install of filesystem-3.1+git4-1.4.1.jolla.noarch conflicts with file from package droid-hal-bacon-kernel-0.0.6-202005241344.armv7hl22:34
wdehoogwait how do you see that? the web page shows only from 83s?22:35
malwdehoog: I triggered a rebuild and followed the log while it built :)22:36
wdehoogclever!22:36
malthat is the issue and it should have only happened with 3.3.0 afaik22:36
malthere was some issue with filesystem package which was causing problems22:36
wdehoogin the meatime I started build_packages.sh -- mic and it stops with: repo problem: nothing provides patterns-sailfish-device-porter-tools needed by pattern:sailfish-porter-tools-1-202011232148.noarch22:37
malyou probably should run the meta-package transition script22:38
malalthough it has a small issue also which was discussed here earlier today22:38
wdehooguhhh meta-package transition what?22:39
malwe are moving from patterns to meta-packages22:39
malin droid-configs folder run droid-configs-device/helpers/migrate_patterns.sh22:40
malthen you need to fix one file as mentioned here https://github.com/mer-hybris/droid-hal-configs/pull/201/files22:41
malso you do that modification to the file in droid-configs/patterns/22:43
malalso add these kind of two lines to spec https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/rpm/droid-config-fp2-sibon.spec#L2822:44
wdehoogthanks. patterns-sailfish-device-configuration-\@DEVICE\@.inc seems already up-to-date22:49

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