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?
--
Thanks and regards
Goetz R Schultz
---------------->8----------------
Quis custodiet ipsos custodes?
/"
\ / ASCII Ribbon Campaign
X against HTML e-mail
/
----------------8<----------------
---------------------------->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
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
-- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr
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<----------------
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
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
-- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr
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
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.expire1225@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-leave@dovecot.org
Thanks, as mention to Xavier, I will see if I can extrapolate that file. Currently the version compiled under FBSD13 is working fine, so it is not a pressing issue. Could that be fixed in the regular version or is it too complex?
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:55, Aki Tuomi via dovecot wrote:
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.expire1225@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-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
---------------------------->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
On Wed, 06 Dec 2023 11:55:39 +0100, Aki Tuomi wrote:
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?
https://cgit.freebsd.org/ports/tree/mail/dovecot/files/patch-src_lib-index_t...
-- Herbert
Thanks, will try it as soon as I getthe chance.
Thanks and regards
Goetz R Schultz
---------------->8----------------
Quis custodiet ipsos custodes?
/"
\ / ASCII Ribbon Campaign
X against HTML e-mail
/
----------------8<----------------
On 06/12/2023 13:11, Herbert J. Skuhra wrote:
On Wed, 06 Dec 2023 11:55:39 +0100, Aki Tuomi wrote:
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?
https://cgit.freebsd.org/ports/tree/mail/dovecot/files/patch-src_lib-index_t...
-- Herbert
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
---------------------------->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
On 06/12/2023 13:11, Herbert J. Skuhra wrote:
On Wed, 06 Dec 2023 11:55:39 +0100, Aki Tuomi wrote:
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?
https://cgit.freebsd.org/ports/tree/mail/dovecot/files/patch-src_lib-index_t...
-- Herbert
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Extracted and applied. Works a treat. Compiled with no error and starts/works as well. Thanks list :-)
Thanks and regards
Goetz R Schultz
---------------->8----------------
Quis custodiet ipsos custodes?
/"
\ / ASCII Ribbon Campaign
X against HTML e-mail
/
----------------8<----------------
---------------------------->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
participants (4)
-
Aki Tuomi
-
Goetz Schultz
-
Herbert J. Skuhra
-
Xavier Humbert