*** 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 #sfdroid | 01:37 | |
*** ChanServ sets mode: +o krnlyng | 01:37 | |
*** rinigus-m <rinigus-m!~sailfish@tabasalu-gw.levikom.ee> has joined #sfdroid | 06: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 #sfdroid | 13:02 | |
*** horuxan <horuxan!~horuxanxx@201.46.174.1> has quit IRC (Remote host closed the connection) | 15:00 | |
entil | I just managed to build the tarball of sfdroid | 17:32 |
---|---|---|
entil | there's probably a ton wrong with it, though | 17:32 |
entil | like 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 file | 17:33 |
entil | so 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 needed | 17:36 |
entil | that's reasonable, of course, I just looked at the file and thought it looked initworthy | 17:38 |
entil | no 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 yet | 17:38 |
mal- | entil: https://github.com/sfdroid/sfdroid-init/blob/fp2-sibon/init.sfdroid.rc ? | 17:39 |
entil | mal-: yes | 17:40 |
*** horuxan <horuxan!~horuxanxx@201.46.174.1> has joined #sfdroid | 17:56 | |
entil | /var/tmp/rpm-tmp.voOaRQ: 35: cd: can't cd to sfdroid-0.0.1+mjt1 | 17:58 |
entil | error: Bad exit status from /var/tmp/rpm-tmp.voOaRQ (%prep) | 17:58 |
entil | sigh, can't get the rpm built | 17:58 |
entil | :( | 17:58 |
entil | and I can't be arsed now to learn systemd unit files | 17:59 |
entil | but at least it built! | 17:59 |
krnlyng | entil: can you paste your full rpm spec file? | 19:17 |
entil | krnlyng: 24h expiry http://paste.debian.net/899377/ | 19:25 |
krnlyng | entil: what is the tarball called and what are it's contents? | 19:26 |
entil | krnlyng: http://paste.debian.net/899380/ that ok? | 19:27 |
entil | I'm sure this is something trivial | 19:28 |
krnlyng | entil: can you paste the full output of your rpm build attempt? | 19:31 |
krnlyng | entil: i have an extra slash before init.sfdroid.rc in the %files section | 19:39 |
krnlyng | entil: and this extra line in the %install section (last line) | 19:39 |
krnlyng | cp -r %name-%version/init.sfdroid.rc $RPM_BUILD_ROOT/ | 19:39 |
entil | http://paste.debian.net/899385/ updated spec | 19:42 |
entil | http://paste.debian.net/899386/ build output, some of those complaints may be due to me running debian | 19:43 |
krnlyng | entil: do you have the mer sdk? | 19:45 |
entil | I might have it somewhere | 19:45 |
krnlyng | can you send me your tar.gz ? maybe i can replicate the error | 19:45 |
entil | krnlyng: http://mjt.nysv.org/scratch/fairphone_os/ the directory is a bit of a misnomer but it's all there | 19:47 |
entil | krnlyng: I have a symlink with the proper name | 19:47 |
entil | lrwxrwxrwx 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.gz | 19:48 |
krnlyng | entil: i found the issue | 19:49 |
entil | krnlyng: omg | 19:49 |
krnlyng | entil: sfdroid.tgz needs to look like this: https://bpaste.net/show/1efeb1aac8ab | 19:50 |
krnlyng | entil: see the extra folder | 19:50 |
entil | krnlyng: thanks! gimme a sec with this | 19:51 |
krnlyng | entil: don't look at the permissions, i think ext.jar has the wrong ones | 19:51 |
entil | krnlyng: I think it might be something else... tar: sfdroid-0.0.1+mjt1.tgz: Cannot open: No such file or directory | 19:54 |
entil | doesn't make any sense, though | 19:55 |
entil | krnlyng: http://paste.debian.net/899393/ | 19:56 |
entil | like wat | 19:56 |
entil | I think the build step's busted | 19:57 |
krnlyng | entil: remove the tar command from the build step | 19:57 |
krnlyng | it seems to do that automatically since it has the Source0 tag | 19:57 |
krnlyng | the extracting* | 19:57 |
entil | yes | 19:57 |
entil | and %name-%version stuff is also broken | 19:58 |
krnlyng | how so? | 19:59 |
entil | actually 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 |
entil | cp: cannot stat 'sfdroid-0.0.1+mjt1/system/*': No such file or directory | 20:00 |
entil | sigh | 20:00 |
entil | it's quite obvious that it wouldn't exist | 20:00 |
entil | maybe I stole something really old and/or broken ;P | 20:00 |
entil | krnlyng: 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 |
entil | so I need to make this a noarch package or something even more interesting | 20:07 |
krnlyng | entil: need --target? | 20:07 |
kimmoli | whu this all sounds so familiar | 20:07 |
krnlyng | or something? | 20:07 |
entil | ah yeah of course | 20:09 |
entil | anyway, installed it, so now there's a technical possibility to have it work if the init stuff ends up in a package | 20:09 |
entil | thanks for the help as well :) | 20:10 |
krnlyng | entil: to test you can just add import init.sfdroid.rc to init.iamguessingfairphoneorfp2orsomething.rc | 20:19 |
entil | krnlyng: why can't it just be put in the proper place but has to be imported? | 20:20 |
entil | and what's init....rc's path? where all the systemd units are? | 20:20 |
krnlyng | entil: / | 20:20 |
krnlyng | entil: because the android init system works that way unfortunately | 20:21 |
krnlyng | we're not using systemd | 20:21 |
krnlyng | (yet) | 20:21 |
entil | ok fine, whatever, it's just weird to have this file and not being able to install it | 20:21 |
entil | actually 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 |
kimmoli | hehe | 20:22 |
entil | so instead of importing anything, I just rebooted the phone, let's see if it comes up | 20:23 |
entil | if I bricked I'll just go to sleep | 20:23 |
krnlyng | entil: nothing will happen if the import isnt there | 20:23 |
krnlyng | entil: it's not that we didn't think about making it proper it's mostly lack of time | 20:24 |
entil | ah hey, now I think my sleep-deprived etc brain picked up on this | 20:24 |
entil | the file is simply init.rc | 20:24 |
entil | nothing fp2-related | 20:25 |
entil | now I have a process named /usr/bin/sfdroid running! | 20:26 |
entil | too bad there's no app window or anything to actually interact with | 20:27 |
krnlyng | is surfaceflinger running? | 20:27 |
entil | I did install kimmoli's renderer package from july or whenever | 20:27 |
entil | system 689 0.3 0.4 34760 8552 ? S<l 22:25 0:00 \_ /system/bin/surfaceflinger | 20:27 |
krnlyng | ok | 20:27 |
krnlyng | entil: try killall surfaceflinger zygote main servicemanager | 20:28 |
krnlyng | entil: and if that helps try and figure out a proper solution for the problem :D | 20:28 |
entil | zygote: no process found | 20:28 |
krnlyng | thats fine | 20:28 |
entil | the screen went black | 20:28 |
krnlyng | ah system_server should also be killed but i think it will die automatically | 20:28 |
entil | at least now there's no process found | 20:29 |
entil | but this did not really help, the blackish screen is sfdroid being fullscreen and dark | 20:29 |
entil | I really need to sleep now | 20:29 |
entil | thanks for this, let's see how things advance, good night! -> | 20:30 |
krnlyng | entil: no problem, we will make it work eventually :D | 20:30 |
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid | 21: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/!