On Sat 23/05/2026 16:17, Christian Weisgerber wrote:
> http://build-failures.rhaalovely.net/amd64-clang/2026-05-22/
> 
> astro/kstars                        rsadowski@
> audio/ario                          ports@
> audio/gmpc                          landry@
> audio/libgpod                       ports@
> audio/libworkman                    ports@
> audio/musepack                      ports@
> audio/openal                        [email protected]
> audio/vgmstream                     [email protected]
> audio/xcdplayer                     ports@
> cad/fritzing                        ports@
> cad/graywolf                        [email protected]
> cad/magic                           [email protected]
> cad/prusaslicer                     [email protected]
> databases/p5-DBD-mysql              giovanni@
> databases/pgpool                    pea@
> databases/pgtcl                     [email protected]
> devel/autogen                       ports@
> devel/csmith                        ports@
> devel/p5-Locale-Hebrew              ports@
> devel/remake                        ports@
> devel/zeal                          awolk@
> editors/axe                         ports@
> editors/ted                         espie@
> emulators/gambatte                  [email protected]
> emulators/uae                       ports@
> emulators/xcopilot                  ports@
> emulators/xnp2                      ports@
> emulators/xnp21kai                  ports@
> games/cataclysm-dda,no_x11          kirby@
> games/clonekeen                     edd@
> games/corewars                      ports@
> games/falconseye                    espie@
> games/fnaify-extralibs              thfr@
> games/foobillard                    ports@
> games/gnushogi                      ports@
> games/lincity-ng                    ports@
> games/micropolis                    ports@
> games/openarena                     ports@
> games/slash                         espie@
> games/slash-em,no_x11               espie@
> games/spatial                       ports@
> games/wanderer                      ports@
> games/wrath                         ports@
> games/xasteroids                    ports@
> games/xpilot                        ports@
> games/xscrabble                     ports@
> geo/foxtrotgps                      kirby@
> geo/libchamplain                    ajacoutot@
> graphics/colord                     ajacoutot@
> graphics/dia-gtk2                   ajacoutot@
> graphics/fyre                       ports@
> graphics/geomview                   ports@
> graphics/mtpaint                    ports@
> graphics/quesoglc                   [email protected]
> graphics/tgif                       benoit@
> graphics/xanim                      espie@
> graphics/xsane                      ports@
> inputmethods/libime                 ports@
> inputmethods/libskk                 ports@
> japanese/Wnn                        espie@
> japanese/canna                      espie@
> japanese/kterm                      ports@
> lang/cim                            ports@
> lang/expect                         ports@
> lang/gpc                            ports@
> lang/scm                            espie@
> lang/v                              jasper@
> mail/clamsmtp                       ports@
> mail/hypermail                      ports@
> math/grpn                           ports@
> math/spread-sheet-widget            ports@
> misc/brltty                         ports@
> misc/rocrail                        sebastia@
> misc/screen-shm,shm                 ports@
> misc/xtar                           ports@
> net/bird/3                          ports@
> net/filezilla                       bket@


net/filezilla breaks with:

/usr/obj/ports/filezilla-3.69.6/filezilla-3.69.6/src/putty/sshaes.c:316:45: 
error: too many arguments to function call, expected 2, have 3
  316 |     nettle_gcm_aes128_digest(&ctx->ctx, 16, blk);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~                ^~~

/usr/obj/ports/filezilla-3.69.6/filezilla-3.69.6/src/putty/sshaes.c:458:45: 
error: too many arguments to function call, expected 2, have 3
  458 |     nettle_gcm_aes256_digest(&ctx->ctx, 16, blk);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~                ^~~

This is probably caused by an API breaking change in the Nettle library,
which has been updated recently in ports (May 22). I thing the breaking
commit upstream is from 2025-03-18 which deletes the output size
argument from almost all digest functions since AEAD and hash functions
always produce their full-size digest anyway [0]. As a result,
gcm_aes128_digest and gcm_aes256_digest now expect 2 arguments instead
of 3.

I have a patch, which I will commit after some more testing.

[0] https://github.com/gnutls/nettle/blob/master/ChangeLog#L702-L737

Reply via email to