Skip to content

dovecot: init at 2.4.2, nixos/dovecot: support 2.4#488676

Open
Prince213 wants to merge 12 commits intoNixOS:masterfrom
Prince213:push-ulukpzwkptqu
Open

dovecot: init at 2.4.2, nixos/dovecot: support 2.4#488676
Prince213 wants to merge 12 commits intoNixOS:masterfrom
Prince213:push-ulukpzwkptqu

Conversation

@Prince213
Copy link
Member

@Prince213 Prince213 commented Feb 9, 2026

Supersedes and closes #388463.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@Prince213 Prince213 requested a review from Jappie3 February 9, 2026 09:59
@Prince213 Prince213 added 8.has: package (update) This PR updates a package to a newer version backport release-25.11 Backport PR automatically labels Feb 9, 2026
@nixpkgs-ci nixpkgs-ci bot added 8.has: package (new) This PR adds a new package 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. and removed 8.has: package (update) This PR updates a package to a newer version labels Feb 9, 2026
@Prince213 Prince213 changed the title dovecot: init at 2.4.2 dovecot: init at 2.4.2, nixos/dovecot: support 2.4 Feb 9, 2026
@nixpkgs-ci nixpkgs-ci bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: documentation This PR adds or changes documentation labels Feb 9, 2026
@Prince213 Prince213 force-pushed the push-ulukpzwkptqu branch 3 times, most recently from 107d6fd to 43e9782 Compare February 9, 2026 10:21
@Jappie3
Copy link
Contributor

Jappie3 commented Feb 9, 2026

thanks for the review & the rebase! :)

@Prince213
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 488676 -p dovecot -p dovecot_2_3 -p dovecot_pigeonhole -p dovecot_pigeonhole_0_5 -p nixosTests.dovecot -p nixosTests.dovecot_2_3
Commit: 043cbe6bbdc21e86158de3823131ea2475ebca19 (subsequent changes)
Merge: 7891606944fc216149ea687fb0a7b4d953debc60

Logs: https://github.com/Prince213/nixpkgs-review-gha/actions/runs/21830494351


x86_64-linux

✅ 2 tests built:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

aarch64-linux

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

x86_64-darwin (sandbox = relaxed)

❌ 6 packages failed to build:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3

Error logs: `x86_64-darwin`
dovecot
   79 | #  define memcpy(dest, src, n) i_memcpy(dest, src, n)
      |           ^
/nix/store/0b11sl1s441yhz6fxa6h8nr8h05c8w7p-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here
   62 | #define memcpy(dest, ...) \
      |         ^
1 warning generated.
  CCLD     libssl_iostream.la
  CCLD     test-iostream-ssl

*** Warning: Linking the executable test-iostream-ssl against the loadable module
*** libssl_iostream_openssl.so is not portable!
ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file './.libs/libssl_iostream_openssl.so' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:674: test-iostream-ssl] Error 1
make[3]: Leaving directory '/nix/build/nix-3749-3544572614/source/src/lib-ssl-iostream'
make[2]: *** [Makefile:600: all-recursive] Error 1
make[2]: Leaving directory '/nix/build/nix-3749-3544572614/source/src'
make[1]: *** [Makefile:733: all-recursive] Error 1
make[1]: Leaving directory '/nix/build/nix-3749-3544572614/source'
make: *** [Makefile:575: all] Error 2

dovecot_2_3
      _openssl_iostream_handle_error in iostream-openssl.o
      _openssl_iostream_create in iostream-openssl.o
      _openssl_iostream_get_security_string in iostream-openssl.o
      _openssl_iostream_use_certificate in iostream-openssl.o
      _openssl_iostream_verify_client_cert in iostream-openssl.o
      _openssl_cert_match_name in iostream-openssl-common.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:651: libssl_iostream_openssl.la] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: ar cr .libs/libssl_iostream.a .libs/iostream-ssl.o .libs/iostream-ssl-context-cache.o .libs/iostream-ssl-test.o 
libtool: link: ranlib .libs/libssl_iostream.a
libtool: link: ( cd ".libs" && rm -f "libssl_iostream.la" && ln -s "../libssl_iostream.la" "libssl_iostream.la" )
make[3]: Leaving directory '/nix/build/nix-3749-3544572615/source/src/lib-ssl-iostream'
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving directory '/nix/build/nix-3749-3544572615/source/src'
make[1]: *** [Makefile:704: all-recursive] Error 1
make[1]: Leaving directory '/nix/build/nix-3749-3544572615/source'
make: *** [Makefile:548: all] Error 2

aarch64-darwin (sandbox = relaxed)

❌ 6 packages failed to build:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3

Error logs: `aarch64-darwin`
dovecot
   79 | #  define memcpy(dest, src, n) i_memcpy(dest, src, n)
      |           ^
/nix/store/8pk2m0fn7z5dlb86z5qlv1pxa8w68idx-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here
   62 | #define memcpy(dest, ...) \
      |         ^
1 warning generated.
  CCLD     libssl_iostream.la
  CCLD     test-iostream-ssl

*** Warning: Linking the executable test-iostream-ssl against the loadable module
*** libssl_iostream_openssl.so is not portable!
ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file './.libs/libssl_iostream_openssl.so' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:674: test-iostream-ssl] Error 1
make[3]: Leaving directory '/nix/build/nix-6401-1306802003/source/src/lib-ssl-iostream'
make[2]: *** [Makefile:600: all-recursive] Error 1
make[2]: Leaving directory '/nix/build/nix-6401-1306802003/source/src'
make[1]: *** [Makefile:733: all-recursive] Error 1
make[1]: Leaving directory '/nix/build/nix-6401-1306802003/source'
make: *** [Makefile:575: all] Error 2

dovecot_2_3
  "_t_strdup_printf", referenced from:
      _dovecot_openssl_common_global_set_engine in dovecot-openssl-common.o
      _openssl_iostream_handle_error in iostream-openssl.o
      _openssl_iostream_create in iostream-openssl.o
      _openssl_iostream_get_security_string in iostream-openssl.o
      _openssl_iostream_use_certificate in iostream-openssl.o
      _openssl_iostream_verify_client_cert in iostream-openssl.o
      _openssl_cert_match_name in iostream-openssl-common.o
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libtool: link: ( cd ".libs" && rm -f "libssl_iostream.la" && ln -s "../libssl_iostream.la" "libssl_iostream.la" )
make[3]: *** [Makefile:651: libssl_iostream_openssl.la] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/nix/build/nix-6401-1306802002/source/src/lib-ssl-iostream'
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving directory '/nix/build/nix-6401-1306802002/source/src'
make[1]: *** [Makefile:704: all-recursive] Error 1
make[1]: Leaving directory '/nix/build/nix-6401-1306802002/source'
make: *** [Makefile:548: all] Error 2

@Prince213
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review --package dovecot_pigeonhole --package dovecot --package dovecot_pigeonhole_0_5 --package dovecot_2_3
Commit: 4825ab799c10f0184de60db3a6816b7ebcf9742c


aarch64-darwin

✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

@liberodark
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 488676
Commit: e41996a6dae814c27fd5cce99770bd9e813e8fc3 (subsequent changes)
Merge: ea829e63490cd58a6d74687cdad18345b152c263

Logs: https://github.com/liberodark/nixpkgs-review-gha/actions/runs/21821115196


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 6 packages built:
  • dovecot
  • dovecot-fts-flatcurve
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5
  • nixpkgs-manual

aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 6 packages built:
  • dovecot
  • dovecot-fts-flatcurve
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5
  • nixpkgs-manual

x86_64-darwin (sandbox = relaxed)

❌ 5 packages failed to build:
  • dovecot
  • dovecot-fts-flatcurve
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5
✅ 1 package built:
  • nixpkgs-manual

Error logs: `x86_64-darwin`
dovecot
   79 | #  define memcpy(dest, src, n) i_memcpy(dest, src, n)
      |           ^
/nix/store/0b11sl1s441yhz6fxa6h8nr8h05c8w7p-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here
   62 | #define memcpy(dest, ...) \
      |         ^
1 warning generated.
  CCLD     libssl_iostream.la
  CCLD     test-iostream-ssl

*** Warning: Linking the executable test-iostream-ssl against the loadable module
*** libssl_iostream_openssl.so is not portable!
ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file './.libs/libssl_iostream_openssl.so' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:674: test-iostream-ssl] Error 1
make[3]: Leaving directory '/nix/build/nix-18228-3475553100/source/src/lib-ssl-iostream'
make[2]: *** [Makefile:600: all-recursive] Error 1
make[2]: Leaving directory '/nix/build/nix-18228-3475553100/source/src'
make[1]: *** [Makefile:733: all-recursive] Error 1
make[1]: Leaving directory '/nix/build/nix-18228-3475553100/source'
make: *** [Makefile:575: all] Error 2

dovecot_2_3
      _openssl_iostream_handle_error in iostream-openssl.o
      _openssl_iostream_create in iostream-openssl.o
      _openssl_iostream_get_security_string in iostream-openssl.o
      _openssl_iostream_use_certificate in iostream-openssl.o
      _openssl_iostream_verify_client_cert in iostream-openssl.o
      _openssl_cert_match_name in iostream-openssl-common.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libtool: link: ar cr .libs/libssl_iostream.a .libs/iostream-ssl.o .libs/iostream-ssl-context-cache.o .libs/iostream-ssl-test.o 
make[3]: *** [Makefile:651: libssl_iostream_openssl.la] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: ranlib .libs/libssl_iostream.a
libtool: link: ( cd ".libs" && rm -f "libssl_iostream.la" && ln -s "../libssl_iostream.la" "libssl_iostream.la" )
make[3]: Leaving directory '/nix/build/nix-18228-3475553102/source/src/lib-ssl-iostream'
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving directory '/nix/build/nix-18228-3475553102/source/src'
make[1]: *** [Makefile:704: all-recursive] Error 1
make[1]: Leaving directory '/nix/build/nix-18228-3475553102/source'
make: *** [Makefile:548: all] Error 2

aarch64-darwin (sandbox = relaxed)

❌ 5 packages failed to build:
  • dovecot
  • dovecot-fts-flatcurve
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5
✅ 1 package built:
  • nixpkgs-manual

Error logs: `aarch64-darwin`
dovecot
   79 | #  define memcpy(dest, src, n) i_memcpy(dest, src, n)
      |           ^
/nix/store/8pk2m0fn7z5dlb86z5qlv1pxa8w68idx-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here
   62 | #define memcpy(dest, ...) \
      |         ^
1 warning generated.
  CCLD     libssl_iostream.la
  CCLD     test-iostream-ssl

*** Warning: Linking the executable test-iostream-ssl against the loadable module
*** libssl_iostream_openssl.so is not portable!
ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file './.libs/libssl_iostream_openssl.so' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:674: test-iostream-ssl] Error 1
make[3]: Leaving directory '/nix/build/nix-4398-3485367456/source/src/lib-ssl-iostream'
make[2]: *** [Makefile:600: all-recursive] Error 1
make[2]: Leaving directory '/nix/build/nix-4398-3485367456/source/src'
make[1]: *** [Makefile:733: all-recursive] Error 1
make[1]: Leaving directory '/nix/build/nix-4398-3485367456/source'
make: *** [Makefile:575: all] Error 2

dovecot_2_3
      _ssl_ctx_use_certificate_chain in iostream-openssl-context.o
  "_t_strdup_printf", referenced from:
      _dovecot_openssl_common_global_set_engine in dovecot-openssl-common.o
      _openssl_iostream_handle_error in iostream-openssl.o
      _openssl_iostream_create in iostream-openssl.o
      _openssl_iostream_get_security_string in iostream-openssl.o
      _openssl_iostream_use_certificate in iostream-openssl.o
      _openssl_iostream_verify_client_cert in iostream-openssl.o
      _openssl_cert_match_name in iostream-openssl-common.o
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:651: libssl_iostream_openssl.la] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/nix/build/nix-4398-3485367457/source/src/lib-ssl-iostream'
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving directory '/nix/build/nix-4398-3485367457/source/src'
make[1]: *** [Makefile:704: all-recursive] Error 1
make[1]: Leaving directory '/nix/build/nix-4398-3485367457/source'
make: *** [Makefile:548: all] Error 2

@Prince213
Copy link
Member Author

Prince213 commented Feb 11, 2026

The package seems to build locally, can you try sandbox = false? Also, the package is already broken in a similar way on Hydra: https://hydra.nixos.org/job/nixpkgs/unstable/dovecot.aarch64-darwin.

@Prince213
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 488676 -p dovecot -p dovecot_2_3 -p dovecot_pigeonhole -p dovecot_pigeonhole_0_5 -p nixosTests.dovecot -p nixosTests.dovecot_2_3
Commit: 5be4393c767f6f92e47f74c0a235f0365327844c (subsequent changes)
Merge: 9775b67dd595392d0cd09bbbec0a1d7b2849fe18

Logs: https://github.com/Prince213/nixpkgs-review-gha/actions/runs/21888916443


x86_64-linux

✅ 2 tests built:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

aarch64-linux

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

x86_64-darwin (sandbox = false)

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

aarch64-darwin (sandbox = false)

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

@Prince213 Prince213 requested a review from liberodark February 11, 2026 02:57
@Prince213
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 488676 -p dovecot -p dovecot_2_3 -p dovecot_pigeonhole -p dovecot_pigeonhole_0_5 -p nixosTests.dovecot -p nixosTests.dovecot_2_3
Commit: eb71a2440d478c48c0be2dac8030f23a876a69c4 (subsequent changes)
Merge: 6dbbfcee0170b1245ea3491e98f16942e2c5fdb8

Logs: https://github.com/Prince213/nixpkgs-review-gha/actions/runs/21895948865


x86_64-linux

✅ 2 tests built:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

aarch64-linux

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

x86_64-darwin (sandbox = false)

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

aarch64-darwin (sandbox = false)

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Feb 18, 2026
@Prince213 Prince213 removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Feb 21, 2026
@Prince213
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 488676 -p dovecot -p dovecot_2_3 -p dovecot_pigeonhole -p dovecot_pigeonhole_0_5 -p nixosTests.dovecot -p nixosTests.dovecot_2_3
Commit: 239f0a318fa9dd626027e45dee1fbd8261069253 (subsequent changes)
Merge: f3fc347193a59a47ed9b2bae672a722fa853e49b

Logs: https://github.com/Prince213/nixpkgs-review-gha/actions/runs/22470955669


x86_64-linux

✅ 2 tests built:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

aarch64-linux

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

x86_64-darwin (sandbox = false)

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

aarch64-darwin (sandbox = false)

❌ 2 packages failed to build:
  • nixosTests.dovecot
  • nixosTests.dovecot_2_3
✅ 4 packages built:
  • dovecot
  • dovecot_2_3
  • dovecot_pigeonhole
  • dovecot_pigeonhole_0_5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. backport release-25.11 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants