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

rgdal and sf R packages fail to build on nixpkgs unstable #67947

Closed
cfhammill opened this issue Sep 2, 2019 · 2 comments
Closed

rgdal and sf R packages fail to build on nixpkgs unstable #67947

cfhammill opened this issue Sep 2, 2019 · 2 comments

Comments

@cfhammill
Copy link
Contributor

Describe the bug

The two R packages fail during the configure phase, pointing to inability to include the PROJ library

To Reproduce

nix-shell --packages "rPackages.rgdal"

and

nix-shell --packages "rPackages.sf"

tail output:

checking for gdal.h... yes
checking GDAL: linking with --libs only... yes
checking GDAL: /nix/store/kx0ck0m310dzakkbi7556ml2c25cgs4c-gdal-3.0.1/share/gdal/pcs.csv readable... no
checking GDAL: checking whether PROJ is available for linking:... yes
checking GDAL: checking whether PROJ is available fur running:... yes
checking proj_api.h usability... no
checking proj_api.h presence... no
checking for proj_api.h... no
configure: error: proj_api.h not found in standard or given locations.
ERROR: configuration failed for package 'sf'
* removing '/nix/store/4b8hhwbg5l6nhglar7jbf41rxyk9qrc2-r-sf-0.7-7/library/sf'
builder for '/nix/store/sznpd3bfjj5vlwy2d0hx4gjlqprrg1ba-r-sf-0.7-7.drv' failed with exit code 1
error: build of '/nix/store/sznpd3bfjj5vlwy2d0hx4gjlqprrg1ba-r-sf-0.7-7.drv' failed

Expected behavior

It should build

Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 4.13.0-46-generic, Ubuntu, 17.10 (Artful Aardvark)`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(chammill): `"nixpkgs-19.09pre190327.54f385241e6"`
 - nixpkgs: `/home/chammill/.nix-defexpr/channels/nixpkgs`

Maintainer information:

rPackages.sf
rPackages.rgdal
@stale
Copy link

stale bot commented Jun 2, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
@cfhammill
Copy link
Contributor Author

This was fixed with pull #67948

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant