#sfdroid log for Sunday, 2016-11-27

*** krnlyng <krnlyng!~liar@77.116.9.216.wireless.dyn.drei.com> has quit IRC (Ping timeout: 260 seconds)01:24
*** krnlyng <krnlyng!~liar@77.116.38.218.wireless.dyn.drei.com> has joined #sfdroid01:37
*** ChanServ sets mode: +o krnlyng01:37
*** rinigus-m <rinigus-m!~sailfish@tabasalu-gw.levikom.ee> has joined #sfdroid06:43
*** horuxan <horuxan!~horuxanxx@201.46.174.1> has quit IRC (Ping timeout: 256 seconds)11:03
*** rinigus-m <rinigus-m!~sailfish@tabasalu-gw.levikom.ee> has quit IRC (Quit: IRC for Sailfish 0.9)11:34
*** horuxan <horuxan!~horuxanxx@201.46.174.1> has joined #sfdroid13:02
*** horuxan <horuxan!~horuxanxx@201.46.174.1> has quit IRC (Remote host closed the connection)15:00
entilI just managed to build the tarball of sfdroid17:32
entilthere's probably a ton wrong with it, though17:32
entillike isn't init.sfdroid.rc supposed to be under /etc/init.d/?17:33
mal-that needs to be in /17:33
mal-and include in some other init*.rc file17:33
entilso a new file should be created for it? why's that?17:35
mal-because we don't want to modify the existing .rc files more than really needed17:36
entilthat's reasonable, of course, I just looked at the file and thought it looked initworthy17:38
entilno repository provides an actual initrc file for this, something that would go into the inits?17:38
mal-that is the only part not packaged properly yet17:38
mal-entil: https://github.com/sfdroid/sfdroid-init/blob/fp2-sibon/init.sfdroid.rc ?17:39
entilmal-: yes17:40
*** horuxan <horuxan!~horuxanxx@201.46.174.1> has joined #sfdroid17:56
entil/var/tmp/rpm-tmp.voOaRQ: 35: cd: can't cd to sfdroid-0.0.1+mjt117:58
entilerror: Bad exit status from /var/tmp/rpm-tmp.voOaRQ (%prep)17:58
entilsigh, can't get the rpm built17:58
entil:(17:58
entiland I can't be arsed now to learn systemd unit files17:59
entilbut at least it built!17:59
krnlyngentil: can you paste your full rpm spec file?19:17
entilkrnlyng: 24h expiry http://paste.debian.net/899377/19:25
krnlyngentil: what is the tarball called and what are it's contents?19:26
entilkrnlyng: http://paste.debian.net/899380/ that ok?19:27
entilI'm sure this is something trivial19:28
krnlyngentil: can you paste the full output of your rpm build attempt?19:31
krnlyngentil: i have an extra slash before init.sfdroid.rc in the %files section19:39
krnlyngentil: and this extra line in the %install section (last line)19:39
krnlyngcp -r %name-%version/init.sfdroid.rc $RPM_BUILD_ROOT/19:39
entilhttp://paste.debian.net/899385/ updated spec19:42
entilhttp://paste.debian.net/899386/ build output, some of those complaints may be due to me running debian19:43
krnlyngentil: do you have the mer sdk?19:45
entilI might have it somewhere19:45
krnlyngcan you send me your tar.gz ? maybe i can replicate the error19:45
entilkrnlyng: http://mjt.nysv.org/scratch/fairphone_os/ the directory is a bit of a misnomer but it's all there19:47
entilkrnlyng: I have a symlink with the proper name19:47
entillrwxrwxrwx 1 mjt mjt 76 Nov 27 19:56 sfdroid-0.0.1+mjt1.tgz -> /home/mjt/src/git_checkouts/fp2/fairphone_os/fairphone_os/FP2_sfdroid.tar.gz19:48
krnlyngentil: i found the issue19:49
entilkrnlyng: omg19:49
krnlyngentil: sfdroid.tgz needs to look like this: https://bpaste.net/show/1efeb1aac8ab19:50
krnlyngentil: see the extra folder19:50
entilkrnlyng: thanks! gimme a sec with this19:51
krnlyngentil: don't look at the permissions, i think ext.jar has the wrong ones19:51
entilkrnlyng: I think it might be something else... tar: sfdroid-0.0.1+mjt1.tgz: Cannot open: No such file or directory19:54
entildoesn't make any sense, though19:55
entilkrnlyng: http://paste.debian.net/899393/19:56
entillike wat19:56
entilI think the build step's busted19:57
krnlyngentil: remove the tar command from the build step19:57
krnlyngit seems to do that automatically since it has the Source0 tag19:57
krnlyngthe extracting*19:57
entilyes19:57
entiland %name-%version stuff is also broken19:58
krnlynghow so?19:59
entilactually it might not be that but %{_libexecdir}19:59
entil+ cp -r sfdroid-0.0.1+mjt1/system/* /home/mjt/rpmbuild/BUILDROOT/sfdroid-0.0.1+mjt1-1.x86_64//usr/lib/x86_64-linux-gnu/sfdroid/system/20:00
entilcp: cannot stat 'sfdroid-0.0.1+mjt1/system/*': No such file or directory20:00
entilsigh20:00
entilit's quite obvious that it wouldn't exist20:00
entilmaybe I stole something really old and/or broken ;P20:00
entilkrnlyng: by altering the directory structure to contain %name-%version and by removing those from the cp -r commands (because rpmbuild is already there) I got to the point where "package sfdroid-0.0.1+mjt1-1.x86_64 is intended for a different architecture"20:05
entilso I need to make this a noarch package or something even more interesting20:07
krnlyngentil: need --target?20:07
kimmoliwhu this all sounds so familiar20:07
krnlyngor something?20:07
entilah yeah of course20:09
entilanyway, installed it, so now there's a technical possibility to have it work if the init stuff ends up in a package20:09
entilthanks for the help as well :)20:10
krnlyngentil: to test you can just add import init.sfdroid.rc to init.iamguessingfairphoneorfp2orsomething.rc20:19
entilkrnlyng: why can't it just be put in the proper place but has to be imported?20:20
entiland what's init....rc's path? where all the systemd units are?20:20
krnlyngentil: /20:20
krnlyngentil: because the android init system works that way unfortunately20:21
krnlyngwe're not using systemd20:21
krnlyng(yet)20:21
entilok fine, whatever, it's just weird to have this file and not being able to install it20:21
entilactually hey, init.sfdroid.rc _is_ installed in /20:22
entil(my disclaimer for this is that I've been at company xmas parties and such for three nights in a row and should be sleeping by three hours ago ;P)20:22
kimmolihehe20:22
entilso instead of importing anything, I just rebooted the phone, let's see if it comes up20:23
entilif I bricked I'll just go to sleep20:23
krnlyngentil: nothing will happen if the import isnt there20:23
krnlyngentil: it's not that we didn't think about making it proper it's mostly lack of time20:24
entilah hey, now I think my sleep-deprived etc brain picked up on this20:24
entilthe file is simply init.rc20:24
entilnothing fp2-related20:25
entilnow I have a process named /usr/bin/sfdroid running!20:26
entiltoo bad there's no app window or anything to actually interact with20:27
krnlyngis surfaceflinger running?20:27
entilI did install kimmoli's renderer package from july or whenever20:27
entilsystem     689  0.3  0.4  34760  8552 ?        S<l  22:25   0:00  \_ /system/bin/surfaceflinger20:27
krnlyngok20:27
krnlyngentil: try killall surfaceflinger zygote main servicemanager20:28
krnlyngentil: and if that helps try and figure out a proper solution for the problem :D20:28
entilzygote: no process found20:28
krnlyngthats fine20:28
entilthe screen went black20:28
krnlyngah system_server should also be killed but i think it will die automatically20:28
entilat least now there's no process found20:29
entilbut this did not really help, the blackish screen is sfdroid being fullscreen and dark20:29
entilI really need to sleep now20:29
entilthanks for this, let's see how things advance, good night! ->20:30
krnlyngentil: no problem, we will make it work eventually :D20:30
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid21:09
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Ping timeout: 268 seconds)22:47

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