2.3.4 doesnt compile on FreeBSD 11.2 using clang

Odhiambo Washington odhiambo at gmail.com
Sun Jan 20 21:28:11 EET 2019


And it works now. I have managed to successfully compile dovecot-2.3.4
against mysql-8.0.13.


On Sun, 20 Jan 2019 at 21:22, Larry Rosenman <larryrtx at gmail.com> wrote:

> the above(below?) cited patch is already in the 2.3.4 port for FreeBSD.
> As I stated earlier, I'm the FreeBSD port maintainer.
>
> On Sun, Jan 20, 2019 at 11:48 AM Stephan Bosch <stephan at rename-it.nl>
> wrote:
>
>>
>>
>> Op 29/12/2018 om 10:25 schreef Aki Tuomi:
>> > Hi!
>> >
>> > Can you give
>> >
>> > https://github.com/dovecot/core/compare/1004822%5E..de42b54a.patch
>> >
>> > a try? It's in master branch.
>>
>> This fix is scheduled for 2.3.5.
>>
>> Regards,
>>
>> Stephan.
>>
>> > On 29 December 2018 at 02:51 Chris <chrcoluk at gmail.com> wrote:
>> >
>> >
>> > extract below, this has already been reported a while back but still
>> > no new patch, so this email is to serve as a reminder, if someone
>> > manually fixes it for the ports tree, I dont consider that a fix,
>> > ideally we need this fixed in the source code, as not everyone will
>> > install it from ports.
>> >
>> > Chris
>> >
>> > "clang40 -DHAVE_CONFIG_H -I. -I../..  -I../../src/lib
>> > -I../../src/lib-dns -I../../src/lib-test -I../../src/lib-settings
>> > -I../../src/lib-ssl-iostream -DPKG_RUNDIR=\""/var/run/dovecot"\"
>> > -DPKG_STATEDIR=\""/var/lib/dovecot"\" -DSYSCONFDIR=\""/etc/dovecot"\"
>> > -DBINDIR=\""/usr/bin"\" -I/usr/local/include  -std=gnu99
>> > -fdiagnostics-color -Wl,-rpath=/usr/local/llvm40/lib -O2 -pipe
>> > -march=native -fno-strict-aliasing -fstack-protector-strong
>> > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes
>> > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
>> > -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2
>> > -I/usr/local/include   -MT test-event-stats.o -MD -MP -MF
>> > .deps/test-event-stats.Tpo -c -o test-event-stats.o test-event-stats.c
>> > clang-4.0: warning: -Wl,-rpath=/usr/local/llvm40/lib: 'linker' input
>> > unused [-Wunused-command-line-argument]
>> > test-event-stats.c:101:8: warning: implicit declaration of function
>> > 'kill' is invalid in C99 [-Wimplicit-function-declaration]
>> >          (void)kill(stats_pid, SIGKILL);
>> >                ^
>> > test-event-stats.c:101:24: error: use of undeclared identifier 'SIGKILL'
>> >          (void)kill(stats_pid, SIGKILL);
>> >                                ^
>> > 1 warning and 1 error generated.
>> > gmake[2]: *** [Makefile:656: test-event-stats.o] Error 1
>> > gmake[2]: Leaving directory
>> > '/usr/local/directadmin/custombuild/dovecot-2.3.4/src/lib-master'
>> > gmake[1]: *** [Makefile:565: install-recursive] Error 1
>> > gmake[1]: Leaving directory
>> > '/usr/local/directadmin/custombuild/dovecot-2.3.4/src'
>> > gmake: *** [Makefile:683: install-recursive] Error 1"
>>
>>
>
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com
> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106
>


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190120/dbef3185/attachment.html>


More information about the dovecot mailing list