*** Mikaela is now known as Guest817 | 09:17 | |
*** jusa_ is now known as jusa | 09:22 | |
piggz[m] | Rinigus: ^^ | 13:29 |
---|---|---|
nephros_ | mal: Sorry, you were asking last week about an example for https://forum.sailfishos.org/t/17481 | 15:19 |
nephros_ | One package which shows this is https://build.sailfishos.org/package/show/home:nephros:devel:messaging/nlohmann-json although that's not a perfct example. | 15:19 |
nephros_ | Note that I do have a manual Provides: line in the yaml/spec, and you can see the effect that the aarch64 only has one Provides: line, while the 32bit ones have two (one autodetected, one manual). | 15:20 |
mal | ok, I'll have a look | 15:22 |
rinigus | piggz @piggz:matrix.org: maybe we should. Also would be great to reduce the number of repos. I think mal suggested some time ago to drop minor version in repo name. But that would require changes in the code and some transition period | 16:53 |
mal | wondering if ssu supports some kind of way to get release version without the last number | 16:56 |
mal | nephros_: quite strange that when looking at some random package in devel the aarch64 build shows for SDL for example "pkgconfig(sdl2) = 2.28.0" | 16:58 |
mal | nephros_: wait, the pkgconfig files are supposed to go to %{_libdir} not %{_prefix}/lib | 17:00 |
mal | try changing that in spec | 17:00 |
Keto | ssu only has the full release version in repo variables, we should probably add releaseMajor there | 17:22 |
Keto | I believe it would go here https://github.com/sailfishos/ssu/blob/49ef9f885f7d735150af5600fce8f7a823a15a67/libssu/ssurepomanager.cpp#L409 | 17:24 |
Keto | if someone wants to contribute | 17:25 |
mal | unfortunately that will only help with future releases | 17:37 |
Keto | or maybe it should have releaseMajor for X.Y and releaseMinor for X.Y.Z | 17:37 |
mal | too bad obs doesn't support aliases for repos | 17:38 |
Keto | we could just symlink the full version repos on the repo server for backwards compatibility | 17:47 |
mal | yeah | 17:47 |
nephros_ | mal: on OBS, is pkgconfig run from native or from build host arch? | 18:01 |
mal | hmm, not sure what you mean, but all the spec files we have use libdir not hardcoded usr/lib for pkgconfig files, because we do use lib64 for aarch64 | 18:02 |
mal | nephros_: in your spec you force lib instead of using libdir | 18:02 |
mal | in your bug report you mention lib64 but in that example case you don't use it | 18:04 |
nephros_ | pkgconfig doc sais "libdir" is where pkgconfig is installed. that is lib64 on aarch64 and lib on i486. Now, if cmake uses pkgconfig, and cmake is run from the i486 build system, it will not find files in lib64. | 18:06 |
mal | have you tried to do what I suggested? | 18:06 |
mal | or will I do it :) | 18:07 |
nephros_ | yes, in fact I started hardcoding /lib *because* sometimes rpmbuild would not find the Provides correctly. | 18:08 |
nephros_ | but I'll do a Poc example with all variations and try to nail it down more precisely. | 18:09 |
mal | nephros_: https://build.sailfishos.org/package/show/home:mal:apps/nlohmann-json | 18:13 |
mal | that seems to work just fine | 18:13 |
mal | so I still wonder what the problem is because that is the normal way I suggested and the provides looks correct | 18:15 |
nephros_ | ok thanks. I have to backtrack where I was coming from - will report back. | 18:22 |
rinigus | Keto: re symlink - does it mean that we already could have added 4.5.0 and then symlink to it all 4.5.0.x repos? | 18:37 |
Keto | rinigus: possibly. would need to test it in practice | 18:53 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!