Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554704 - dev-lang/mono-3.12.1 - multilib-strict check failed! Files matching a file type that is not allowed: usr/lib/mono/2.0/mscorlib.dll.so usr/lib/mono/4.5/mcs.exe.so usr/lib/mono/4.5/mscorlib.dll.so
Summary: dev-lang/mono-3.12.1 - multilib-strict check failed! Files matching a file ty...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 03:53 UTC by Jeroen Roovers (RETIRED)
Modified: 2015-08-16 08:01 UTC (History)
2 users (show)

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


Attachments
dev-lang:mono-3.12.1:20150712-104559.log.xz (20150712-104559.log.xz,78.47 KB, application/x-xz)
2015-07-13 03:53 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-07-13 03:53:03 UTC
Created attachment 406634 [details]
dev-lang:mono-3.12.1:20150712-104559.log.xz

>>> Completed installing mono-3.12.1 into /var/tmp/portage/dev-lang/mono-3.12.1/image/


 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib/mono/2.0/mscorlib.dll.so
 * /usr/lib/mono/4.5/mcs.exe.so
 * /usr/lib/mono/4.5/mscorlib.dll.so

Files matching a file type that is not allowed:
   usr/lib/mono/2.0/mscorlib.dll.so
   usr/lib/mono/4.5/mcs.exe.so
   usr/lib/mono/4.5/mscorlib.dll.so
 * ERROR: dev-lang/mono-3.12.1::gentoo failed:
 *   multilib-strict check failed!
 *
 * Call stack:
 *   misc-functions.sh, line 592:  Called install_qa_check
 *   misc-functions.sh, line 217:  Called source 'install_symlink_html_docs'
 *   80multilib-strict, line  47:  Called multilib_strict_check
 *   80multilib-strict, line  43:  Called die
 * The specific snippet of code:
 *              [[ ${abort} == yes ]] && die "multilib-strict check failed!"
 *
Comment 1 Mike Auty (RETIRED) gentoo-dev 2015-07-22 22:40:26 UTC
So, it looks like the previous ebuild removed the files causing these problems.

	# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
	# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
	# for reference.
	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
	rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die

It looks like Heather (a committer to the dotnet overlay) removed them in a recent clean-up. [1]

Could someone that has access to both the overlay and the tree please restore the removed lines, and add a note pointing to this bug, indicating that the lines are there to prevent multilib-strict issues during installation?  If we don't fix them both, then it's likely we'll get the error back again when someone pulls an ebuild over from the overlay again in the future.

Thanks!

[1] https://github.com/gentoo/dotnet/commit/fa0efdcba74850ea1fdfb9a26fbf4b9eebd65a20#diff-54aa675bb9e2159dd6b1a734a631a613L119
Comment 2 David Klann 2015-08-10 23:10:18 UTC
I added src_install() back to the mono-3.12.1.ebuild (as shown in the github source), rebuilt "manifest", and successfully emerged dev-lang/mono-3.12.1. I concur that this is the problem with the current dev-lang/mono ebuild.

Thanks Mike for pointing this out!
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-15 23:15:32 UTC
4.0.3.20 as well
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-08-15 23:38:57 UTC
and confirmed as the correct fix
Comment 5 Cynede (RETIRED) gentoo-dev 2015-08-16 07:55:15 UTC
Thank you for information, I usually very fast at github pull requests :) will fix it soon.