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}
On 31 May 2017, at 18.03, Reindl Harald <h.reindl at thelounge.net> wrote:> >>> 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..> --with-storages=pop3c \See the other mails about this. --with-storages is no longer supported since it was too much trouble to keep it working. It's already removed from the git master branch, but I guess we should remove it from the next v2.2 release also. I didn't know multiple people were actually using it..
Am 31.05.2017 um 17:19 schrieb Timo Sirainen:> On 31 May 2017, at 18.03, Reindl Harald <h.reindl at thelounge.net> wrote: >> >>>> 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 > .. >> --with-storages=pop3c \ > > See the other mails about this. --with-storages is no longer supported since it was too much trouble to keep it working. It's already removed from the git master branch, but I guess we should remove it from the next v2.2 release also. I didn't know multiple people were actually using it..to be honest i would love a --proxy-only option, see below what a dovecot build spits out which is not needed as a proxy/tls-offloading only install rm -rf %{buildroot}%{_sysconfdir}/%{name}/README \ %{buildroot}%{_docdir}/%{name}-%{version} \ %{buildroot}%{_includedir}/%{name} \ %{buildroot}%{_mandir} \ %{buildroot}%{_datarootdir}/aclocal \ %{buildroot}%{_bindir}/dsync \ %{buildroot}%{_libdir}/%{name}/*_plugin.so \ %{buildroot}%{_libdir}/%{name}/doveadm/*_plugin.so \ %{buildroot}%{_libdir}/%{name}/lib%{name}-dsync.so \ %{buildroot}%{_libdir}/%{name}/lib%{name}-dsync.so.0 \ %{buildroot}%{_libdir}/%{name}/lib%{name}-dsync.so.0.0.0 \ %{buildroot}%{_libdir}/%{name}/lib%{name}-fts.so \ %{buildroot}%{_libdir}/%{name}/lib%{name}-fts.so.0 \ %{buildroot}%{_libdir}/%{name}/lib%{name}-fts.so.0.0.0 \ %{buildroot}%{_libdir}/%{name}/doveadm \ %{buildroot}%{_libdir}/%{name}/settings \ %{buildroot}%{_libdir}/%{name}/sieve \ %{buildroot}%{_libexecdir}/%{name}/aggregator \ %{buildroot}%{_libexecdir}/%{name}/decode2text.sh \ %{buildroot}%{_libexecdir}/%{name}/deliver \ %{buildroot}%{_libexecdir}/%{name}/director \ %{buildroot}%{_libexecdir}/%{name}/doveadm-server \ %{buildroot}%{_libexecdir}/%{name}/dovecot-lda \ %{buildroot}%{_libexecdir}/%{name}/gdbhelper \ %{buildroot}%{_libexecdir}/%{name}/imap-urlauth \ %{buildroot}%{_libexecdir}/%{name}/imap-urlauth-login \ %{buildroot}%{_libexecdir}/%{name}/imap-urlauth-worker \ %{buildroot}%{_libexecdir}/%{name}/indexer \ %{buildroot}%{_libexecdir}/%{name}/indexer-worker \ %{buildroot}%{_libexecdir}/%{name}/lmtp \ %{buildroot}%{_libexecdir}/%{name}/maildirlock \ %{buildroot}%{_libexecdir}/%{name}/quota-status \ %{buildroot}%{_libexecdir}/%{name}/rawlog \ %{buildroot}%{_libexecdir}/%{name}/replicator \ %{buildroot}%{_libexecdir}/%{name}/xml2text \ %{buildroot}%{_datarootdir}/%{name}/stopwords