From: Matthias A. <mat...@gm...> - 2025-09-23 19:32:57
|
Am 23.09.25 um 12:21 schrieb Christian Ebert: > > > * Matthias Andree via Fetchmail-users on Sunday, September 21, 2025 at > 15:03:17 +0200: >> Am 21.09.25 um 10:24 schrieb Christian Ebert: >>> Hi, >>> >>> * Matthias Andree via Fetchmail-users on Tuesday, September 16, 2025 >>> at 12:51:18 +0200: >>>> The 6.5.5.rc1 release candidate >>>> of fetchmail is now available at the usual locations, including >>>> <https://downloads.sourceforge.net/project/fetchmail/branch_6.5/>. >>> >>> Thank you. >>> >>>> Please test soon in your usual configuration, please compile with >>>> -fsanitize=address,undefined added to CFLAGS if your compiler supports >>>> that, and let me know if it's OK or if new issues show up. >>> >>> It doesn't build on macos x: >>> >>> [...] >>> depbase=`echo explicit_bzero.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ >>> gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I. >>> -I/opt/local/libexec/openssl3/include -I/Users/chris/.local/include >>> -I/usr/local/include -I/opt/local/include -I/opt/local/include/X11 >>> -I/opt/local/lib/ImageMagick7/include -DBIND_8_COMPAT >>> -I/Users/chris/.local/include -I/usr/local/include >>> -I/opt/local/include -I/opt/local/include/X11 >>> -I/opt/local/lib/ImageMagick7/include -I/opt/local/include >>> -I/usr/kerberos/include -MT explicit_bzero.o -MD -MP -MF >>> $depbase.Tpo -c -o explicit_bzero.o explicit_bzero.c &&\ >>> mv -f $depbase.Tpo $depbase.Po >>> explicit_bzero.c:10:6: error: conflicting types for 'explicit_bzero' >>> 10 | void explicit_bzero(char *buf, size_t sz) >>> | ^ >>> ./fetchmail.h:713:6: note: previous declaration is here >>> 713 | void explicit_bzero(void *buffer, size_t size); >>> | ^ >>> 1 error generated. >>> make[2]: *** [explicit_bzero.o] Error 1 >>> make[1]: *** [all-recursive] Error 1 >>> make: *** [all] Error 2 >>> >> Thanks for the test and report. That's unintentional. This escaped my >> testing so far because all OSes I have tested so far do provide >> explicit_bzero. > > Kind of guessed it would be something like that. > >> Does it compile and work if you replace the "char *buf" by "void >> *buf" on line 10 in explicit_bzero.c? > > Compiles and works perfectly. Thanks a bunch. > > I was about to try the "void *buf", but better safe than sorry, so I > asked. > Hi Christian, thanks for the re-test, I had sort of expected my patch would work from the error messagtes, and had already pushed it, so it will become part of upcoming fetchmail 6.5.5. -> <https://gitlab.com/fetchmail/fetchmail/-/commit/8f2da41b80888f82b644eb638df3e44023ceec57> Cheers, Matthias |