echo_salik | hey guys ... ihave a question...what will be my port arch? my device is a sd 425... it says armv8... so i should type armv8 in that? | 06:55 |
---|---|---|
echo_salik | or are ther eany suffixes? | 06:55 |
echo_salik | sailfish doesnt support 64 bit arms? | 07:20 |
echo_salik | ok... went through some posts... it is supported... but i dont see v8 tageting tools in the `sdk/latest` | 07:32 |
r0kk3rz | you want armv7hl | 08:12 |
* sledges sleighs in | 08:20 | |
sledges | TheKit: done https://build.merproject.org/project/users/nemo:devel:hw:xiaomi:hermes | 08:21 |
sledges | mal: lbt: I've created the repo for steeeve [1] long time before your conversation on 23rd July, but he'd never checked channel logs/OBS and thought it still doesn't exist | 08:21 |
sledges | [1] https://build.merproject.org/project/show/nemo:devel:hw:samsung:a5ultexx | 08:21 |
sledges | birdzhang: done https://build.merproject.org/project/users/nemo:testing:hw:xiaomi:vince | 08:21 |
sledges | Yardanico: done https://build.merproject.org/project/users/nemo:devel:hw:xiaomi:markw | 08:22 |
birdzhang | sledges: Thank you :) | 08:22 |
sledges | PSA: New HADK revision fixing droidmediafglue builds & re-explaining straggler files; https://sailfishos.org/develop/hadk/ diff to 2.2.0.1 https://pastebin.com/H0C9y3gF | 08:22 |
sledges | Also update your dhd submodule if mic (thanks KayMW for spotting), zypper, or droidmedia builds were giving you hard time recently | 08:22 |
sledges | Also update your dhd submodule if mic (thanks KayMW for spotting), zypper, or droidmedia builds were giving you hard time recently | 08:22 |
sledges | s/duplicates// | 08:22 |
Mister_Magister | mal: could you help me? i saw yesterday that when i zypper ref and dup there are updated packages (on testing) but i didnt rebuild anything there. and after upgrading sensors stop working. i thappened on 2 devices and rest is probably affected too. Something changed? | 08:30 |
Mister_Magister | oh hadk-faq:825? | 08:31 |
dr_gogeta86 | good mornign all | 08:35 |
dr_gogeta86 | hi sledges | 08:35 |
Mister_Magister | dr_gogeta86: hi doc | 08:37 |
Mister_Magister | yeah boiiii mal nevermind thats it | 08:38 |
echo_salik | r0kk3rz, so arm7hl ~= armv8 ? | 09:07 |
r0kk3rz | echo_salik: not quite, but basically rootfs is armv7hl for arm based devices | 09:49 |
r0kk3rz | sledges: o/ | 09:49 |
T4 | <adampigg> Masya_ like mido,.had to find.32bit libs from.elsewhere | 09:52 |
echo_salik | r0kk3rz, oh... nice... thanks! | 10:01 |
echo_salik | i read somewhere that arm7hl is the 32 bit part of armv8l... is it like that? | 10:02 |
r0kk3rz | yeah | 10:02 |
r0kk3rz | generally all you need to know is armv7hl is 32bit arm, aarch64 is 64bit arm | 10:03 |
* Mister_Magister has flashbacks frm -vietnam- huiawei kernel with no 32bit support because screw you | 10:08 | |
echo_salik | great... thanks dude! | 10:17 |
echo_salik | im asked by console to build libhybris when running this: rpm/dhd/helpers/build_packages.sh | 11:27 |
echo_salik | if i answer yes i get: You are not currently on a branch. Please specify which | 11:27 |
r0kk3rz | nuke your hybris/mw/libhybris folder | 11:29 |
echo_salik | ok... | 11:30 |
echo_salik | r0kk3rz, im getting this error: https://hastebin.com/ahelefonax.makefile | 11:59 |
r0kk3rz | yeah that doesnt look happy | 12:03 |
echo_salik | so that should i do... | 12:07 |
echo_salik | (what | 12:07 |
echo_salik | argh *what | 12:07 |
echo_salik | i have currently change <> to "" and building... | 12:08 |
*** ambernight is now known as qtwyeuritoiy | 12:08 | |
echo_salik | r0kk3rz, is there a way to make this script build hybris only and not everything else | 12:09 |
r0kk3rz | -m should skip the hal packages at least | 12:11 |
r0kk3rz | then say n to the others | 12:11 |
r0kk3rz | im going to guess that your kernel might be missing that sync.h file | 12:12 |
r0kk3rz | so check that | 12:12 |
echo_salik | ok.... thanks | 12:21 |
echo_salik | r0kk3rz, i have sync.h in my kernel | 12:30 |
echo_salik | https://hastebin.com/xiqesucacu.rb | 12:31 |
r0kk3rz | it is built ok? | 12:41 |
echo_salik | r0kk3rz, how to check that | 13:06 |
echo_salik | hybris-hal had built without errors | 13:08 |
r0kk3rz | what about the droid-hal package? | 13:09 |
echo_salik | r0kk3rz, do i have to make that? | 13:32 |
echo_salik | i have made hybris-boot and hybris-recovery as well | 13:33 |
r0kk3rz | build_packages.sh | 14:03 |
_gnus_ | Hi, While syncing repo, I got "CyanogenMod/android_device_motorola_condor" cm-14.1 baseline not found ERROR. Can you please give your inputs? | 14:08 |
_gnus_ | b nuke | 14:09 |
echo_salik | r0kk3rz, yeah that built too i think... i am cleaning the output dir and everythin just to retrace my steps... if i forgot something | 14:15 |
demonaxsh | hi, everyone | 14:54 |
demonaxsh | current version ofono works with mtk devices? because, I've tried all sockets already, but every time ophono can not connect to socket | 14:54 |
demonaxsh | standart sockets rild not exists in /dev/sockets | 14:54 |
r0kk3rz | demonaxsh: talk with monich | 14:55 |
monich | wat? | 14:56 |
monich | disappearance of ril sockets is not so much mtk specific | 14:57 |
monich | it's android 8 specific | 14:58 |
demonaxsh | on device android 6 | 14:58 |
monich | demonaxsh: then it's something else, sockets must work there | 14:59 |
monich | something is not being initialized properly or whatever | 14:59 |
monich | in android 8 those are gone for good, that's a different story | 14:59 |
demonaxsh | https://pastebin.com/nK7rgsH4 | 15:00 |
r0kk3rz | demonaxsh: is it running? | 15:00 |
demonaxsh | no, it's disabled by default | 15:01 |
demonaxsh | https://pastebin.com/7hubeZEk | 15:01 |
demonaxsh | ok, i check sockets on android, without sailfish | 15:02 |
monich | I don't have any mtk device with me atm, can't compare | 15:04 |
monich | and I don't remember this stuff by heart, sorry | 15:04 |
monich | and it's a bit closer to bare metal than what I'm usually dealing with :) | 15:05 |
demonaxsh | on android rild sockets exists in /dev/socket, it means that something is not being initialized | 15:21 |
demonaxsh | fucking mediatek...)) | 15:25 |
mal | demonaxsh: which android base? | 15:26 |
demonaxsh | 6.0 | 15:27 |
demonaxsh | enabling service fixed it, but no idea why vendor did it | 15:45 |
NeKit | demonaxsh, usually it's triggered after nvram init | 15:49 |
NeKit | which waits for signal from vold, but probably you already fixed that before? | 15:49 |
demonaxsh | no, how can this be manifested? | 15:51 |
demonaxsh | hmmm... nvram_daemon not started | 15:59 |
echo_salik | r0kk3rz: i dont see any error in droid-hal stuff... https://hastebin.com/lohaliyuze.coffeescript | 16:50 |
echo_salik | it is currently building libhybris.spec | 16:50 |
echo_salik | and i got the error | 16:50 |
echo_salik | r0kk3rz: youre right... i got an error in hal-rolex: Can't create cache at /var/cache/zypp/solv/local-rolex-hal - no writing permissions. | 16:54 |
echo_salik | im getting this error: https://hastebin.com/dolasutusu.bash | !! can't update pkg info | 18:09 |
echo_salik | main error: Can't create cache at /var/cache/zypp/solv/local-rolex-hal - no writing permissions. | 18:10 |
_gnus_ | I am in 'Building the Android HAL stage'. I am trying to fetch repos. I got error - error: in 'sync --fetch-submodules' : revision stable/cm-14.1 in Cyanogemod/android_device_motorola_condor not found | 18:10 |
_gnus_ | I am following Porting PDF. trying to build Moto phone. | 18:11 |
mal | _gnus_: is that ytpo in the path a copy paste error to IRC or in the file also? | 18:11 |
mal | *typo | 18:11 |
mal | Cyanogemod vs Cyanogenmod | 18:12 |
_gnus_ | typo. could not paste it from xterm. | 18:12 |
mal | which android base? | 18:12 |
mal | and try without --fetch-submodules | 18:12 |
_gnus_ | cm-14.1 | 18:14 |
_gnus_ | ok, I will try without --fetch-submodules. | 18:14 |
_gnus_ | thanks | 18:14 |
mal | _gnus_: is there a reason you use cyanogenmod repo and not lineageos? | 18:15 |
mal | although not much differences in the device it seems | 18:16 |
_gnus_ | First, I created repo using - repo init -u git://github.com/mer-hybris/android.git -b hybris-14.1. And then created condor.xml. I have added | 18:19 |
_gnus_ | <?xml version="1.0" encoding="UTF-8"?> <manifest> <project path="device/motorola/condor" name="CyanogenMod/android_device_motorola_condor" revision="stable/cm-14.1" /> <project path="kernel/motorola/condor" name="CyanogenMod/android_kernel_motorola_condor" revision="stable/cm-14.1" /> </manifest> | 18:20 |
_gnus_ | mal is this correct way? I could not find cm branch in mer-hybris/androi repo | 18:21 |
mal | _gnus_: the branch is cm-14.1 not stable/cm-14.1, also you didn't answer why you use cyanogenmod and not lineageos, I would assume it's easier to find lineageos images? or are the cyanogenmod images still somewhere? | 18:26 |
mal | _gnus_: also you did you add the dependencies to local manifest, check the cm.dependencies or lineage.dependencies in all repos you add to see if there are more repos needed | 18:27 |
_gnus_ | I agree, switching to LineageOS. | 18:28 |
_gnus_ | Looking into dependencies. | 18:29 |
mal | _gnus_: you can see these kind of files with dependencies on some repos https://github.com/LineageOS/android_device_motorola_condor/blob/cm-14.1/lineage.dependencies | 18:30 |
_gnus_ | mal, thanks a lot. | 18:31 |
echo_salik | hey mal | 18:37 |
echo_salik | any idea regarding my error? | 18:38 |
mal | echo_salik: what error? | 18:39 |
echo_salik | Can't create cache at /var/cache/zypp/solv/local-rolex-hal - no writing permissions. | 18:39 |
echo_salik | https://hastebin.com/dolasutusu.bash | !! can't update pkg info | 18:39 |
mal | did the build work before? | 18:40 |
mal | have you been using sudo when you shouldn't have? | 18:40 |
echo_salik | nope... sudo only for zypper | 18:40 |
mal | and are the mount options correct for the partition you have setup in? | 18:41 |
echo_salik | i just run sfossdk and source build/envsetup.sh | 18:42 |
echo_salik | I'll see the mount options | 18:42 |
mal | echo_salik: source build/envsetup.sh is run in habuild_sdk not in platform sdk | 18:42 |
echo_salik | oh | 18:42 |
echo_salik | could that be a reason? | 18:43 |
mal | and that has nothing to do with rpm building | 18:43 |
mal | you are not mixing things | 18:43 |
mal | *now | 18:43 |
echo_salik | yeah... i am... but that should not do anything with this command shoud it? `rpm/dhd/helpers/build_packages.sh` | 18:44 |
r0kk3rz | echo_salik: print whole output, including command | 18:44 |
echo_salik | ok... | 18:45 |
echo_salik | r0kk3rz: its the same as above... but recreated it with command: https://hastebin.com/bekiyuhema.bash | 18:47 |
pseudodev | echo_salik: rm the entire cache dir | 18:49 |
echo_salik | i tried zypper clean -a is that different? | 18:49 |
echo_salik | pseudodev | 18:49 |
mal | also do note that running zypper in platform sdk is not the same as running it in target | 18:50 |
pseudodev | echo_salik: try "sudo rm /var/cache/zypp" | 18:51 |
echo_salik | BTW i ran it in target... | 18:51 |
mal | echo_salik: how? | 18:51 |
echo_salik | *i meant SDK | 18:51 |
mal | this is how run things in target: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper | 18:52 |
echo_salik | mal: zypper clean -a | 18:52 |
echo_salik | oh | 18:52 |
echo_salik | that | 18:52 |
echo_salik | i did not know... | 18:52 |
pseudodev | echo_salik: did you try this "sudo rm /var/cache/zypp" | 18:52 |
echo_salik | pseudodev: yeah just did... re-runing build.sh thing | 18:53 |
pseudodev | does it work now? | 18:53 |
echo_salik | i got this now: Error building the cache: Can't create /var/cache/zypp | 18:54 |
mal | just in case exit the sdk and re-enter, do not run any additional things | 18:54 |
echo_salik | ok..\ | 18:55 |
echo_salik | its building droid-hal-rolex waiting for it to complete... | 18:56 |
echo_salik | or fail | 18:56 |
echo_salik | thanks mal, pseudodev & r0kk3rz | 18:56 |
pseudodev | echo_salik: I dont know the consequences (probably not too drastic) by trt rm the entire cache folder | 19:05 |
pseudodev | *but try | 19:06 |
echo_salik | pseudodev, mal, r0kk3rz: after cleaning cache, exinting and entering Platform SDK... i got the exact same error | 19:07 |
pseudodev | did you clean the entire cache folder? | 19:07 |
echo_salik | pseudodev: i ran rm -rf /var/cache/zypp/ | 19:07 |
mal | i target? | 19:08 |
mal | *in | 19:08 |
echo_salik | i had even given zypp folder 777 | 19:08 |
echo_salik | nope in sdk | 19:08 |
pseudodev | run rm -rf /var/cache | 19:08 |
mal | I would just remove the target and resetup it | 19:09 |
pseudodev | then run mkdir -p /var/cache/zypp | 19:09 |
pseudodev | echo_salik: Also do what mal suggested first | 19:09 |
mal | pseudodev: you should also know that sdk and target are not the same thing | 19:09 |
echo_salik | a question (mal): how'd i do that? | 19:09 |
echo_salik | mal im running this in SDK | 19:10 |
mal | echo_salik: the instrutions are in the same place that has the installation instructions, obviously https://sailfishos.org/wiki/Platform_SDK_Target_Installation | 19:10 |
r0kk3rz | yeah that error is going to be in the target | 19:10 |
mal | I am still amazed how many way people manage to mess up the build, | 19:11 |
r0kk3rz | its turtles all the way down | 19:11 |
mal | everyone seems to be mixing sdk and target | 19:11 |
r0kk3rz | i guess its not that obvious that creating the target and running build_packages.sh are related | 19:12 |
mal | seems like it | 19:12 |
pseudodev | mal: I used to be really confused. I won't exactly say that i'm all clear, but certainly better from earlier.... | 19:13 |
echo_salik | ok... sorry if my next few statement seems dumb ( i know they will be ) | 19:13 |
echo_salik | now in PLATFORM_SDK chroot, i have to remove all sdk targets and reinstall them? | 19:14 |
echo_salik | and then run build_packages.sh? | 19:14 |
pseudodev | remove target | 19:14 |
pseudodev | re install the target | 19:15 |
pseudodev | then rebuild | 19:15 |
pseudodev | thats it | 19:15 |
r0kk3rz | a simple yes would've worked too | 19:15 |
mal | remember to use the correct name for the target | 19:15 |
echo_salik | ok... thanks guys... sorry if i annoyed you all... | 19:15 |
r0kk3rz | tbh its a weird error, ive not seen that particular one before | 19:16 |
vknecht | or this ? | 19:16 |
vknecht | http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-02-16.log.html#t2017-02-16T11:48:44 | 19:16 |
vknecht | (worked for me) | 19:16 |
echo_salik | wait... thats really simialr | 19:17 |
mal | I already told to do that but it seems he never did | 19:17 |
echo_salik | damn my keyboard -.- | 19:17 |
echo_salik | mal: yeah i skipped that and removed it via rm -rf | 19:18 |
r0kk3rz | echo_salik: you understand what these targets are right? | 19:18 |
echo_salik | r0kk3rz: i dont think so... | 19:18 |
mal | I mentioned many times that target is different and even gave an example how to run commands in target | 19:19 |
r0kk3rz | ok so, we want to build code to run on arm, but we're building on an x86 machine right? | 19:20 |
mal | I think I will stop helping today before I get too annoyed | 19:20 |
r0kk3rz | so to do that, we create an arm based qemu system to build in, thats the target | 19:20 |
echo_salik | oh... so that is like a container? | 19:21 |
r0kk3rz | yeah | 19:21 |
echo_salik | so what is that ubu chroot for? | 19:21 |
r0kk3rz | building androidy stuff | 19:21 |
echo_salik | oh | 19:21 |
r0kk3rz | which is unrelated to the sailfish build tooling | 19:21 |
echo_salik | so we build android related stuff in ubu-chroot ( for alien dalvik or something like that? ) and then we build sailfish stuff in platform sdk using an arm container called target? | 19:22 |
echo_salik | thats cool | 19:23 |
echo_salik | and we use a 32 bit arm container? | 19:23 |
echo_salik | and that build.sh script is actaully running in that container? | 19:26 |
mal | you can easily see that it uses sb2 inside it | 19:27 |
echo_salik | oh... | 19:27 |
echo_salik | yeah i should have opened the file... | 19:27 |
vknecht | "heard" a lot about watches and sfos, what about (bathroom)scales ? is there one usable with sfos (not necessarily running it ;-) | 19:36 |
mal | vknecht: if those use standard bluetooth profiles then it shouldn't be impossible, if custom profiles then it needs more work | 19:38 |
kimmoli | http://kimmoli.com/tauhkaa/littlelonger.png | 19:44 |
r0kk3rz | echo_salik: not for alien-dalvik, for libhybris | 19:47 |
*** kimmoli_ is now known as kimmoli2 | 20:19 | |
*** kimmoli2 is now known as kimmoli | 20:19 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!