!yNLbWuxtZEZoUZYwKG:nixos.org

Nix Geospatial Team

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

Load older messages


SenderMessageTime
20 Sep 2024
@autra:trancart.euautra Ivan Mincik (imincik): at least for python packages, a passthru.updateScript is automatically setup on derivation that don't have it by mkPythonDerivation: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/python/mk-python-derivation.nix#L223 17:13:53
@autra:trancart.euautrafollowing stuff: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/python/update-python-libraries/default.nix and https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py17:16:20
@autra:trancart.euautrawhich in turn seems to use the fetcher to check if a new version is published :-)17:16:41
@autra:trancart.euautraneat!17:16:56
@autra:trancart.euautrait doesn't explain why this bot didn't update mapclassify for instance, but well...17:42:57
@imincik:matrix.orgIvan Mincik (imincik) I think update script is not mandatory. In many trivial cases update bot can just check latest release and create PR without update script. 18:41:25
@imincik:matrix.orgIvan Mincik (imincik) Also, sometimes it takes very long time until update bot creates PR after new release. 18:44:37
@timlinux:matrix.orgTim Sutton
In reply to @imincik:matrix.org
No, but I would be interested to investigate this use case once I have some free time.
Ah matrix probably treats uploads ephemerally
19:54:40
21 Sep 2024
@autra:trancart.euautra
In reply to @imincik:matrix.org
I think update script is not mandatory. In many trivial cases update bot can just check latest release and create PR without update script.
It might only consider releases, not tags though (I still need to debug a bit to be extra sure of that). And apparently, only github is supported now.
18:57:32
22 Sep 2024
@sikmir:matrix.orgsikmir

We have broken cross compilation for libspatialite, librasterlite2, librttopo and grass, any ideas how to fix?

       > checking for geos-config... /nix/store/05jx4m5cx65gvg56ycglys0q3i20hvyn-geos-3.12.2/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
13:11:43
25 Sep 2024
@autra:trancart.euautra @imincik:matrix.org: I've invited you to my fork so that we can collaborate for geos. 10:28:30
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @autra:trancart.eu
@imincik:matrix.org: I've invited you to my fork so that we can collaborate for geos.
Thanks
10:29:42
@autra:trancart.euautra
In reply to @sikmir:matrix.org

We have broken cross compilation for libspatialite, librasterlite2, librttopo and grass, any ideas how to fix?

       > checking for geos-config... /nix/store/05jx4m5cx65gvg56ycglys0q3i20hvyn-geos-3.12.2/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
From which arch to which arch? Btw where do you look to get these build status? Is there a way to get notified?
10:45:22
@autra:trancart.euautra(no idea right now, sorry )10:45:44
@autra:trancart.euautra Ivan Mincik (imincik): thanks for the nix why-depends command! Now I need to figure out why the heck psycopg depends on geos :-O From the github it seems geos is only referenced when building the doc (which still seems odd to me) 12:51:07
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @autra:trancart.eu
Ivan Mincik (imincik): thanks for the nix why-depends command! Now I need to figure out why the heck psycopg depends on geos :-O From the github it seems geos is only referenced when building the doc (which still seems odd to me)
Maybe because it is built with PostGIS support ?
12:52:08
@autra:trancart.euautrayeah, apparently. Through shapely12:52:34
@autra:trancart.euautrapsycopg supports transforming geometries from postgis directly into shapely instances. Fair enough!12:53:27
@autra:trancart.euautraI'm executing nixpgks-review for geos. From what I can gather, psycopg and gdal are still failing...13:08:02
@autra:trancart.euautrawait no, gdal is still building actually :-)13:08:35
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @autra:trancart.eu
I'm executing nixpgks-review for geos. From what I can gather, psycopg and gdal are still failing...
You can check nixpkgs-review logs in .cache/nixpkgs-review directory
.
13:10:06
@sikmir:matrix.orgsikmir
In reply to @autra:trancart.eu
From which arch to which arch? Btw where do you look to get these build status? Is there a way to get notified?
nix build -L .#pkgsCross.armv7l-hf-multiplatform.libspatialite
22:51:00
26 Sep 2024
@autra:trancart.euautra sikmir: have you tried bisecting already? Do we have a known good commit in the past? 07:55:09
@sikmir:matrix.orgsikmir
In reply to @autra:trancart.eu
sikmir: have you tried bisecting already? Do we have a known good commit in the past?
I've not investigated yet
22:35:24
27 Sep 2024
@autra:trancart.euautra Wow that being said, bisecting nixpkgs is not always a piece of cake. I naively started "git bisect run nix-build ..." for gmt from somewhere in 2022, and the amount of rebuilds is massive. Next time I'll be a bit more clever :-) 07:17:40
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @autra:trancart.eu
Wow that being said, bisecting nixpkgs is not always a piece of cake. I naively started "git bisect run nix-build ..." for gmt from somewhere in 2022, and the amount of rebuilds is massive. Next time I'll be a bit more clever :-)
I did successful bisecting on qgis once. It took long time but i found the issue.
16:40:40
@autra:trancart.euautra
In reply to @imincik:matrix.org
I did successful bisecting on qgis once. It took long time but i found the issue.
The bisect just finished, it took nearly 48h
18:06:58
@autra:trancart.euautraI could have been more clever by checking long-lived branches first, because those would have made a better use of cache.nixos.org, I'm sure.18:07:57
@autra:trancart.euautra

The gmt build is broken by 25bc618215a7: libxml2: 2.12.7 → 2.13.2.

The error is (during the build of gmt) :

nix/store/81xsp348yfgmaan9r5055mcdjfw7a8wc-binutils-2.42/bin/ld: /nix/store/hfb55givv2afsz93b705hkjd9y98wqam-libspatialite-5.1.0/lib/libspatialite.so.8: undefined reference to `xmlNanoHTTPCleanup@LIBXML2_2.4.30'
collect2: error: ld returned 1 exit status

It's not the only one having this error (https://github.com/NixOS/nixpkgs/pull/331127 and https://github.com/NixOS/nixpkgs/issues/331121), but I don't know how to apply it to gmt. It does not depend directly from libxml2

18:50:17
@autra:trancart.euautrahttps://github.com/NixOS/nixpkgs/pull/331166/files same fix18:50:37

Show newer messages


Back to Room ListRoom Version: 10