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

Build failure: nextcloud{28,29}Packages.apps.* #326890

Closed
alois31 opened this issue Jul 13, 2024 · 0 comments · Fixed by #326912
Closed

Build failure: nextcloud{28,29}Packages.apps.* #326890

alois31 opened this issue Jul 13, 2024 · 0 comments · Fixed by #326912
Labels
0.kind: build failure A package fails to build

Comments

@alois31
Copy link
Contributor

alois31 commented Jul 13, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. Check out latest nixos-unstable
  2. nix-build -A nextcloud29Packages.apps.contacts

Build log

this derivation will be built:
  /nix/store/i7vgll65l5241261y2cv34rqi65lrkcy-source.drv
resolved derivation: '/nix/store/i7vgll65l5241261y2cv34rqi65lrkcy-source.drv' -> '/nix/store/jljmrwmnl7rnlp91zi4yg5vq3z9xjs74-source.drv'...
building '/nix/store/jljmrwmnl7rnlp91zi4yg5vq3z9xjs74-source.drv'...
sourcing setup hook '/nix/store/brfgny6xf2i3qfsfwnxchbgn9jxa6vzl-unzip-6.0/nix-support/setup-hook'
sourcing setup hook '/nix/store/zgsz4r362ih9scy85wjb7wdl4rzaqjjq-glibc-locales-2.39-52/nix-support/setup-hook'
sourcing setup hook '/nix/store/yq6n8b0mnk0qxzbs3ajsjcp8ziwqylrl-patchelf-0.15.0/nix-support/setup-hook'
sourcing setup hook '/nix/store/iks1pihvbilsh5sy8qvpd638k422w9i8-update-autotools-gnu-config-scripts-hook/nix-support/setup-hook'
sourcing setup hook '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh'
sourcing setup hook '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh'
sourcing setup hook '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh'
sourcing setup hook '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh'
sourcing setup hook '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh'
sourcing setup hook '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh'
sourcing setup hook '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh'
sourcing setup hook '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh'
sourcing setup hook '/nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh'
sourcing setup hook '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh'
sourcing setup hook '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh'
sourcing setup hook '/nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh'
sourcing setup hook '/nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh'

trying https://github.com/nextcloud-releases/contacts/releases/download/v6.0.0/contacts-v6.0.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 8397k  100 8397k    0     0  2086k      0  0:00:04  0:00:04 --:--:-- 2513k
evaling implicit 'postFetch' string hook
unpacking source archive /build/contacts-v6.0.0.tar.gz
calling 'unpackCmd' function hook '_tryUnzip' /build/contacts-v6.0.0.tar.gz
calling 'unpackCmd' function hook '_defaultUnpack' /build/contacts-v6.0.0.tar.gz
error: hash mismatch in fixed-output derivation '/nix/store/jljmrwmnl7rnlp91zi4yg5vq3z9xjs74-source.drv':
        likely URL: https://github.com/nextcloud-releases/contacts/releases/download/v6.0.0/contacts-v6.0.0.tar.gz
         specified: sha256-48ERJ9DQ9w71encT2XVvcVaV+EbthgExQliKO1sQ+1A=
            got:    sha256-GfITU8ZnB5zK/ajo83dDqPKet/oQMo50y5V0dw4Zt3s=
error: build of '/nix/store/i7vgll65l5241261y2cv34rqi65lrkcy-source.drv' failed

Additional context

All other Nextcloud apps seem to fail to build too, for both 28 and 29. The incorrect hashes were introduced in #326442 .

Notify maintainers

@pyrox0

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"`
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.8, NixOS, 24.11 (Vicuna), 24.11pre651108.feb2849fdeb7`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.91.0-devpre3dbfdfcceddf
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: [elided, very long and none of them exist anyway]
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/zdf9wkaa1kxdq8z1m01caq430q8h9ln1-lix-2.91.0-devpre3dbfdfcceddf/share`
 - nixpkgs: `/nix/store/aary2321w12l239yv0h1qdvs9h6894j8-nixpkgs`

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
2 participants