Bug 245964 - [qa] dev-libs/libaio-0.3.107 - multilib-strict check failed!
Bug#: 245964 Product:  Gentoo Linux Version: 2008.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: oli.huber@gmail.com
Component: Applications
URL: 
Summary: [qa] dev-libs/libaio-0.3.107 - multilib-strict check failed!
Keywords:  
Status Whiteboard: 
Opened: 2008-11-07 13:51 0000
Description:   Opened: 2008-11-07 13:51 0000
Files matching a file type that is not allowed:              
   usr/lib/libaio.so.1.0.1                                   
 *                                                           
 * ERROR: dev-libs/libaio-0.3.107 failed.                    
 * Call stack:                                               
 * misc-functions.sh, line 715:  Called install_qa_check     
 * misc-functions.sh, line 453:  Called die                  
 * The specific snippet of code:                             
 * [[ ${abort} == yes ]] && die "multilib-strict check failed!"
 * The die message:                                            
 * multilib-strict check failed!

The ebuild has already a fix for some multilib issue, but it doesn't modify the
Makefile and thus it install it under /lib

Fix proposal : 

--- libaio-0.3.107.ebuild~      2008-11-07 16:42:46.000000000 +0100
+++ libaio-0.3.107.ebuild       2008-11-07 16:44:47.000000000 +0100
@@ -24,7 +24,7 @@
        epatch "${FILESDIR}"/${P}-sparc.patch
        epatch "${FILESDIR}"/${P}-install-to-slash.patch
        epatch "${FILESDIR}"/${PN}-0.3.106-build.patch
-       sed -i "/^libdir=/s:lib$:$(get_libdir):" src/Makefile
+       sed -i "/^libdir=/s:lib$:$(get_libdir):" src/Makefile Makefile
 }

 src_compile() {

------- Comment #1 From SpanKY 2008-11-08 13:58:54 0000 -------
thanks, added your fix to cvs

http://sources.gentoo.org/dev-libs/libaio/libaio-0.3.107.ebuild?r1=1.1&r2=1.2