This happens because timezone is a function that returns something totally 
different in FreeBSD, and it happens in unit test code.

Maybe ports have a patch for this?

Aki

> On 06/12/2023 12:22 EET Goetz Schultz <dovecot.expire1...@suelze.de> wrote:
> 
>  
> Thanks, I may have to extrapolate the file in question.
> Today was a clang patch in the pipeline - I wonder if that has caused 
> that fallout?
> 
> 
> Thanks and regards
> 
>    Goetz R Schultz
> 
> ---------------->8----------------
> Quis custodiet ipsos custodes?
>    /"\
>    \ /  ASCII Ribbon Campaign
>     X   against HTML e-mail
>    / \
> ----------------8<----------------
> 
> On 06/12/2023 10:01, Xavier Humbert wrote:
> > Le 06/12/2023 10:57, Goetz Schultz a écrit :
> >> Hi Xavier,
> >>
> >> tarball, direct downloaded from the dovecot site,
> >> Was not a problem prior to FBSD14 - so I wonder if there is a compiler 
> >> switch to be set.
> >>
> >> Thanks and regards
> >>
> >>   Goetz R Schultz
> >>
> >> ---------------->8----------------
> >> Quis custodiet ipsos custodes?
> >>   /"\
> >>   \ /  ASCII Ribbon Campaign
> >>    X   against HTML e-mail
> >>   / \
> >> ----------------8<----------------
> >>
> > In ports, Dovecot is up-to-date, and compiles fine :
> > 
> > [root@numenor ~]# pkg info dovecot
> > dovecot-2.3.21_1
> > Name           : dovecot
> > Version        : 2.3.21_1
> > 
> > 
> >> On 06/12/2023 09:48, Xavier Humbert wrote:
> >>> Le 06/12/2023 10:44, Goetz Schultz a écrit :
> >>>> Hi,
> >>>>
> >>>> I have upgraded my system to FreeBSD14 and tried to recompile 
> >>>> dovecot. The following error is thrown now (It did compile on FBSD13):
> >>>>
> >>>> <quote>
> >>>> test-mail-index-transaction-update.c:650:36: error: incompatible 
> >>>> pointer to integer conversion passing 'char *(*)(int, int)' to 
> >>>> parameter of type 'time_t' (aka 'long') [-Wint-conversion]
> >>>>                 mail_index_update_day_headers(t, tests[i].now + 
> >>>> timezone);
> >>>> ^~~~~~~~~~~~~~~~~~~~~~~
> >>>> </quote>
> >>>>
> >>>>
> >>>> (t, tests[i].now + timezone);
> >>>>     ^~~~~~~~~~~~~~~~~~~~~~~
> >>>>
> >>>>
> >>>> Is there a patch or something like that to compensate?
> >>>>
> >>> Hi Goetz,
> >>>
> >>> Are you installing manually from tarball or from ports (cd 
> >>> /usr/ports/mail/dovecot && make install) ?
> >>>
> >>> Regards,
> >>>
> >>> Xavier
> >>>
> >>
> 
> ---------------------------->8------------------------------
> 
>   /"\
>   \ /  ASCII Ribbon Campaign
>    X   against HTML e-mail
>   / \ 
> 
>    This message is transmitted on 100% recycled electrons.
> 
> ---------------------------->8------------------------------
> Unsigned message - no responsibillity that content is not altered
> 
> 
> _______________________________________________
> dovecot mailing list -- dovecot@dovecot.org
> To unsubscribe send an email to dovecot-le...@dovecot.org
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to