2.2 -git fails to compile as of Apr 28 2017
Reuben Farrelly
reuben-dovecot at reub.net
Mon May 8 16:23:24 EEST 2017
On 8/05/2017 9:13 PM, Aki Tuomi wrote:
>
>
> On 2017-05-08 13:52, Reuben Farrelly wrote:
>> Hi,
>>
>> Following up on this as there has been no response and the problem is
>> still present. As this is the master-2.2 branch I would have thought
>> it would compile most of the time...
>>
>> Thanks
>>
>>
>> On 28/04/2017 7:27 PM, Reuben Farrelly wrote:
>>> This has been broken for the last few days:
>>>
>>> libtool: link: ( cd ".libs" && rm -f "lib10_quota_plugin.la" && ln -s
>>> "../lib10_quota_plugin.la" "lib10_quota_plugin.la" )
>>> libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -pipe
>>> -march=native -mtune=native -Wall -W -Wmissing-prototypes
>>> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
>>> -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -Wl,-O1
>>> -o .libs/quota-status quota-status.o .libs/quota.o
>>> .libs/quota-count.o .libs/quota-fs.o .libs/quota-dict.o
>>> .libs/quota-dirsize.o .libs/quota-imapc.o .libs/quota-maildir.o
>>> .libs/quota-plugin.o .libs/quota-storage.o .libs/quota-util.o
>>> .libs/rquota_xdr.o -Wl,--export-dynamic -Wl,--as-needed
>>> ../../../src/lib-storage/.libs/libdovecot-storage.so
>>> /var/tmp/portage/net-mail/dovecot-9999_p20170427/work/dovecot-9999_p20170427/src/lib-dovecot/.libs/libdovecot.so
>>> ../../../src/lib-imap-storage/.libs/libimap-storage.a
>>> ../../../src/lib-dovecot/.libs/libdovecot.so -ldl -Wl,-rpath
>>> -Wl,/usr/lib64/dovecot
>>> .libs/quota-imapc.o: In function `imapc_quota_refresh':
>>> quota-imapc.c:(.text+0x8dd): undefined reference to
>>> `imapc_storage_client_register_untagged'
>>> quota-imapc.c:(.text+0x8f7): undefined reference to
>>> `imapc_storage_client_register_untagged'
>>> quota-imapc.c:(.text+0x90a): undefined reference to
>>> `imapc_client_get_capabilities'
>>> quota-imapc.c:(.text+0x964): undefined reference to
>>> `imapc_simple_context_init'
>>> quota-imapc.c:(.text+0x975): undefined reference to
>>> `imapc_simple_callback'
>>> quota-imapc.c:(.text+0x97e): undefined reference to `imapc_client_cmd'
>>> quota-imapc.c:(.text+0x996): undefined reference to
>>> `imapc_command_sendf'
>>> quota-imapc.c:(.text+0x99e): undefined reference to `imapc_simple_run'
>>> quota-imapc.c:(.text+0xaab): undefined reference to
>>> `imapc_simple_context_init'
>>> quota-imapc.c:(.text+0xabc): undefined reference to
>>> `imapc_simple_callback'
>>> quota-imapc.c:(.text+0xac5): undefined reference to `imapc_client_cmd'
>>> quota-imapc.c:(.text+0xadd): undefined reference to
>>> `imapc_command_sendf'
>>> quota-imapc.c:(.text+0xae5): undefined reference to `imapc_simple_run'
>>> collect2: error: ld returned 1 exit status
>>> make[4]: *** [Makefile:694: quota-status] Error 1
>>> make[4]: Leaving directory
>>> '/var/tmp/portage/net-mail/dovecot-9999_p20170427/work/dovecot-9999_p20170427/src/plugins/quota'
>>>
>
> Does lib-imap-client compile?
Yes:
thunderstorm lib-imap-client # pwd
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/lib-imap-client
thunderstorm lib-imap-client # make
make: Nothing to be done for 'all'.
thunderstorm lib-imap-client #
The build failure is happening in src/plugins/quota:
thunderstorm quota # make
/bin/sh ../../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc
-std=gnu99 -O0 -g -pipe -march=native -mtune=native -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime
-Wstrict-aliasing=2 -Wl,-O1 -Wl,--as-needed -o quota-status
quota-status.o quota.lo quota-count.lo quota-fs.lo quota-dict.lo
quota-dirsize.lo quota-imapc.lo quota-maildir.lo quota-plugin.lo
quota-storage.lo quota-util.lo rquota_xdr.lo
../../../src/lib-storage/libdovecot-storage.la
../../../src/lib-imap-storage/libimap-storage.la
../../../src/lib-dovecot/libdovecot.la -export-dynamic -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -O0 -g -pipe
-march=native -mtune=native -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -Wl,-O1 -o
.libs/quota-status quota-status.o .libs/quota.o .libs/quota-count.o
.libs/quota-fs.o .libs/quota-dict.o .libs/quota-dirsize.o
.libs/quota-imapc.o .libs/quota-maildir.o .libs/quota-plugin.o
.libs/quota-storage.o .libs/quota-util.o .libs/rquota_xdr.o
-Wl,--export-dynamic -Wl,--as-needed
../../../src/lib-storage/.libs/libdovecot-storage.so
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/lib-dovecot/.libs/libdovecot.so
../../../src/lib-imap-storage/.libs/libimap-storage.a
../../../src/lib-dovecot/.libs/libdovecot.so -ldl -Wl,-rpath
-Wl,/usr/lib64/dovecot
.libs/quota-imapc.o: In function `imapc_quota_client_init':
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:227:
undefined reference to `imapc_storage_client_register_untagged'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:229:
undefined reference to `imapc_storage_client_register_untagged'
.libs/quota-imapc.o: In function `imapc_quota_refresh_mailbox':
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:302:
undefined reference to `imapc_simple_context_init'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:303:
undefined reference to `imapc_simple_callback'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:303:
undefined reference to `imapc_client_cmd'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:305:
undefined reference to `imapc_command_sendf'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:306:
undefined reference to `imapc_simple_run'
.libs/quota-imapc.o: In function `imapc_quota_refresh_root':
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:326:
undefined reference to `imapc_simple_context_init'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:327:
undefined reference to `imapc_simple_callback'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:327:
undefined reference to `imapc_client_cmd'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:329:
undefined reference to `imapc_command_sendf'
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:330:
undefined reference to `imapc_simple_run'
.libs/quota-imapc.o: In function `imapc_quota_refresh':
/home/portage/portage/net-mail/dovecot-9999_p20170508/work/dovecot-9999_p20170508/src/plugins/quota/quota-imapc.c:360:
undefined reference to `imapc_client_get_capabilities'
collect2: error: ld returned 1 exit status
make: *** [Makefile:694: quota-status] Error 1
thunderstorm quota #
Things are fine up to and including commit:
7f4df18b217da38455a68ad78104c76de6dd7938
Commit 2c84071850004f13b1881a740e88589aaf086599 is a prime (but
unconfirmed) suspect.
Reuben
More information about the dovecot
mailing list