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

efivar: 36 -> 37 #52322

Merged
merged 1 commit into from Dec 17, 2018
Merged

efivar: 36 -> 37 #52322

merged 1 commit into from Dec 17, 2018

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/efivar/versions.

meta.description for efivar is: '"Tools and library to manipulate EFI variables"'.

Release on GitHub

Compare changes on GitHub

Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)

15 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
5 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
5 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
efibootmgr
efivar
fwupd
fwupdate
gnome3.gnome-software

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/g2yrfamkg8ijrqfwl2sqwmy113afmpzq-efivar-37-bin \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

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

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

ls -la /nix/store/g2yrfamkg8ijrqfwl2sqwmy113afmpzq-efivar-37-bin
ls -la /nix/store/g2yrfamkg8ijrqfwl2sqwmy113afmpzq-efivar-37-bin/bin

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/efivar/versions
@fpletz
Copy link
Member

fpletz commented Dec 17, 2018

This breaks the build of efibootmgr:

gcc   -O2 -g -flto -I/build/source/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"17\"" -DDEFAULT_LOADER=\"\\\\EFI\\\\nixos\\\\grub.efi\"   -I/nix/store/6l9qsl9djfz4k6cwkfcsikhbdphbiisa-efivar-37-dev/include/efivar  -c -o efibootmgr.o efibootmgr.c
efibootmgr.c: In function 'parse_opts':
efibootmgr.c:1541:15: error: conflicting types for 'efi_set_verbose'
    extern int efi_set_verbose(int verbosity, FILE *errlog);
               ^~~~~~~~~~~~~~~
In file included from efibootmgr.c:49:0:
/nix/store/6l9qsl9djfz4k6cwkfcsikhbdphbiisa-efivar-37-dev/include/efivar/efivar.h:231:13: note: previous declaration of 'efi_set_verbose' was here
 extern void efi_set_verbose(int verbosity, FILE *errlog)
             ^~~~~~~~~~~~~~~
make[1]: *** [/build/source/Make.rules:32: efibootmgr.o] Error 1
make[1]: Leaving directory '/build/source/src'
make: *** [Makefile:12: all] Error 2
builder for '/nix/store/27ww8lczlkmnmg6wbwbawfvw98j7c61a-efibootmgr-17.drv' failed with exit code 2

@fpletz fpletz mentioned this pull request Dec 17, 2018
10 tasks
@fpletz
Copy link
Member

fpletz commented Dec 17, 2018

Cherry-picked 1f99a9f from #51701 to master to fix the efibootmgr build.

@r-ryantm r-ryantm deleted the auto-update/efivar branch December 24, 2018 04:42
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

4 participants