!yNLbWuxtZEZoUZYwKG:nixos.org

Nix Geospatial Team

32 Members
Nix Geospatial packages maintenance. Team board - https://github.com/orgs/NixOS/projects/47/views/18 Servers

Load older messages


SenderMessageTime
29 Sep 2025
@sikmir:matrix.orgsikmir

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:matrix.orgsikmirAh, I've found:17:04:41
@sikmir:matrix.orgsikmir
  • configureFlags = [
  • "--with-geosconfig=${lib.getExe' (lib.getDev geos) "geos-config"}"
  • ];
17:04:44
@sikmir:matrix.orgsikmir *
  configureFlags = [
    "--with-geosconfig=${lib.getExe' (lib.getDev geos) "geos-config"}"
  ];
17:05:11
@sikmir:matrix.orgsikmirhttps://github.com/NixOS/nixpkgs/pull/44724117:13:54
2 Oct 2025
@sikmir:matrix.orgsikmirhttps://github.com/NixOS/nixpkgs/pull/44808121:32:52
3 Oct 2025
@autra:trancart.euautra sikmir: darwin supports .desktop files, but not with CRLF, that was the issue? 14:44:21
@autra:trancart.euautraI didn't really understand 447241 either (why we need to specify the path to geos-config by hand)14:45:34
@autra:trancart.euautraI'm just asking that for my personal culture :-)14:45:50
@autra:trancart.euautranot to question those PRs14:46:03
4 Oct 2025
@autra:trancart.euautra Ivan Mincik (imincik): https://github.com/imincik/nix-utils/pull/6 😉 13:32:47
@imincik:matrix.orgIvan Mincik (imincik)Thank you ! You are doing great job. Will merge it later today.13:35:25
7 Oct 2025
@sikmir:matrix.orgsikmirNo, desktopToDarwinBundle generates .app from .desktop, and it fails on .desktop with CRLF.05:55:15
@sikmir:matrix.orgsikmirOtherwise during cross compilation geos for build platform was used, but we need geos for host platform.05:59:37
@autra:trancart.euautraAh yes, nativeBuildInputs should be for the host platform, that makes sense.09:38:42
@autra:trancart.euautraI 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:trancart.euautrain this case, it's the target architecture because it's the default for a derivation argument? 09:40:24
@autra:trancart.euautraFor the *Inputs, I guess it's done more or less in pkgs/stend/generic/make-derivation.nix09:45:33
8 Oct 2025
@sikmir:matrix.orgsikmirYes, magic is here https://github.com/NixOS/nixpkgs/blob/0c2bca6a8b43b0fb8bc81d3b22cb90a2e3c754b5/pkgs/stdenv/generic/make-derivation.nix#L49207:55:42
17 Oct 2025
@autra:trancart.euautraIt'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:trancart.euautrashould we add this as a blocker for 25.11?08:38:29
@autra:trancart.euautra(or at least say we'd like to have it?)08:38:40
@imincik:matrix.orgIvan 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
@imincik:matrix.orgIvan 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:trancart.euautra Hi Ivan Mincik (imincik) I'll check as soon as I can 17:57:07
20 Oct 2025
@imincik:matrix.orgIvan Mincik (imincik)Yes, I would like to have it in 3.14. No idea why staging was not merged yet.04:35:35
@autra:trancart.euautra Ivan Mincik (imincik): about the qt6 qgis PR, I've pushed a fix for the patch here: https://github.com/autra/QGIS/tree/nix-qt6 12:33:29
@autra:trancart.euautraapparently part of the patch has already been applied12:33:38
@imincik:matrix.orgIvan Mincik (imincik)Great thanks for help, I'll work on getting this merged asap !12:34:54
@autra:trancart.euautraI'll try to build without any patch just to see12:41:01

Show newer messages


Back to Room ListRoom Version: 10