Skip to content

avfs: migrate to fuse3 - #526219

Merged
isabelroses merged 1 commit into
NixOS:masterfrom
ryand56:push-vozxtlxqotpp
May 31, 2026
Merged

isabelroses merged 1 commit into
NixOS:masterfrom
ryand56:push-vozxtlxqotpp

Conversation

@ryand56

@ryand56 ryand56 commented May 31, 2026

Copy link
Copy Markdown
Member

Related to #526161

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested a review from tbutter May 31, 2026 05:19
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 31, 2026
@tbutterbot

Copy link
Copy Markdown

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 526219
Commit: 74849db3cb8d418a784fef8347c768892c1ee9c6 (subsequent changes)
Merge: 468c6d7f43fd16f7da2c1e67f9cdef3b732be91b

Logs: https://github.com/tbutter/nixpkgs-review-gha/actions/runs/26704319296

Download packages from cache:
  • x86_64-linux
    nix-store -r --add-root nixpkgs-pr-526219-x86_64-linux \
      --option binary-caches 'https://cache.nixos.org/ https://tbutter-nix-review.cachix.org' \
      --option trusted-public-keys '
      cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
      tbutter-nix-review.cachix.org-1:JZj2eTT/1uyi2tcy0QiggOSmRMLb2e0ZyYQjcw09ZwI=
      ' \
      /nix/store/3rw9sz2hry2r6m1z51jh5cygmfvzg2ja-avfs-1.3.0
  • aarch64-linux
    nix-store -r --add-root nixpkgs-pr-526219-aarch64-linux \
      --option binary-caches 'https://cache.nixos.org/ https://tbutter-nix-review.cachix.org' \
      --option trusted-public-keys '
      cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
      tbutter-nix-review.cachix.org-1:JZj2eTT/1uyi2tcy0QiggOSmRMLb2e0ZyYQjcw09ZwI=
      ' \
      /nix/store/3r7r11qf2vwi55kr5vmfm4hwidahxkpj-avfs-1.3.0

x86_64-linux

✅ 1 package built:
  • avfs

aarch64-linux

✅ 1 package built:
  • avfs

x86_64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • avfs

avfs
      |     ^~~~~~~~
      |     .release = 
avfsd.c:352:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
  352 |     access:     avfsd_access,
      |     ^~~~~~~
      |     .access = 
avfsd.c:353:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
  353 |     create:     avfsd_create,
      |     ^~~~~~~
      |     .create = 
avfsd.c:334:14: error: incompatible function pointer types initializing 'typeof(int (*)(const char *, struct fuse_darwin_attr *, struct fuse_file_info *))' (aka 'int (*)(const char *, struct fuse_darwin_attr *, struct fuse_file_info *)') with an expression of type 'int (const char *, struct stat *, struct fuse_file_info *)' [-Wincompatible-function-pointer-types]
  334 |     getattr:    avfsd_getattr,
      |                 ^~~~~~~~~~~~~
avfsd.c:336:14: error: incompatible function pointer types initializing 'typeof(int (*)(const char *, void *, fuse_darwin_fill_dir_t, off_t, struct fuse_file_info *, enum fuse_readdir_flags))' (aka 'int (*)(const char *, void *, int (*)(void *, const char *, const struct fuse_darwin_attr *, long long, enum fuse_fill_dir_flags), long long, struct fuse_file_info *, enum fuse_readdir_flags)') with an expression of type 'int (const char *, void *, fuse_fill_dir_t, off_t, struct fuse_file_info *, enum fuse_readdir_flags)' (aka 'int (const char *, void *, int (*)(void *, const char *, const struct stat *, long long, enum fuse_fill_dir_flags), long long, struct fuse_file_info *, enum fuse_readdir_flags)') [-Wincompatible-function-pointer-types]
  336 |     readdir:    avfsd_readdir,
      |                 ^~~~~~~~~~~~~
20 warnings and 2 errors generated.
make[1]: *** [Makefile:439: avfsd.o] Error 1
make[1]: Leaving directory '/nix/build/nix-8391-3939754895/avfs-1.3.0/fuse'
make: *** [Makefile:442: all-recursive] Error 1

aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • avfs

avfs
      |     ^~~~~~~~
      |     .release = 
avfsd.c:352:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
  352 |     access:     avfsd_access,
      |     ^~~~~~~
      |     .access = 
avfsd.c:353:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
  353 |     create:     avfsd_create,
      |     ^~~~~~~
      |     .create = 
avfsd.c:334:14: error: incompatible function pointer types initializing 'typeof(int (*)(const char *, struct fuse_darwin_attr *, struct fuse_file_info *))' (aka 'int (*)(const char *, struct fuse_darwin_attr *, struct fuse_file_info *)') with an expression of type 'int (const char *, struct stat *, struct fuse_file_info *)' [-Wincompatible-function-pointer-types]
  334 |     getattr:    avfsd_getattr,
      |                 ^~~~~~~~~~~~~
avfsd.c:336:14: error: incompatible function pointer types initializing 'typeof(int (*)(const char *, void *, fuse_darwin_fill_dir_t, off_t, struct fuse_file_info *, enum fuse_readdir_flags))' (aka 'int (*)(const char *, void *, int (*)(void *, const char *, const struct fuse_darwin_attr *, long long, enum fuse_fill_dir_flags), long long, struct fuse_file_info *, enum fuse_readdir_flags)') with an expression of type 'int (const char *, void *, fuse_fill_dir_t, off_t, struct fuse_file_info *, enum fuse_readdir_flags)' (aka 'int (const char *, void *, int (*)(void *, const char *, const struct stat *, long long, enum fuse_fill_dir_flags), long long, struct fuse_file_info *, enum fuse_readdir_flags)') [-Wincompatible-function-pointer-types]
  336 |     readdir:    avfsd_readdir,
      |                 ^~~~~~~~~~~~~
20 warnings and 2 errors generated.
make[1]: *** [Makefile:439: avfsd.o] Error 1
make[1]: Leaving directory '/nix/build/nix-92311-3913548722/avfs-1.3.0/fuse'
make: *** [Makefile:442: all-recursive] Error 1

@tbutter

tbutter commented May 31, 2026

Copy link
Copy Markdown
Contributor

doesn't build on darwin. i can have a look or do you prefer to look into it?

@ryand56

ryand56 commented May 31, 2026

Copy link
Copy Markdown
Member Author

I will look into it

@ryand56
ryand56 force-pushed the push-vozxtlxqotpp branch from 74849db to bb3e343 Compare May 31, 2026 06:11

@isabelroses isabelroses left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nixpkgs-review result for #526219

Command: nixpkgs-review pr 526219
Commit: bb3e3431e640a2a071346d9baca8f93de24255ee (subsequent changes)
Merge: 945b37f14e917a5618fcc13a3ed85c6fb3bc2f1b


aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • avfs

@isabelroses
isabelroses added this pull request to the merge queue May 31, 2026
Merged via the queue into NixOS:master with commit 66f1539 May 31, 2026
25 checks passed
@ryand56
ryand56 deleted the push-vozxtlxqotpp branch May 31, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants