Am 31.05.2017 um 15:24 schrieb Timo Sirainen:> https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz > https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz.sig > > Due to some release process changes I didn't notice that one important bugfix wasn't included in the v2.2.30 release branch before I made the release. So fixing it here with v2.2.30.1. Also included another less important fix. > > - quota_warning scripts weren't working in v2.2.30 > - vpopmail still wasn't compiling > > Also I guess should mention that in v2.2.30+ the "script" service's protocol changed to a new version. If anyone had written their own script services (not using the included "script" binary) they would need some changes. I haven't heard of anyone having done that thoughLTO build is as broken as 2.2.30 libtool: link: ( cd ".libs" && rm -f "lib10_quota_plugin.la" && ln -s "../lib10_quota_plugin.la" "lib10_quota_plugin.la" ) /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_storage_client_register_untagged' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_storage_client_register_untagged' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_client_get_capabilities' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_simple_context_init' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_simple_callback' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_client_cmd' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_command_sendf' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_simple_run' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_simple_context_init' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_simple_callback' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_client_cmd' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_command_sendf' /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function imapc_quota_refresh.lto_priv.22: error: undefined reference to 'imapc_simple_run' collect2: error: ld returned 1 exit status Makefile:694: recipe for target 'quota-status' failed make[4]: *** [quota-status] Error 1 make[4]: *** Waiting for unfinished jobs...
Am 31.05.2017 um 16:35 schrieb Timo Sirainen:> On 31 May 2017, at 16.53, Reindl Harald <h.reindl at thelounge.net > <mailto:h.reindl at thelounge.net>> wrote: >> >> LTO build is as broken as 2.2.30 >> >> libtool: link: ( cd ".libs" && rm -f "lib10_quota_plugin.la" && ln -s >> "../lib10_quota_plugin.la" "lib10_quota_plugin.la" ) >> /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function >> imapc_quota_refresh.lto_priv.22: error: undefined reference to >> 'imapc_storage_client_register_untagged' >> /tmp/ccGO7JSw.ltrans4.ltrans.o:<artificial>:function >> imapc_quota_refresh.lto_priv.22: error: undefined reference to >> 'imapc_storage_client_register_untagged' > > Did you give --with-storages parameter? If not, I don't really see why > it would fail. What configure options & environments did you use?unchanged as for all othe rversions including 2.2.29.1 and the only change is the new tarball %prep %setup -q -n %{name}-%{version} %build export CFLAGS="%{optflags} -fPIC -flto -ffat-lto-objects -fuse-ld=gold -fuse-linker-plugin -Wno-stack-protector -Wa,--noexecstack" export CXXFLAGS="$CFLAGS" export FFLAGS="$CFLAGS" export CPPFLAGS="$CFLAGS" export CC="gcc $CFLAGS" export SH_LDFLAGS="-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack %{optflags} -flto -ffat-lto-objects -fuse-ld=gold -fuse-linker-plugin -Wno-stack-protector -Wa,--noexecstack" export LDFLAGS="$SH_LDFLAGS -pie -fPIE" %configure \ INSTALL_DATA="install -c -p -m644" \ --docdir=%{_docdir}/%{name}-%{version} \ --disable-static \ --disable-largefile \ --disable-rpath \ --with-gnu-ld \ --with-pic \ --with-sql=yes \ --with-mysql \ --with-libcap \ --with-shared-libs \ --with-ssl=openssl \ --with-gssapi \ --with-ssldir=%{ssldir} \ --with-storages=pop3c \ --with-notify=none \ --without-bsdauth \ --without-gc \ --without-docs \ --without-shadow \ --without-nss \ --without-pam \ --without-ldap \ --without-pgsql \ --without-sqlite \ --without-zlib \ --without-bzlib \ --without-lz4 \ --without-vpopmail \ --without-cdb \ --without-lucene \ --without-stemmer \ --without-solr \ --without-sia \ --without-libwrap %{__make} %{?_smp_mflags}