Skip to content

proj: fix test suite#218719

Merged
Gabriella439 merged 1 commit intoNixOS:masterfrom
MercuryTechnologies:gabriella/fix_proj
Mar 1, 2023
Merged

proj: fix test suite#218719
Gabriella439 merged 1 commit intoNixOS:masterfrom
MercuryTechnologies:gabriella/fix_proj

Conversation

@Gabriella439
Copy link
Copy Markdown
Contributor

When testing #213831 internally we ran into a build failure caused by that change for the proj package (on x86_64-linux). We're not sure how that's possible, but the nature of the build failure was that the network tests for the proj package were failing due to missing certificates, so I fixed the build failure by adding cacert as a test dependency.

It's still not clear (A) why the cert suddenly became necessary after the change in #213831 or (B) why the build worked at all before, but this is probably the right thing to do regardless because the test suite does have a network component.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Fits CONTRIBUTING.md.

When testing NixOS#213831 internally we ran into a build failure caused by
that change for the `proj` package (on `x86_64-linux`).  We're not sure
how that's possible, but the nature of the build failure was that the
network tests for the `proj` package were failing due to missing
certificates, so I fixed the build failure by adding `cacert` as a
test dependency.

It's still not clear (A) why the cert suddenly became necessary after
the change in NixOS#213831 or (B) why the build worked at all before, but
this is probably the right thing to do regardless because the test
suite does have a network component.
@ofborg ofborg bot requested a review from dotlambda February 28, 2023 01:39
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Feb 28, 2023
@jsoo1
Copy link
Copy Markdown
Contributor

jsoo1 commented Feb 28, 2023

Very curious! I'm wondering if sandbox = false had anything to do with it? I found a couple packages that fail when sandbox = false but not when sandbox = true...

@Gabriella439
Copy link
Copy Markdown
Contributor Author

Yeah, although even so it would still not explain why the linker-related change affected the behavior. It wasn't just because of triggering a new build, because I also verified that triggering a rebuild of proj before my linker change still succeeded.

@jsoo1
Copy link
Copy Markdown
Contributor

jsoo1 commented Mar 1, 2023

So so odd! Thanks for sharing this curiosity!

@Gabriella439 Gabriella439 merged commit 6340fcc into NixOS:master Mar 1, 2023
@Gabriella439 Gabriella439 deleted the gabriella/fix_proj branch March 1, 2023 03:58
imincik added a commit to imincik/geospatial-nix that referenced this pull request Mar 28, 2023
imincik added a commit to imincik/geospatial-nix that referenced this pull request Mar 28, 2023
imincik added a commit to imincik/geospatial-nix that referenced this pull request Mar 28, 2023
imincik added a commit to imincik/geospatial-nix that referenced this pull request Mar 28, 2023
* also contains Nixpkgs PR: NixOS/nixpkgs#218719

* pkgs(pyproj): update tests for PROJ 9.2
  Nixpkgs PR: NixOS/nixpkgs#220067
imincik added a commit to imincik/geospatial-nix that referenced this pull request Mar 28, 2023
* also contains Nixpkgs PR: NixOS/nixpkgs#218719

* pkgs(pyproj): update tests for PROJ 9.2
  Nixpkgs PR: NixOS/nixpkgs#220067
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants