| 28 Sep 2025 |
Ivan Mincik (imincik) | In such cases I usually check out arch or conda packaging, but in this case none of them package python-mapnik | 18:16:10 |
Ivan Mincik (imincik) | * In such cases I usually check out arch or conda-forge packaging, but in this case none of them package python-mapnik | 18:16:42 |
autra | that might be the wise choice ! | 19:58:55 |
| 29 Sep 2025 |
autra | ok this is ready https://github.com/NixOS/nixpkgs/pull/445802 ! | 14:01:20 |
autra | I'd appreciate some help here: https://github.com/NixOS/nixpkgs/pull/447186
The issue is that the way it is defined, the build system doesn't find .h files in the same repo. I attempted to fix it with preconfigure but that is not the way to go apparently.
| 14:11:17 |
sikmir | Any ideas how to fix cross compilation of librttopo?
> checking for geos-config... /nix/store/d2ibs3vvdx8wrqrl156f9vw8xly0f164-geos-3.13.1/bin/geos-config
> checking for geos_c.h... yes
> checking for library containing GEOSContext_setErrorMessageHandler_r... no
> configure: error: could not find libgeos_c (or obsolete 'libgeos_c' < v.3.5.0 found) - you may need to specify the directory of a geos-config file using --with-geosconfig
For full logs, run:
nix log /nix/store/m3nyf7019wn4nixjyvgkn3pv3z25lp90-librttopo-armv7l-unknown-linux-gnueabihf-1.1.0.drv
| 16:58:48 |
sikmir | Ah, I've found: | 17:04:41 |
sikmir |
- configureFlags = [
- "--with-geosconfig=${lib.getExe' (lib.getDev geos) "geos-config"}"
- ];
| 17:04:44 |
sikmir | * configureFlags = [
"--with-geosconfig=${lib.getExe' (lib.getDev geos) "geos-config"}"
];
| 17:05:11 |
sikmir | https://github.com/NixOS/nixpkgs/pull/447241 | 17:13:54 |
| 2 Oct 2025 |
sikmir | https://github.com/NixOS/nixpkgs/pull/448081 | 21:32:52 |
| 3 Oct 2025 |
autra | sikmir: darwin supports .desktop files, but not with CRLF, that was the issue? | 14:44:21 |
autra | I didn't really understand 447241 either (why we need to specify the path to geos-config by hand) | 14:45:34 |
autra | I'm just asking that for my personal culture :-) | 14:45:50 |
autra | not to question those PRs | 14:46:03 |
| 4 Oct 2025 |
autra | Ivan Mincik (imincik): https://github.com/imincik/nix-utils/pull/6 😉 | 13:32:47 |
Ivan Mincik (imincik) | Thank you ! You are doing great job. Will merge it later today. | 13:35:25 |
| 7 Oct 2025 |
sikmir | No, desktopToDarwinBundle generates .app from .desktop, and it fails on .desktop with CRLF. | 05:55:15 |
sikmir | Otherwise during cross compilation geos for build platform was used, but we need geos for host platform. | 05:59:37 |
autra | Ah yes, nativeBuildInputs should be for the host platform, that makes sense. | 09:38:42 |
autra | I guess stdenv takes the correct arch depending on when the package is added to? E.g. if you add it to buildInputs, it will "select" the target platform and not the host platform? | 09:39:47 |
autra | in this case, it's the target architecture because it's the default for a derivation argument? | 09:40:24 |
autra | For the *Inputs, I guess it's done more or less in pkgs/stend/generic/make-derivation.nix | 09:45:33 |
| 8 Oct 2025 |
sikmir | Yes, magic is here https://github.com/NixOS/nixpkgs/blob/0c2bca6a8b43b0fb8bc81d3b22cb90a2e3c754b5/pkgs/stdenv/generic/make-derivation.nix#L492 | 07:55:42 |
| 17 Oct 2025 |
autra | It's odd, geos 3.14 is still not in master. Do you guys know why staging hasn't been merged yet? | 08:38:18 |
autra | should we add this as a blocker for 25.11? | 08:38:29 |
autra | (or at least say we'd like to have it?) | 08:38:40 |
Ivan Mincik (imincik) | autra: we are just trying to progress with https://github.com/qgis/QGIS/pull/62574 . You tested that PR. What was the patch you applied based on this comment . | 09:18:00 |
Ivan Mincik (imincik) | * autra: we are just trying to progress with https://github.com/qgis/QGIS/pull/62574 . You tested that PR. What was the patch you applied based on this comment ? | 09:18:05 |
autra | Hi Ivan Mincik (imincik) I'll check as soon as I can | 17:57:07 |