libera/#maemo-leste/ Wednesday, 2023-05-24

jackcan't update my apt in virtualbox image, checksum mismatch07:10
Wizzupboshtannik: can you share the exact error?08:00
boshtannikif i only could to copypaste code from there's console08:01
Wizzupcan you not log in over ssh?08:16
Wizzupin any case, try to apt update, apt upgrade, and then do it again08:16
Wizzupit might resolve your problem, if the error is what I think it is08:16
boshtannikhow to make ssh connection? i did create network iv virtualbox, but it wasnt appear in the boxed OS08:45
Wizzupsorry, I don't know about virtualbox08:57
boshtannikusually complains on hashes mismatch09:07
boshtannikduring apt update09:07
boshtannikor apt upgrade09:07
boshtannikunable to fetch https:// ...... .deb - hash mismatch09:07
Wizzuphuh, very odd09:08
Wizzuphttps://stackoverflow.com/questions/15505775/debian-apt-packages-hash-sum-mismatch09:08
Wizzupmaybe try these instructions09:08
boshtannikdid as it was said until update - got again `unable to fetch ... - hash mismatch`09:13
boshtannikhmm09:13
boshtannikmaybe because of date?09:13
WizzupI don't think so, but yeah. I wonder if something is up with the vbox networking09:13
boshtannikdatetime is up to date09:14
boshtannikbut it pings 8.8.8.809:14
boshtannikohh. just done update09:15
boshtannikagain hashes mismatch09:15
boshtannikrun upgrade with --fix-missing09:17
boshtannikin parallel, on my actual device recompilinbg kivy from source with KIVY_..._PLATFORM set to 'rpi'09:17
boshtannik(it failed previous time, as on the forume is said, that it is known failure for 32 bit armv7 a8) . In hope to at least achieve same point, where i did fail prev time09:18
boshtannikdid someone tried by modifying device tree, to be set to more than 600 mhz - to overclock CPU?09:19
WizzupI missed why you're compiling kivi, it is not in repos, or?09:21
boshtannikafter installing it from repos, it still complain, that it is not compiled.09:22
boshtannikon official website - it is advised to install it via downloadable script09:22
boshtannikwhich downloads all dependencies, build them, and on top of them - installs kivy.09:22
Wizzupwhat did you install from the repo and what complains?09:22
Wizzupmaemo leste is just debian/devuan09:23
Wizzupso whatever works there should work on maemo leste09:23
Wizzupand mostly vice versa :)09:23
boshtannikit did not work.09:23
boshtannikalso kivy heavily rely on opengl, sdl, cpython09:23
boshtannikto run as native gui speed09:23
boshtanniki just wanted to get some experience in writing kivy. It is not interesting to write regular apps onto my regular pc. It seems for me more interesting write, and run on n900 directly - it might help me get more experience in writing guis for embedding systems09:25
boshtanniki guess, there is the ton of similarity with kivy for rpi (raspberry pi zero i guess)09:25
boshtannik(it did not work.) - at least i have tried on previous leste distributive.09:26
boshtannikAfter switch to new distributive, regular apt-get intall python3-kivy python-kivy-examples - did not help09:26
boshtannikalso creating venv - to install kivy lib directly there, also did not help09:27
boshtanniki guess that was segmentation fault, while running hello world app on installed kivy library (during initialization kivy)09:27
boshtannikNow it donwloads all dependencies for SDL2_image, on which i got fail for previous time09:29
freemangordonboshtannik: you will *not* get opengl on N90009:29
freemangordonno matter what you do09:29
freemangordonalso, there is no point to compile libs that will remain on your devices only if you plan to make application to be used for everyone09:30
freemangordonlater on I will install kivy and examples on my d4, to see what does not work09:31
boshtannikOhhh. I would be very glad.09:31
Wizzupthere is the gl shim I guess, but yeah09:33
boshtannikI try now to find documentation about kivy, supportable window backends to draw graphics.09:36
boshtannikIt was pygame, butnow i guess it is deprecated.09:36
boshtannikthen it was sdl2, egl, or opengl i do not remember09:36
boshtannikit was possible by set KIVY_WINDOW=SDL2 python3 main.py or whatever, during app start09:38
boshtannikon my virtualbox machine 'sudo apt-get upgrade --fix-missing' thrown "Sub-process /usr/bin/dpkg received a segmentation fault" So i'am not able to install kivy on it.09:40
sicelowhy kivy btw? you could use qt with python09:45
siceloand yes, n900 can be overclocked on linux mainline09:45
boshtannikbecause of the license09:58
sicelolicense?10:09
boshtannikkivy lets develop for free, even raise money with it. The company which i was working in, had troubles with qt, because of the specific license, because of use QT for c++ in embedded device.10:13
boshtannikso yes, license.10:13
boshtannikand because, i assume, it can run kivy10:17
boshtannikRpi env variable - did sucessfully compiled sdl kivy dependencies11:47
freemangordonI still don;t get it why you insist on compilit that by yourself11:47
freemangordonon d4: https://pastebin.com/6XhyT6ZZ11:51
freemangordonI gues sthe issue is [DEBUG  ] [Window      ] Ignored <x11> (import error)11:51
boshtannikseems like it was not successfull run11:57
boshtanniki think that sdl2 deps compilation with rpi support would help11:58
boshtannikthat is the reason of my insist of compiling by myself11:59
freemangordonseems 'rpi support' means linking to proprietary drivers11:59
freemangordonyep, I see11:59
boshtannikno more ideas i have.12:00
boshtannikonly trust in bruteforce12:00
boshtannikyou did it from install python3-kivy, python-kivy-examples?12:02
boshtannikand why it is not able to import x11?12:03
freemangordonno idea12:21
boshtannikI still in installation process. Running installation accordingly to official installation guide.12:22
boshtannik1 - have compiled from ./build_linux_dependencies12:22
boshtannik2 - now in run of12:23
boshtannikexport KIVY_DEPS_ROOT=$(pwd)/kivy-dependencies12:23
boshtannikand12:23
boshtannikpython -m pip install "kivy[base]" kivy_examples --no-binary kivy12:23
Wizzupthe debian package has to work, I don't think a manual install will make a real difference12:24
boshtannikmay be.. Will see.12:24
boshtannikif i ll try to run script under ssh, will it use original display?12:25
boshtannikmight it cause error of not being able to initialize?12:25
Wizzuptry to import it from python console12:25
Wizzupit will probably tell you12:25
boshtanniki did it.12:25
boshtannikanyway initialization goes, when you actially start the app12:26
boshtannikor there is method exist to initialize it, or check12:26
boshtannikdon't remember12:26
freemangordonWizzup: seems debian package is compiled in such a way that it is bound to rpi specific gles2 drivers12:31
freemangordonsee https://github.com/kivy/kivy/issues/647412:32
boshtanniki did all same steps provided on previous leste distro12:35
boshtannikusually getting same results12:35
boshtannikDamn.. I dod not mention "needs to recompile the sdl2 with KMS support."12:36
boshtannikso if it's compiled to be bound with rpi - Potentially i will get the same reult after compiling?12:37
freemangordonyes12:38
freemangordonalso, you don;t want KMS12:38
freemangordonyou want x1112:38
freemangordonaccording to that thread it needs:12:39
freemangordonexport VIDEOCOREMESA=112:39
freemangordonexport USE_X11=112:39
boshtannikthis variables i need to use at sdl deps compilation, or during 'python -m pip install kivy....' installation?12:40
freemangordonduring compilation12:40
freemangordonIIUC12:40
freemangordonread https://github.com/kivy/kivy/issues/647412:40
boshtannikthat's why i wanted to run compilation on my desktop pc, under qemu emulation12:42
boshtannikit takes a looot of time to adjust each ENV variable12:42
boshtannikit kills12:42
freemangordonI will try to compile on d412:42
freemangordonit is way faster12:42
freemangordonand I compiled mesa there several times :D12:42
boshtannik1ghz of cpu?12:42
freemangordon2 cores12:43
boshtannik"and I compiled mesa there several times :D" - seems like you love brutforce too12:43
freemangordonmhm12:43
boshtannikO_o!12:43
boshtannikWhere can i get one?12:43
freemangordonWizzup: ^^^12:43
boshtanniki would be very happy, if you would compile some for me.12:44
boshtannikit seems like taking 4+ hours for each build of SDL2, i do not count kivy installation in12:44
freemangordoninstalling dependencies12:45
boshtannikfrom script got from off site?12:45
boshtannikhttps://www.olx.ua/d/obyavlenie/motorola-droid-3-2-shtuki-IDQv4xj.html12:47
boshtannikguess this is wrong model12:49
freemangordonhmm, cannot build through debian source12:53
freemangordonthis seems to be FUBAR12:54
freemangordonboshtannik: as you already have build env set-up, you may try to build with:12:55
freemangordonexport USE_X11=112:55
freemangordonexport VIDEOCOREMESA=112:55
freemangordonexport KIVY_GRAPHICS="gles2"12:55
boshtanniki have two building meanings in my head.12:56
boshtannik1 - is the when running ./build_linuxdependencies12:56
boshtannik2- - is the during pip install kivy....12:57
boshtanniki can't tell, about which exaclty, are you now saying me.12:57
boshtannikwhole process, or i just can restart 2nd part for now?12:57
freemangordonno idea, sorry12:57
boshtannikOk. Will restart whole process.12:57
boshtannikWhy not.12:57
freemangordonwhatever the step when c files are compiled12:58
boshtannikKilling current kivy installation from wheels process?12:58
freemangordonsorry, rephrase12:58
boshtannikI now can kill kivy installation process.12:58
boshtannikassume it is hopeless for now (don't know how much is left until it will be installed)12:59
freemangordonas I said, no idea. I tried to build it from source got with apt-get source, but it refuses to even start building12:59
boshtannikwhy refuses?12:59
freemangordonhttps://pastebin.com/sr2dBMxB13:00
boshtannikOhh. I did not know about apt-get source command at all.13:00
freemangordonwell...13:00
freemangordonthis is debian :)13:01
Wizzupboshtannik: we are looking at supporting the droid 3 but currently there are some issues still13:01
boshtannik@Wizzup - will stick with n900 yet.13:02
boshtannik@freemangordon - looks bad(13:02
boshtannikhave killed installation process.13:02
boshtannikrebuilding it from scratch13:02
freemangordonhave to run, bbl13:03
freemangordonboshtannik: maybe test those build options in VM first13:05
freemangordonto see that it will build with correct window backend etc13:05
boshtanniki can't make apt-get update in vm13:05
freemangordonwhy?13:05
freemangordonjust download a new virtualbox image13:06
boshtannikbecause different checksums during apt-get update13:06
boshtannikhave downloaded13:06
boshtanniktwice13:06
freemangordonwhich image is that?13:06
freemangordonlink?13:06
boshtannikhttps://maedevu.maemo.org/images/virtual-machines/20230423-chimaera/maemo-leste-1.0-amd64-20230423.vdi.xz13:06
freemangordongoing to test it13:07
boshtannikso i have started the compilation again.13:08
boshtannikmade it not nice (-20)13:08
freemangordonboshtannik: I see no issue here13:23
freemangordonwhat is your virtualbox version13:24
freemangordon?13:24
boshtannik6.113:24
boshtannikfrom off debian repos13:24
boshtannikohh no13:24
boshtannikdownloaded deb package13:24
freemangordonhere it is 6.013:25
freemangordonbut should not make difference13:25
freemangordonso, no idea what might be broken, but image is ok13:25
boshtanniki think too. because Boxed os must check checksum itself13:25
freemangordonI just did apt-get update /apt-get upgrade and lots of packages were upgraded13:27
freemangordonno checksum errors whatsoever13:27
boshtannikhmmm13:27
boshtannikwill try again13:27
boshtannikhow to send screenshot?13:27
freemangordonsome public image sharing service?13:28
freemangordonhttps://imgur.com/upload for example13:28
boshtannikHmmm14:01
boshtannikno errors for this time14:01
boshtannikO_o?14:01
boshtanniksame image14:01
boshtannikAgain14:12
boshtannikhttps://imgur.com/a/8QbmBup14:12
boshtannikand again it works14:18
boshtannikcompilation on my n900 going slower, but with no segfaults15:07
boshtannik2 segfaults per minute. That's discuting!15:08
boshtannikThat's why Rust was invented15:08
boshtannik3 segfaults15:10
bencohuh15:19
buZzboshtannik: input/output error? maybe the SD card is broken-ish?15:27
boshtannikthat was on the VirtualBox15:27
buZzoh bizar15:28
boshtannikn900 - still going15:28
buZzwell maybe debian is just moving servers around15:28
boshtannikmuch slower but going15:28
boshtannikwho knows15:28
boshtanniki thought may be because of the kernel version?15:28
buZzoh bizar, those hashes15:28
boshtanniksometimes they may change api for controlling applications memory15:29
buZzyou got a md5 match but sha256 mismatch O_o15:29
boshtannikthis is no more the case15:29
boshtannikCan someone provide me droid 4 ssh access?17:17
boshtannikvia yggdrasil, for example.17:17
boshtannikhttps://imgur.com/a/uXn1U5G18:36
boshtannikFail18:36
boshtannikseems frequent error18:42
siceloif you don't like qt, there's always GTK :-)18:49
boshtannikthanks!19:52
buZzor tcltk19:52
buZz:D19:52
buZzor motif19:52
boshtannikor pygame, ye?19:52
buZzsure! pygame could work19:53
buZzi used pyqt19:53
boshtanniki used it too, somewhen19:53
buZzboshtannik: https://space.nurdspace.nl/~buzz/maemo/batmon.py19:55
buZzits my mess of a pyqt / pyqtgraph droid4 battery monitor19:55
buZzpython319:55
boshtannikdoes not open((20:39

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