Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444840 - mail-filter/dovecot_deleted_to_trash-0.3 fails multilib-strict check
Summary: mail-filter/dovecot_deleted_to_trash-0.3 fails multilib-strict check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreis Vinogradovs ( slepnoga )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 444824
  Show dependency tree
 
Reported: 2012-11-26 20:01 UTC by Agostino Sarubbo
Modified: 2012-11-27 07:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix this bug (fix_444840.patch,801 bytes, text/plain)
2012-11-26 21:14 UTC, Andreis Vinogradovs ( slepnoga )
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-11-26 20:01:53 UTC
>>> 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'
Comment 1 Andreis Vinogradovs ( slepnoga ) 2012-11-26 21:12:00 UTC
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
Comment 2 Andreis Vinogradovs ( slepnoga ) 2012-11-26 21:14:05 UTC
Created attachment 330686 [details]
patch to fix this bug

proxy-manit@ , please commit this patch
Comment 3 Agostino Sarubbo gentoo-dev 2012-11-26 22:29:07 UTC
(In reply to comment #1)
> -inherit toolchain-funcs base
> +inherit toolchain-funcs multilib base

toolchain-funcs pulles in multilib
Comment 4 Sergey Popov gentoo-dev 2012-11-27 07:30:58 UTC
+  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