| nephros | Keto: Any idea why this https://build.sailfishos.org/package/show/sailfishos:chum:testing/lonewolf kills the build-vm on 5.1 arm? | 06:53 |
|---|---|---|
| nephros | OBS constantly triggers an auto-rebuild after failure so the final error is hard to catch. | 06:54 |
| nephros | but it basically runs cmake, hands there and then gets killed at some point | 06:56 |
| nephros | *hangs | 06:57 |
| Keto | nephros: maybe crank up the cmake verbosity and see if it shows what exactly gets stuck | 07:05 |
| poetaster | nephros, protobuf-c and libomemo-c both build now. | 07:16 |
| piggz[m] | nephros: maybe it needs a constraints file to use a larger builder? | 07:23 |
| Renaud[m] | Hi, | 07:24 |
| Renaud[m] | I couldn't find 5.1 version in the sdk so I guess this is only available on OBS? | 07:25 |
| nephros | piggz[m]: thanks - but other build show ~600MB max mem usage, the source it really little. And it *appears* to be stuck somewhere during cmake configure, maybe at some compiler test. | 09:21 |
| poetaster | piggz[m], protobuf ... files section issue? | 09:27 |
| nephros | poetaster: .la removal script change issue from 5.0 | 09:28 |
| piggz[m] | poetaster: in 5.0 onwards, there was some compiler flag change that removed .la files from build .. so thats probably why it works on later version and not earlier .. you could add something to the install section to remove them? | 09:29 |
| nephros | either detect sailfish_version, or [test -e] , or just "|| true" the post-build rm foo.la. | 09:30 |
| poetaster | piggz[m], find %{buildroot} -type f -name '*.la' -delete ? | 09:30 |
| piggz[m] | yeah, something like that | 09:31 |
| nephros | ^^^ yea, although I'm not sure -delete is portable. | 09:31 |
| poetaster | nephros, your preference? | 09:31 |
| piggz[m] | xargs rm .. | 09:31 |
| nephros | |xargs rm -f | 09:31 |
| poetaster | ah xargs. | 09:33 |
| poetaster | strange had rm %buildroot/%_libdir/*.la in there | 09:35 |
| poetaster | oh dear. and I can't seem to configure the other repos for the subproject. sigh. | 09:38 |
| poetaster | why in the world does sailfishos latest get me arm7? | 09:39 |
| poetaster | ah, meta. | 09:41 |
| poetaster | ah, the suse rm line is the problem. | 09:48 |
| poetaster | all this pita because friggin marlinspike decided to do protobuf in c. | 09:59 |
| poetaster | hope he runs into a storm on the atlantic. | 10:00 |
| nephros | I seem to have created a forbomb by %defining %cmake_build, that's why the thing above hung. Strange though that it was not a problem on older repos, and not on x68 | 12:19 |
| poetaster | nephros, I've had 24 hours of builds on arm7 though it should not. but NOW, really, nOW..... | 12:43 |
| poetaster | nephros, any idea what check-devel ist on obs? both fedora and suse use it | 12:43 |
| koleesch[m] | Hi, | 12:52 |
| koleesch[m] | does someone has experiences with nixos, sfdk and docker as build container? | 12:52 |
| nephros | poetaster: check-level? no never heard of it. | 12:55 |
| piggz[m] | is there a fix for these setup.py issues? https://build.sailfishos.org/package/live_build_log/sailfishos:chum:testing/gbinder-python/5.1_aarch64/aarch64 | 12:59 |
| poetaster | check-devel is there. just not the version I was hoping for. | 13:04 |
| poetaster | koleesch[m], Rikudou_Sennin on the forum has that nix docker experience | 13:05 |
| poetaster | I think | 13:05 |
| poetaster | piggz[m], isn't that what nephros was asking keto about the other day? | 13:06 |
| piggz[m] | probably | 13:08 |
| poetaster | ah, probably not since it fails on older versions too | 13:09 |
| poetaster | hmmm. ] error: option --cython not a unique prefix is a bit odd | 13:10 |
| Keto | remove the --cython option and it builds fine... python3 setup.py build_ext --help shows there is no such option | 13:18 |
| nephros | well what was a topic a couple of days ago is that many Python packages have moved away from setup.py to other build methods (configured via pyproject.toml) | 13:19 |
| poetaster | Keto, can we use python-rpm-macros style %python_build build_ext? | 13:20 |
| Keto | probably not... | 13:20 |
| poetaster | PEP517 ? | 13:20 |
| nephros | ^^^^^ grrrr | 13:20 |
| poetaster | Ah, well. I guess I'll stick to an older version of sfos :) | 13:20 |
| poetaster | nephros, yes, python packaging just keeps getting better. I'm moving to go. | 13:21 |
| poetaster | but, then, I can't even get a simple library to compile. | 13:21 |
| nephros | I mean I'm sure "they" have their reasons. But in practice now every other dependency requires their own bespoke build system in addition, which require more deps and so on. | 13:22 |
| mal | just mentioning that the python-rpm-macros fix to include pathfix.py will be there in next 5.1 rc | 13:23 |
| poetaster | nephros, It's a bit like the 'not made here syndrome' vis suse / fedora. they expend so much time on their opinions and make no progress. | 13:26 |
| poetaster | and so I make no progress. itching to get back to real op | 13:27 |
| poetaster | work | 13:27 |
| nephros | piggz[m]: %{py3_build} I guess. | 13:32 |
| FireFly | koleesch[m]: I have some half-baked and moderately cursed nix expressions as well for dealing with SFOS (although kinda with a small shellscript as replacement for sfdk) | 13:32 |
| poetaster | nephros, I was going to ask about py3_build it takes the --cython flag, or? | 13:33 |
| FireFly | really ought to clean them up and put them somewhere online though.. | 13:35 |
| nephros | poetaster: I don't think it takes arguments at all. | 13:36 |
| nephros | rpmbuild --eval %py3_build | 13:36 |
| poetaster | ah, thanks. | 13:38 |
| poetaster | I just wish for python3 setup.py install --root=%{buildroot} --prefix=%{_datadir}/%{name}/ | 13:39 |
| poetaster | and the rest be damned. | 13:39 |
| nephros | Grm my cmake hang is a Heisenbug. If I do cmake --debug-find or --trace, it works. Remove them agin, hangs again. | 13:42 |
| poetaster | it's enough to make you return to cmos. | 13:45 |
| poetaster | nephros, my latest chaotic sequencer. https://github.com/poetaster/noodle | 13:46 |
| poetaster | all logic is TTL, all the time :) | 13:46 |
| poetaster | nephros, can you live with libomemo 0.5.0 (with inlined protobuf-c) ... this is driving me nuts. | 13:55 |
| piggz[m] | nephros: that works for 5.1 .. what about older? https://build.sailfishos.org/package/show/sailfishos:chum:testing/gbinder-python | 13:58 |
| poetaster | piggz[m], %{py3_build} ? | 14:00 |
| piggz[m] | yeah that what i changed it to | 14:00 |
| piggz[m] | 5.0 fails with this https://build.sailfishos.org/package/live_build_log/sailfishos:chum:testing/gbinder-python/5.0_aarch64/aarch64 | 14:01 |
| poetaster | oh, dear. | 14:06 |
| piggz[m] | i dont regret not dong python more | 14:07 |
| Keto | 5.0 has quite old cython, so it might not build there | 14:07 |
| poetaster | hmmm. maybe I should NOT -DLIB_INSTALL_DIR=%{_libdir} | 14:07 |
| piggz[m] | i could go back to 1.1.2, which doesnt require cython | 14:11 |
| poetaster | piggz[m], how many versions is that? | 14:13 |
| piggz[m] | meh, still works on 5.1 and not the others | 14:15 |
| poetaster | yeah, I'm surprised that the old libomemo broke recently. gremlins. | 14:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!