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

nix-init: 0.3.0 -> 0.3.1 #334545

Merged
merged 1 commit into from
Aug 14, 2024
Merged

nix-init: 0.3.0 -> 0.3.1 #334545

merged 1 commit into from
Aug 14, 2024

Conversation

r-ryantm
Copy link
Contributor

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nix-community/nix-init/releases.

meta.description for nix-init is: Command line tool to generate Nix packages from URLs

meta.homepage for nix-init is: https://github.com/nix-community/nix-init

meta.changelog for nix-init is: https://github.com/nix-community/nix-init/blob/v0.3.1/CHANGELOG.md

Updates performed
  • Rust version update
To inspect upstream changes
Impact

Checks done


  • built on NixOS
  • The tests defined in passthru.tests, if any, passed
  • found 0.3.1 with grep in /nix/store/1k71700ds24dc1y76fzp98j00mmr5qh8-nix-init-0.3.1
  • found 0.3.1 in filename of file in /nix/store/1k71700ds24dc1y76fzp98j00mmr5qh8-nix-init-0.3.1

Rebuild report (if merged into master) (click to expand)
2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

nix-init
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/1k71700ds24dc1y76fzp98j00mmr5qh8-nix-init-0.3.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A nix-init https://github.com/r-ryantm/nixpkgs/archive/e1822b634ce439bd0b22873324f13f57dca8bba9.tar.gz

Or:

nix build github:r-ryantm/nixpkgs/e1822b634ce439bd0b22873324f13f57dca8bba9#nix-init

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/1k71700ds24dc1y76fzp98j00mmr5qh8-nix-init-0.3.1
ls -la /nix/store/1k71700ds24dc1y76fzp98j00mmr5qh8-nix-init-0.3.1/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:
  • nix-init

Maintainer pings

cc @figsoda for testing.


Add a 👍 reaction to pull requests you find important.

@a-kenji
Copy link
Contributor

a-kenji commented Aug 14, 2024

Reference: #332957

@K900 K900 merged commit d78c0d7 into NixOS:master Aug 14, 2024
28 of 30 checks passed
@r-ryantm r-ryantm deleted the auto-update/nix-init branch August 14, 2024 12:21
@Atemu
Copy link
Member

Atemu commented Aug 15, 2024

It still fails to build for me on 0f6a893:

...

The following warnings were emitted during compilation:

warning: libgit2-sys@0.16.2+1.7.2: failed to probe system libgit2: 

error: failed to run custom build command for `libgit2-sys v0.16.2+1.7.2`

...

  cargo:warning=failed to probe system libgit2: 
  pkg-config exited with status code 1
  > PKG_CONFIG_PATH=/nix/store/3kq4gkvj3kd07k3dsz5kcxfnfbgz3k9a-bzip2-1.0.8-dev/lib/pkgconfig:/nix/store/wsv4nk804b2gwglgzvgwp8h4xqjk23xh-curl-8.9.0-dev/lib/pkgconfig:/nix/store/dvq6bap6fi85whpsx363kcwr7p70q94r-brotli-1.1.0-dev/lib/pkgconfig:/nix/store/wnjrsgfv3jncmf2yx0kb84fn05zppp34-libkrb5-1.21.3-dev/lib/pkgconfig:/nix/store/ax7aw1gacjs7l8cqq7yj8w6bn864qd1q-nghttp2-1.62.1-dev/lib/pkgconfig:/nix/store/1lhdfnq0lk84ccby3ll01snxqgfxsw36-libidn2-2.3.7-dev/lib/pkgconfig:/nix/store/xznbpwh1sxaamd2srd1i80il422k6kfc-openssl-3.0.14-dev/lib/pkgconfig:/nix/store/zp3acgr7k0kfip6l04vz50hfyj5hnnw4-libpsl-0.21.5-dev/lib/pkgconfig:/nix/store/1lrkymch3y0adliv36ikdddfsvif277q-libssh2-1.11.0-dev/lib/pkgconfig:/nix/store/vsygj2vzwqr9x7rzq4v3prcv2blkggmx-zlib-1.3.1-dev/lib/pkgconfig:/nix/store/5pka8lh8h9myxkxpw23cm3bvlqawb6zd-zstd-1.5.6-dev/lib/pkgconfig:/nix/store/gc9v4izlrdx9z98s5rhql3xksb49p9p7-libgit2-1.8.1-dev/lib/pkgconfig PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libgit2 libgit2 >= 1.7.2 libgit2 < 1.8.0

  The system library `libgit2` required by crate `libgit2-sys` was not found.
  The file `libgit2.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  PKG_CONFIG_PATH contains the following:
      - /nix/store/3kq4gkvj3kd07k3dsz5kcxfnfbgz3k9a-bzip2-1.0.8-dev/lib/pkgconfig
      - /nix/store/wsv4nk804b2gwglgzvgwp8h4xqjk23xh-curl-8.9.0-dev/lib/pkgconfig
      - /nix/store/dvq6bap6fi85whpsx363kcwr7p70q94r-brotli-1.1.0-dev/lib/pkgconfig
      - /nix/store/wnjrsgfv3jncmf2yx0kb84fn05zppp34-libkrb5-1.21.3-dev/lib/pkgconfig
      - /nix/store/ax7aw1gacjs7l8cqq7yj8w6bn864qd1q-nghttp2-1.62.1-dev/lib/pkgconfig
      - /nix/store/1lhdfnq0lk84ccby3ll01snxqgfxsw36-libidn2-2.3.7-dev/lib/pkgconfig
      - /nix/store/xznbpwh1sxaamd2srd1i80il422k6kfc-openssl-3.0.14-dev/lib/pkgconfig
      - /nix/store/zp3acgr7k0kfip6l04vz50hfyj5hnnw4-libpsl-0.21.5-dev/lib/pkgconfig
      - /nix/store/1lrkymch3y0adliv36ikdddfsvif277q-libssh2-1.11.0-dev/lib/pkgconfig
      - /nix/store/vsygj2vzwqr9x7rzq4v3prcv2blkggmx-zlib-1.3.1-dev/lib/pkgconfig
      - /nix/store/5pka8lh8h9myxkxpw23cm3bvlqawb6zd-zstd-1.5.6-dev/lib/pkgconfig
      - /nix/store/gc9v4izlrdx9z98s5rhql3xksb49p9p7-libgit2-1.8.1-dev/lib/pkgconfig

  HINT: you may need to install a package such as libgit2, libgit2-dev or libgit2-devel.


  --- stderr
  thread 'main' panicked at /build/nix-init-0.3.1-vendor.tar.gz/libgit2-sys/build.rs:39:13:
  The environment variable `LIBGIT2_NO_VENDOR` has been set but no compatible system libgit2 could be found.
  The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VENDOR=0`.

libgit2.pc does exist at /nix/store/gc9v4izlrdx9z98s5rhql3xksb49p9p7-libgit2-1.8.1-dev/lib/pkgconfig/libgit2.pc however and looks correct at first glance.

@K900
Copy link
Contributor

K900 commented Aug 15, 2024

Yes, it was broken by the libgit2 upgrade on staging.

@Atemu
Copy link
Member

Atemu commented Aug 15, 2024

In what way; is libgit2 broken or was it upgraded to an incompatible version? (Shouldn't the ABI stay compatible?)

@K900
Copy link
Contributor

K900 commented Aug 15, 2024

libgit2-sys expects an exact libgit2 version.

@Atemu
Copy link
Member

Atemu commented Aug 15, 2024

Urgh, I'm liking rust packaging less and less these days...

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.

4 participants