Saturday, 2026-05-09

Mister_Magisterwho in the world is building freebasic for sfos01:19
Mister_Magisteri know you aint programming in that01:19
*** ggabriel is now known as Guest900502:02
nephrosMister_Magister: I know, sorry. It does work though :)05:33
nephrosMister_Magister: https://build.sailfishos.org/package/show/home:nephros:release/c-intercal05:34
miahttps://git.0x0.st/mia/c2y-stuff/src/branch/main/defer.h here’s a C2y defer polyfill that works with every GCC version since 2004. have fun cleaning up your code08:52
nephrospiggz[m], rinigus: what is your opinion on adding compat library packages to Chum?12:36
nephroslike these: https://build.sailfishos.org/project/show/home:nephros:sailfishos:backports:5.112:36
piggz[m]nephros: purpose?  do they conflict with anything in 5.1?12:42
malis it not possible to detect the version in the code using those?12:43
nephrospurpose: Making apps work in 5.1 which link against these libs, but have not (yet) been recompiled.12:44
malso 5.0 and 5.1 builds would both work12:44
malisn't that quite temporary? until someone fixes the builds in chum12:44
nephrosof course, yea.12:44
nephrosBut for e.g. Openrepos apps that's not that certain.12:45
maltrue12:45
nephrosand in those packages I have removed the -devel parts so they're really just runtime.12:47
nephroscould put them in /usr/local too.12:47
nephrosbtw, mal: who's the person to talk to about Python? Apart from Voldemort.12:48
malnephros: what about python?12:55
nephrosGetting these failures a lot: https://build.sailfishos.org/package/live_build_log/sailfishos:chum:testing/python3-flit/5.1_aarch64/aarch6412:56
nephrospossibly broken python-rpm-macros?12:56
malnephros: same worked before?13:01
nephrosAccording to https://build.sailfishos.org/package/show/sailfishos:chum:testing/python3-flit, yes.13:02
nephrosand it's not just that package.13:03
malI'll have a look13:06
nephrosthanks. didn't want to impact your weekend tho :)13:10
maltrying to figure out where that came from in 5.013:10
rinigusnephros: I would have avoided backports (that's probably not a common way this term is used if I understand correctly) - better keeping pressure on apps to be recompiled against 5.113:16
nephrosrinigus: understood, makes sense. backports is just a name I chose for that repo (I have others which have actual backports)13:18
malI can't see any sign of that pathfix.py in 5.0, maybe it never did anything, the way that is called is diffenent in 5.1, but anyway I'll fix the macro package13:36
piggz[m]rinigus: any view about removing qt6 etc from chum:testing? i think its a lot of noise, and wont work until 5.2, so in the mean time, im happy to use it in my home repo with sb213:36
malnephros: want to do a test build in some project with this https://github.com/sailfishos/python-rpm-macros/tree/jb6423813:41
piggz[m]qt6-qtbase seems to have hit this error https://forum.qt.io/topic/163096/qt-6.8.3-build-fails-for-arm64-when-compiled-using-gcc-cross-compiler-x86_64-aarch64-toolchain.13:48
riniguspiggz: I don't know if anyone is using it. I guess not many as the one in your repo makes more sense to use13:48
rinigusand as it is testing ... well ... test didn't work out :(13:49
nephrosmal: sure, give me a minute :)13:50
malnephros: seems to work13:57
nephrosmal: yep, confirmed: https://build.sailfishos.org/project/monitor/home:nephros:branches:sailfishos:chum:testing13:59
malPR created14:05
malI'll try to get that into 5.1 still if possible14:06
nephros^^^ :thumbs_up:14:09
nephrosnext thing: Chum has "lz4", and 5.1 has "lz4-libs" now. A case of https://github.com/sailfishos-chum/main/issues/11814:15
nephros... and https://github.com/sailfishos/issue-tracker/issues/714:16
nephrosrinigus: https://github.com/sailfishos-chum/lz4/ is yours. If you give me access I can try to fix/retire it.14:23
nephrosOh, there is already an issue about it.14:25
rinigus.. and you have access to it14:26
nephrosright. sorry, I lose track of things. Will try to update :)14:31
nephrosrinigus: OK I have pushed to master. If that's ok, please accept OBS request 420715:01
nephrosThe change drops the -tools package without replacement, hope that's ok.15:03
rinigusnephros: done by piggz :)15:29
nephrospiggz[m]: you touched it last, therefore any breakage is on you! :D16:02
nephrosno but it does seem to have done tthe trick, at least for rsnapshot.16:04
malnephros: https://build.sailfishos.org/package/show/sailfishos:chum:testing/python3-setuptools_scm fails badly even with your latest changes16:17
malnephros: maybe try a fewer test builds of that since obs is busy anyway so those just take a lot of workers16:28
nephrosmal: on it! selected 7.1 as the newest feasible version.16:32
nephrosah, sorry, misunderstood. Will do branches for other changes on python stuff, sorry,16:33
nephrosI shall also play Die Internationale in the background to support the workers.16:34
nephros(Kansainvälinen I guess)16:36
malhehe16:36
piggz[m]nephros: im tempted to make you a chum maintainer and just let to go at it until everything is fixed16:40
nephrospiggz[m]: dont know about everything, but I can try looking at the obvious stuff.16:42
nephrosmal: this: https://build.sailfishos.org/package/live_build_log/sailfishos:chum:testing/python3-setuptools_scm/5.1_i486/i58616:43
nephrosAre specs supposed to be defining %__python? Seems wrong.16:43
miai’m not familiar with chum spec guidelines/py packaging macros, but for the opensuse ones that would not be okay16:55
miathose target multiple py versions at once though so in general you’d request incompatible ones to be disabled instead of selecting the ones you want16:57
piggz[m]nephros: you have the power in :testing16:58
* nephros bows. thank you for the trust16:59
nephrosAlso https://decider.com/wp-content/uploads/2018/08/he-man-3.jpg?quality=90&strip=all&w=1284&h=856&crop=116:59
nephrosmia: agreed, seems like a bug in the macros/build env.17:03
miaare we gonna get rpm 4.20 at some point btw? there’s some fun stuff in there with declarative build system macros17:09
miai have a PoC for meson where the entire spec is reduced to the preamble with the buildrequires and a BuildSystem: meson-autospec. the rest is inferred via build system introspection and adapted to distro guidelines17:11
miacould handle things like libs, -devel, -doc -data etc. automatically for probably the majority of meson projects17:12
miaand i can see similar things working for python17:13
piggz[m]mal: what linux headers are used in 5.1?  STATX_MNT_ID was added in 5.8, maybe the glibc update expects that, as it seems to be defined for the qt6-qtbase build, but doesnt actually exist17:14
mal4.417:15
mia💀17:15
piggz[m]mal: i guess ill have to patch that out then17:15
miathanks qualcomm?17:15
malnephros: I wonder what is trying to use unversioned python17:16
*** Mister_Magister_ is now known as Mister_Magister17:20
malmia: rpm 4.19 is next waiting to be merged (couldn't be added to 5.1 because we needed to do rpm database migration first in 5.1), but related to generated spec files we can't use those because those are generated too late for OBS to understand them17:20
malsame goes for build dependencies generated by macros etc17:21
miamal: no no, what those do works with OBS17:21
miayeah build deps won’t work17:21
miabut that’s better anyway17:21
miawould rather have those be explicit17:22
malok, misunderstood the earlier comment then17:23
mia4.19 adds this for example https://rpm.org/docs/4.20.x/manual/dynamic_specs.html17:23
malpiggz[m]: probably should update kernel headers again17:25
miai forgot which version but the main sections also got -a and -p options so you can use macros to append/prepend stuff to %prep %build etc.17:26
malneed to make a test project on obs to see what breaks, I know at least some packages will fail with newer headers because new things get build when build detects support for newer things17:26
miarealistically the new rpm features probably have limited practical use outside of some packaging macros to reduce boilerplate, mostly because upstream build systems are often not that nice and need manual work to bring things into compliance… but it’s nice to have ways to make packaging easier and more consistent in a few more cases than before17:34
nephrosmal: what is using unversioned python? only thing I can find is /opt/testing/etc/xdg/rpmlint/sailfish.toml17:38
nephroswhich has a variable ValidShells17:38
malnephros: I was wondering what that "python_module" uses17:38

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