FreeBSD 9.3
Dovecot 2.25 (7be1766)
I'm trying to install Dovecot2-pigeonhole-0.4.14_2 from ports.
Get an error:
cc1: error: unrecognized command line option "-Wno-duplicate-decl-specifier"
With options MAKE_JOBS_UNSAFE=yes:
cc1: error: unrecognized command line option "-Wno-duplicate-decl-specifier"
....
I was trying to compile from sources. Same error.
Any suggestions? Latest build from port works fine for me. Build everything with
Maximus wrote: poudriere but doubt that has anything to do with it.
build started at Wed Jul 6 22:30:30 CEST 2016 port directory: /usr/ports/mail/dovecot2-pigeonhole building for: FreeBSD FreeBSD-10-default-job-02 10.3-RELEASE-p5 FreeBSD 10.3-RELEASE-p5 amd64 maintained by: ler@lerctr.org Makefile ident: $FreeBSD: head/mail/dovecot2-pigeonhole/Makefile 418095 2016-07-05 17:06:52Z adamw $ Poudriere version: 3.1.14
Part from build-log:
/bin/sh ../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H
-I. -I../../.. -I/usr/local/include/dovecot
-DMODULEDIR=\""/usr/local/lib/dovecot"\" -std=gnu99 -O2 -pipe
-DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -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 -I../../.. -MT edit-mail.lo -MD -MP -MF
.deps/edit-mail.Tpo -c -o edit-mail.lo edit-mail.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../..
-I/usr/local/include/dovecot -DMODULEDIR=\"/usr/local/lib/dovecot\"
-std=gnu99 -O2 -pipe -DLIBICONV_PLUG -fstack-protector
-fno-strict-aliasing -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 -I../../.. -MT edit-mail.lo -MD -MP -MF
.deps/edit-mail.Tpo -c edit-mail.c -fPIC -DPIC -o .libs/edit-mail.o
I'm building with standard CC (clang):
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.3 Thread model: posix
Are you using GCC? If so, why???
Rgds, N.