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
RPostgres rPackage error #46208
Comments
Trying to reproduce, I got a different issue:
cc @peti |
I made a PR to fix it. It builds after this PR. I don't really know how to test it. |
Thanks @ryantm |
@ivanbrennan you were probably building on a system where /bin/bash exists |
@ryantm You're exactly right. I was on an Ubuntu system. |
@ryantm I am running into the issue that the merge was supposed to fix. I see that it patches 'configure' and then it complains that the MD5 checksum for 'configure' failed.
|
@logantalley Could you please say what command you are running and provide information about the system running it (OS, version of nix, etc.)? |
@ryantm Yes, my apologies. Running on NixOS 21.05. The command I used was: r-test.nix contains the following:
|
@logantalley I cannot reproduce this. I took the latest master commit and ran this and it worked:
|
Output of nix --version for me is: Edit: OK I ran the exact command that you did at the end there, and it does work. So it looks like the fix does not apply for nix v2.3.15, but will work for 2.4+ at least, and maybe some versions between 2.3.15 and 2.4 |
So the latest stable version of nix is 2.3.15. So this package doesn't work on stable, you have to specify a newer version, right? What happens if you try using the stable version of nix? I just did a |
Yeah, I don't think it has to do with the version of nix. I can reproduce your error with the latest version of release-21.05.
|
Ah I see. OK so this a NixOS issue, not a nixpkgs issue. Thank you very much for your help. |
This can be simplified to:
I'm asking on Matrix if people have a suggestion for what happend. |
Issue description
The compilation of RPostgres rPackage fails.
Steps to reproduce
Create a
shell.nix
:and run
nix-shell
.Result:
I tried adding
postgresql.lib
,pkg-config
, andlibpqxx
(only because I didn't find alibpq
package) to the buildInputs (individually and in combination), but none made any difference.Technical details
"x86_64-linux"
Linux 4.15.0-33-generic, Ubuntu, 18.04.1 LTS (Bionic Beaver)
no
no
nix-env (Nix) 2.0
"nixos-18.09pre143771.a8c71037e04, nixpkgs-18.09pre145919.adbd3ead271"
/home/ivan/.nix-defexpr/channels/nixpkgs
The text was updated successfully, but these errors were encountered: