| piggz[m] | Most of chum:testing is looking better | 07:24 |
|---|---|---|
| poetaster | nephros, Keto do I understand correctly and 5.1 finally removes setup.py? | 10:28 |
| poetaster | nephros, Keto I've already noticed that some packages no longer build for any release (libomemo) | 10:29 |
| Keto | it does not remove setup.py support, the old %py3_build macros are still there. but the new pyproject macros are now also somewhat supported | 11:11 |
| poetaster | Keto, cool. so it was about cython 0.29.30 in the main? | 11:20 |
| poetaster | Keto, do we have a %configure macro on obs? | 11:33 |
| Keto | yes, %configure should work in OBS... not sure how that is related to OBS? | 11:37 |
| poetaster | ah, I think I'm missing an autogen.sh step. .configure was not being found | 11:45 |
| poetaster | the message I was getting was that .configure is not found and I misread that. | 11:46 |
| poetaster | anyone give me a hint how to exec autoreconf -fvi in the %prep section ? | 12:15 |
| poetaster | never mind, I'm on fedora crack. | 12:17 |
| nephros | poetaster: %reconfigure ? | 13:09 |
| poetaster | nephros, typo. I seem to be too stupid to get obs to build a simple c package. | 13:17 |
| poetaster | https://build.sailfishos.org/package/live_build_log/home:poetaster:omemo/protobuf-c/sailfish_latest_armv7hl/armv8el | 13:17 |
| poetaster | build step .configure is never found | 13:18 |
| poetaster | nephros, or do you mean there is a %reconfigure macro that works for some set of occult pramaters? | 13:19 |
| nephros | poetaster: %reconfigure works just like %configure but adds all the autoreconv -fiv etc before. | 13:26 |
| poetaster | nephros, do you study black magic in what spare time remains!? | 13:27 |
| nephros | No but I use spectacle and that has that in the default choices ;) | 13:27 |
| nephros | Because I am deranged and like the .yaml. | 13:28 |
| nephros | SO, yeah, basically black magic. | 13:28 |
| poetaster | ah, ok. well, it doesn't' matter what I do, the configure step fails one way or the other. | 13:34 |
| poetaster | although both configure AND configure.ac are there. | 13:34 |
| nephros | poetaster: protobuf-c.spec needs a autosetup -n %{name}-%{version}/**protobuf-c** | 13:38 |
| nephros | you don't switch into the submodule. | 13:38 |
| poetaster | nephros, the source pulls the tar ball. the submodule is not relevant (I thought) | 13:39 |
| poetaster | err, spec pulls it. unpacks it, operates on it, or? | 13:39 |
| nephros | The tarball has the packaging repo with the submodule below it. | 13:39 |
| nephros | I know its a bit weird but that's how tar_git does it. | 13:40 |
| poetaster | err, so, I get rid of the submodule? | 13:40 |
| nephros | No, you just use another %autosetup line. | 13:41 |
| poetaster | but that means that the source get's pulled twice?! | 13:41 |
| nephros | no, all is there in the original tarball. | 13:41 |
| nephros | spec or rpmbuild does not pull anything, tar_git prepares it before. | 13:42 |
| poetaster | I don't get it. when I pull the tar ball from the spec, all the code is ready for .configure. there is no need for any further foo. | 13:43 |
| poetaster | is that autosetup just to follow the original in %prep? | 13:43 |
| nephros | just replace the autosetup or setup with "autoswtup -p1 -n %{name}-%{version}/protobuf-c | 13:45 |
| nephros | " | 13:45 |
| nephros | Sorry, no asterisks. | 13:48 |
| poetaster | ah, ok. that works. what's a swtup? sounds good. 80s drum machine. | 13:52 |
| poetaster | Ok, I'll add this to my alreay bizarre notes about obs. Makes me appreciate github actions. | 13:53 |
| nephros | poetaster: they are just as bizarre thouhg. | 13:53 |
| nephros | I have https://github.com/sailfishos/docs.sailfishos.org/pull/423 but it got stuck a bit. | 13:54 |
| poetaster | nephros, I lean heavily on coderus images ;) | 13:54 |
| poetaster | nephros, oh, that's cool. | 13:55 |
| nephros | https://github.com/nephros/docs.sailfishos.org/blob/135f218832201845914f0d9a75408abd4acd95bc/Services/Development/Open_Build_Service/Packaging_for_OBS/README.md#understanding-cloning-the-source-structure-and-tarballs-generated-by-tar_git | 13:56 |
| poetaster | thanks! | 14:00 |
| poetaster | and protobuf is done. it's all for libomemo, which nobody uses since xmpp is doomed | 14:02 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!