Wednesday, 2026-05-13

nephrosKeto: Any idea why this https://build.sailfishos.org/package/show/sailfishos:chum:testing/lonewolf kills the build-vm on 5.1 arm?06:53
nephrosOBS constantly triggers an auto-rebuild after failure so the final error is hard to catch.06:54
nephrosbut it basically runs cmake, hands there and then gets killed at some point06:56
nephros*hangs06:57
Ketonephros: maybe crank up the cmake verbosity and see if it shows what exactly gets stuck07:05
poetasternephros, 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
nephrospiggz[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
poetasterpiggz[m], protobuf ... files section issue?09:27
nephrospoetaster: .la removal script change issue from 5.009: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
nephroseither detect sailfish_version, or [test -e] , or just "|| true" the post-build rm foo.la.09:30
poetasterpiggz[m], find %{buildroot} -type f -name '*.la' -delete ?09:30
piggz[m]yeah, something like that09:31
nephros^^^ yea, although I'm not sure -delete is portable.09:31
poetasternephros, your preference?09:31
piggz[m]xargs rm ..09:31
nephros|xargs rm -f09:31
poetasterah xargs.09:33
poetasterstrange had rm %buildroot/%_libdir/*.la in there09:35
poetasteroh dear. and I can't seem to configure the other repos for the subproject. sigh.09:38
poetasterwhy in the world does sailfishos latest get me arm7?09:39
poetasterah, meta.09:41
poetasterah, the suse rm line is the problem.09:48
poetasterall this pita because friggin marlinspike decided to do protobuf in c.09:59
poetasterhope he runs into a storm on the atlantic.10:00
nephrosI 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 x6812:19
poetasternephros, I've had 24 hours of builds on arm7 though it should not. but NOW, really, nOW.....12:43
poetasternephros, any idea what check-devel ist on obs? both fedora and suse use it12:43
koleesch[m]Hi,12:52
koleesch[m]does someone has experiences with nixos, sfdk and docker as build container?12:52
nephrospoetaster: 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/aarch6412:59
poetastercheck-devel is there. just not the version I was hoping for.13:04
poetasterkoleesch[m], Rikudou_Sennin on the forum has that nix docker experience13:05
poetasterI think13:05
poetasterpiggz[m], isn't that what nephros was asking keto about the other day?13:06
piggz[m]probably13:08
poetasterah, probably not since it fails on older versions too13:09
poetasterhmmm. ] error: option --cython not a unique prefix is a bit odd13:10
Ketoremove the --cython option and it builds fine... python3 setup.py build_ext --help shows there is no such option13:18
nephroswell 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
poetasterKeto, can we use python-rpm-macros style %python_build build_ext?13:20
Ketoprobably not...13:20
poetasterPEP517 ?13:20
nephros^^^^^ grrrr13:20
poetasterAh, well. I guess I'll stick to an older version of sfos :)13:20
poetasternephros, yes, python packaging just keeps getting better. I'm moving to go.13:21
poetasterbut, then, I can't even get a simple library to compile.13:21
nephrosI 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
maljust mentioning that the python-rpm-macros fix to include pathfix.py will be there in next 5.1 rc13:23
poetasternephros, 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
poetasterand so I make no progress. itching to get back to real op13:27
poetasterwork13:27
nephrospiggz[m]: %{py3_build} I guess.13:32
FireFlykoleesch[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
poetasternephros, I was going to ask about py3_build it takes the --cython flag, or?13:33
FireFlyreally ought to clean them up and put them somewhere online though..13:35
nephrospoetaster: I don't think it takes arguments at all.13:36
nephrosrpmbuild --eval %py3_build13:36
poetasterah, thanks.13:38
poetasterI just wish for python3 setup.py install --root=%{buildroot} --prefix=%{_datadir}/%{name}/13:39
poetasterand the rest be damned.13:39
nephrosGrm my cmake hang is a Heisenbug. If I do cmake --debug-find or --trace, it works. Remove them agin, hangs again.13:42
poetasterit's enough to make you return to cmos.13:45
poetasternephros, my latest chaotic sequencer. https://github.com/poetaster/noodle13:46
poetasterall logic is TTL, all the time :)13:46
poetasternephros, 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-python13:58
poetasterpiggz[m], %{py3_build} ?14:00
piggz[m]yeah that what i changed it to14:00
piggz[m]5.0 fails with this https://build.sailfishos.org/package/live_build_log/sailfishos:chum:testing/gbinder-python/5.0_aarch64/aarch6414:01
poetasteroh, dear.14:06
piggz[m]i dont regret not dong python more14:07
Keto5.0 has quite old cython, so it might not build there14:07
poetasterhmmm. maybe I should NOT     -DLIB_INSTALL_DIR=%{_libdir}14:07
piggz[m]i could go back to 1.1.2, which doesnt require cython14:11
poetasterpiggz[m], how many versions is that?14:13
piggz[m]meh, still works on 5.1 and not the others14:15
poetasteryeah, I'm surprised that the old libomemo broke recently. gremlins.14:24
piggz[m]Keto: mal nephros ; on OBS, could I apply a patch only on certain sfos versions? cython 3 needs explicit noexcept, but that keyword isnt supported on the older version18:00
Ketoyes, I think you can wrap the Patch line %if %sailfishversion something...18:10
koleesch[m]FireFly: Oh that sounds good for a start. Do you have a repo where I can take a look on it?18:21
FireFlykoleesch[m]: ah not yet, lemme see if I can get this cleaned up a bit at least and put it somewhere18:58

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