dev-db/mongodb-2.2.3-r1 fails to install with FEATURES="multilib-strict". On amd64, it installs libmongoclient.so in both /usr/lib and /usr/lib64. Files matching a file type that is not allowed: usr/lib/libmongoclient.so * ERROR: dev-db/mongodb-2.2.3-r1 failed: * multilib-strict check failed! * * Call stack: * misc-functions.sh, line 1284: Called install_qa_check * misc-functions.sh, line 842: Called die * The specific snippet of code: * [[ ${abort} == yes ]] && die "multilib-strict check failed!" # cd /var/tmp/portage/dev-db/mongodb-2.2.3-r1/image # # tree usr/lib* usr/lib ├── libmongoclient.a └── libmongoclient.so usr/lib64 └── libmongoclient.so 0 directories, 3 files
Created attachment 342620 [details] mongodb-2.2.3-r2.ebuild @Arfrever: even if its not very elegant, this is the best I could come with in my limited time. Would you please check that this fixes this bug and maybe give me your thoughts on this ebuild ? Cheers
I prefered to fix it while releasing the new version of mongodb. Reopen if you're not satisfied with this. Cheers +*mongodb-2.4.0 (20 Mar 2013) + + 20 Mar 2013; Ultrabug <ultrabug@gentoo.org> +mongodb-2.4.0.ebuild, + metadata.xml: + Version bump, fix #461466 #421289, add ssl and sharedclient to IUSE +
dev-db/mongodb-2.4.0 and dev-db/mongodb-2.4.1 work, but dev-db/mongodb-2.4.2 again has this bug.
Hardcoded "/lib" in mongodb-2.4-fix-sharedclient.patch might be cause of this bug: @@ -177,6 +179,8 @@ env.Install( prefix = GetOption("prefix") env.Install(prefix + "/lib", '${LIBPREFIX}mongoclient${LIBSUFFIX}') +if has_option( "sharedclient" ): + env.Install(prefix + "/lib", '${SHLIBPREFIX}mongoclient${SHLIBSUFFIX}') for x in clientHeaderDirectories: inst = env.Install(prefix + "/include/mongo/" + x,
Ah damn, I'm sick of this sharedclient, have to put my sed into play again sorry about that. Will be fixed this morning.
done, cheers mate