Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 377617

Summary: =net-analyzer/metasploit-4.0.0: revdep-rebuild directory masks
Product: Gentoo Linux Reporter: William Cooke <cookewe+gentoo>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: revdep-rebuild errors
Patch to add revdep-rebuild exception file
emerge --info

Description William Cooke 2011-08-03 21:18:39 UTC
revdep-rebuild complains about some files being broken when checking for dynamic linking consistency.

Reproducible: Always

Steps to Reproduce:
1. emerge =net-analyzer/metasploit-4.0.0
2. revdep-rebuild -i
Actual Results:  
revdep-rebuild says there are a bunch of files incorrectly linked and it suggests re-emerging metasploit.

Expected Results:  
revdep-rebuild should ignore files emerged with metasploit.
Comment 1 William Cooke 2011-08-03 21:20:46 UTC
Created attachment 281993 [details]
revdep-rebuild errors
Comment 2 William Cooke 2011-08-03 21:22:38 UTC
Created attachment 281995 [details, diff]
Patch to add revdep-rebuild exception file
Comment 3 jms 2011-08-04 00:53:23 UTC
I can confirm.
Have the same problem.
After installing net-analyzer/metasploit-4.0.0 
revdep-rebuild -ip 
always want to rebuild metasploit-4.0.0 .

Note: I also have version net-analyzer/metasploit-3.6.0 and net-analyzer/metasploit-3.7.0 instaled
Comment 4 jms 2011-08-04 01:10:48 UTC
revdeprebuild complain about libcrypto.so.0.9.8

broken /usr/lib64/metasploit4.0/data/john/run.linux.x64.mmx/calc_stat (requires libcrypto.so.0.9.8
libssl.so.0.9.8)
 *   broken /usr/lib64/metasploit4.0/data/john/run.linux.x64.mmx/genmkvpwd (requires libcrypto.so.0.9.8
libssl.so.0.9.8)
 *   broken /usr/lib64/metasploit4.0/data/john/run.linux.x64.mmx/john (requires libcrypto.so.0.9.8
libssl.so.0.9.8)
 *   broken /usr/lib64/metasploit4.0/data/john/run.linux.x64.mmx/mkvcalcproba (requires libcrypto.so.0.9.8
and so on

I have:
locate libcrypto.so
/usr/lib32/libcrypto.so
/usr/lib32/libcrypto.so.0.9.8
/usr/lib32/libcrypto.so.1.0.0
/usr/lib64/libcrypto.so
/usr/lib64/libcrypto.so.1.0.0

ls -al /usr/lib32/libcrypto*
lrwxrwxrwx 1 root root      18 Jul 24 01:42 /usr/lib32/libcrypto.so -> libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 1179956 Jul 22 09:59 /usr/lib32/libcrypto.so.0.9.8
-rwxr-xr-x 1 root root 1290136 Jul 22 10:01 /usr/lib32/libcrypto.so.1.0.0

ls -al /usr/lib64/libcrypto*
-rw-r--r-- 1 root root 3579152 Mar 21 03:39 /usr/lib64/libcrypto.a
lrwxrwxrwx 1 root root      18 Mar 21 03:39 /usr/lib64/libcrypto.so -> libcrypto.so.1.0.0
-r-xr-xr-x 1 root root 1756736 Mar 21 03:39 /usr/lib64/libcrypto.so.1.0.0


and 

equery belongs /usr/lib32/libcrypto.so
 * Searching for /usr/lib32/libcrypto.so ... 
app-emulation/emul-linux-x86-baselibs-20110722 (/usr/lib32/libcrypto.so -> libcrypto.so.1.0.0)
app-emulation/emul-linux-x86-baselibs-20110722 (/usr/lib32/libcrypto.so.1.0.0)
Comment 5 jms 2011-08-04 01:13:54 UTC
Created attachment 282003 [details]
emerge --info
Comment 6 Patrick Lauer gentoo-dev 2011-08-04 22:03:35 UTC
+  04 Aug 2011; Patrick Lauer <patrick@gentoo.org> -metasploit-4.0.0.ebuild,
+  +metasploit-4.0.0-r1.ebuild:
+  Fixing stray svn folders and revdep-rebuild behaviour #377617 #377571