| rodrigo | Hello!!! | 00:40 |
|---|---|---|
| rodrigo | how to build source to RPM, | 00:40 |
| rodrigo | i have a EDIT spec | 00:41 |
| chriadam | have you set up the sailfish os platform sdk, and have you been able to build other packages? | 00:41 |
| chriadam | see e.g. https://sailfishos.org/wiki/Building_packages for instructions on how to use mb2 to build packages using the sdk. | 00:42 |
| rodrigo | yes, | 00:42 |
| rodrigo | the component galery y one app in python :) | 00:43 |
| chriadam | so, what problem are you encountering, precisely? | 00:44 |
| rodrigo | I thought I had to create a .PRO, in qtcreator to do a cross compilation | 00:45 |
| rodrigo | sorry for my bad english | 00:47 |
| chriadam | not necessarily | 00:57 |
| chriadam | let me find a non-qmake project which can be built with mb2 | 00:57 |
| chriadam | so, this one is a glib project using autotools configure rather than qmake: https://git.merproject.org/mer-core/libaccounts-glib | 00:58 |
| chriadam | (it's a submodule repo, so you need to do git clone, then git submodule init + git submodule update, and then you can build with mb2 as per normal) | 00:59 |
| *** zbenjamin is now known as Guest98080 | 01:38 | |
| *** zbenjamin_ is now known as zbenjamin | 01:38 | |
| rodrigo | sorry mb2 sb2 is in linux! | 01:55 |
| rodrigo | i have a macbock pro, its possibl compile spec in QTcreator sailfish sdk? | 01:56 |
| *** frinring_ is now known as frinring | 03:10 | |
| rodrigo | hel | 05:26 |
| rodrigo | help | 05:26 |
| rodrigo | mb2 build Permission denied | 05:27 |
| rodrigo | why? | 05:27 |
| rodrigo | in ./configure | 05:27 |
| ViGe | rodrigo: I assume you are using application sdk and not platform sdk, as you are usin mac. Unfortunately application sdk does not really support autotools projects. | 05:46 |
| rodrigo | ViGe, ok, but im connecting with ssh to Sailfih OS Build ENgine(VirtualMachine) | 05:49 |
| Nico[m] | Are you building in the wrong directory? | 05:49 |
| Nico[m] | I built meson projects in the build engine with their respective spec files without issue, so it should be possible to build anything, afaik | 05:50 |
| ViGe | rodrigo: I understood that. The way application sdk sets up the virtual machine which is used for running the build engine results in precisely the problem you have | 05:50 |
| rodrigo | this a problem /var/tmp/rpm-tmp.laFInf: line 44: ./Configure: Permission deniederror: Bad exit status from /var/tmp/rpm-tmp.laFInf (%build) | 05:53 |
| rodrigo | "/var/tmp/rpm-tmp.laFInf: line 44: ./Configure: Permission deniederror: Bad exit status from /var/tmp/rpm-tmp.laFInf (%build)" | 05:53 |
| Nico[m] | What build command did you use? What directory are you in, when you are trying to build that? | 06:01 |
| rodrigo | Nico | 06:04 |
| rodrigo | in the shared folder | 06:04 |
| rodrigo | of the VM | 06:04 |
| rodrigo | this is a command | 06:04 |
| rodrigo | mb2 -t SailfishOS-3.1.0.12-armv7hl build | 06:04 |
| rodrigo | dir /home/mersdk/share/Downloads/os/openssl-master | 06:08 |
| rodrigo | in share folder | 06:08 |
| rodrigo | ???? | 06:11 |
| Nico[m] | You are running the command in the build engine in /home/mer/build, right? | 06:13 |
| Nico[m] | Sorry, I don't have much experience with the SDK either, I usually use the docker image | 06:14 |
| rodrigo | [mersdk@SailfishSDK rpmbuild]$ mb2 -s ../share/Downloads/openssl-master/rpm/openssl.spec -t SailfishOS-3.1.0.12-armv7hl build | 06:16 |
| rodrigo | do you build for me? | 06:18 |
| frojnd | tadzik: Ok I messed up a possible comeback to android. What about SailfishOS improvments? | 06:18 |
| Nico[m] | rodrigo: Do you have a link to the project somewhere, so I can download it, if you want me to build it? | 06:23 |
| rodrigo | Nico[m]: https://www.dropbox.com/s/7bbbivmjmcs9gxi/openssl-rodrigo.zip?dl=0 | 06:26 |
| rodrigo | Nico[m] https://www.dropbox.com/s/7bbbivmjmcs9gxi/openssl-rodrigo.zip?dl=0 | 06:26 |
| rodrigo | nico share this i.. tomorrow view log | 06:50 |
| rodrigo | :) | 06:50 |
| Nico[m] | I think your issue is, that your source folder isn't writable, so mb2 can't generate some files | 07:00 |
| Nico[m] | For me the build fails because of this in the configure step, so the spec file is probably also wrong: * Unsupported options: enable-tlsext | 07:01 |
| frojnd | Wow,... my XA2 Plus just powered off when battery was 9% and I plugged in charger... How can I see logs what went wrong? | 08:01 |
| frojnd | But now it says 11% and charging powered off... weird | 08:01 |
| Nico[m] | Sounds like the usual problem most mobile phones have when the battery degrades | 08:04 |
| frojnd | After 6 days of usage? | 08:04 |
| frojnd | Brand new XA2 Plus ;D | 08:04 |
| Nico[m] | Well... Maybe you just had bad luck? :D | 08:05 |
| frojnd | I think it might not be calibrated? | 08:05 |
| frojnd | Only used android phone for 10 minutes before I flashed Sailfishos | 08:05 |
| tadzik | frojnd: nothing in sailfish makes use of these thing afaik | 08:24 |
| frojnd | tadzik: so for now, we are stuck with really shitty camera quality... | 09:01 |
| frojnd | What a pitty... Bought Sony because traditionally they had great camera quality,... switched to SailfishOS because of privacy. Got privacy with bad camera quality :\ Well can't have everything I guess | 09:02 |
| tadzik | frojnd: yeah, I guess. I never believed in phone cameras, so I don't really miss it that much :) | 09:22 |
| tadzik | I don't really mind the bad quality (I expect nothing from a 5mm lens), but the focus issues are a bit annoying | 09:23 |
| frojnd | Yeah focus is really off | 10:30 |
| frojnd | How can I debug things? My microphone just died, I had to reboot phone to restore working mic o_O | 10:30 |
| frojnd | I blame android runtime but still what would be first step to debug this. On Android I just looked at adb shell logcat -v threadtime -d > bla.log and I looked at that file | 10:31 |
| frojnd | It persisted logs across reboots so that was covered. How can I debug stuff in SailfishOS? And where to report it? | 10:31 |
| mal | frojnd: getting logs like output of dmesg and journalctl is usually helpful for debugging, also /usr/libexec/droid-hybris/system/bin/logcat can help if the issue could be android base related | 10:41 |
| frojnd | mal: I'm experiencing that after I launch Android app, like Signal,... volume notification vanishes when I try to vol down/up | 11:02 |
| frojnd | Well actually a lot of tiny bugs that I think should be documented somehow and reported. Thanx for explaining | 11:02 |
| mal | frojnd: for android app support the logs are different | 11:45 |
| mal | the logcat I mentioned earlier is for the sailfish side logs | 11:47 |
| mal | "sailfish side" i.e. the thin android layer running along sailfish to provide hw driver stuff | 11:47 |
| *** albertux1 is now known as albertux | 11:49 | |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!