2.2 -git fails to compile as of Apr 28 2017
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'
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 toimapc_storage_client_register_untagged' quota-imapc.c:(.text+0x90a): undefined reference to
imapc_client_get_capabilities' quota-imapc.c:(.text+0x964): undefined reference toimapc_simple_context_init' quota-imapc.c:(.text+0x975): undefined reference to
imapc_simple_callback' quota-imapc.c:(.text+0x97e): undefined reference toimapc_client_cmd' quota-imapc.c:(.text+0x996): undefined reference to
imapc_command_sendf' quota-imapc.c:(.text+0x99e): undefined reference toimapc_simple_run' quota-imapc.c:(.text+0xaab): undefined reference to
imapc_simple_context_init' quota-imapc.c:(.text+0xabc): undefined reference toimapc_simple_callback' quota-imapc.c:(.text+0xac5): undefined reference to
imapc_client_cmd' quota-imapc.c:(.text+0xadd): undefined reference toimapc_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'
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 toimapc_storage_client_register_untagged' quota-imapc.c:(.text+0x90a): undefined reference to
imapc_client_get_capabilities' quota-imapc.c:(.text+0x964): undefined reference toimapc_simple_context_init' quota-imapc.c:(.text+0x975): undefined reference to
imapc_simple_callback' quota-imapc.c:(.text+0x97e): undefined reference toimapc_client_cmd' quota-imapc.c:(.text+0x996): undefined reference to
imapc_command_sendf' quota-imapc.c:(.text+0x99e): undefined reference toimapc_simple_run' quota-imapc.c:(.text+0xaab): undefined reference to
imapc_simple_context_init' quota-imapc.c:(.text+0xabc): undefined reference toimapc_simple_callback' quota-imapc.c:(.text+0xac5): undefined reference to
imapc_client_cmd' quota-imapc.c:(.text+0xadd): undefined reference toimapc_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?
Aki
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 toimapc_storage_client_register_untagged' quota-imapc.c:(.text+0x90a): undefined reference to
imapc_client_get_capabilities' quota-imapc.c:(.text+0x964): undefined reference toimapc_simple_context_init' quota-imapc.c:(.text+0x975): undefined reference to
imapc_simple_callback' quota-imapc.c:(.text+0x97e): undefined reference toimapc_client_cmd' quota-imapc.c:(.text+0x996): undefined reference to
imapc_command_sendf' quota-imapc.c:(.text+0x99e): undefined reference toimapc_simple_run' quota-imapc.c:(.text+0xaab): undefined reference to
imapc_simple_context_init' quota-imapc.c:(.text+0xabc): undefined reference toimapc_simple_callback' quota-imapc.c:(.text+0xac5): undefined reference to
imapc_client_cmd' quota-imapc.c:(.text+0xadd): undefined reference toimapc_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
On 2017-05-08 16:23, Reuben Farrelly wrote:
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" )
Can you provide some details about your build environment, as we are not observing this problem in our CI builds?
Aki
On 8/05/2017 11:44 PM, Aki Tuomi wrote:
On 2017-05-08 16:23, Reuben Farrelly wrote:
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" )
Can you provide some details about your build environment, as we are not observing this problem in our CI builds?
Aki
Yes:
gentoo x86_64 glibc - 2.24 gcc - 7.1 (but also failed to build with 6.3.0)
It was created by Dovecot configure 2.2.devel, which was generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/dovecot-9999_p20170508 --htmldir=/usr/share/doc/dovecot-9999_p20170508/html --libdir=/usr/lib64 --localstatedir=/var --with-moduledir=/usr/lib64/dovecot --without-stemmer --with-storages=maildir --disable-rpath --with-icu --with-systemdsystemunitdir=/usr/lib/systemd/system --with-bzlib --without-libcap --without-gssapi --without-ldap --with-lucene --with-lz4 --with-lzma --without-mysql --with-pam --without-pgsql --without-sqlite --without-solr --with-ssl --with-libwrap --without-textcat --without-vpopmail --with-zlib --disable-static
## --------- ## ## Platform. ## ## --------- ##
hostname = thunderstorm uname -m = x86_64 uname -r = 4.11.0-gentoo uname -s = Linux uname -v = #2 SMP Mon May 1 23:20:29 AEST 2017
I have just tested this with https://www.dovecot.org/nightly/dovecot-latest.tar.gz (untar, and use the ./configure above) and I see the same behaviour.
Reuben
On 8 May 2017, at 17.14, Reuben Farrelly <reuben-dovecot@reub.net> wrote:
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" ) Can you provide some details about your build environment, as we are not observing this problem in our CI builds? Aki
Yes:
gentoo x86_64 glibc - 2.24 gcc - 7.1 (but also failed to build with 6.3.0)
It was created by Dovecot configure 2.2.devel, which was generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/dovecot-9999_p20170508 --htmldir=/usr/share/doc/dovecot-9999_p20170508/html --libdir=/usr/lib64 --localstatedir=/var --with-moduledir=/usr/lib64/dovecot --without-stemmer --with-storages=maildir --disable-rpath --with-icu --with-systemdsystemunitdir=/usr/lib/systemd/system --with-bzlib --without-libcap --without-gssapi --without-ldap --with-lucene --with-lz4 --with-lzma --without-mysql --with-pam --without-pgsql --without-sqlite --without-solr --with-ssl --with-libwrap --without-textcat --without-vpopmail --with-zlib --disable-static
Don't use --with-storages=maildir. The benefits are very close to zero. I think I'll just remove that configure option entirely.
On 9/05/2017 12:46 AM, Timo Sirainen wrote:
On 8 May 2017, at 17.14, Reuben Farrelly <reuben-dovecot@reub.net> wrote:
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" ) Can you provide some details about your build environment, as we are not observing this problem in our CI builds? Aki
Yes:
gentoo x86_64 glibc - 2.24 gcc - 7.1 (but also failed to build with 6.3.0)
It was created by Dovecot configure 2.2.devel, which was generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/dovecot-9999_p20170508 --htmldir=/usr/share/doc/dovecot-9999_p20170508/html --libdir=/usr/lib64 --localstatedir=/var --with-moduledir=/usr/lib64/dovecot --without-stemmer --with-storages=maildir --disable-rpath --with-icu --with-systemdsystemunitdir=/usr/lib/systemd/system --with-bzlib --without-libcap --without-gssapi --without-ldap --with-lucene --with-lz4 --with-lzma --without-mysql --with-pam --without-pgsql --without-sqlite --without-solr --with-ssl --with-libwrap --without-textcat --without-vpopmail --with-zlib --disable-static
Don't use --with-storages=maildir. The benefits are very close to zero. I think I'll just remove that configure option entirely.
Thanks Timo. Confirmed - this fixes the problem - and I see the option has been removed in -git now too.
Reuben
participants (3)
-
Aki Tuomi
-
Reuben Farrelly
-
Timo Sirainen