Re: Pigeonhole-0.5.7 fails to build from sources

2019-07-13 Thread Lefteris Tsintjelis via dovecot

On 13/7/2019 15:02, Jerry via dovecot wrote:

> I am using 'poudriere' on a FreeBSD 12.0-RELEASE-p7, and both dovecot
> and pigeonhole build and install correctly.

It builds ok also with standard FreeBSD's "make" but it seems for some 
reason you have to remove both old versions of dovecot and pigeonhole 
ports, if you have them installed, before you start building the new 
ones. pigeonhole was building against the old version of dovecot 
installed and this is what caused the issue. Possibly other ways to 
build may not have this problem.


Lefteris


Re: Pigeonhole-0.5.7 fails to build from sources

2019-07-13 Thread Jerry via dovecot
On Sat, 13 Jul 2019 02:34:09 +0300, Lefteris Tsintjelis via dovecot
stated:
>Solution is to uninstall the port and then build. If dovecot is
>already installed it will not build.
>
>On 13/7/2019 0:08, Lefteris Tsintjelis via dovecot wrote:
>> Latest update fails to build from sources in FreeBSD 12-STABLE
>> 
>> --- lda-sieve-plugin.lo ---
>> lda-sieve-plugin.c:82:27: error: variable has incomplete type
>> 'struct smtp_submit_input'
>>      struct smtp_submit_input submit_input;  

I am using 'poudriere' on a FreeBSD 12.0-RELEASE-p7, and both dovecot
and pigeonhole build and install correctly. You do have to restart
dovecot after the update though.

-- 
Jerry


Re: Pigeonhole-0.5.7 fails to build from sources

2019-07-12 Thread Lefteris Tsintjelis via dovecot
Solution is to uninstall the port and then build. If dovecot is already 
installed it will not build.


On 13/7/2019 0:08, Lefteris Tsintjelis via dovecot wrote:

Latest update fails to build from sources in FreeBSD 12-STABLE

--- lda-sieve-plugin.lo ---
lda-sieve-plugin.c:82:27: error: variable has incomplete type 'struct 
smtp_submit_input'

     struct smtp_submit_input submit_input;


Pigeonhole-0.5.7 fails to build from sources

2019-07-12 Thread Lefteris Tsintjelis via dovecot

Latest update fails to build from sources in FreeBSD 12-STABLE

--- lda-sieve-plugin.lo ---
lda-sieve-plugin.c:82:27: error: variable has incomplete type 'struct 
smtp_submit_input'

struct smtp_submit_input submit_input;
 ^
lda-sieve-plugin.c:82:9: note: forward declaration of 'struct 
smtp_submit_input'

struct smtp_submit_input submit_input;
   ^
1 error generated.
*** [lda-sieve-plugin.lo] Error code 1

make[6]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7/src/plugins/lda-sieve

--- lda-sieve-log.lo ---
mv -f .deps/lda-sieve-log.Tpo .deps/lda-sieve-log.Plo
1 error

make[6]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7/src/plugins/lda-sieve

*** [all-recursive] Error code 1

make[5]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7/src/plugins

1 error

make[5]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7/src/plugins

*** [all-recursive] Error code 1

make[4]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7/src

1 error

make[4]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7/src

*** [all-recursive] Error code 1

make[3]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7

1 error

make[3]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7

*** [all] Error code 2

make[2]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7

1 error

make[2]: stopped in 
/usr/ports/mail/dovecot-pigeonhole/work/dovecot-2.3-pigeonhole-0.5.7

===> Compilation failed unexpectedly.
Ensure that dovecot-pigeonhole's GSSAPI backend is the same as dovecot2 
(make

config). Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/dovecot-pigeonhole
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/dovecot-pigeonhole