>>> Install dovecot_deleted_to_trash-0.3 into /tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/image/ category mail-filter make -j4 DESTDIR=/tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/image/ install install -d /tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/image///usr/lib/dovecot/ install lib99_deleted_to_trash_plugin.so /tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/image///usr/lib/dovecot/ >>> Completed installing dovecot_deleted_to_trash-0.3 into /tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/image/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line usr/lib/dovecot/lib99_deleted_to_trash_plugin.so Files matching a file type that is not allowed: usr/lib/dovecot/lib99_deleted_to_trash_plugin.so * ERROR: mail-filter/dovecot_deleted_to_trash-0.3 failed: * multilib-strict check failed! * * Call stack: * misc-functions.sh, line 1291: Called install_qa_check * misc-functions.sh, line 838: Called die * The specific snippet of code: * [[ ${abort} == yes ]] && die "multilib-strict check failed!" * * If you need support, post the output of `emerge --info '=mail-filter/dovecot_deleted_to_trash-0.3'`, * the complete build log and the output of `emerge -pqv '=mail-filter/dovecot_deleted_to_trash-0.3'`. * The complete build log is located at '/home/ago/log/build/mail-filter/dovecot_deleted_to_trash-0.3:20121126-195938.log'. * For convenience, a symlink to the build log is located at '/tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/temp/environment'. * Working directory: '/tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/image' * S: '/tmp/portage/mail-filter/dovecot_deleted_to_trash-0.3/work'
Patch ebuild to fix this bug @@ -4,7 +4,7 @@ EAPI=4 -inherit toolchain-funcs base +inherit toolchain-funcs multilib base DESCRIPTION="Deleted to trash IMAP plugin for Dovecot" HOMEPAGE="http://wiki.dovecot.org/Plugins/deleted-to-trash" @@ -17,10 +17,15 @@ IUSE="" RDEPEND="=net-mail/dovecot-2.0*" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/fix_names_and_destdir.patch ) S="${WORKDIR}" +src_prepare() { + sed -e "/DOVECOT_IMAP_PLUGIN_PATH/s/lib/$(get_libdir)/g" \ + -e "/DOVECOT_IMAP_PLUGIN_PATH/s/imap//" \ + -e "/PLUGIN_NAME/s/lib/lib99/" -i Makefile +} + src_compile() { tc-export CC base_src_compile
Created attachment 330686 [details] patch to fix this bug proxy-manit@ , please commit this patch
(In reply to comment #1) > -inherit toolchain-funcs base > +inherit toolchain-funcs multilib base toolchain-funcs pulles in multilib
+ 27 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> + dovecot_deleted_to_trash-0.3.ebuild, -files/fix_names_and_destdir.patch: + Set proper path for libs, reorganize patch into sed expressions, wrt bug + #444840. Thanks to Agostino Sarubbo and Andreis Vinogradovs