Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAGA, SAGA LTS release, dependencies and QGIS SAGA plugin #39125

Merged
merged 12 commits into from Oct 14, 2018

Conversation

mpickering
Copy link
Contributor

@mpickering mpickering commented Apr 18, 2018

Motivation for this change

I wanted to use SAGA plugins with QGIS. In order to do so I had to make SAGA and its dependencies build on darwin. I also had to package an older SAGA release as QGIS requires this specific version. In the end I copied the derivation rather than overriding as it was not too complicated and easier to understand this way.

Attributes to check: saga_2_3_2 and saga.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@xeji
Copy link
Contributor

xeji commented Apr 19, 2018

@GrahamcOfBorg build saga saga_2_3_2

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: saga, saga_2_3_2

Partial log (click to expand)

shrinking /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0/lib/saga/libtin_tools.so
shrinking /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0/lib/saga/libtin_viewer.so
shrinking /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0/bin/saga_cmd
shrinking /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0/bin/saga_gui
gzipping man pages under /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0/lib  /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0/bin
patching script interpreter paths in /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0
checking for references to /build in /nix/store/0p40mrx4fjvyvmiidwqvz7wsbwa86cg2-saga-6.3.0...
�[31;1merror:�[0m build of '/nix/store/78rlbd7h7c7dlblax2330q7gp1l8zr7p-saga-2.3.2.drv' failed

@mpickering
Copy link
Contributor Author

I don't understand why the build is reported as failed. It looks like it completes.

@xeji
Copy link
Contributor

xeji commented Apr 19, 2018

Check the full log, there are some errors during the process.

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: saga, saga_2_3_2

Partial log (click to expand)

/build/hdf-4.2.13/hdf/src/hproto.h:1960:18: error: unknown type name 'int32'; did you mean 'int'?
                 (int32 vkey, const uint8  buf[], int32 nelt, int32 interlace);
                  ^~~~~
                  int
/build/hdf-4.2.13/hdf/src/hfile.h:483:60: error: unknown type name 'int32'; did you mean 'int'?
building of '/nix/store/i5jnsjnjf02gn92g3k89z9khb58wg2s4-hdf-4.2.13.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/w0d728049lfwcb21wvni4i10r9yyr9fd-gdal-2.2.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wzhnns1xvi1aqacjvczsiw1v056di88k-saga-2.3.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xyrn77p2rvy4p9w8djl2d6833d5sw1wf-saga-6.3.0.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/wzhnns1xvi1aqacjvczsiw1v056di88k-saga-2.3.2.drv', '/nix/store/xyrn77p2rvy4p9w8djl2d6833d5sw1wf-saga-6.3.0.drv' failed

@srhb
Copy link
Contributor

srhb commented Apr 20, 2018

@GrahamcOfBorg build saga_2_3_2

@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: saga_2_3_2

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: saga_2_3_2

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: saga_2_3_2

Partial log (click to expand)

/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/saga/libta_morphometry.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/saga/libgrid_calculus_bsl.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/saga/libsim_hydrology.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/saga/libio_table.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/saga/libta_channels.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/saga/libshapes_tools.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/saga/libgrid_gridding.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/saga/libshapes_points.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2/lib/libsaga_gdi-2.3.2.dylib: fixing dylib
/nix/store/a2frfj41gwx1gsf0p6dlyxb7pck3717i-saga-2.3.2

There are some unresolved dependency issues which means a lot of
additional dependencies have to be added explicitly on darwin but not on
linux. Maybe something to do with libtool.

See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
This is the lts branch of SAGA which is currently used by QGIS 2.18.x
series.
@mpickering
Copy link
Contributor Author

@GrahamcOfBorg build saga_2_3_2

@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: saga_2_3_2

Partial log (click to expand)

while evaluating anonymous function at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/top-level/stage.nix:12:1, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/top-level/default.nix:87:26:
while evaluating 'fix' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:19:9, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/top-level/stage.nix:180:3:
while evaluating 'extends' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:19:20:
while evaluating 'extends' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:42:
while evaluating 'allPackages' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/top-level/stage.nix:94:23, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/fixed-points.nix:44:67:
attribute 'saga' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/top-level/all-packages.nix:19882:3 already defined at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/top-level/all-packages.nix:19880:3

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: saga_2_3_2

Partial log (click to expand)

while evaluating anonymous function at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/stage.nix:12:1, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/default.nix:87:26:
while evaluating 'fix' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:19:9, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/stage.nix:180:3:
while evaluating 'extends' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:19:20:
while evaluating 'extends' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:42:
while evaluating 'allPackages' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/stage.nix:94:23, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/fixed-points.nix:44:67:
attribute 'saga' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:19882:3 already defined at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:19880:3

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: saga_2_3_2

Partial log (click to expand)

while evaluating anonymous function at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/pkgs/top-level/stage.nix:12:1, called from /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/pkgs/top-level/default.nix:87:26:
while evaluating 'fix' at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:19:9, called from /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/pkgs/top-level/stage.nix:180:3:
while evaluating 'extends' at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:19:20:
while evaluating 'extends' at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:42:
while evaluating 'extends' at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:24, called from /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:42:
while evaluating 'allPackages' at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/pkgs/top-level/stage.nix:94:23, called from /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/lib/fixed-points.nix:44:67:
attribute 'saga' at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/pkgs/top-level/all-packages.nix:19882:3 already defined at /var/lib/gc-of-borg/nix-test-rs-32/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-32/pkgs/top-level/all-packages.nix:19880:3

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: libharu, libiodbc, vigra

The following builds were skipped because they don't evaluate on x86_64-darwin: saga, saga_2_3_2

Partial log (click to expand)

/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbc.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbcinst.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbc.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbcinst.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbc.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbcinst.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbc.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbcinst.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbc.2.dylib: fixing dylib
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12/lib/libiodbcinst.2.dylib: fixing dylib

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: libharu, libiodbc, saga, saga_2_3_2, vigra

Partial log (click to expand)

shrinking /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0/lib/saga/libsim_ecosystems_hugget.so
shrinking /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0/lib/saga/libgrid_calculus.so
shrinking /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0/bin/saga_cmd
shrinking /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0/bin/saga_gui
gzipping man pages under /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0/share/man/
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0/lib  /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0/bin
patching script interpreter paths in /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0
checking for references to /build in /nix/store/288vwx4v7cppxix8z8jpgqpajbc77d5d-saga-6.3.0...
error: build of '/nix/store/caiyk4am98hlwip7x3xfy7f2766yc6wa-saga-2.3.2.drv' failed

@GrahamcOfBorg
Copy link

Timed out, unknown build status on aarch64-linux (full log)

Attempted: libharu, libiodbc, saga, saga_2_3_2, vigra

Partial log (click to expand)

                                 int
/build/hdf-4.2.14/hdf/src/hdatainfo.h:56:16: error: unknown type name 'uintn'; did you mean 'int'?
   (int32 riid, uintn start_block, uintn info_count,
                ^~~~~
                int
building of '/nix/store/nq55f8bi0mrqj4b0gixdw633ycfv606a-hdf-4.2.14.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/k2bx54rlidrmsaq1v0ab1s74j9y0z67m-gdal-2.3.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/47wjxpgk64npf7lv7g6lnn9g2ahgbq16-saga-2.3.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/2sws9gb4nryklcxf9c9qzha2zfgj0s4f-saga-6.3.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/2sws9gb4nryklcxf9c9qzha2zfgj0s4f-saga-6.3.0.drv', '/nix/store/47wjxpgk64npf7lv7g6lnn9g2ahgbq16-saga-2.3.2.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: libharu, libiodbc, saga, saga_2_3_2, vigra

Partial log (click to expand)

gzipping man pages under /nix/store/6ssp77gxmbipbirikks4bcnw929bygzs-saga-6.3.0/share/man/
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6ssp77gxmbipbirikks4bcnw929bygzs-saga-6.3.0/lib  /nix/store/6ssp77gxmbipbirikks4bcnw929bygzs-saga-6.3.0/bin
patching script interpreter paths in /nix/store/6ssp77gxmbipbirikks4bcnw929bygzs-saga-6.3.0
checking for references to /build in /nix/store/6ssp77gxmbipbirikks4bcnw929bygzs-saga-6.3.0...
/nix/store/hvih176gwhijnpd9lk6ldawgl8qjq3lz-libharu-2.3.0
/nix/store/1hc2fdcr278p7339cbsiwsmi86l42xip-libiodbc-3.52.12
/nix/store/6ssp77gxmbipbirikks4bcnw929bygzs-saga-6.3.0
/nix/store/lhjjb118wn9rw8qqs95czyxg1gap9751-saga-2.3.2
/nix/store/nl4ahingyykjm5fhzcxqfx8521nv90rd-vigra-1.11.1

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: libharu, libiodbc, saga, saga_2_3_2, vigra

Partial log (click to expand)

/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/saga/libta_morphometry.dylib: fixing dylib
/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/saga/libgrid_calculus_bsl.dylib: fixing dylib
/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/saga/libsim_hydrology.dylib: fixing dylib
/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/saga/libio_table.dylib: fixing dylib
/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/saga/libta_channels.dylib: fixing dylib
/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/saga/libshapes_tools.dylib: fixing dylib
/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/saga/libgrid_gridding.dylib: fixing dylib
/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/saga/libshapes_points.dylib: fixing dylib
/nix/store/050vb7m8zffl549hkwhg1rsif1gcvmzb-saga-2.3.2/lib/libsaga_gdi-2.3.2.dylib: fixing dylib
error: build of '/nix/store/llljbc1bssm75g4rgmfzzfyr7737vxlk-saga-6.3.0.drv' failed

@GrahamcOfBorg
Copy link

Timed out, unknown build status on aarch64-linux (full log)

Attempted: libharu, libiodbc, saga, saga_2_3_2, vigra

Partial log (click to expand)

       ^~~~
/build/hdf-4.2.14/hdf/src/hfile.h:302:7: error: unknown type name 'intn'
       intn       an_num[4];   /* Holds number of annotations found of each type */
       ^~~~
/build/hdf-4.2.14/hdf/src/hfile.h:277:7: error: unknown type name 'intn'
building of '/nix/store/nq55f8bi0mrqj4b0gixdw633ycfv606a-hdf-4.2.14.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/k2bx54rlidrmsaq1v0ab1s74j9y0z67m-gdal-2.3.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3160ik6jgfb8wbswjjq3wqsi7g51ixbx-saga-2.3.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/xhrf36l2zb0kdfdzzq27wz7yzzvxrhzv-saga-6.3.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/3160ik6jgfb8wbswjjq3wqsi7g51ixbx-saga-2.3.2.drv', '/nix/store/xhrf36l2zb0kdfdzzq27wz7yzzvxrhzv-saga-6.3.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: libharu, libiodbc, saga, saga_2_3_2, vigra

Partial log (click to expand)

gzipping man pages under /nix/store/grpkas9pz7lg5j96dv4pmg7pbi7awh5f-saga-6.3.0/share/man/
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/grpkas9pz7lg5j96dv4pmg7pbi7awh5f-saga-6.3.0/lib  /nix/store/grpkas9pz7lg5j96dv4pmg7pbi7awh5f-saga-6.3.0/bin
patching script interpreter paths in /nix/store/grpkas9pz7lg5j96dv4pmg7pbi7awh5f-saga-6.3.0
checking for references to /build in /nix/store/grpkas9pz7lg5j96dv4pmg7pbi7awh5f-saga-6.3.0...
/nix/store/hvih176gwhijnpd9lk6ldawgl8qjq3lz-libharu-2.3.0
/nix/store/1hc2fdcr278p7339cbsiwsmi86l42xip-libiodbc-3.52.12
/nix/store/grpkas9pz7lg5j96dv4pmg7pbi7awh5f-saga-6.3.0
/nix/store/fsh22zz5qibmzrzr3pix8yz3hw8d45n9-saga-2.3.2
/nix/store/nl4ahingyykjm5fhzcxqfx8521nv90rd-vigra-1.11.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: libharu, libiodbc, saga, saga_2_3_2, vigra

Partial log (click to expand)

/nix/store/jw32axi46fq13w4hcprnfl2zvq4f8yk4-saga-6.3.0/lib/saga/libta_channels.dylib: fixing dylib
/nix/store/jw32axi46fq13w4hcprnfl2zvq4f8yk4-saga-6.3.0/lib/saga/libshapes_tools.dylib: fixing dylib
/nix/store/jw32axi46fq13w4hcprnfl2zvq4f8yk4-saga-6.3.0/lib/saga/libgrid_gridding.dylib: fixing dylib
/nix/store/jw32axi46fq13w4hcprnfl2zvq4f8yk4-saga-6.3.0/lib/saga/libshapes_points.dylib: fixing dylib
/nix/store/jw32axi46fq13w4hcprnfl2zvq4f8yk4-saga-6.3.0/lib/libsaga_api-6.3.0.dylib: fixing dylib
/nix/store/ca35rhwpn1baswwfxk41bwcn7isikwyd-libharu-2.3.0
/nix/store/xmf3ag5ha7vcqqckqnrk7s0iw4mhb13f-libiodbc-3.52.12
/nix/store/jw32axi46fq13w4hcprnfl2zvq4f8yk4-saga-6.3.0
/nix/store/y3rhgh7fk49wxz9ndyqljn8j96xxni9z-saga-2.3.2
/nix/store/mkbid7062a29lax39bxsps6xi50rzd0r-vigra-1.11.1

@mpickering
Copy link
Contributor Author

Everything builds here now.

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: libharu, libiodbc, saga, saga_2_3_2, vigra

Partial log (click to expand)

             ^~~~~
             int
make[2]: *** [hdf/src/CMakeFiles/hdf-shared.dir/build.make:583: hdf/src/CMakeFiles/hdf-shared.dir/hkit.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:984: hdf/src/CMakeFiles/hdf-shared.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
builder for '/nix/store/nq55f8bi0mrqj4b0gixdw633ycfv606a-hdf-4.2.14.drv' failed with exit code 2
cannot build derivation '/nix/store/32hvi7zjxz3wfym22fs7cqqxw1f9rhcn-gdal-2.3.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/h2zbg1f9wgldzpkj17a4drnmhbvm388y-saga-2.3.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/xr2rdy2ai5006hginlbpmnymcrvi2p9j-saga-6.3.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/h2zbg1f9wgldzpkj17a4drnmhbvm388y-saga-2.3.2.drv', '/nix/store/xr2rdy2ai5006hginlbpmnymcrvi2p9j-saga-6.3.0.drv' failed

@7c6f434c
Copy link
Member

@GrahamcOfBorg build saga saga_2_3_2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: saga, saga_2_3_2

Partial log (click to expand)

shrinking /nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2/lib/saga/libclimate_tools.so
shrinking /nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2/lib/libsaga_gdi-2.3.2.so
shrinking /nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2/lib/libsaga_api-2.3.2.so
gzipping man pages under /nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2/lib  /nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2/bin
patching script interpreter paths in /nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2
checking for references to /build in /nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2...
/nix/store/1i05ni60gb6ldyg27qqgh0xwr8lkil9q-saga-6.3.0
/nix/store/nrp8r6k77mcgfpvmvvccqq52vibywwln-saga-2.3.2

@7c6f434c
Copy link
Member

I have read the code (including the referenced external patch — I noticed one).

It seems to me that the code is reasonable. Aarch64 has never been built on Hydra anyway. Maybe mark as broken-if-aarch64?

@7c6f434c
Copy link
Member

@GrahamcOfBorg build qgis

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: qgis

Partial log (click to expand)

post-installation fixup
strip is /nix/store/53nysl8bqwxihwzs1pgwka20nf8mbvlp-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/vp109d9wz2pzc6h96rqpip5czdlrnn5d-libLAS-1.8.1/lib  /nix/store/vp109d9wz2pzc6h96rqpip5czdlrnn5d-libLAS-1.8.1/bin
patching script interpreter paths in /nix/store/vp109d9wz2pzc6h96rqpip5czdlrnn5d-libLAS-1.8.1
/nix/store/vp109d9wz2pzc6h96rqpip5czdlrnn5d-libLAS-1.8.1/bin/liblas-config: interpreter directive changed from "/bin/sh" to "/nix/store/frkmk9zf3vdkdbh05hlhln8j17srj8fx-bash-4.4-p23/bin/sh"
/nix/store/vp109d9wz2pzc6h96rqpip5czdlrnn5d-libLAS-1.8.1/lib/liblas.2.4.0.dylib: fixing dylib
/nix/store/vp109d9wz2pzc6h96rqpip5czdlrnn5d-libLAS-1.8.1/lib/liblas_c.2.4.0.dylib: fixing dylib
cannot build derivation '/nix/store/xgi5xhbgv2s1k8zw9i4w4vjmrvdnnlkd-grass-7.2.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/i8kwrirc6j9bjni36iqhdqdwflj3gq1k-qgis-2.18.22.drv': 2 dependencies couldn't be built
error: build of '/nix/store/i8kwrirc6j9bjni36iqhdqdwflj3gq1k-qgis-2.18.22.drv' failed

@7c6f434c
Copy link
Member

@mpickering Hydra makes me wonder if the Darwin failure of qgis is a regression.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: saga, saga_2_3_2

Partial log (click to expand)

shrinking /nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0/lib/libsaga_api-6.3.0.so
shrinking /nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0/bin/saga_gui
shrinking /nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0/bin/saga_cmd
gzipping man pages under /nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0/lib  /nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0/bin
patching script interpreter paths in /nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0
checking for references to /build in /nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0...
/nix/store/21q1s0gi12p6xwidp59mfvfr0sr96ifk-saga-6.3.0
/nix/store/6wpj8scb3ca0l64rdrrir18mhfkc2jpn-saga-2.3.2

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: saga, saga_2_3_2

Partial log (click to expand)

wrapping `/nix/store/hfwqbqkzi9vg4jcnr8ylqj5r1f7fjys3-gdal-2.3.2/bin/rgb2pct.py'...
glibPreFixupPhase
post-installation fixup
strip is /nix/store/53nysl8bqwxihwzs1pgwka20nf8mbvlp-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/hfwqbqkzi9vg4jcnr8ylqj5r1f7fjys3-gdal-2.3.2/lib  /nix/store/hfwqbqkzi9vg4jcnr8ylqj5r1f7fjys3-gdal-2.3.2/bin
patching script interpreter paths in /nix/store/hfwqbqkzi9vg4jcnr8ylqj5r1f7fjys3-gdal-2.3.2
/nix/store/hfwqbqkzi9vg4jcnr8ylqj5r1f7fjys3-gdal-2.3.2/bin/gdal-config: interpreter directive changed from "/bin/sh" to "/nix/store/frkmk9zf3vdkdbh05hlhln8j17srj8fx-bash-4.4-p23/bin/sh"
cannot build derivation '/nix/store/fi3h7fij1ycwj7h5havki9b1danhdrrp-saga-2.3.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/y60g3m59pyqdl9xw7bxjpaax4jv2pz8b-saga-6.3.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/fi3h7fij1ycwj7h5havki9b1danhdrrp-saga-2.3.2.drv', '/nix/store/y60g3m59pyqdl9xw7bxjpaax4jv2pz8b-saga-6.3.0.drv' failed

@mpickering
Copy link
Contributor Author

@7c6f434c Seems to be #48065

I think this patch should be merged even though it doesn't build currently. If it is not merged now then I will have to post on the mailing list again in three months for someone to review it.

@GrahamcOfBorg
Copy link

Timed out, unknown build status on aarch64-linux (full log)

Attempted: qgis

Partial log (click to expand)

 ^~~~~~~~~~~~~~~~~~~~~~~~
/build/qgis-2.18.22/src/providers/wms/../../core/qgis.h:507:32: warning: extra ';' [-Wpedantic]
   _Pragma("GCC diagnostic pop");
                                ^
/build/qgis-2.18.22/src/providers/wms/../../core/qgsexpression.h:1602:1: note: in expansion of macro 'Q_NOWARN_DEPRECATED_POP'
 Q_NOWARN_DEPRECATED_POP
 ^~~~~~~~~~~~~~~~~~~~~~~
[ 46%] Building CXX object src/providers/wms/CMakeFiles/wmsprovider_a.dir/qgswmsconnection.cpp.o
building of '/nix/store/rk2x30pjrgszbw0lqi5ras56zv096idz-qgis-2.18.22.drv' timed out after 3600 seconds
error: build of '/nix/store/rk2x30pjrgszbw0lqi5ras56zv096idz-qgis-2.18.22.drv' failed

@7c6f434c
Copy link
Member

Ah, OK, then it is not a regression related to this PR.

Yes, it breaks nothing on Linux and looks reasonable, and it does indeed seem that you are the most .qualified person to keep track of Darwin+GIS, so let your next attempt start from a better position…

@michelk what is your opinion about adding @mpickering as a co-maintainer for saga?

@7c6f434c 7c6f434c merged commit 878c6c0 into NixOS:master Oct 14, 2018
@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: qgis

Partial log (click to expand)

 ^~~~~~~~~~~~~~~~~~~~~~~~
/build/qgis-2.18.22/src/gui/../core/qgis.h:507:32: warning: extra ';' [-Wpedantic]
   _Pragma("GCC diagnostic pop");
                                ^
/build/qgis-2.18.22/src/gui/../core/qgsexpression.h:1602:1: note: in expansion of macro 'Q_NOWARN_DEPRECATED_POP'
 Q_NOWARN_DEPRECATED_POP
 ^~~~~~~~~~~~~~~~~~~~~~~
[ 37%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/moc_qgsbrowsertreeview.cxx.o
building of '/nix/store/d972wfqv2splvm0c2syd19flm1m0z9y6-qgis-2.18.22.drv' timed out after 3600 seconds
error: build of '/nix/store/d972wfqv2splvm0c2syd19flm1m0z9y6-qgis-2.18.22.drv' failed

@michelk
Copy link
Contributor

michelk commented Oct 15, 2018

yes @7c6f434c, please add @mpickering as co-maintainer.

7c6f434c added a commit to 7c6f434c/nixpkgs that referenced this pull request Oct 15, 2018
@7c6f434c
Copy link
Member

Done

anpryl added a commit to anpryl/nixpkgs that referenced this pull request Oct 17, 2018
* 'master' of https://github.com/NixOS/nixpkgs: (554 commits)
  generators: make toPretty handle floats correctly
  haskell-yesod-core: disable broken test suite
  git-annex: update sha256 hash for the new 6.20181011 version
  cabal2nix: update overrides for latest yaml version
  hackage-packages.nix: automatic Haskell package set update
  hackage2nix: disable failing Hydra builds
  LTS Haskell 12.13
  saga: add mpickering as a co-maintainer after NixOS#39125
  python3Packages.cmd2: 0.9.4 -> 0.9.6
  ghc: add new 8.4.4 version
  apvlv: add .desktop file
  staruml: fix download URL
  spectmorph: init at 0.4.1
  termdown: 1.11.0 -> 1.14.1 (NixOS#48443)
  gotop: 1.2.9 -> 1.5.0 (NixOS#48407)
  emacs-mac: use generic builder
  dolphin-emu: fix metadata (GPLv2 -> GPLv2+, http -> https)
  tests/prometheus-exporters: add new Tor exporter
  dbeaver: 5.2.1 -> 5.2.2
  nixos/hardened: add myself to maintainers
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants